[PlanetCCRMA] Re: Starting fluidsynth

Fernando Pablo Lopez-Lezcano nando@ccrma.Stanford.EDU
Sun Jan 18 16:01:02 2004

> >   fluidsynth -a alsa -m alsa_seq SOUNDFONTFILENAME
> > 
> > will start fluidsynth connected to the alsa sound output driver and
> > listening for midi commands in the alsa seuquencer.
> I am running RH9 with Gnome and esd. 

You should turn off esd, otherwise it will monopolize the sound device
and you may not be able to use other audio applications. 

> Kernel is 2.4.22-6.ll.rh90 with lowlatency active.
> The above command results in the following output:
> - - - - - clipeti clip -----
> [timo@muska timo]$ fluidsynth -a alsa -m alsa_seq softaa/music/GM.sf2
> cca_open_socket: error connecting to destination 'localhost:14541': 
> Connection refused
> cca_comm_connect_to_server: could not create server connection
> cca_init: could not connect to server 'localhost:14541' - disabling 
> ladcca

that's ok, you are not running ladcca. 

> fluidsynth: warning: Failed to pin the sample data to RAM; swapping is 
> possible.

this means you don't have enough ram to load all the soundfont at once
into memory. 

> fluidsynth: warning: Ignoring sample SineWave: can't use ROM samples

I don't know what this means, apparently part (or all?) of the soundfont
can't be used by fluidsynth. 

> ** Using format s16, rw, interleaved
> fluidsynth: warning: Couldn't set high priority scheduling for the 
> audio output
> fluidsynth: warning: Couldn't set high priority scheduling for the MIDI 
> input
> fluidsynth version 1.0.3
> Copyright (C) 2000-2002 Peter Hanappe and others.
> This is free software, and you are welcome to redistribute it
> under certain conditions; see the COPYING file for details.
> SoundFont(R) is a registered trademark of E-mu Systems, Inc.
>   Type 'help' to get information on the shell commands.
> > 

What happens if at the fluidsynth prompt you type:
  noteon 1 69 127

I would try to see what is happening with the soundfont, one way would
be to use swami (a soundfont editor that uses fluidsynth), just to see
whether the soundfont is being loaded or not. 

-- Fernando