|
From: Mark K. <mar...@gm...> - 2005-02-09 02:44:23
|
On Wed, 9 Feb 2005 02:44:12 +0100, Christian Schoenebeck <sch...@so...> wrote: > Es geschah am Mittwoch 09 Februar 2005 02:00 als Mark Knecht schrieb: > > c) Separate outputs for each gig come out but attach to separate > > alsa_pcm:playback_XX channels. The audio is mixed in hardware with no > > CPU overhead. > > Well, just mixing does almost mean no cpu load. Memory bandwith will come more > into weight. > > > However when I run this I get some weird results. (I'm choosing to > > leave the OK's in the listing in case someone needs them to count > > commands.) > > > > QUESTIONS: > > > > 1) Why does the first gig say "AUDIO_OUTPUT_ROUTING: 6,1". All the > > others say "AUDIO_OUTPUT_ROUTING: 0,1"? > > > > 2) What the "Err:0:Unknown command."? If I count 5 down in the script > > it looks like it doesn't like the "ADD CHANNEL" command. Am I counting > > this correctly? > > > > 3) In QJackCtl I see the first 3 instruments going to playback_17/18 > > and the 4th instrument going to playback_19/20. Is it doing what I > > need it to do? > > > > > > [mark@Godzilla LinuxSampler]$ cat ./LS-Orchestra-script | nc localhost 8888 > > OK[0] > > OK > > OK[0] > > OK > > Err:0:Unknown command. > > OK[0] > > Ouch, would you please add the "SET ECHO 1" command to the beginning of your > script. That will make the output much more readable! Because that way you > can directly see which answer was followed by which command. > > CU > Christian > Here's what I see on the first instrument. IT doesn't liek the way I'm defining what I thought was the second half of the stereo connection: [mark@Godzilla LinuxSampler]$ cat ./LS-Orchestra-script | nc localhost 8888 OK CREATE AUDIO_OUTPUT_DEVICE JACK OK[0] SET AUDIO_OUTPUT_DEVICE_PARAMETER 0 CHANNELS=32 OK CREATE MIDI_INPUT_DEVICE ALSA OK[0] SET MIDI_INPUT_PORT_PARAMETER 0 0 ALSA_SEQ_BINDINGS="64:0" OK ADD CHANNEL OK[0] LOAD ENGINE gig 0 OK SET CHANNEL AUDIO_OUTPUT_DEVICE 0 0 OK LOAD INSTRUMENT "/home/mark/Gigs/GSt30/Vienna Symphonic Library/16 Bit looped In struments/01 VIOLINS_looped-16.gig" 0 0 OK SET CHANNEL VOLUME 0 0.40 OK SET CHANNEL AUDIO_OUTPUT_CHANNEL 0 0 0 OK SET CHANNEL AUDIO_OUTPUT_CHANNEL 0 1 1 ERR:0:There is no audio output device with index 1 SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 0 JACK_BINDINGS='alsa_pcm:playback_17' OK SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 1 JACK_BINDINGS='alsa_pcm:playback_18' OK SET CHANNEL MIDI_INPUT 0 0 0 0 OK What I thought I was saying was: SET CHANNEL AUDIO_OUTPUT_CHANNEL 0 0 0 SET CHANNEL AUDIO_OUTPUT_CHANNEL 0 1 1 means Engine 0 Channel 0 hooks to output 0 Engine 0 Channel 1 hooks to output 1 I thought Channel 0 and Channel 1 were the stereo pair from the gig file and outputs 0 & 1 were the LS outputs but I think that this is not what it means and I'm confused with this example. thanks all! Cheers, Mark |