AudioUnit

RSS for tag

Create audio unit extensions and add sophisticated audio manipulation and processing capabilities to your app using AudioUnit.

Posts under AudioUnit tag

139 Posts

Post

Replies

Boosts

Views

Activity

Multi Thread Audio Unit plugin on apple silicon
I am developing a multi thread instrument plugin for audio unit V2. This topic is about a software synthesizer that has been proven to work on intel macs, and has been converted to apple silicon native. I have a problem when I use logic pro on apple silicon macs. Plug the created software synthesizer to the instrument track. Make the track not exist other than the track you created. Put it in recording mode. When the above steps are followed, the performance meter on the logic pro will show that the load is concentrated on one specific core and far exceeds the total load when the load is divided. This load occurs continuously and is resolved when another track is created and the track is selected. It is understandable as a specification that the load is concentrated on a particular core. However, the magnitude of the load is abnormal. In fact, when the peak exceeds 100%, it leads to the generation of acoustic noise. Also, in this case, the activity monitor included with macOS does not show any increase in the usage of a specific CPU core. Also, the time profiler included with XCode did not identify any location that took a large amount of time. We have examined various experimental programs and found that there is a positive correlation between the frequency of thread switches in multi threaded areas and the peak of this CPU spike. We even found a positive correlation between the frequency of thread switches in the multithreaded area and the peak of this CPU spike. Mutex is used for thread switch. In summary In summary, we speculate that performance seems to be worse when multi thread processing is done on a single core. Is there any solution to this problem at the developer level or at the customer level of logic pro? Symptom environment MacBookePro 16inch 2021 CPU: apple m1 max OS: macOS 12.6.3 Memory: 32GB Logic pro 10.7.9 Built-in speaker autido buffer size: 32 sample Performance meter before symptoms occurred A view of the performance meter with symptoms after the recording condition
0
0
980
Jul ’23
Low playback volume when using kAudioUnitSubType_VoiceProcessingIO audio unit
I’m developing a voice communication app for the iPad with both playback and record and using AudioUnit of type kAudioUnitSubType_VoiceProcessingIO to have echo cancellation. When playing the audio before initializing the recording audio unit, volume is high. But if I'm playing the audio after initializing the audio unit or when switching to remoteio and then back to vpio the playback volume is low. It seems like a bug in iOS, any solution or workaround for this? Searching the net I only found this post without any solution: https://developer.apple.com/forums/thread/671836
1
2
2.7k
Jul ’23
Enabling Voice Processing changes channels count on the input node.
I've noticed that enabling voice processing on AVAudioInputNode change the node's format - most noticeably channel count. let inputNode = avEngine.inputNode print("Format #1: \(inputNode.outputFormat(forBus: 0))") // Format #1: <AVAudioFormat 0x600002bb4be0:  1 ch,  44100 Hz, Float32> try! inputNode.setVoiceProcessingEnabled(true) print("Format #2: \(inputNode.outputFormat(forBus: 0))") // Format #2: <AVAudioFormat 0x600002b18f50:  3 ch,  44100 Hz, Float32, deinterleaved> Is this expected? How can I interpret these channels? My input device is an aggregate device where each channel comes from a different microphone. I then record each channels to separate files. But when voice processing messes up with the channels layout, I cannot rely on this anymore.
1
1
3.4k
Jul ’23
Audio ducking on Mac when creating audiounit with VoiceProcessingIO
Hi, I've noticed that in Mac if when creating audiounit with VoiceProcessingIO it is ducking all the system audio. Is there a way to avoid it? This is how I create it:     AudioComponentDescription ioUnitDescription;     ioUnitDescription.componentType = kAudioUnitType_Output;     ioUnitDescription.componentSubType = kAudioUnitSubType_VoiceProcessingIO;     ioUnitDescription.componentManufacturer = kAudioUnitManufacturer_Apple;     ioUnitDescription.componentFlags = 0;     ioUnitDescription.componentFlagsMask = 0;     AudioComponent outputComponent = AudioComponentFindNext(NULL, &ioUnitDescription);     result = AudioComponentInstanceNew(outputComponent, &m_audioUnit);
2
1
1.3k
Jun ’23
VPIO fails to remove echo from certain hardware
A: iPhone SE 2nd (iOS 16.5) Used bluetooth model: Shokz OpenRun S803 B: Any mobile device A uses bluetooth microphone/speaker, and make a call to B using iPhone app. Mute the A's headphone. (The bluetooth device support mute by hardware). While A mutes, B speaks. Unmute A's headphone. Every time B speaks, B can hear the echo. Since there is no audio data during the hardware muted, VPIO don't recognize audio reference data to remove echo signal. Is there any alternative to resolve this echo in VoIP software using VPIO?
0
0
1.1k
Jun ’23
Midi and Audio AUv3 in Logic Pro on the iPad
I have an app that supports AUv3 and can output both Audio and MIDI information. It has the Audio Unit Type set to "aumu" which is a 'music generator'. This has worked well In iOS hosts until now (like AUM, or ApeMatrix) - because they allow the selection of this type of Audio Unit both as an audio generator and as a MIDI sender. So if someone wants to use it as an audio generator, they can - same as someone who only wants to use it as MIDI FX. Logic Pro on the iPad has changed this since it's not seeing it under the Midi FX selection. Is there any configuration to bypass this, or do I have to change to a Midi FX AUv3 ('aumi') for this to show up there?
0
0
1.7k
Jun ’23
Screen Sharing Audio Volume Reduction
Hi, Wondering if anyone has found a solution to the automatic volume reduction on the host computer using the OSX native screen share application. The volume reduction makes it nearly impossible to comfortably continue working on the host computer when there is any audio involved. Is there a way to bypass to this function? It seems to be the same native function that FaceTime uses to reduce the system audio volume to create priority for the application. Please help save my speakers! Thanks.
2
0
4.8k
May ’23
app crash
i create a audio unit extension app in xcode template then i run the project in simulator is successful but when i try to run the project in my real device the program crash like this how to solve this problem, please tell me, thank you.
0
0
733
May ’23
how to custom AudioUnit
I found a lot of information, but i still have no idea of how to custom AudioUnit(not AVAudioUnit or AUAudioUnit), i mean if there is any way i can make my own AudioUnit like this, i do know this is AudioUnit provided by Apple. Now i want to make my own AudioUnit by this way. AudioComponentDescription audioDesc; audioDesc.componentType = kAudioUnitType_Output; audioDesc.componentSubType = kAudioUnitSubType_RemoteIO; audioDesc.componentManufacturer = kAudioUnitManufacturer_Apple; audioDesc.componentFlags = 0; audioDesc.componentFlagsMask = 0; AudioComponent inputComponent = AudioComponentFindNext(NULL, &audioDesc); AudioComponentInstanceNew(inputComponent, &audioUnit); if you have any idea, please tell me, thank you!
0
0
740
May ’23
Streaming Audio via Bluetooth my Osx to PC
I found an app for make PC slave an takes audio from other android devices. However, when i connect with Mac it doesn't work. I use airplay for now but there are latency and quality problems. I have Late 13 Macbook Pro which uses airplay 1 technology. It is slower than newer one. My Wifi router in my room but as i said i want to connect with bluetooth. Why this problem appears. How to work on this?
0
0
1.2k
May ’23
My app has a music mode. Is there a way to bypass all voice processing, even bypass the mic modes in control center while my app uses kAudioUnitSubType_VoiceProcessingIO?
If I set the kAUVoiceIOProperty_BypassVoiceProcessing parameter to true on the voice processing audio unit, it appears that the microphone mode setting in the Control Center still takes effect. For example, if the user has selected the voice isolation mode, the audio unit will still function in voice isolation mode. However, on the iPhone 14, the microphone mode is not displayed in the Control Center when kAUVoiceIOProperty_BypassVoiceProcessing is set to true, unlike on other iPhone models such as the iPhone 11 and iPhone 12. As a result, after setting kAUVoiceIOProperty_BypassVoiceProcessing to true, the voice processing unit will continue to use the last selected microphone mode for my app, and it cannot be changed on the iPhone 14. I have the following questions about this: Is it intended that microphone modes in the Control Center take precedence over the kAUVoiceIOProperty_BypassVoiceProcessing setting on the audio unit? My app has a music mode that captures music through mic. Is there a way to avoid all voice processing, even bypass the mic modes in control center? Why is the microphone mode not displayed in the Control Center on the iPhone 14 Pro when kAUVoiceIOProperty_BypassVoiceProcessing is set to true on the voice processing audio unit, while other iPhone models display it?
0
0
1.3k
Apr ’23
Memory Limits for Audio Units in iOS
HI, we are writing an audio unit that has huge memory requirements. To reduce memory usage we need to cut something, so we need to figure out how much we need to hack the current engine to make it work on most devices. According to an old thread there appears to be a 360MB memory usage limit for AU: https://developer.apple.com/forums/thread/8237 However, in our tests we seem to be able to use over 600MB in GarageBand. We tested on: iPad Pro 12.9 (4th generation) - iOS 16.3.1 iPhone 12 Pro Max - iOS 14.4 iPhone 12 mini - iOS 14.2 iPad mini (5th generation) - iOS 15.4.1 Have memory limits been eliminated in recent versions of iOS? Is it a limit that varies according to the device? Are there any official numbers we can rely on? Thank you, Ale
0
0
1.1k
Apr ’23
AU Instrument Example doesn't handle note off event when DAW playhead skipped ahead
Running the AU Instrument example provided with Xcode (it's a sine wave generator), it doesn't seem to receive the note off event when the playhead is skipped ahead in the DAW (Logic, for me). I'm running a separate MIDI Monitor application, and it receives a MIDI note off message when I skip ahead, however, the AU Instrument doesn't receive the note off message. If the AU instrument example DID receive the MIDI note off event, then it would stop playing the sine signal, however it continues to play the note indefinitely.
3
1
1.7k
Mar ’23
Auv3: Some "out of process" behaviour appears broken on the Mac.
Using latest version of Ventura on an M1 iMac... 2 issues I've noticed when an Auv3 is loaded Out Of Process... 1 - When using tokenByAddingRenderObserver: The provided block is never called if an Auv3 is loaded out of process. 2: When loaded In process an Auv3 audio unit that is itself a host for other audio units can see all the audio units in the system. That is all v2 units and all v3 units. When loaded Out of Procress and the same v3 unit can only find the v2 units when querying. The system appears to be hiding the installed v3 units. This seems like the reverse of what I would expect. When sandboxed (out of process) why are other V3 units hidden from inspection? I've filed bug reports on these ages ago but had no response. I'm particularly interesting in issue #2 above as it makes a big difference when our AU host unit is running in Logic which only allows loading out of process. When loading into our own host app we can load the au in-process and it works nicely, able to host any other unit installed on the system.
0
0
1.3k
Mar ’23
Mouse hover events cause warnings in the console when running an iOS Audio Unit on an M1 Mac
Hi, When debugging an iOS AUv3 extension in GarageBand (or in other host apps) on Mac OS Monterey running on an M1 Mac, there is a large number of warnings that read: WARNING: SPI usage of '-[UINSWindow uiWindows]' is being shimmed. This will break in the future. Please file a radar requesting API for what you are trying to do. I noticed that immediately after such a warning, the view's hitTest is called with a UIHoverEvent, and indeed moving the mouse results in more log spam. Although the very first occurrence of the warning may have a different root cause. Using a symbolic breakpoint wasn't helpful in revealing further information. Note that I'm launching the AUv3 extension in the "Designed for iPad" mode. Project language is Objective-C. I was able to reproduce the issue with even an empty project, adding nothing beyond Xcode's built-in appex template for iOS Audio Units. The issue doesn't seem to happen with the Apple sample code "CreatingCustomAudioEffects", which is a swift project. I also compared and matched storyboard settings between that project and my own, but to no avail. Any pointers would be highly appreciated. Thanks.
5
0
2.4k
Mar ’23
Testing plugins for Logic Pro
Hi there, thanks in advance for any help. I make audio plugins and I would like to test them in Logic Pro. Aside from the 90 day trial, is there some limited version I can use just for testing? For example there is a Pro Tools developer version with the save function disabled - something like this would be perfect.
0
2
963
Feb ’23
Audio Units: Restoring original GarageBand 10 security settings
In order to get a new JUCE-based Audio Unit (AU version 2) I have been developing to work in GarageBand 10.4.6 running on macOS Monterey, I lowered the GarageBand security settings when presented with a dialog with the following message: Use of the requested Audio Unit(s) requires lowering the security settings for “GarageBand”. Are you sure you want to proceed? Now I'd like to restore GarageBand security settings to their original state so that I can modify the AU via signing or Sandboxing--whatever is required--to load without lowering GB security settings. How do I restore Garageband security settings to their original values? What I have tried: 1 Uninstalling GarageBand using Launchpad 2 Rebooting 3 Deleting: /Users/Admin/Library/Application Scripts/com.apple.garageband10 /Users/Admin/Library/Application Scripts/com.apple.STMExtension.GarageBand /Users/Admin/Library/Containers/com.apple.STMExtension.GarageBand /Users/Standard/Library/Application Scripts/com.apple.garageband10 /Users/Standard/Library/Application Scripts/com.apple.STMExtension.GarageBand /Users/Standard/Library/Containers/com.apple.garageband10/Data/Library/HTTPStorages/com.apple.garageband10 /Users/Standard/Library/Containers/com.apple.garageband10/Data/Library/Application Support/GarageBand I did not touch: /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBGarageBandPlugin.ilmbplugin /System/Library/PrivateFrameworks/iLifeMediaBrowser.framework/Versions/A/Resources/MBGarageBandSongDimmed.tiff /System/Library/PrivateFrameworks/iLifeMediaBrowser.framework/Versions/A/Resources/MBGarageBandSong.tiff /System/Library/PrivateFrameworks/StorageManagement.framework/PlugIns/GarageBandStorageExtension.appex /private/var/folders/*/*/C/com.apple.GarageBand/ 4 Rebooting 5 Reinstalling GarageBand 6 The Terminal command defaults delete com.apple.garageband10 7 Googling a solution. Many thanks.
2
1
1.7k
Jan ’23
Multi Thread Audio Unit plugin on apple silicon
I am developing a multi thread instrument plugin for audio unit V2. This topic is about a software synthesizer that has been proven to work on intel macs, and has been converted to apple silicon native. I have a problem when I use logic pro on apple silicon macs. Plug the created software synthesizer to the instrument track. Make the track not exist other than the track you created. Put it in recording mode. When the above steps are followed, the performance meter on the logic pro will show that the load is concentrated on one specific core and far exceeds the total load when the load is divided. This load occurs continuously and is resolved when another track is created and the track is selected. It is understandable as a specification that the load is concentrated on a particular core. However, the magnitude of the load is abnormal. In fact, when the peak exceeds 100%, it leads to the generation of acoustic noise. Also, in this case, the activity monitor included with macOS does not show any increase in the usage of a specific CPU core. Also, the time profiler included with XCode did not identify any location that took a large amount of time. We have examined various experimental programs and found that there is a positive correlation between the frequency of thread switches in multi threaded areas and the peak of this CPU spike. We even found a positive correlation between the frequency of thread switches in the multithreaded area and the peak of this CPU spike. Mutex is used for thread switch. In summary In summary, we speculate that performance seems to be worse when multi thread processing is done on a single core. Is there any solution to this problem at the developer level or at the customer level of logic pro? Symptom environment MacBookePro 16inch 2021 CPU: apple m1 max OS: macOS 12.6.3 Memory: 32GB Logic pro 10.7.9 Built-in speaker autido buffer size: 32 sample Performance meter before symptoms occurred A view of the performance meter with symptoms after the recording condition
Replies
0
Boosts
0
Views
980
Activity
Jul ’23
Low playback volume when using kAudioUnitSubType_VoiceProcessingIO audio unit
I’m developing a voice communication app for the iPad with both playback and record and using AudioUnit of type kAudioUnitSubType_VoiceProcessingIO to have echo cancellation. When playing the audio before initializing the recording audio unit, volume is high. But if I'm playing the audio after initializing the audio unit or when switching to remoteio and then back to vpio the playback volume is low. It seems like a bug in iOS, any solution or workaround for this? Searching the net I only found this post without any solution: https://developer.apple.com/forums/thread/671836
Replies
1
Boosts
2
Views
2.7k
Activity
Jul ’23
Enabling Voice Processing changes channels count on the input node.
I've noticed that enabling voice processing on AVAudioInputNode change the node's format - most noticeably channel count. let inputNode = avEngine.inputNode print("Format #1: \(inputNode.outputFormat(forBus: 0))") // Format #1: <AVAudioFormat 0x600002bb4be0:  1 ch,  44100 Hz, Float32> try! inputNode.setVoiceProcessingEnabled(true) print("Format #2: \(inputNode.outputFormat(forBus: 0))") // Format #2: <AVAudioFormat 0x600002b18f50:  3 ch,  44100 Hz, Float32, deinterleaved> Is this expected? How can I interpret these channels? My input device is an aggregate device where each channel comes from a different microphone. I then record each channels to separate files. But when voice processing messes up with the channels layout, I cannot rely on this anymore.
Replies
1
Boosts
1
Views
3.4k
Activity
Jul ’23
How to disable AGC using the AUv3 API
To my knowledge, you can use the AudioUnitSetProperty function to set the kAUVoiceIOProperty_VoiceProcessingEnableAGC property to disable AGC in AUv2. However there is no equivalent functionality available in AUv3. The closest option I found is the shouldBypassEffect property. How to disable AGC using the AUv3 API ?
Replies
0
Boosts
0
Views
1.5k
Activity
Jun ’23
Audio ducking on Mac when creating audiounit with VoiceProcessingIO
Hi, I've noticed that in Mac if when creating audiounit with VoiceProcessingIO it is ducking all the system audio. Is there a way to avoid it? This is how I create it:     AudioComponentDescription ioUnitDescription;     ioUnitDescription.componentType = kAudioUnitType_Output;     ioUnitDescription.componentSubType = kAudioUnitSubType_VoiceProcessingIO;     ioUnitDescription.componentManufacturer = kAudioUnitManufacturer_Apple;     ioUnitDescription.componentFlags = 0;     ioUnitDescription.componentFlagsMask = 0;     AudioComponent outputComponent = AudioComponentFindNext(NULL, &ioUnitDescription);     result = AudioComponentInstanceNew(outputComponent, &m_audioUnit);
Replies
2
Boosts
1
Views
1.3k
Activity
Jun ’23
VPIO fails to remove echo from certain hardware
A: iPhone SE 2nd (iOS 16.5) Used bluetooth model: Shokz OpenRun S803 B: Any mobile device A uses bluetooth microphone/speaker, and make a call to B using iPhone app. Mute the A's headphone. (The bluetooth device support mute by hardware). While A mutes, B speaks. Unmute A's headphone. Every time B speaks, B can hear the echo. Since there is no audio data during the hardware muted, VPIO don't recognize audio reference data to remove echo signal. Is there any alternative to resolve this echo in VoIP software using VPIO?
Replies
0
Boosts
0
Views
1.1k
Activity
Jun ’23
Midi and Audio AUv3 in Logic Pro on the iPad
I have an app that supports AUv3 and can output both Audio and MIDI information. It has the Audio Unit Type set to "aumu" which is a 'music generator'. This has worked well In iOS hosts until now (like AUM, or ApeMatrix) - because they allow the selection of this type of Audio Unit both as an audio generator and as a MIDI sender. So if someone wants to use it as an audio generator, they can - same as someone who only wants to use it as MIDI FX. Logic Pro on the iPad has changed this since it's not seeing it under the Midi FX selection. Is there any configuration to bypass this, or do I have to change to a Midi FX AUv3 ('aumi') for this to show up there?
Replies
0
Boosts
0
Views
1.7k
Activity
Jun ’23
Screen Sharing Audio Volume Reduction
Hi, Wondering if anyone has found a solution to the automatic volume reduction on the host computer using the OSX native screen share application. The volume reduction makes it nearly impossible to comfortably continue working on the host computer when there is any audio involved. Is there a way to bypass to this function? It seems to be the same native function that FaceTime uses to reduce the system audio volume to create priority for the application. Please help save my speakers! Thanks.
Replies
2
Boosts
0
Views
4.8k
Activity
May ’23
app crash
i create a audio unit extension app in xcode template then i run the project in simulator is successful but when i try to run the project in my real device the program crash like this how to solve this problem, please tell me, thank you.
Replies
0
Boosts
0
Views
733
Activity
May ’23
how to custom AudioUnit
I found a lot of information, but i still have no idea of how to custom AudioUnit(not AVAudioUnit or AUAudioUnit), i mean if there is any way i can make my own AudioUnit like this, i do know this is AudioUnit provided by Apple. Now i want to make my own AudioUnit by this way. AudioComponentDescription audioDesc; audioDesc.componentType = kAudioUnitType_Output; audioDesc.componentSubType = kAudioUnitSubType_RemoteIO; audioDesc.componentManufacturer = kAudioUnitManufacturer_Apple; audioDesc.componentFlags = 0; audioDesc.componentFlagsMask = 0; AudioComponent inputComponent = AudioComponentFindNext(NULL, &audioDesc); AudioComponentInstanceNew(inputComponent, &audioUnit); if you have any idea, please tell me, thank you!
Replies
0
Boosts
0
Views
740
Activity
May ’23
Streaming Audio via Bluetooth my Osx to PC
I found an app for make PC slave an takes audio from other android devices. However, when i connect with Mac it doesn't work. I use airplay for now but there are latency and quality problems. I have Late 13 Macbook Pro which uses airplay 1 technology. It is slower than newer one. My Wifi router in my room but as i said i want to connect with bluetooth. Why this problem appears. How to work on this?
Replies
0
Boosts
0
Views
1.2k
Activity
May ’23
My app has a music mode. Is there a way to bypass all voice processing, even bypass the mic modes in control center while my app uses kAudioUnitSubType_VoiceProcessingIO?
If I set the kAUVoiceIOProperty_BypassVoiceProcessing parameter to true on the voice processing audio unit, it appears that the microphone mode setting in the Control Center still takes effect. For example, if the user has selected the voice isolation mode, the audio unit will still function in voice isolation mode. However, on the iPhone 14, the microphone mode is not displayed in the Control Center when kAUVoiceIOProperty_BypassVoiceProcessing is set to true, unlike on other iPhone models such as the iPhone 11 and iPhone 12. As a result, after setting kAUVoiceIOProperty_BypassVoiceProcessing to true, the voice processing unit will continue to use the last selected microphone mode for my app, and it cannot be changed on the iPhone 14. I have the following questions about this: Is it intended that microphone modes in the Control Center take precedence over the kAUVoiceIOProperty_BypassVoiceProcessing setting on the audio unit? My app has a music mode that captures music through mic. Is there a way to avoid all voice processing, even bypass the mic modes in control center? Why is the microphone mode not displayed in the Control Center on the iPhone 14 Pro when kAUVoiceIOProperty_BypassVoiceProcessing is set to true on the voice processing audio unit, while other iPhone models display it?
Replies
0
Boosts
0
Views
1.3k
Activity
Apr ’23
Memory Limits for Audio Units in iOS
HI, we are writing an audio unit that has huge memory requirements. To reduce memory usage we need to cut something, so we need to figure out how much we need to hack the current engine to make it work on most devices. According to an old thread there appears to be a 360MB memory usage limit for AU: https://developer.apple.com/forums/thread/8237 However, in our tests we seem to be able to use over 600MB in GarageBand. We tested on: iPad Pro 12.9 (4th generation) - iOS 16.3.1 iPhone 12 Pro Max - iOS 14.4 iPhone 12 mini - iOS 14.2 iPad mini (5th generation) - iOS 15.4.1 Have memory limits been eliminated in recent versions of iOS? Is it a limit that varies according to the device? Are there any official numbers we can rely on? Thank you, Ale
Replies
0
Boosts
0
Views
1.1k
Activity
Apr ’23
AU Instrument Example doesn't handle note off event when DAW playhead skipped ahead
Running the AU Instrument example provided with Xcode (it's a sine wave generator), it doesn't seem to receive the note off event when the playhead is skipped ahead in the DAW (Logic, for me). I'm running a separate MIDI Monitor application, and it receives a MIDI note off message when I skip ahead, however, the AU Instrument doesn't receive the note off message. If the AU instrument example DID receive the MIDI note off event, then it would stop playing the sine signal, however it continues to play the note indefinitely.
Replies
3
Boosts
1
Views
1.7k
Activity
Mar ’23
Auv3: Some "out of process" behaviour appears broken on the Mac.
Using latest version of Ventura on an M1 iMac... 2 issues I've noticed when an Auv3 is loaded Out Of Process... 1 - When using tokenByAddingRenderObserver: The provided block is never called if an Auv3 is loaded out of process. 2: When loaded In process an Auv3 audio unit that is itself a host for other audio units can see all the audio units in the system. That is all v2 units and all v3 units. When loaded Out of Procress and the same v3 unit can only find the v2 units when querying. The system appears to be hiding the installed v3 units. This seems like the reverse of what I would expect. When sandboxed (out of process) why are other V3 units hidden from inspection? I've filed bug reports on these ages ago but had no response. I'm particularly interesting in issue #2 above as it makes a big difference when our AU host unit is running in Logic which only allows loading out of process. When loading into our own host app we can load the au in-process and it works nicely, able to host any other unit installed on the system.
Replies
0
Boosts
0
Views
1.3k
Activity
Mar ’23
Mouse hover events cause warnings in the console when running an iOS Audio Unit on an M1 Mac
Hi, When debugging an iOS AUv3 extension in GarageBand (or in other host apps) on Mac OS Monterey running on an M1 Mac, there is a large number of warnings that read: WARNING: SPI usage of '-[UINSWindow uiWindows]' is being shimmed. This will break in the future. Please file a radar requesting API for what you are trying to do. I noticed that immediately after such a warning, the view's hitTest is called with a UIHoverEvent, and indeed moving the mouse results in more log spam. Although the very first occurrence of the warning may have a different root cause. Using a symbolic breakpoint wasn't helpful in revealing further information. Note that I'm launching the AUv3 extension in the "Designed for iPad" mode. Project language is Objective-C. I was able to reproduce the issue with even an empty project, adding nothing beyond Xcode's built-in appex template for iOS Audio Units. The issue doesn't seem to happen with the Apple sample code "CreatingCustomAudioEffects", which is a swift project. I also compared and matched storyboard settings between that project and my own, but to no avail. Any pointers would be highly appreciated. Thanks.
Replies
5
Boosts
0
Views
2.4k
Activity
Mar ’23
Testing plugins for Logic Pro
Hi there, thanks in advance for any help. I make audio plugins and I would like to test them in Logic Pro. Aside from the 90 day trial, is there some limited version I can use just for testing? For example there is a Pro Tools developer version with the save function disabled - something like this would be perfect.
Replies
0
Boosts
2
Views
963
Activity
Feb ’23
Audio Units: Restoring original GarageBand 10 security settings
In order to get a new JUCE-based Audio Unit (AU version 2) I have been developing to work in GarageBand 10.4.6 running on macOS Monterey, I lowered the GarageBand security settings when presented with a dialog with the following message: Use of the requested Audio Unit(s) requires lowering the security settings for “GarageBand”. Are you sure you want to proceed? Now I'd like to restore GarageBand security settings to their original state so that I can modify the AU via signing or Sandboxing--whatever is required--to load without lowering GB security settings. How do I restore Garageband security settings to their original values? What I have tried: 1 Uninstalling GarageBand using Launchpad 2 Rebooting 3 Deleting: /Users/Admin/Library/Application Scripts/com.apple.garageband10 /Users/Admin/Library/Application Scripts/com.apple.STMExtension.GarageBand /Users/Admin/Library/Containers/com.apple.STMExtension.GarageBand /Users/Standard/Library/Application Scripts/com.apple.garageband10 /Users/Standard/Library/Application Scripts/com.apple.STMExtension.GarageBand /Users/Standard/Library/Containers/com.apple.garageband10/Data/Library/HTTPStorages/com.apple.garageband10 /Users/Standard/Library/Containers/com.apple.garageband10/Data/Library/Application Support/GarageBand I did not touch: /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBGarageBandPlugin.ilmbplugin /System/Library/PrivateFrameworks/iLifeMediaBrowser.framework/Versions/A/Resources/MBGarageBandSongDimmed.tiff /System/Library/PrivateFrameworks/iLifeMediaBrowser.framework/Versions/A/Resources/MBGarageBandSong.tiff /System/Library/PrivateFrameworks/StorageManagement.framework/PlugIns/GarageBandStorageExtension.appex /private/var/folders/*/*/C/com.apple.GarageBand/ 4 Rebooting 5 Reinstalling GarageBand 6 The Terminal command defaults delete com.apple.garageband10 7 Googling a solution. Many thanks.
Replies
2
Boosts
1
Views
1.7k
Activity
Jan ’23