hi,
with fluidsynth 1.07a I could play MIDI files from the shell giving command
line arguments. I have chosen a MIDI file which is playing if it has only
melodic instrument i.e. say piano or guitar strings. I have a MIDI file
with both precurssion and melodic, it doesnot sound both when I paly it with
this version. Can you tell me which version of fluidsynth can play a multi
timbre - basically both melodic and drum kit at a time on its own on windows
say using a dsound driver? some of the MIDI files I used are only playing
drums and some are playing mere melodic without droms!! What does this say?
I have changed soundfont files basically .sf2 files and tested fluidsynth
but with different instruments I could not play the melodic and drum kit as
it is together.....
Can you suggest me a possible solution for this? I am struggling on this
from more than a week to look through the code and find the loophole...
Either you can suggest me a solution with that of changing the required
parameters in the code if needed... even that would help my investigatiion
to get a intact code
regards,
PRem
Post by Josh GreenPost by Premkiran Mannavahi,
I have some downloaded code of parsing the MIDI files as well as
soundfont files. Now how do I select the preset and bank initially
basing on the MIDI events. I basically donot know which instrument it
is playing initially right! Suppose my MIDI file events are playing
a xylophone... then how do I recognize from soundfont that its a
xylophone? How do I identify the instrument of the sample?
Regards,
Prem
I'm not exactly certain what you are asking, but I'll try to answer your
questions ;) Each preset in a SoundFont has a MIDI bank and preset
number associated with it. When playing a MIDI file through a SoundFont
synthesizer, it should be enough to send MIDI bank and program change
events for the instrument you desire to play. Are you using FluidSynth
as a shared library in a program, from the command line or within
another application? Changing the bank:preset of FluidSynth depends on
how you are using it. SoundFont presets are also identified by a name,
which will give you a better idea of what the sound is. This name can
be whatever the designer of the SoundFont chooses so a Xylophone won't
necessarily be exactly named that. There are some standards for mapping
specific program numbers to certain instruments, General MIDI is one of
those standards. This is a standard mapping of certain sounds to
numbers. Hope something in there covers what you were asking.
Josh Green
--
" Excellence is not an act....but a habit..."