Csound Csound-dev Csound-tekno Search About

[Csnd] unknown rtaudio module: 'PortAudio', using dummy module

Date2013-06-14 21:17
Fromzappfinger
Subject[Csnd] unknown rtaudio module: 'PortAudio', using dummy module
I am trying Victor's example with cnsd6 in Python: (Also tried with -odac,
-odac1, -odac2, etc. no difference)

import csnd6

cs = csnd6.csoundCreate(None)
csnd6.csoundSetOption(cs, "-odac0")
csnd6.csoundCompileOrc(cs, "instr 1 \n a1 oscils p4, p5, 0 \n out a1 \n
endin \n")
csnd6.csoundReadScore(cs, "i1 0 10 16000 440 \n")
csnd6.csoundStart(cs)
csnd6.csoundPerform(cs)

output:
Richards-MacBook-Air:~ richard$
/var/folders/r0/103fxm8x32j76d1yv589d0jc0000gn/T/Cleanup\ At\
Startup/csound6test-392933560.682.py.command ; exit;
virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 6.00rc3 (double samples) Jun 12 2013
libsndfile-1.0.25
Parsing successful!
Csound version 6.00rc3 (double samples) Jun 12 2013
graphics suppressed, ascii substituted
0dBFS level = 32768.0
orch now loaded
audio buffered in 1024 sample-frame blocks
 unknown rtaudio module: 'PortAudio', using dummy module
rtaudio: dummy module enabled
writing 1024 sample blks of 64-bit floats to dac0 
SECTION 1:
new alloc for instr 1:
B  0.000 .. 10.000 T 10.000 TT 10.000 M:  16000.0
Score finished in csoundPerform().
inactive allocs returned to freespace
end of score.		   overall amps:  16000.0
	   overall samples out of range:        0
0 errors in performance

No sound is heard (obviously?)

Richard



--
View this message in context: http://csound.1045644.n5.nabble.com/unknown-rtaudio-module-PortAudio-using-dummy-module-tp5724517.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-06-14 22:27
FromVictor Lazzarini
SubjectRe: [Csnd] unknown rtaudio module: 'PortAudio', using dummy module
This probably means the plugin opcode dir is not being found. 
if you are running Python from the commandline you can type

export OPCODE6DIR64=

before running python.

> unknown rtaudio module: 'PortAudio', using dummy module


Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




Date2013-06-14 23:23
FromRichard Henninger
SubjectRe: [Csnd] unknown rtaudio module: 'PortAudio', using dummy module
Could be case sensitivity, too.  When I was adding default rtaudio from another issue, I found that “portaudio” worked, but that “PortAudio” did not.
 
Richard Henninger
richard@rghmusic.com
 
From: Victor Lazzarini
Sent: ‎Friday‎, ‎June‎ ‎14‎, ‎2013 ‎5‎:‎28‎ ‎PM
To: csound@lists.bath.ac.uk
 
This probably means the plugin opcode dir is not being found.
if you are running Python from the commandline you can type

export OPCODE6DIR64=<path to plugins>

before running python.

> unknown rtaudio module: 'PortAudio', using dummy module


Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2013-06-15 08:38
Fromzappfinger
Subject[Csnd] Re: unknown rtaudio module: 'PortAudio', using dummy module
When I do that, I get:

Richards-MacBook-Air:ESMS richard$ python csound6test.py 
Traceback (most recent call last):
  File "csound6test.py", line 2, in 
    import csnd6
ImportError: No module named csnd6

I tried running csound directly from the command line with a .csd file and
got the same error.
It looks like the install of csound6 did not setup these environment
variables correctly.
Could the installer not be made to use the previous settings (of csound5),
if any?

Also, it seems that the doc on these matters is a bit outdated.
(http://www.csounds.com/manual/html/CommandEnvironment.html)
E.g. where is the csound resource file ?

Richard



--
View this message in context: http://csound.1045644.n5.nabble.com/unknown-rtaudio-module-PortAudio-using-dummy-module-tp5724517p5724533.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-06-15 08:58
Fromzappfinger
Subject[Csnd] Re: unknown rtaudio module: 'PortAudio', using dummy module
Maybe this is related: when I try to list audio devices with a csd containing
-odac999 and -idac999, I get:

Csound version 6.00rc3 (double samples) Jun 12 2013
libsndfile-1.0.25
WARNING: could not open library '/usr/local/lib/lib_csnd64.dylib' (-1)
WARNING: could not open library '/usr/local/lib/libcsnd64.dylib' (-1)
WARNING: could not open library '/usr/local/lib/tclcsound.dylib' (-1)

although these files seem to be there...

Richard



--
View this message in context: http://csound.1045644.n5.nabble.com/unknown-rtaudio-module-PortAudio-using-dummy-module-tp5724517p5724534.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-06-15 09:05
FromVictor Lazzarini
SubjectRe: [Csnd] Re: unknown rtaudio module: 'PortAudio', using dummy module
Did you point your OPCODE6DIR64 to /usr/local/lib?

That does not sound right. It needs to be pointed to the plugin directory, something like

/Library/CsoundLib64.framework/Versions/6.0/Resources/opcodes64

you can check that that directory has librtpa.dylib 

The thing that is wrong is that the installer should have set the default OPCODE6DIR64 to
the correct place.


On 15 Jun 2013, at 08:58, zappfinger wrote:

> Maybe this is related: when I try to list audio devices with a csd containing
> -odac999 and -idac999, I get:
> 
> Csound version 6.00rc3 (double samples) Jun 12 2013
> libsndfile-1.0.25
> WARNING: could not open library '/usr/local/lib/lib_csnd64.dylib' (-1)
> WARNING: could not open library '/usr/local/lib/libcsnd64.dylib' (-1)
> WARNING: could not open library '/usr/local/lib/tclcsound.dylib' (-1)
> 
> although these files seem to be there...
> 
> Richard
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/unknown-rtaudio-module-PortAudio-using-dummy-module-tp5724517p5724534.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-06-15 09:12
FromVictor Lazzarini
SubjectRe: [Csnd] Re: unknown rtaudio module: 'PortAudio', using dummy module
The opcode dir should be this (see the listing)

coltrane:debug victor$ ls /Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64/
libampmidid.dylib		libdoppler.dylib		libjackTransport.dylib		libpmidi.dylib			libserial.dylib			libwiimote.dylib
libcellular.dylib		libfareygen.dylib		libjacko.dylib			libpy.dylib			libsignalflowgraph.dylib
libchua.dylib			libfluidOpcodes.dylib		liblinear_algebra.dylib		librtauhal.dylib		libstdutil.dylib
libcmidi.dylib			libfractalnoise.dylib		libmixer.dylib			librtjack.dylib			libsystem_call.dylib
libcontrol.dylib		libimage.dylib			libosc.dylib			librtpa.dylib			libvirtual.dylib
libcs_date.dylib		libipmidi.dylib			libplaterev.dylib		libscansyn.dylib		libwidgets.dylib



On 15 Jun 2013, at 09:05, Victor Lazzarini wrote:

> Did you point your OPCODE6DIR64 to /usr/local/lib?
> 
> That does not sound right. It needs to be pointed to the plugin directory, something like
> 
> /Library/CsoundLib64.framework/Versions/6.0/Resources/opcodes64
> 
> you can check that that directory has librtpa.dylib 
> 
> The thing that is wrong is that the installer should have set the default OPCODE6DIR64 to
> the correct place.
> 
> 
> On 15 Jun 2013, at 08:58, zappfinger wrote:
> 
>> Maybe this is related: when I try to list audio devices with a csd containing
>> -odac999 and -idac999, I get:
>> 
>> Csound version 6.00rc3 (double samples) Jun 12 2013
>> libsndfile-1.0.25
>> WARNING: could not open library '/usr/local/lib/lib_csnd64.dylib' (-1)
>> WARNING: could not open library '/usr/local/lib/libcsnd64.dylib' (-1)
>> WARNING: could not open library '/usr/local/lib/tclcsound.dylib' (-1)
>> 
>> although these files seem to be there...
>> 
>> Richard
>> 
>> 
>> 
>> --
>> View this message in context: http://csound.1045644.n5.nabble.com/unknown-rtaudio-module-PortAudio-using-dummy-module-tp5724517p5724534.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>> 
>> 
>> Send bugs reports to the Sourceforge bug tracker
>>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>> 
> 
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
> 
> 
> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-06-15 15:30
FromSteven Yi
SubjectRe: [Csnd] unknown rtaudio module: 'PortAudio', using dummy module

Hi Richard,

Are you using the 10.6 or 10.8 release? Victor, was there an issue with the 10.6 release and OPCODE6DIR being set?

Strven

On Jun 14, 2013 1:18 PM, "zappfinger" <zappfinger@gmail.com> wrote:
I am trying Victor's example with cnsd6 in Python: (Also tried with -odac,
-odac1, -odac2, etc. no difference)

import csnd6

cs = csnd6.csoundCreate(None)
csnd6.csoundSetOption(cs, "-odac0")
csnd6.csoundCompileOrc(cs, "instr 1 \n a1 oscils p4, p5, 0 \n out a1 \n
endin \n")
csnd6.csoundReadScore(cs, "i1 0 10 16000 440 \n")
csnd6.csoundStart(cs)
csnd6.csoundPerform(cs)

output:
Richards-MacBook-Air:~ richard$
/var/folders/r0/103fxm8x32j76d1yv589d0jc0000gn/T/Cleanup\ At\
Startup/csound6test-392933560.682.py.command ; exit;
virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 6.00rc3 (double samples) Jun 12 2013
libsndfile-1.0.25
Parsing successful!
Csound version 6.00rc3 (double samples) Jun 12 2013
graphics suppressed, ascii substituted
0dBFS level = 32768.0
orch now loaded
audio buffered in 1024 sample-frame blocks
 unknown rtaudio module: 'PortAudio', using dummy module
rtaudio: dummy module enabled
writing 1024 sample blks of 64-bit floats to dac0
SECTION 1:
new alloc for instr 1:
B  0.000 .. 10.000 T 10.000 TT 10.000 M:  16000.0
Score finished in csoundPerform().
inactive allocs returned to freespace
end of score.              overall amps:  16000.0
           overall samples out of range:        0
0 errors in performance

No sound is heard (obviously?)

Richard



--
View this message in context: http://csound.1045644.n5.nabble.com/unknown-rtaudio-module-PortAudio-using-dummy-module-tp5724517.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2013-06-15 17:21
FromRichard van Bemmelen
SubjectRe: [Csnd] unknown rtaudio module: 'PortAudio', using dummy module
Hi Steven,

I use the 10.8 release.

Richard


2013/6/15 Steven Yi <stevenyi@gmail.com>

Hi Richard,

Are you using the 10.6 or 10.8 release? Victor, was there an issue with the 10.6 release and OPCODE6DIR being set?

Strven

On Jun 14, 2013 1:18 PM, "zappfinger" <zappfinger@gmail.com> wrote:
I am trying Victor's example with cnsd6 in Python: (Also tried with -odac,
-odac1, -odac2, etc. no difference)

import csnd6

cs = csnd6.csoundCreate(None)
csnd6.csoundSetOption(cs, "-odac0")
csnd6.csoundCompileOrc(cs, "instr 1 \n a1 oscils p4, p5, 0 \n out a1 \n
endin \n")
csnd6.csoundReadScore(cs, "i1 0 10 16000 440 \n")
csnd6.csoundStart(cs)
csnd6.csoundPerform(cs)

output:
Richards-MacBook-Air:~ richard$
/var/folders/r0/103fxm8x32j76d1yv589d0jc0000gn/T/Cleanup\ At\
Startup/csound6test-392933560.682.py.command ; exit;
virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 6.00rc3 (double samples) Jun 12 2013
libsndfile-1.0.25
Parsing successful!
Csound version 6.00rc3 (double samples) Jun 12 2013
graphics suppressed, ascii substituted
0dBFS level = 32768.0
orch now loaded
audio buffered in 1024 sample-frame blocks
 unknown rtaudio module: 'PortAudio', using dummy module
rtaudio: dummy module enabled
writing 1024 sample blks of 64-bit floats to dac0
SECTION 1:
new alloc for instr 1:
B  0.000 .. 10.000 T 10.000 TT 10.000 M:  16000.0
Score finished in csoundPerform().
inactive allocs returned to freespace
end of score.              overall amps:  16000.0
           overall samples out of range:        0
0 errors in performance

No sound is heard (obviously?)

Richard



--
View this message in context: http://csound.1045644.n5.nabble.com/unknown-rtaudio-module-PortAudio-using-dummy-module-tp5724517.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2013-06-15 17:35
FromRichard van Bemmelen
SubjectRe: [Csnd] Re: unknown rtaudio module: 'PortAudio', using dummy module
That's it! This works. Thanks!

Richard


2013/6/15 Victor Lazzarini <Victor.Lazzarini@nuim.ie>
The opcode dir should be this (see the listing)

coltrane:debug victor$ ls /Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64/
libampmidid.dylib               libdoppler.dylib                libjackTransport.dylib          libpmidi.dylib                  libserial.dylib                 libwiimote.dylib
libcellular.dylib               libfareygen.dylib               libjacko.dylib                  libpy.dylib                     libsignalflowgraph.dylib
libchua.dylib                   libfluidOpcodes.dylib           liblinear_algebra.dylib         librtauhal.dylib                libstdutil.dylib
libcmidi.dylib                  libfractalnoise.dylib           libmixer.dylib                  librtjack.dylib                 libsystem_call.dylib
libcontrol.dylib                libimage.dylib                  libosc.dylib                    librtpa.dylib                   libvirtual.dylib
libcs_date.dylib                libipmidi.dylib                 libplaterev.dylib               libscansyn.dylib                libwidgets.dylib



On 15 Jun 2013, at 09:05, Victor Lazzarini wrote:

> Did you point your OPCODE6DIR64 to /usr/local/lib?
>
> That does not sound right. It needs to be pointed to the plugin directory, something like
>
> /Library/CsoundLib64.framework/Versions/6.0/Resources/opcodes64
>
> you can check that that directory has librtpa.dylib
>
> The thing that is wrong is that the installer should have set the default OPCODE6DIR64 to
> the correct place.
>
>
> On 15 Jun 2013, at 08:58, zappfinger wrote:
>
>> Maybe this is related: when I try to list audio devices with a csd containing
>> -odac999 and -idac999, I get:
>>
>> Csound version 6.00rc3 (double samples) Jun 12 2013
>> libsndfile-1.0.25
>> WARNING: could not open library '/usr/local/lib/lib_csnd64.dylib' (-1)
>> WARNING: could not open library '/usr/local/lib/libcsnd64.dylib' (-1)
>> WARNING: could not open library '/usr/local/lib/tclcsound.dylib' (-1)
>>
>> although these files seem to be there...
>>
>> Richard
>>
>>
>>
>> --
>> View this message in context: http://csound.1045644.n5.nabble.com/unknown-rtaudio-module-PortAudio-using-dummy-module-tp5724517p5724534.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2013-06-24 17:04
FromTetsuya Miwa
SubjectRe: [Csnd] unknown rtaudio module: 'PortAudio', using dummy module
Hello list,

Sorry for bringing up past thread, but has this "PortAudio error & no sound" been solved?
I  managed to install many Python modules and Csound6 and came across the same error when i tried interesting IPython Notebook example(http://nbviewer.ipython.org/5535792).
Setting OPCODE6DIR64 does not solve this problem. In my case, OPCODE6DIR64 is /Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64 and librtpa.dylib exists there.

I'm using :
OSX 10.6.8
csound6.00.0-rc3-OSX10.6-x86_64
python 2.7.5

Any advice would be appreciated.

Regards,
Tetsuya Miwa

On 2013/06/15, at 5:17, zappfinger wrote:

> I am trying Victor's example with cnsd6 in Python: (Also tried with -odac,
> -odac1, -odac2, etc. no difference)
> 
> import csnd6
> 
> cs = csnd6.csoundCreate(None)
> csnd6.csoundSetOption(cs, "-odac0")
> csnd6.csoundCompileOrc(cs, "instr 1 \n a1 oscils p4, p5, 0 \n out a1 \n
> endin \n")
> csnd6.csoundReadScore(cs, "i1 0 10 16000 440 \n")
> csnd6.csoundStart(cs)
> csnd6.csoundPerform(cs)
> 
> output:
> Richards-MacBook-Air:~ richard$
> /var/folders/r0/103fxm8x32j76d1yv589d0jc0000gn/T/Cleanup\ At\
> Startup/csound6test-392933560.682.py.command ; exit;
> virtual_keyboard real time MIDI plugin for Csound
> 0dBFS level = 32768.0
> Csound version 6.00rc3 (double samples) Jun 12 2013
> libsndfile-1.0.25
> Parsing successful!
> Csound version 6.00rc3 (double samples) Jun 12 2013
> graphics suppressed, ascii substituted
> 0dBFS level = 32768.0
> orch now loaded
> audio buffered in 1024 sample-frame blocks
> unknown rtaudio module: 'PortAudio', using dummy module
> rtaudio: dummy module enabled
> writing 1024 sample blks of 64-bit floats to dac0 
> SECTION 1:
> new alloc for instr 1:
> B  0.000 .. 10.000 T 10.000 TT 10.000 M:  16000.0
> Score finished in csoundPerform().
> inactive allocs returned to freespace
> end of score.		   overall amps:  16000.0
> 	   overall samples out of range:        0
> 0 errors in performance
> 
> No sound is heard (obviously?)
> 
> Richard
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/unknown-rtaudio-module-PortAudio-using-dummy-module-tp5724517.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 



Date2013-06-24 17:17
FromVictor Lazzarini
SubjectRe: [Csnd] unknown rtaudio module: 'PortAudio', using dummy module
you can try setting this variable in the file ~/.MacOSX/environment.plist  . Then logout & login again. This problem should be solved for the
actual release of 6.00, so you will not need to set anything then.

This is what I have in my system, so you can have a look at the format required 
(ignore the actual values, because it is my devel machine):

coltrane:debug victor$ more ~/.MacOSX/environment.plist




        SFDIR
        /Users/victor/audio
        SSDIR
        /Users/victor/audio
        SADIR
        /Users/victor/audio
        OPCODEDIR64
        /Users/victor/src/csound5
        OPCODE6DIR64
        /Users/victor/src/csound6/debug





On 24 Jun 2013, at 17:04, Tetsuya Miwa wrote:

> Hello list,
> 
> Sorry for bringing up past thread, but has this "PortAudio error & no sound" been solved?
> I  managed to install many Python modules and Csound6 and came across the same error when i tried interesting IPython Notebook example(http://nbviewer.ipython.org/5535792).
> Setting OPCODE6DIR64 does not solve this problem. In my case, OPCODE6DIR64 is /Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64 and librtpa.dylib exists there.
> 
> I'm using :
> OSX 10.6.8
> csound6.00.0-rc3-OSX10.6-x86_64
> python 2.7.5
> 
> Any advice would be appreciated.
> 
> Regards,
> Tetsuya Miwa
> 
> On 2013/06/15, at 5:17, zappfinger wrote:
> 
>> I am trying Victor's example with cnsd6 in Python: (Also tried with -odac,
>> -odac1, -odac2, etc. no difference)
>> 
>> import csnd6
>> 
>> cs = csnd6.csoundCreate(None)
>> csnd6.csoundSetOption(cs, "-odac0")
>> csnd6.csoundCompileOrc(cs, "instr 1 \n a1 oscils p4, p5, 0 \n out a1 \n
>> endin \n")
>> csnd6.csoundReadScore(cs, "i1 0 10 16000 440 \n")
>> csnd6.csoundStart(cs)
>> csnd6.csoundPerform(cs)
>> 
>> output:
>> Richards-MacBook-Air:~ richard$
>> /var/folders/r0/103fxm8x32j76d1yv589d0jc0000gn/T/Cleanup\ At\
>> Startup/csound6test-392933560.682.py.command ; exit;
>> virtual_keyboard real time MIDI plugin for Csound
>> 0dBFS level = 32768.0
>> Csound version 6.00rc3 (double samples) Jun 12 2013
>> libsndfile-1.0.25
>> Parsing successful!
>> Csound version 6.00rc3 (double samples) Jun 12 2013
>> graphics suppressed, ascii substituted
>> 0dBFS level = 32768.0
>> orch now loaded
>> audio buffered in 1024 sample-frame blocks
>> unknown rtaudio module: 'PortAudio', using dummy module
>> rtaudio: dummy module enabled
>> writing 1024 sample blks of 64-bit floats to dac0 
>> SECTION 1:
>> new alloc for instr 1:
>> B  0.000 .. 10.000 T 10.000 TT 10.000 M:  16000.0
>> Score finished in csoundPerform().
>> inactive allocs returned to freespace
>> end of score.		   overall amps:  16000.0
>> 	   overall samples out of range:        0
>> 0 errors in performance
>> 
>> No sound is heard (obviously?)
>> 
>> Richard
>> 
>> 
>> 
>> --
>> View this message in context: http://csound.1045644.n5.nabble.com/unknown-rtaudio-module-PortAudio-using-dummy-module-tp5724517.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>> 
>> 
>> Send bugs reports to the Sourceforge bug tracker
>>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>> 
> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-06-25 15:37
FromVictor Lazzarini
SubjectRe: [Csnd] unknown rtaudio module: 'PortAudio', using dummy module
Looking at this again, I think the second line on that notebook code could be causing your problem

sys.path.append("/Users/clu/code/csound/csound-csound6-git/build/")

I don't think that's needed at all.

On 24 Jun 2013, at 17:04, Tetsuya Miwa wrote:

> Hello list,
> 
> Sorry for bringing up past thread, but has this "PortAudio error & no sound" been solved?
> I  managed to install many Python modules and Csound6 and came across the same error when i tried interesting IPython Notebook example(http://nbviewer.ipython.org/5535792).
> Setting OPCODE6DIR64 does not solve this problem. In my case, OPCODE6DIR64 is /Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64 and librtpa.dylib exists there.
> 
> I'm using :
> OSX 10.6.8
> csound6.00.0-rc3-OSX10.6-x86_64
> python 2.7.5
> 
> Any advice would be appreciated.
> 
> Regards,
> Tetsuya Miwa
> 
> On 2013/06/15, at 5:17, zappfinger wrote:
> 
>> I am trying Victor's example with cnsd6 in Python: (Also tried with -odac,
>> -odac1, -odac2, etc. no difference)
>> 
>> import csnd6
>> 
>> cs = csnd6.csoundCreate(None)
>> csnd6.csoundSetOption(cs, "-odac0")
>> csnd6.csoundCompileOrc(cs, "instr 1 \n a1 oscils p4, p5, 0 \n out a1 \n
>> endin \n")
>> csnd6.csoundReadScore(cs, "i1 0 10 16000 440 \n")
>> csnd6.csoundStart(cs)
>> csnd6.csoundPerform(cs)
>> 
>> output:
>> Richards-MacBook-Air:~ richard$
>> /var/folders/r0/103fxm8x32j76d1yv589d0jc0000gn/T/Cleanup\ At\
>> Startup/csound6test-392933560.682.py.command ; exit;
>> virtual_keyboard real time MIDI plugin for Csound
>> 0dBFS level = 32768.0
>> Csound version 6.00rc3 (double samples) Jun 12 2013
>> libsndfile-1.0.25
>> Parsing successful!
>> Csound version 6.00rc3 (double samples) Jun 12 2013
>> graphics suppressed, ascii substituted
>> 0dBFS level = 32768.0
>> orch now loaded
>> audio buffered in 1024 sample-frame blocks
>> unknown rtaudio module: 'PortAudio', using dummy module
>> rtaudio: dummy module enabled
>> writing 1024 sample blks of 64-bit floats to dac0 
>> SECTION 1:
>> new alloc for instr 1:
>> B  0.000 .. 10.000 T 10.000 TT 10.000 M:  16000.0
>> Score finished in csoundPerform().
>> inactive allocs returned to freespace
>> end of score.		   overall amps:  16000.0
>> 	   overall samples out of range:        0
>> 0 errors in performance
>> 
>> No sound is heard (obviously?)
>> 
>> Richard
>> 
>> 
>> 
>> --
>> View this message in context: http://csound.1045644.n5.nabble.com/unknown-rtaudio-module-PortAudio-using-dummy-module-tp5724517.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>> 
>> 
>> Send bugs reports to the Sourceforge bug tracker
>>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>> 
> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-06-25 16:07
FromVictor Lazzarini
SubjectRe: [Csnd] unknown rtaudio module: 'PortAudio', using dummy module
Actually, the reason for this is that code has changed and in the particular example it does not load
the plugins correctly. I have fixed this in GIT now. 

It should work in the release version.

On 25 Jun 2013, at 15:37, Victor Lazzarini wrote:

> Looking at this again, I think the second line on that notebook code could be causing your problem
> 
> sys.path.append("/Users/clu/code/csound/csound-csound6-git/build/")
> 
> I don't think that's needed at all.
> 
> On 24 Jun 2013, at 17:04, Tetsuya Miwa wrote:
> 
>> Hello list,
>> 
>> Sorry for bringing up past thread, but has this "PortAudio error & no sound" been solved?
>> I  managed to install many Python modules and Csound6 and came across the same error when i tried interesting IPython Notebook example(http://nbviewer.ipython.org/5535792).
>> Setting OPCODE6DIR64 does not solve this problem. In my case, OPCODE6DIR64 is /Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64 and librtpa.dylib exists there.
>> 
>> I'm using :
>> OSX 10.6.8
>> csound6.00.0-rc3-OSX10.6-x86_64
>> python 2.7.5
>> 
>> Any advice would be appreciated.
>> 
>> Regards,
>> Tetsuya Miwa
>> 
>> On 2013/06/15, at 5:17, zappfinger wrote:
>> 
>>> I am trying Victor's example with cnsd6 in Python: (Also tried with -odac,
>>> -odac1, -odac2, etc. no difference)
>>> 
>>> import csnd6
>>> 
>>> cs = csnd6.csoundCreate(None)
>>> csnd6.csoundSetOption(cs, "-odac0")
>>> csnd6.csoundCompileOrc(cs, "instr 1 \n a1 oscils p4, p5, 0 \n out a1 \n
>>> endin \n")
>>> csnd6.csoundReadScore(cs, "i1 0 10 16000 440 \n")
>>> csnd6.csoundStart(cs)
>>> csnd6.csoundPerform(cs)
>>> 
>>> output:
>>> Richards-MacBook-Air:~ richard$
>>> /var/folders/r0/103fxm8x32j76d1yv589d0jc0000gn/T/Cleanup\ At\
>>> Startup/csound6test-392933560.682.py.command ; exit;
>>> virtual_keyboard real time MIDI plugin for Csound
>>> 0dBFS level = 32768.0
>>> Csound version 6.00rc3 (double samples) Jun 12 2013
>>> libsndfile-1.0.25
>>> Parsing successful!
>>> Csound version 6.00rc3 (double samples) Jun 12 2013
>>> graphics suppressed, ascii substituted
>>> 0dBFS level = 32768.0
>>> orch now loaded
>>> audio buffered in 1024 sample-frame blocks
>>> unknown rtaudio module: 'PortAudio', using dummy module
>>> rtaudio: dummy module enabled
>>> writing 1024 sample blks of 64-bit floats to dac0 
>>> SECTION 1:
>>> new alloc for instr 1:
>>> B  0.000 .. 10.000 T 10.000 TT 10.000 M:  16000.0
>>> Score finished in csoundPerform().
>>> inactive allocs returned to freespace
>>> end of score.		   overall amps:  16000.0
>>> 	   overall samples out of range:        0
>>> 0 errors in performance
>>> 
>>> No sound is heard (obviously?)
>>> 
>>> Richard
>>> 
>>> 
>>> 
>>> --
>>> View this message in context: http://csound.1045644.n5.nabble.com/unknown-rtaudio-module-PortAudio-using-dummy-module-tp5724517.html
>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>> 
>>> 
>>> Send bugs reports to the Sourceforge bug tracker
>>>          https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>> 
>> 
>> 
>> 
>> Send bugs reports to the Sourceforge bug tracker
>>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>> 
> 
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
> 
> 
> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-06-25 17:29
FromTetsuya Miwa
SubjectRe: [Csnd] unknown rtaudio module: 'PortAudio', using dummy module
Dear Victor,

Thank you for your prompt advice & fix!
After all, setting environment.plist and removing the second line on that notebook code don't solve this problem.

I'm looking forward to the dmg file of fixed version, because I don't have knowledge about building.

Tetsuya Miwa

On 2013/06/26, at 0:07, Victor Lazzarini wrote:

> Actually, the reason for this is that code has changed and in the particular example it does not load
> the plugins correctly. I have fixed this in GIT now. 
> 
> It should work in the release version.
> 
> On 25 Jun 2013, at 15:37, Victor Lazzarini wrote:
> 
>> Looking at this again, I think the second line on that notebook code could be causing your problem
>> 
>> sys.path.append("/Users/clu/code/csound/csound-csound6-git/build/")
>> 
>> I don't think that's needed at all.
>> 
>> On 24 Jun 2013, at 17:04, Tetsuya Miwa wrote:
>> 
>>> Hello list,
>>> 
>>> Sorry for bringing up past thread, but has this "PortAudio error & no sound" been solved?
>>> I  managed to install many Python modules and Csound6 and came across the same error when i tried interesting IPython Notebook example(http://nbviewer.ipython.org/5535792).
>>> Setting OPCODE6DIR64 does not solve this problem. In my case, OPCODE6DIR64 is /Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64 and librtpa.dylib exists there.
>>> 
>>> I'm using :
>>> OSX 10.6.8
>>> csound6.00.0-rc3-OSX10.6-x86_64
>>> python 2.7.5
>>> 
>>> Any advice would be appreciated.
>>> 
>>> Regards,
>>> Tetsuya Miwa
>>> 
>>> On 2013/06/15, at 5:17, zappfinger wrote:
>>> 
>>>> I am trying Victor's example with cnsd6 in Python: (Also tried with -odac,
>>>> -odac1, -odac2, etc. no difference)
>>>> 
>>>> import csnd6
>>>> 
>>>> cs = csnd6.csoundCreate(None)
>>>> csnd6.csoundSetOption(cs, "-odac0")
>>>> csnd6.csoundCompileOrc(cs, "instr 1 \n a1 oscils p4, p5, 0 \n out a1 \n
>>>> endin \n")
>>>> csnd6.csoundReadScore(cs, "i1 0 10 16000 440 \n")
>>>> csnd6.csoundStart(cs)
>>>> csnd6.csoundPerform(cs)
>>>> 
>>>> output:
>>>> Richards-MacBook-Air:~ richard$
>>>> /var/folders/r0/103fxm8x32j76d1yv589d0jc0000gn/T/Cleanup\ At\
>>>> Startup/csound6test-392933560.682.py.command ; exit;
>>>> virtual_keyboard real time MIDI plugin for Csound
>>>> 0dBFS level = 32768.0
>>>> Csound version 6.00rc3 (double samples) Jun 12 2013
>>>> libsndfile-1.0.25
>>>> Parsing successful!
>>>> Csound version 6.00rc3 (double samples) Jun 12 2013
>>>> graphics suppressed, ascii substituted
>>>> 0dBFS level = 32768.0
>>>> orch now loaded
>>>> audio buffered in 1024 sample-frame blocks
>>>> unknown rtaudio module: 'PortAudio', using dummy module
>>>> rtaudio: dummy module enabled
>>>> writing 1024 sample blks of 64-bit floats to dac0 
>>>> SECTION 1:
>>>> new alloc for instr 1:
>>>> B  0.000 .. 10.000 T 10.000 TT 10.000 M:  16000.0
>>>> Score finished in csoundPerform().
>>>> inactive allocs returned to freespace
>>>> end of score.		   overall amps:  16000.0
>>>> 	   overall samples out of range:        0
>>>> 0 errors in performance
>>>> 
>>>> No sound is heard (obviously?)
>>>> 
>>>> Richard
>>>> 
>>>> 
>>>> 
>>>> --
>>>> View this message in context: http://csound.1045644.n5.nabble.com/unknown-rtaudio-module-PortAudio-using-dummy-module-tp5724517.html
>>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>>> 
>>>> 
>>>> Send bugs reports to the Sourceforge bug tracker
>>>>         https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>>> 
>>> 
>>> 
>>> 
>>> Send bugs reports to the Sourceforge bug tracker
>>>          https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>> 
>> 
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>> 
>> 
>> 
>> 
>> 
>> Send bugs reports to the Sourceforge bug tracker
>>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>> 
> 
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
> 
> 
> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>