From: <tt_...@gm...> - 2004-08-01 18:58:08
|
Hi, I've committed the first changes to support MidiSystem sequencer support. The intention is to play standard midi files to hear a singular patch instead of a single note. It's easier to rate the sound of a patch with accords, songs, etc. than with a single note. Alas currently my code plays the midi file over the standard Javasound synthesizer (this means the soundcard analog output) and not over the Midi interface. Even if I connect the sequencer with the proper MidiDevice. Probably I made some errors or the Linux Javasound implementation is buggy. If someone want to take a look to this feature he has to set "useSequencer" in core.NoteChooserConfigPanel to "true", recompile and make the corresponding settings in the config panel. I've changed the following files: - core/AppConfig.java (to store/restore preferences) - core/NoteChooserConfigPanel.java (to make the needed settings) - core/Driver.java (to enable playing notes or sequences) - core/MidiUtil.java (the whole sequencer code) The whole code is highly experimental and many things are missing (like start, stop, pause buttons and blocking the sequencer feature to avoid multiple use). Also the singular elements like sequencer, transmitter, receiver are not closed properly. Any suggestions, bugfixes are welcome. bye Torsten |