omino code blog

We need code. Lots of code.

Core MIDI and Funny Noises

David Van Brink
// Mon 2006.10.16 20:45 // {audio c code mac os x}

The Sound

midiOutStarter.mp3

click for
http://www.omino.com/snd/midiOutStarter.mp3

The Code

Here’s a super simple plain-old-C file that uses Core MIDI on Mac OS X to send random notes to all the channels:

/src/c/midi/midiOutStarter/midiOutStarter.c in new window download /src/c/midi/midiOutStarter/midiOutStarter.c to file hide /src/c/midi/midiOutStarter/midiOutStarter.c

And here is a Reason setup with some various cute sounds used for the MP3 above.

Huh?

Oh… I write MIDI software so infrequently these days that I need to keep around a starter-app, to remember how it’s done. Perhaps someone else might happen upon this example and benefit. Meanwhile, at least I know where to find it.

2 comments
Daniel Jalkut // Tue 2006.10.17 07:45

Very cool sounding. Sort of reminds me of some Harry Partch pieces I heard back in school. That might be a naive interpretation of “random notes” – but … all the same :)

w of wbl // Wed 2007.08.8 07:06

are you saying that nearly 100 years of electronic music can be summarized by this one piece of software?

oh, i dont know. what do you think?


/\/\/\/\
mimeo wordpress theme by
poly@omino.com
+