pic/midi programming

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Fri Oct 30 15:02:48 UTC 2009


On Thu, Oct 29, 2009 at 10:42:55AM -0700, Pete Lancashire wrote:
> By PIC do you mean the IC family made by Microchip ?
> 
> If so here's a couple URLs from a quick search
> 
> http://www.audiomulch.com/midipic/
> http://m.bareille.free.fr/midi2pic/midi2pic.htm
> 
> MIDI devices by them selves do no output sound, think if MIDI as
> a protocol just like TCP/IP is.
> 
> A MIDI command in its simplest form basically says 'play note
> x on instrument y for n seconds' (Not exact but). It is up to
> hardware and software to take the command and process it. At
> the very end of these blocks there is at least one Digigal to
> analog converter (with filtering and a gain/isolation block).

I believe it actually sends note on/note off commands, not duration.

> As to your question on needing more then one DAC, the digital
> data for these 'instruments' can be combined (summed etc) and
> then fed to a single DAC. Think of a stereo amp in mono mode.
> 
> To keep this on a Linux/OSS level you can dig into the code
> in some of the various music players.

-- 
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list