Csound Csound-dev Csound-tekno Search About

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

Date2014-03-31 04:35
Fromfrancesco
Subject[Csnd] unknown rtaudio module: 'jack', using dummy module
Hello All,
using the API examples in Lua i have example1 working right while
example2 give me the error
unknown rtaudio module: 'jack', using dummy module
I cannot understand what's wrong.
Bottom are the files.

Thanks,
ciao,
francesco.

Ubuntustudio (KX) 12.04, 32bit, Csound6 build today.

example1.lua

require "luaCsnd6"
local c = luaCsnd6.Csound()
c:Compile('test1.csd')
c:Perform()
c:Stop()

test1.csd



sr=44100
ksmps=32
nchnls=2
0dbfs=1

instr 1 
aout vco2 0.1, 440
outs aout, aout
endin


i1 0 1



example2.lua

require "luaCsnd6"
orc = [[
sr=44100
ksmps=32
nchnls=2
0dbfs=1

instr 1 
aout vco2 0.5, 440
outs aout, aout
endin
]]

sco = "i1 0 1"
local c = luaCsnd6.Csound()
c:SetOption("-odac")
c:CompileOrc(orc)
c:ReadScore(sco)
c:Start()
c:Perform()
c:Stop()





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


Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2014-03-31 17:02
FromPaul Batchelor
SubjectRe: [Csnd] unknown rtaudio module: 'jack', using dummy module

Did you try using the -+rtaudio flag to set the audio module?
Something like

-+rtaudio="alsa"

On Mar 30, 2014 11:35 PM, "francesco" <ilterzouomo@fastwebnet.it> wrote:
Hello All,
using the API examples in Lua i have example1 working right while
example2 give me the error
unknown rtaudio module: 'jack', using dummy module
I cannot understand what's wrong.
Bottom are the files.

Thanks,
ciao,
francesco.

Ubuntustudio (KX) 12.04, 32bit, Csound6 build today.

example1.lua

require "luaCsnd6"
local c = luaCsnd6.Csound()
c:Compile('test1.csd')
c:Perform()
c:Stop()

test1.csd

<CsoundSynthesizer>
<CsInstruments>
sr=44100
ksmps=32
nchnls=2
0dbfs=1

instr 1
aout vco2 0.1, 440
outs aout, aout
endin
</CsInstruments>
<CsScore>
i1 0 1
</CsScore>
</CsoundSynthesizer>

example2.lua

require "luaCsnd6"
orc = [[
sr=44100
ksmps=32
nchnls=2
0dbfs=1

instr 1
aout vco2 0.5, 440
outs aout, aout
endin
]]

sco = "i1 0 1"
local c = luaCsnd6.Csound()
c:SetOption("-odac")
c:CompileOrc(orc)
c:ReadScore(sco)
c:Start()
c:Perform()
c:Stop()





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


Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Date2014-03-31 17:13
FromRory Walsh
SubjectRe: [Csnd] unknown rtaudio module: 'jack', using dummy module

Or just launch Jack and run -+rtaudio=jack -odac

On 31 Mar 2014 17:02, "Paul Batchelor" <pbatchelor@berklee.edu> wrote:

Did you try using the -+rtaudio flag to set the audio module?
Something like

-+rtaudio="alsa"

On Mar 30, 2014 11:35 PM, "francesco" <ilterzouomo@fastwebnet.it> wrote:
Hello All,
using the API examples in Lua i have example1 working right while
example2 give me the error
unknown rtaudio module: 'jack', using dummy module
I cannot understand what's wrong.
Bottom are the files.

Thanks,
ciao,
francesco.

Ubuntustudio (KX) 12.04, 32bit, Csound6 build today.

example1.lua

require "luaCsnd6"
local c = luaCsnd6.Csound()
c:Compile('test1.csd')
c:Perform()
c:Stop()

test1.csd

<CsoundSynthesizer>
<CsInstruments>
sr=44100
ksmps=32
nchnls=2
0dbfs=1

instr 1
aout vco2 0.1, 440
outs aout, aout
endin
</CsInstruments>
<CsScore>
i1 0 1
</CsScore>
</CsoundSynthesizer>

example2.lua

require "luaCsnd6"
orc = [[
sr=44100
ksmps=32
nchnls=2
0dbfs=1

instr 1
aout vco2 0.5, 440
outs aout, aout
endin
]]

