On 9/24/07, Charles Linart wrote:
Yes, this is wrong (kind of). MIDI is a digital control signal.
Audio is an analog voltage. No sound card is "MIDI capable" unless it
has MIDI ports (the 5-pin DIN connectors). The way to convert an
audio signal to MIDI is through software that listens to an audio
signal, figures out the pitch, and outputs corresponding MIDI data.
The aubio package contains a program called aubionotes that does just
that using jack, in real time (although it's far from perfect). There
are others programs that do this as well.
For example, I can send MIDI data to a softsynth using aubionotes by
connecting my alsa_capture input (that has my bass guitar plugged into
it) and connecting the program's ALSA midi output to the softsynth's
midi input. The softsynth will then play some notes that are somewhat
related to what I'm playing. Try it and you'll see what I mean.
Hope that helps