• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Why do Apple Audio Units fail out of the box?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why do Apple Audio Units fail out of the box?


  • Subject: Re: Why do Apple Audio Units fail out of the box?
  • From: Edward Agabeg <email@hidden>
  • Date: Sat, 19 Apr 2014 17:23:47 -0400

...on April 19, 2014 at 12:00 PM -0700 wrote:
OS X 10.9.2. Xcode 5.1.1. Downloaded the Apple Sample code for Audio Units. Built the “Filter” example
1. The FilterDemo target was not copying the CocoaUI target into the bundle. No UI.

CocoaFilterView bundle is indeed copied to the built Filter.component. Have you opened the Filter.component bundle and checked?

2. The project was set to bulld for Standard Archictectures only - and thus could not be seen by auval

Yes, 64-bit is "current" not to mention testing fat is more complicated than testing a single arch at a time. So, up to you to change project settings to what you want to do. This is very easily done.

On 10.9 you will see auval and auvaltool. auval is just a script that takes arguments to run auvaltool in either arch. If you have no args auval shows only 32bit AUs. Use -64 and you'll see 64-bit AUs.

3. Changing this to Universal (32/64-bit Intel) now allows the “Filter” demo to be seen in AULab.

4. You can not test this plug-in in AU Lab.

You certainly can, make a copy of the AULab app (or not). Get Info. Uncheck "Open in 32bit".

From what I can tell, this sample builds fine and works as expected in 64-bit AULab and in auval, so I'd check your setup again.

If you want to built fat or just 32bit, change the project settings and then ensure you know what you're testing. Xcode 5.1.1 does ask you to update project settings and now complains about 2 unused vars. where it never use to, but this isn't critical stuff at all. We have an update for this suite of samples planned shortly adding another AU example and update for the current version of Xcode (whatever that will be when we ship the update).

regards,
edward

Results for auval run:

digitalman:~ lerxt$  auval -64 -v aufx FILT DEMO

   AU Validation Tool
   Version: 1.6.1a1
    Copyright 2003-2013, Apple Inc. All Rights Reserved.
   Specify -h (-help) for command options

--------------------------------------------------
VALIDATING AUDIO UNIT: 'aufx' - 'FILT' - 'DEMO'
--------------------------------------------------
Manufacturer String: Apple Sample Code
AudioUnit Name: Filter (Effect AU)
Component Version: 1.0.0 (0x10000)

* * PASS
--------------------------------------------------
TESTING OPEN TIMES:
COLD:
Time to open AudioUnit:         5.670 ms
WARM:
Time to open AudioUnit:         0.009  ms
FIRST TIME:
Time for initialization:        0.012 ms

* * PASS
--------------------------------------------------
VERIFYING DEFAULT SCOPE FORMATS:
Input Scope Bus Configuration:
Default Bus Count:1
   Default Format: AudioStreamBasicDescription:  2 ch,  44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved

Output Scope Bus Configuration:
Default Bus Count:1
   Default Format: AudioStreamBasicDescription:  2 ch,  44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved

* * PASS
--------------------------------------------------
VERIFYING REQUIRED PROPERTIES:

* * PASS
--------------------------------------------------
VERIFYING RECOMMENDED PROPERTIES:
 VERIFYING PROPERTY: Latency
   PASS
 VERIFYING PROPERTY: Tail Time
   PASS
 VERIFYING PROPERTY: Bypass Effect
   PASS

* * PASS
--------------------------------------------------
VERIFYING OPTIONAL PROPERTIES:

* * PASS
--------------------------------------------------
VERIFYING SPECIAL PROPERTIES:

VERIFYING CUSTOM UI
Cocoa Views Available: 1
 AppleDemoFilter_ViewFactory
   PASS

HAS FACTORY PRESETS
   ID:   0    Name: Preset One
   ID:   1    Name: Preset Two

VERIFYING CLASS INFO
   PASS

TESTING HOST CALLBACKS
   PASS

* * PASS
--------------------------------------------------
PUBLISHED PARAMETER INFO:

# # # 2 Global Scope Parameters:
Parameter ID:0
Name: cutoff frequency
Parameter Type: Hertz
Values: Minimum = 12.000000, Default = 1000.000000, Maximum = 22050.000000
Flags: Display Logarithmic, High Resolution, Readable, Writable
  -parameter PASS

Parameter ID:1
Name: resonance
Parameter Type: Decibels
Values: Minimum = -20.000000, Default = 0.000000, Maximum = 20.000000
Flags: High Resolution, Readable, Writable
  -parameter PASS

Testing that parameters retain value across reset and initialization
 PASS

* * PASS
--------------------------------------------------
FORMAT TESTS:

Reported Channel Capabilities (implicit):
     [-1, -1]

Input/Output Channel Handling:
1-1   1-2   1-4   1-5   1-6   1-7   1-8   2-2   2-4   2-5   2-6   2-7   2-8   4-4   4-5   5-5   6-6   7-7   8-8
X                                         X                                   X           X     X     X     X     

* * PASS
--------------------------------------------------
RENDER TESTS:
Implements: AudioUnitProcess
Input Format: AudioStreamBasicDescription:  2 ch,  44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved
Output Format: AudioStreamBasicDescription:  2 ch,  44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved
Render Test at 512 frames
Slicing Render Test at 64 frames
 PASS


Render Test at 64 frames, sample rate: 22050 Hz
Render Test at 137 frames, sample rate: 96000 Hz
Render Test at 4096 frames, sample rate: 48000 Hz
Render Test at 4096 frames, sample rate: 192000 Hz
Render Test at 4096 frames, sample rate: 11025 Hz
Render Test at 512 frames, sample rate: 44100 Hz
 PASS

1 Channel Test:
Render Test at 512 frames
 PASS

Checking connection semantics:
Connection format:
AudioStreamBasicDescription:  2 ch,  44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved
 PASS

Bad Max Frames - Render should fail
 PASS

Checking parameter setting
Using AudioUnitSetParameter
Using AudioUnitScheduleParameter
 PASS

Test MIDI
 PASS

* * PASS
--------------------------------------------------
AU VALIDATION SUCCEEDED.
--------------------------------------------------
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Why do Apple Audio Units fail out of the box?
      • From: Walt <email@hidden>
  • Prev by Date: Why do Apple Audio Units fail out of the box? I can neither see them nor test them with auval.
  • Next by Date: Re: Why do Apple Audio Units fail out of the box?
  • Previous by thread: Why do Apple Audio Units fail out of the box? I can neither see them nor test them with auval.
  • Next by thread: Re: Why do Apple Audio Units fail out of the box?
  • Index(es):
    • Date
    • Thread