Posts

Post not yet marked as solved
1 Replies
0 Views
No. If you want to play on an external device, use AVAudioEngine instead. Documentation - https://developer.apple.com/documentation/avfaudio/avmidiplayer/
Post not yet marked as solved
1 Replies
0 Views
"various examples scrounged from the internet" use a wide variety of techniques, many wrong. Show how your AUv3 audio unit is playing the MIDI sequence and we can answer. I don't see a AUv3 forum. People crosspost anyway. Also check Core Audio.
Post not yet marked as solved
2 Replies
0 Views
I wrote the tutorial on AUv3 MIDI a few years ago. This forum prevents me from including a link. Ask the google for "Audio Units (AUv3) MIDI extension – Part 0: Getting Started" There are also Github projects mentioned therein. I've posted links in the past. What's the problem now? It says "This URL can't be included in your post. Please remove it to continue." It's for any url/scheme.
Post not yet marked as solved
5 Replies
0 Views
Post not yet marked as solved
2 Replies
0 Views
How are you creating the event list?
Post not yet marked as solved
2 Replies
0 Views
Where is packetList from? Is this your ReadBlock? You get an UnsafePointer pointer there as a param. You can iterate over it via unsafeSequence()
Post marked as solved
1 Replies
0 Views
They're focusing on the new MIDIEventList frob now. @available(iOS 14.0, *) public func MIDISendEventList(_ port: MIDIPortRef, _ dest: MIDIEndpointRef, _ evtlist: UnsafePointer<MIDIEventList>) -> OSStatus @available(iOS 14.0, *) public func MIDIReceivedEventList(_ src: MIDIEndpointRef, _ evtlist: UnsafePointer<MIDIEventList>) -> OSStatus
Post not yet marked as solved
1 Replies
0 Views
They are pushing AUv3.
Post not yet marked as solved
9 Replies
0 Views
For what it's worth, in the current incarnation of FilterDemo, the midiOut parameter has been removed and InstrumentDemo.mm no longer has the noteBlock.You do get the midi block in the AU, so you can do whatever.
Post not yet marked as solved
2 Replies
0 Views
Do this CAShow(UnsafeMutablePointer<AUGraph>(self.audioGraph!))