On Sat, 29 Nov 2003, Mark Constable wrote:
   On Fri, 28 Nov
2003, Joerg Anders wrote:
 Forget this mail! I've got it!
 >  ... yes if anybody explains the jack usage to me: 
 But how about letting the rest of us know the exact procedure
 that worked for you :-)
 I'd love to put the "recipe" for how you did this on the
 Alsa Wiki with links to your page and mp3 examples.
  
 
Ok! A presupposition is: FluidSynth is compiled with jack support.
In first Xterm:
        $ su -
        # jackd -d alsa
In 2nd Xterm:
        $ su -
        # fluidsynth -a jack <soundfontfile>
In 3rd Xterm:
        $ pmidi -list
         Port     Client name                       Port name
         64:0     Rawmidi 0 - Audigy MPU-401 (UA    Audigy MPU-401 (UART)
         64:32    Rawmidi 0 - Audigy MPU-401 (UA    Audigy MPU-401 #2
         65:0     Emu10k1 WaveTable                 Emu10k1 Port 0
         65:1     Emu10k1 WaveTable                 Emu10k1 Port 1
         65:2     Emu10k1 WaveTable                 Emu10k1 Port 2
         65:3     Emu10k1 WaveTable                 Emu10k1 Port 3
        128:0     FLUID Synth (4187)                Synth input port (4187)
(Thinking: Aha! The FluidSynth ALSA-MIDI input port is 128:0)
        $ pmidi -p 128:0 <file>.mid  (NO ENTER!!!)
In 4rd Xterm:
        $ su -
        # jack_lsp
          alsa_pcm:capture_1
          alsa_pcm:capture_2
          alsa_pcm:playback_1
          alsa_pcm:playback_2
          fluidsynth:left
          fluidsynth:right
(Thinking: Aha the 2 fluidsynth WAV output ports are named: "fluidsynth:left"
and "fluidsynth:right")
        # jackrec -f <file>.wav -d 5 -b 16 fluidsynth:left fluidsynth:right (NO
ENTER !!!)
Then: ENTER in 3rd Xterm and immediately in 4rd Xterm.
Why I must be root ? ---> Don't know!
I assume "jackrec -f <file>.wav -d 5 -b 16 fluidsynth:left
fluidsynth:right"
means : add fluidsynth:left + fluidsynth:right. Perhaps it is stereo ???
--
J.Anders, Chemnitz, GERMANY (ja(a)informatik.tu-chemnitz.de)