My /etc/timidity/timidity.cfg has 2 lines:
soundfont /home/bob/sounds/sfx-lib/SGM-V2.01.sf2
soundfont /home/bob/sounds/sfx-lib/acoustic_grand_piano_ydp_20080808.sf2 amp=800
This sets all voices to the stuff in 1st library; then resets the
piano0 to the 2nd. Works for me.
I think that the channel voice settings are set in the sf2 files, but not sure.
On Sat, Jan 23, 2010 at 1:14 AM, Torsten Mohr <tmohr@...> wrote:
> Hello,
>
> i read the "man page" and read some infos that users put on their web pages,
> but i somehow can't seem to tell timidity to use a soundfont.
>
> I have downloaded some free sound fonts and demos and unpacked them
> so they have the extension .sf2
>
> Timidity seems to load /etc/timidity.cfg, which sources
> /usr/share/timidity/timidity.cfg
>
> I tried in timidity.cfg:
>
> bank 0
> dir /usr/share/timidity
> 0 %font WurlitzerEPdry.SF2 0 3
>
> (I also tried several countless other combinations)
>
> When playing a midi file, the other voices are missing now (as expected), but
> i also don't hear the piano part.
>
>
> QSynth loads the sound file and says in "Channels":
> Channel 1 Bank 0 Prog 3
>
> So i created a MIDI file in Rosegarden that plays fine with the old timidity
> configuration.
> I created the MIDI file with: channel 1, Bank "General Midi", Program 4
> (because the start to count from 1). I also tried it as Program 3.
>
> Timidity tells me:
> No instrument mapped to tone bank 0, program 2 - this instrument will not be
> heard
>
> In the second case it tells me:
> No instrument mapped to tone bank 0, program 3 - this instrument will not be
> heard
>
>
> I'm not sure what i need to do to make timidity play soundfonts or how to map
> soundfonts to MIDI instruments
>
>
> Can anybody tell me what i need to do to play sounds?
>
> I'm also not sure if i need to supply more information, if there are any
> useful tests i could do then please write to me.
>
>
> Thanks for any hints,
> Torsten.
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> Timidity-talk mailing list
> Timidity-talk@...
> https://lists.sourceforge.net/lists/listinfo/timidity-talk
>
--
**** Listen to my CD at http://www.mellowood.ca/music/cedars ****
Bob van der Poel ** Wynndel, British Columbia, CANADA **
EMAIL: bob@...
WWW: http://www.mellowood.ca
|