audio unit with midi in/out

hi,


I'm pretty new to audio unit development, but I've bought a micro synth (Korg nts-1).

I just want to build an audio unit that receives and send midi input to/from the nts-1

how can I build an audio unit with midi events in input and output?


can an audio unit (instrument) take the audio signal from an external instrument?




I have found the best approach is frequently to look for open source projects that have functions related to what you want. My notes are in an awful mess and will take a while to make presentable. You might want to look at some of the following web pages.

https://github.com/mixedinkey-opensource/MIKMIDI This had some Objective-C code for handling MIDI

https://github.com/DerekCook/CoreMidi4J This was part of an attempt to improve the Java interface with Apple MIDI using dynamically linked code. Look at the C code in the example.

I'll try to make some more stuff available when I organize it.


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.

audio unit with midi in/out
 
 
Q