[Csnd] OSX multichannel output
Date | 2014-06-14 22:26 |
From | Matti Koskinen |
Subject | [Csnd] OSX multichannel output |
hi, I tried to get sound from some audio playing program to csound and creating pseudo-surround. Coreaudio seems to be broken completely with brew install csound —HEAD a week or two ago. I tried outputting just a sine tone to each speaker with 1sec interval, but all speakers had a horrible noise all the time. Portaudio works ok. I don’t know when using soundflower 64-ch, if it really works on osx 10.9, although I ran the ruby-script, which should build it. Something fails, but soundflower is available as input and output. Setting soundflower as output and input, the input vu-meter shows signals. Using soundflower gives some kind of a sound output, but sort of really distorted one. Csound shows the outputs after ctrl-c correctly, no samples out of range. Using mp3in everything is fine reading from file. I can’t use jack with portaudio, 2-ch input and 8-ch output give portaudio error -9998 and while coreaudio accepts the jack i/O, the output is what it is. Using mp3in, when the music has 8 mile long filenames is not really a neat option. tnx -m |
Date | 2014-06-14 22:36 |
From | Victor Lazzarini |
Subject | Re: [Csnd] OSX multichannel output |
It could be to do with your audio hardware; I’ve heard reports that the coreaudio module does not work well with some cards; portaudio should be seen as the default anyway, so if the coreaudio module does not work, just forget about it. The 2-ch input and 8 ch output needs to be set in csound (nchnls_i=2 and nchnls=8) otherwise it won’t work, so make sure you do that. You can also try the jack module, if you install JackOSX. Regards ======================== Dr Victor Lazzarini Senior Lecturer NUI Maynooth, Ireland victor dot lazzarini at nuim dot ie On 14 Jun 2014, at 22:26, Matti Koskinen |
Date | 2014-06-14 22:56 |
From | Matti Koskinen |
Subject | Re: [Csnd] OSX multichannel output |
On 15 Jun, 2014, at 12:36 am, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote: It could be to do with your audio hardware; I’ve heard reports that the coreaudio module does not work well with some cards; portaudio should be versions: PortAudio V19-devel (built May 16 2014 15:30:53) Csound version 6.03.2 (double samples) May 24 2014 I get the -9998 using jackOSX tnx -m |
Date | 2014-06-14 22:58 |
From | Victor Lazzarini |
Subject | Re: [Csnd] OSX multichannel output |
Not very new, maybe four or five years old. ======================== Dr Victor Lazzarini Senior Lecturer NUI Maynooth, Ireland victor dot lazzarini at nuim dot ie On 14 Jun 2014, at 22:56, Matti Koskinen |
Date | 2014-06-14 23:16 |
From | jpff@cs.bath.ac.uk |
Subject | [Csnd] Re: |
Attachments | None |
Date | 2014-06-14 23:18 |
From | Matti Koskinen |
Subject | Re: [Csnd] Re: |
On 15 Jun, 2014, at 1:16 am, jpff@cs.bath.ac.uk wrote: > >> How new this nchnls_i=2 is? >> > > 2009-12-05 18:55:39 > So it should work? -m |
Date | 2014-06-14 23:50 |
From | Victor Lazzarini |
Subject | Re: [Csnd] |
It does work as far as selection the input and output number of channels separately. But your problem might be elsewhere. Did you select the correct input/output that have the desired number of channels? ======================== Dr Victor Lazzarini Senior Lecturer NUI Maynooth, Ireland victor dot lazzarini at nuim dot ie I’ve changed the jack module so that now you should be able to use it and then do the connections later on the jack pilot window. I’ve tested it here and nchnls_i=2 + nchnls=8 can be started with -+rtaudio=jack. It’s in git develop branch now. On 14 Jun 2014, at 23:18, Matti Koskinen |
Date | 2014-06-15 00:01 |
From | Victor Lazzarini |
Subject | Re: [Csnd] |
I’ve updated the jack module so that it does not fail if it cannot connect to the input/output automatically. Now with -+rtaudio=jack you can set as many input or output channels independently and then connect them manually in the jack pilot window. This is in git develop. ======================== Dr Victor Lazzarini Senior Lecturer NUI Maynooth, Ireland victor dot lazzarini at nuim dot ie On 14 Jun 2014, at 23:50, Victor Lazzarini |