sco = "i1 0 1"
local c = luaCsnd6.Csound()
c:SetOption("-odac")
c:CompileOrc(orc)
c:ReadScore(sco)
c:Start()
c:Perform()
c:Stop()





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


Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Date2014-03-31 19:05
FromVictor Lazzarini
SubjectRe: [Csnd] unknown rtaudio module: 'jack', using dummy module
No, Csound can't find the module, so it looks like it's an OPCODE6DIR64 issue. Make sure you have librtjack.so in your opcode directory.

On 31 Mar 2014, at 17:13, Rory Walsh wrote:

> Or just launch Jack and run -+rtaudio=jack -odac
> 
> 
> On 31 Mar 2014 17:02, "Paul Batchelor"  wrote:
> Did you try using the -+rtaudio flag to set the audio module? 
> Something like
> 
> -+rtaudio="alsa"
> On Mar 30, 2014 11:35 PM, "francesco"  wrote:
> Hello All,
> using the API examples in Lua i have example1 working right while
> example2 give me the error
> unknown rtaudio module: 'jack', using dummy module
> I cannot understand what's wrong.
> Bottom are the files.
> 
> Thanks,
> ciao,
> francesco.
> 
> Ubuntustudio (KX) 12.04, 32bit, Csound6 build today.
> 
> example1.lua
> 
> require "luaCsnd6"
> local c = luaCsnd6.Csound()
> c:Compile('test1.csd')
> c:Perform()
> c:Stop()
> 
> test1.csd
> 
> 
> 
> sr=44100
> ksmps=32
> nchnls=2
> 0dbfs=1
> 
> instr 1
> aout vco2 0.1, 440
> outs aout, aout
> endin
> 
> 
> i1 0 1
> 
> 
> 
> example2.lua
> 
> require "luaCsnd6"
> orc = [[
> sr=44100
> ksmps=32
> nchnls=2
> 0dbfs=1
> 
> instr 1
> aout vco2 0.5, 440
> outs aout, aout
> endin
> ]]
> 
> sco = "i1 0 1"
> local c = luaCsnd6.Csound()
> c:SetOption("-odac")
> c:CompileOrc(orc)
> c:ReadScore(sco)
> c:Start()
> c:Perform()
> c:Stop()
> 
> 
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/unknown-rtaudio-module-jack-using-dummy-module-tp5733686.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to
>         https://github.com/csound/csound/issues
> 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
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Date2014-04-01 11:08
Fromfrancesco
Subject[Csnd] Re: unknown rtaudio module: 'jack', using dummy module
Yes but it's weird that is working ok for one example and not 
for others. Using Lua API, using csound via terminal it's ok.

Thanks,
ciao,
francesco.




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


Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2014-04-03 10:12
Fromfrancesco
Subject[Csnd] Re: unknown rtaudio module: 'jack', using dummy module
Hello All,
apologies for repetition, but i cannot understand what is going wrong.
I'm working with Lua API.
i have set OPCODE6DIR64 to the right place, where librtjack.so is present.
And again this is happening not always (example1 ok, example2 wrong).

i also noted this weird thing:

virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 6.02.0 (double samples) Apr  2 2014
libsndfile-1.0.25
Reading options from $HOME/.csound6rc
Csound version 6.02.0 (double samples) Apr  2 2014
graphics suppressed, ascii substituted

why i have two messages about version?

please help my Csound to find her home:)

Thanks,
ciao,
francesco.





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

Date2014-04-03 17:06
FromSteven Yi
SubjectRe: [Csnd] Re: unknown rtaudio module: 'jack', using dummy module
Are you running the Lua examples from the commandline?  If so, are you
just using "luajit example1.lua" and "luajit example2.lua" ?

On Thu, Apr 3, 2014 at 5:12 AM, francesco  wrote:
> Hello All,
> apologies for repetition, but i cannot understand what is going wrong.
> I'm working with Lua API.
> i have set OPCODE6DIR64 to the right place, where librtjack.so is present.
> And again this is happening not always (example1 ok, example2 wrong).
>
> i also noted this weird thing:
>
> virtual_keyboard real time MIDI plugin for Csound
> 0dBFS level = 32768.0
> Csound version 6.02.0 (double samples) Apr  2 2014
> libsndfile-1.0.25
> Reading options from $HOME/.csound6rc
> Csound version 6.02.0 (double samples) Apr  2 2014
> graphics suppressed, ascii substituted
>
> why i have two messages about version?
>
> please help my Csound to find her home:)
>
> Thanks,
> ciao,
> francesco.
>
>
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/unknown-rtaudio-module-jack-using-dummy-module-tp5733686p5733803.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
>

Date2014-04-03 17:19
FromSteven Yi
SubjectRe: [Csnd] Re: unknown rtaudio module: 'jack', using dummy module
Just to note, I'm trying these examples on OSX and am getting similar
issues.  Example 2 and 3 repeats the header and can not find pa_bl
(I'm using portaudio, so the issue is not limited to Jack).

Example 1 works. The only difference I can see is that Example 1 uses
Compile() giving a CSD, while the examples after that use CompileOrc()
and ReadScore().

Developers: Did something change with the API?  I remember running all
of these examples in the past.



On Thu, Apr 3, 2014 at 12:06 PM, Steven Yi  wrote:
> Are you running the Lua examples from the commandline?  If so, are you
> just using "luajit example1.lua" and "luajit example2.lua" ?
>
> On Thu, Apr 3, 2014 at 5:12 AM, francesco  wrote:
>> Hello All,
>> apologies for repetition, but i cannot understand what is going wrong.
>> I'm working with Lua API.
>> i have set OPCODE6DIR64 to the right place, where librtjack.so is present.
>> And again this is happening not always (example1 ok, example2 wrong).
>>
>> i also noted this weird thing:
>>
>> virtual_keyboard real time MIDI plugin for Csound
>> 0dBFS level = 32768.0
>> Csound version 6.02.0 (double samples) Apr  2 2014
>> libsndfile-1.0.25
>> Reading options from $HOME/.csound6rc
>> Csound version 6.02.0 (double samples) Apr  2 2014
>> graphics suppressed, ascii substituted
>>
>> why i have two messages about version?
>>
>> please help my Csound to find her home:)
>>
>> Thanks,
>> ciao,
>> francesco.
>>
>>
>>
>>
>>
>> --
>> View this message in context: http://csound.1045644.n5.nabble.com/unknown-rtaudio-module-jack-using-dummy-module-tp5733686p5733803.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>>
>>
>> Send bugs reports to
>>         https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>>
>>

Date2014-04-03 17:46
FromSteven Yi
SubjectRe: [Csnd] Re: unknown rtaudio module: 'jack', using dummy module
Also to note, this is happening with JRuby, Clojure, and Python as
well.  This definitely is a bug.

On Thu, Apr 3, 2014 at 12:19 PM, Steven Yi  wrote:
> Just to note, I'm trying these examples on OSX and am getting similar
> issues.  Example 2 and 3 repeats the header and can not find pa_bl
> (I'm using portaudio, so the issue is not limited to Jack).
>
> Example 1 works. The only difference I can see is that Example 1 uses
> Compile() giving a CSD, while the examples after that use CompileOrc()
> and ReadScore().
>
> Developers: Did something change with the API?  I remember running all
> of these examples in the past.
>
>
>
> On Thu, Apr 3, 2014 at 12:06 PM, Steven Yi  wrote:
>> Are you running the Lua examples from the commandline?  If so, are you
>> just using "luajit example1.lua" and "luajit example2.lua" ?
>>
>> On Thu, Apr 3, 2014 at 5:12 AM, francesco  wrote:
>>> Hello All,
>>> apologies for repetition, but i cannot understand what is going wrong.
>>> I'm working with Lua API.
>>> i have set OPCODE6DIR64 to the right place, where librtjack.so is present.
>>> And again this is happening not always (example1 ok, example2 wrong).
>>>
>>> i also noted this weird thing:
>>>
>>> virtual_keyboard real time MIDI plugin for Csound
>>> 0dBFS level = 32768.0
>>> Csound version 6.02.0 (double samples) Apr  2 2014
>>> libsndfile-1.0.25
>>> Reading options from $HOME/.csound6rc
>>> Csound version 6.02.0 (double samples) Apr  2 2014
>>> graphics suppressed, ascii substituted
>>>
>>> why i have two messages about version?
>>>
>>> please help my Csound to find her home:)
>>>
>>> Thanks,
>>> ciao,
>>> francesco.
>>>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context: http://csound.1045644.n5.nabble.com/unknown-rtaudio-module-jack-using-dummy-module-tp5733686p5733803.html
>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>>
>>>
>>> Send bugs reports to
>>>         https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>>
>>>
>>>