|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Snd + Jack, multiple file playback and recordingHello Bill and the List,
I've got a question about how could one play multiple files and record via jack in snd, also asining files to certain channels, suppose each file is mono. cheers, -- Ilya .d _______________________________________________ Cmdist mailing list Cmdist@... http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist |
|
|
Re: Snd + Jack, multiple file playback and recordingOn Thu, 29 Oct 2009, Ilya D wrote: > Hello Bill and the List, > > I've got a question about how could one play multiple files and record > via jack in snd, also asining files to certain channels, suppose each > file is mono. > By using snd-ls instead of snd, you can play multiple files properly using the "rt-snd-play" function in rt-player.scm. To assign certain channels to files, you can probably easely extend the "<snd-rt-player>" function with a channel argument, and also set the first argument for "out" appropriately. Recording with jack using snd is not working very well, I think. I think the sndrec program might work, but not snd itself. Instead you should look at jack_capture: http://archive.notam02.no/arkiv/src/?C=M;O=D _______________________________________________ Cmdist mailing list Cmdist@... http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist |
|
|
Re: Snd + Jack, multiple file playback and recordingOn Thu, 29 Oct 2009, Kjetil S. Matheussen wrote: > using the "rt-snd-play" function in rt-player.scm. > To assign certain channels to files, you can probably easely extend > the "<snd-rt-player>" function with a channel argument, and also > set the first argument for "out" appropriately. > s/appropriately/accordingly/ _______________________________________________ Cmdist mailing list Cmdist@... http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist |
|
|
Re: Snd + Jack, multiple file playback and recordingsnd-rt is probably the right thing, but if you want to use Snd,
get the current tarball or CVS version (the stuff in the earlier play.scm seems to be broken), and: (bind-key #\o 0 (lambda () ; send oboe.snd to chan 0 (play "oboe.snd" 0 #f #f #f #f #f 0))) ; how many #f's?? (bind-key #\p 0 (lambda () ; send pistol.snd to chan 1 (play "pistol.snd" 0 #f #f #f #f #f 1))) ;;; Now open a sound (so you have a non-listener pane to type to) (play #f 22050 2) ; srate 22050, 2 output chans ;;; this holds the DAC open indefinitely ;;; Now type o and p in the sound pane until you want to quit, then (stop-playing) _______________________________________________ Cmdist mailing list Cmdist@... http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist |
|
|
Re: Snd + Jack, multiple file playback and recordingOn Thu, Oct 29, 2009 at 02:14:14PM -0700, Bill Schottstaedt wrote:
> snd-rt is probably the right thing, but if you want to use Snd, > get the current tarball or CVS version (the stuff in the earlier > play.scm seems to be broken), and: > > (bind-key #\o 0 > (lambda () ; send oboe.snd to chan 0 > (play "oboe.snd" 0 #f #f #f #f #f 0))) ; how many #f's?? > > (bind-key #\p 0 > (lambda () ; send pistol.snd to chan 1 > (play "pistol.snd" 0 #f #f #f #f #f 1))) > > ;;; Now open a sound (so you have a non-listener pane to type to) > > (play #f 22050 2) ; srate 22050, 2 output chans > > ;;; this holds the DAC open indefinitely > ;;; Now type o and p in the sound pane until you want to quit, then > > (stop-playing) i would like to actually do it without the GUI. the idea is about building an embedded linux box with a micro-controller on a serial port. so after opening a port and evaluating the input strings as commands (i haven't figured how to do that exactly, but should be easily doable) i want to run some procs that will play files assigned to the outputs of the soundcards. the box would be a harddrive recorder basically ;) i might use digital multichannel interface for audio IO. i would need to be able to patch some channels in jack and record the output back into snd. so say i got 8 channels and 6 off them i'd like to play while the other two will pass trough an external FX via jack and record the two processed chans back into snd. _______________________________________________ Cmdist mailing list Cmdist@... http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist |
| Free embeddable forum powered by Nabble | Forum Help |