This was really clear and useful after several days of trying to figure out how to build an AU from the Apple Dev pages! (...really confusing!!!) Is there going to be a part 2 to this? Also if you were to do a tutorial in SwiftUI I think that would be really helpful. Though I assume I can pretty much follow this guide again but with a SwiftUI project ? (said optimistically)
I'm glad it was helpful :). And thanks for watching! I am going to do a part 2 for sure! While I'm not sure if Audio Units support SwiftUI views, I know I have created a SwiftUI inside of a UIViewRepresentable or something like that. Then I could use SwiftUI inside the Audio Unit's UI View. That's a great idea. I could definitely make that happen and use some of the AudioKit UI stuff which is mostly SwiftUI based now.
@@aura-audio That sounds really promising. What I really want to do is present a Spitekit scene in the AU's UI view. Which I can do on the storyboard so I know it's possible. I just hate using storyboard and prefer to just hard code it all.I figure if SwiftUI can go in the AU view I can do that. I have a very nice stand alone app I built running on my iPad which is essentially a funky MIDI controller that I'd like to be able to use as an AU in Logic.
@@aura-audio I have actually worked out how to do it myself using a UIHostingController. It was just a few extra lines of code to add to this tutorial. And now I can present a SKScene inside the ContentView. So very happy! Can't present previews inside the AU extension yet... but hey!
Thanks for making this! I'm trying to follow along in 2023 with Xcode 14.3.1 and it seems a fair bit has changed... I'm able to create the new app, add an Audio Unit extension, but there are a lot of different files created from this, and I'm noticing that I can import SoundpipeAudioKit to the main app but not to the AudioUnit code.. I wonder if it would be possible to make an updated video or just point me in the right direction? cheers and thanks for doing what you do!
@@aura-audio i still am really craving to learn how to do this with the new SwiftUI stuff... any chance of re-recording this? do you do any 1 on 1 teaching?
Great video! I'm starting a new project and trying to decide between JUCE and Audiokit. Any input on what the pros/cons are? It seems like with JUCE you can deploy to more platforms, but Audiokit seems a bit easier to get started with. Thanks!
Thanks for watching! Yes, the pros and cons are as you described. I personally like using Apple's API and AudioKit if I know it's going to be an AUv3. If I want it to be a VST too, I would use JUCE.
This is really excellent. I've learnt a lot through your video. Thanks for sharing. Is it possible to 'string' effects together (e.g. Tahn Distortion, EQ, FFT)? Thanks again.
Thanks for watching! I'm glad it was helpful. It sure is, but I think you may need to combine all the audio processing code into one file. That's an interesting idea to explore though! I'll add that to the tutorials once I can get them started back up again.
@@aura-audio it would be great. I have plans on bringing the pure waveforms of several of my analog synths as standalone synths. There are very few of those.
@@aura-audio You’ve seen this? github.com/AudioKit/AnalogSynthX Would be awesome if you could make a video of using their code to make your own synth. Would be very helpful to us who are new to this.
Thank you for doing this video. Very clear and helpful. I can't get the plugin to show up in either GarageBand nor Logic. Logic Plugin manager doesn't show the plugin. Do I need a paid developer account for this? Thanks again!
You're welcome! Thank you for watching. The plugin not showing up is a common bug. If you look in the Xcode debug window, does it show some errors or warnings? Also, there shouldn't be need for a paid developer account, but you will need to create a development certificate with your Apple ID.
Hey, Evan! Great video. I've watched about 10 times making sure I'm following along with exactly what you're doing. However, every time I try to test out the plugin, I get an error in Logic saying it's incompatible. It's very odd. Ableton doesn't show the AU in the Audio Units list. Any ideas?
Hi Hugh! You'll need to validate the plugin through the Plug-In manager in Logic Pro X. I will show how to do this in my next video today. Ableton doesn't support AUv3. Thanks for watching, and definitely check my next video! Thank you for bringing this up!
Hey, thanks for watching! Unfortunately it isn't possible on Windows since you do need Xcode, but Virtual Studio Plugins (VST's) are much more popular. I've been meaning to make a video about it soon but haven't gotten around to it yet since school has been busy.
@@aura-audio Many thanks, I cannot find any AUV3 tutorial or video, if you do make one I think it would be quite popular! I wonder can it be achieved swift playgrounds on IOS?
Anytime, and thank you for watching! I agree, I know some people have commented a lot on a VST tutorial I made a while back (but it was a pretty basic hello world type tutorial). Now I'm motivated to do one more advanced hopefully in the near future. Ooh, yeah that would be cool to build an AUv3 on Swift playgrounds! Not sure if it's possible yet due to all the intricacies of the AUv3 code, but I will look into it! Thank you for the suggestions 🙏🏻!
It sure can! I think I even use my iPad in the middle of the video. But good point, I think I should make more content focusing on iOS specifically, because there are some differences between iOS and MacOS. Thanks for watching, and stay tuned 😃!
Hello Aura Audio, I working with LibPd trying to make that work with AUAudioUnit and inside AUViewController I'm passing the PdAudioController audioUnit object to createAudioUnit return, but inside Garage Band it's not changing my audio. Do you have any clue? public func createAudioUnit(with componentDescription: AudioComponentDescription) throws -> AUAudioUnit { audioUnit = controller.audioUnit return audioUnit! }
I have not used LibPd before, but have you checked the debugging window? Maybe the plugin didn't instantiate correctly. The first place I go is check the debug window and see if there are any bugs or messages that tell you what's wrong.
@@RafaganAbreu From what I understand, you have a class called PdAudioController which is trying to configure a AVAudioSessionCategory? Let me know if this is correct.
@@RafaganAbreu Awesome. What is the specific AVAudioSessionCategory are you trying to configure? Please let me know what the category options are (i.e. mixWithOthers, defaultToSpeaker, etc.).
Please add more similar videos... Thanks so much!
Thank you for your feedback, I will definitely continue this AUv3 series 🙂
Great video! Looking forward to part 2 🤘
Thanks for watching 😊! I'm looking forward to making it 🙌🏼!
Please make the part 2!!!
Thank you for watching! I'm on it 🔨🚀!
@@aura-audio \o/
This is really cool!
Thank you! I’m glad you enjoyed it :) !
This was really clear and useful after several days of trying to figure out how to build an AU from the Apple Dev pages! (...really confusing!!!) Is there going to be a part 2 to this? Also if you were to do a tutorial in SwiftUI I think that would be really helpful. Though I assume I can pretty much follow this guide again but with a SwiftUI project ? (said optimistically)
I'm glad it was helpful :). And thanks for watching! I am going to do a part 2 for sure! While I'm not sure if Audio Units support SwiftUI views, I know I have created a SwiftUI inside of a UIViewRepresentable or something like that. Then I could use SwiftUI inside the Audio Unit's UI View. That's a great idea. I could definitely make that happen and use some of the AudioKit UI stuff which is mostly SwiftUI based now.
@@aura-audio That sounds really promising. What I really want to do is present a Spitekit scene in the AU's UI view. Which I can do on the storyboard so I know it's possible. I just hate using storyboard and prefer to just hard code it all.I figure if SwiftUI can go in the AU view I can do that. I have a very nice stand alone app I built running on my iPad which is essentially a funky MIDI controller that I'd like to be able to use as an AU in Logic.
@@aura-audio I have actually worked out how to do it myself using a UIHostingController. It was just a few extra lines of code to add to this tutorial. And now I can present a SKScene inside the ContentView. So very happy! Can't present previews inside the AU extension yet... but hey!
That's sweet!! I never thought of doing that before! Great idea! It would be fun to have an AU that makes music through games/animations or something.
Thanks for making this! I'm trying to follow along in 2023 with Xcode 14.3.1 and it seems a fair bit has changed... I'm able to create the new app, add an Audio Unit extension, but there are a lot of different files created from this, and I'm noticing that I can import SoundpipeAudioKit to the main app but not to the AudioUnit code.. I wonder if it would be possible to make an updated video or just point me in the right direction? cheers and thanks for doing what you do!
Yep, pretty much all of those are to make the Audio Unit compatible with SwiftUI. I'll need to make a new video, but thanks for watching this one 🙌🏻
@@aura-audio I'd really appreciate it if you did! I'd gladly tip a little something for it too if that encourages you.
No tips needed. As long as people have interest for it and learn something, I'll be happy
@@aura-audio i still am really craving to learn how to do this with the new SwiftUI stuff... any chance of re-recording this? do you do any 1 on 1 teaching?
Glad to hear that, I can definitely make the next tutorial a priority once I get time off of school
Great video! I'm starting a new project and trying to decide between JUCE and Audiokit. Any input on what the pros/cons are? It seems like with JUCE you can deploy to more platforms, but Audiokit seems a bit easier to get started with. Thanks!
Thanks for watching! Yes, the pros and cons are as you described. I personally like using Apple's API and AudioKit if I know it's going to be an AUv3. If I want it to be a VST too, I would use JUCE.
You got your 100th like🤘
Yay! Thank you for watching 😃 !
Bro please please please make a part 2 ur the goat
Thanks for watching! I'll let you know when part 2 is out!
@@aura-audio thank you 🙏
This is really excellent. I've learnt a lot through your video. Thanks for sharing. Is it possible to 'string' effects together (e.g. Tahn Distortion, EQ, FFT)? Thanks again.
Thanks for watching! I'm glad it was helpful. It sure is, but I think you may need to combine all the audio processing code into one file. That's an interesting idea to explore though! I'll add that to the tutorials once I can get them started back up again.
Part 2 please :P
Don’t worry I’m workin on it fam 🙌🏻
Great! I’m looking into learning how to make a sample based synth for iOS/iPadOS. Do you know where I could find out more on how to do that somewhere?
Thanks for watching! I do not, but I could definitely make it part of this series!
@@aura-audio it would be great. I have plans on bringing the pure waveforms of several of my analog synths as standalone synths. There are very few of those.
That would be super cool! Sounds like a good idea as an example of a MIDI AUv3!
@@aura-audio You’ve seen this? github.com/AudioKit/AnalogSynthX Would be awesome if you could make a video of using their code to make your own synth. Would be very helpful to us who are new to this.
Yeah I love the AudioKit code! They have a lot of cool stuff! I would love to make a video about it! Thanks for the suggestion!
Thank you for doing this video. Very clear and helpful. I can't get the plugin to show up in either GarageBand nor Logic. Logic Plugin manager doesn't show the plugin. Do I need a paid developer account for this? Thanks again!
You're welcome! Thank you for watching. The plugin not showing up is a common bug. If you look in the Xcode debug window, does it show some errors or warnings? Also, there shouldn't be need for a paid developer account, but you will need to create a development certificate with your Apple ID.
Just found your hello world project on GitHub and that works! Not sure what I was doing in my project. Thanks
Oh sweet! You're welcome! Yeah these plugins can get confusing sometimes, but once you get used to them things will become more intuitive.
Hey, Evan! Great video. I've watched about 10 times making sure I'm following along with exactly what you're doing. However, every time I try to test out the plugin, I get an error in Logic saying it's incompatible. It's very odd. Ableton doesn't show the AU in the Audio Units list. Any ideas?
Hi Hugh! You'll need to validate the plugin through the Plug-In manager in Logic Pro X. I will show how to do this in my next video today. Ableton doesn't support AUv3. Thanks for watching, and definitely check my next video! Thank you for bringing this up!
Is it possible do this on windows or must you have a Mac due to Xcode?
Hey, thanks for watching! Unfortunately it isn't possible on Windows since you do need Xcode, but Virtual Studio Plugins (VST's) are much more popular. I've been meaning to make a video about it soon but haven't gotten around to it yet since school has been busy.
@@aura-audio Many thanks, I cannot find any AUV3 tutorial or video, if you do make one I think it would be quite popular! I wonder can it be achieved swift playgrounds on IOS?
Anytime, and thank you for watching! I agree, I know some people have commented a lot on a VST tutorial I made a while back (but it was a pretty basic hello world type tutorial). Now I'm motivated to do one more advanced hopefully in the near future. Ooh, yeah that would be cool to build an AUv3 on Swift playgrounds! Not sure if it's possible yet due to all the intricacies of the AUv3 code, but I will look into it! Thank you for the suggestions 🙏🏻!
@@aura-audio Looking forward to it!
Can this be done usin iOS or is it Mac only (?)
It sure can! I think I even use my iPad in the middle of the video. But good point, I think I should make more content focusing on iOS specifically, because there are some differences between iOS and MacOS. Thanks for watching, and stay tuned 😃!
Muito bom!
Obrigado 🙏
Hello Aura Audio, I working with LibPd trying to make that work with AUAudioUnit and inside AUViewController I'm passing the PdAudioController audioUnit object to createAudioUnit return, but inside Garage Band it's not changing my audio. Do you have any clue?
public func createAudioUnit(with componentDescription: AudioComponentDescription) throws -> AUAudioUnit {
audioUnit = controller.audioUnit
return audioUnit!
}
I have not used LibPd before, but have you checked the debugging window? Maybe the plugin didn't instantiate correctly. The first place I go is check the debug window and see if there are any bugs or messages that tell you what's wrong.
@@aura-audioI am receiving de following:
2021-10-11 23:00:32.455306-0300 TestAU[12743:1001052] -[PdAudioController configureSessionWithCategory:][544] * ERROR * could not activate session: AVAudioSessionErrorCodeCannotStartPlaying
2021-10-11 23:00:32.482026-0300 TestAU[12743:1001052] Writing analzed variants.
2021-10-11 23:00:32.482888-0300 TestAU[12743:1001052] Writing analzed variants.
2021-10-11 23:00:32.578636-0300 TestAU[12743:1001319] [aurioc] AURemoteIO.cpp:1123 failed: 561015905 (enable 2, outf< 2 ch, 44100 Hz, Float32, deinterleaved> inf< 2 ch, 0 Hz, Float32, deinterleaved>)
@@RafaganAbreu From what I understand, you have a class called PdAudioController which is trying to configure a AVAudioSessionCategory? Let me know if this is correct.
@@aura-audio Exactly
@@RafaganAbreu Awesome. What is the specific AVAudioSessionCategory are you trying to configure? Please let me know what the category options are (i.e. mixWithOthers, defaultToSpeaker, etc.).
create a percussion sampler
Sounds like a dope idea!
First