Results 1 to 2 of 2
Thread: MIDI to PCM
- 08-05-2009, 04:46 PM #1
Member
- Join Date
- Jul 2009
- Posts
- 2
- Rep Power
- 0
MIDI to PCM
It seems like a reasonable thing to do for a number of reasons (post-processing, file format conversion, etc.), but I cannot see any obvious way to take a MIDI sequence in Java and turn it into a PCM sequence. Play, yes, but not convert.
I know it's possible to, for example, play the MIDI file and physically connect the speaker socket to the microphone socket, but there must be a software-only way of doing it, and there should be a pure-Java way of doing it.
Any ideas?
- 08-05-2009, 05:58 PM #2
Member
- Join Date
- Jan 2009
- Location
- Belgium
- Posts
- 20
- Rep Power
- 0
Hi,
I'm very new to Java, but not new to MIDI or software synths, here are my $0.02
The MIDI file can be played in two ways (that I can think of):
1. by using a SoundFont (actually a collection of pieces of PCM data, to be mixed an glued together and saved as one PCM "block?")
2. by using one or many "PCM generators", actually software synthesizers that render the PCM data at runtime, and also a mixing method to mix the outputs of up to 16 synths into a stereo PCM file.
Maybe it's easiest if you choose the SoundFont way, use a GM (General Midi) SoundFont and only accept GM MIDI files to get started.
Or you could have a look at jvstwrapper dot sourceforge dot net :)
Similar Threads
-
Getting input from MIDI devices on a Mac
By Ben Wheatley in forum Advanced JavaReplies: 1Last Post: 08-05-2009, 06:08 PM -
midi bytes
By willemjav in forum Advanced JavaReplies: 77Last Post: 07-29-2008, 03:10 PM -
Determining Midi Length
By Usagi in forum New To JavaReplies: 0Last Post: 12-08-2007, 11:45 PM -
help with midi files
By leonard in forum New To JavaReplies: 1Last Post: 08-06-2007, 04:40 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks