Csound Csound-dev Csound-tekno Search About

[Csnd] edirol fa-66

Date2009-04-27 14:01
FromStefan Thomas
Subject[Csnd] edirol fa-66
Dear community,
does someone have experiences with the edirol fa-66 on Ubuntu?
It is an external firewire soundcard. I have also intalled the ffado
mixer, which is able to recorgnize the soundcard, but I don't know how
to get it to work with csound.
Does someone know, how this can be done?

Date2009-04-27 15:09
FromAndres Cabrera
Subject[Csnd] Re: edirol fa-66
Hi,
I suspect you need to use the jack ouput module with -+rtaudio=jack. See:
http://www.csounds.com/manual/html/UsingRealTime.html#RealTimeLinux

Scroll down to the jack section.

Cheers,
Andrés

On Mon, Apr 27, 2009 at 8:01 AM, Stefan Thomas
 wrote:
> Dear community,
> does someone have experiences with the edirol fa-66 on Ubuntu?
> It is an external firewire soundcard. I have also intalled the ffado
> mixer, which is able to recorgnize the soundcard, but I don't know how
> to get it to work with csound.
> Does someone know, how this can be done?
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>



-- 


Andrés


Date2009-04-28 08:52
FromOlivier Baudouin
Subject[Csnd] Re: edirol fa-66
You should try freebob instead of ffado (in developement, currently 
slower than freebob). What are your other jack settings (realtime etc.) ?

Olivier B.

Stefan Thomas a écrit :
> Dear community,
> does someone have experiences with the edirol fa-66 on Ubuntu?
> It is an external firewire soundcard. I have also intalled the ffado
> mixer, which is able to recorgnize the soundcard, but I don't know how
> to get it to work with csound.
> Does someone know, how this can be done?
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>   

Date2009-04-28 09:05
FromStefan Thomas
Subject[Csnd] Re: Re: edirol fa-66
Dear Oliver,
thanks! I'm a little confused now: I've seen, in the terminal, that jack is not installed on my system.
But, on the kde menu, there is the program jack-control. This one I can start and I can choose ffado or freebob among others as driver. How can this be possible?

2009/4/28 Olivier Baudouin <olivierbaudouin@gmail.com>:
> You should try freebob instead of ffado (in developement, currently slower
> than freebob). What are your other jack settings (realtime etc.) ?
>
> Olivier B.
>
> Stefan Thomas a écrit :
>>
>> Dear community,
>> does someone have experiences with the edirol fa-66 on Ubuntu?
>> It is an external firewire soundcard. I have also intalled the ffado
>> mixer, which is able to recorgnize the soundcard, but I don't know how
>> to get it to work with csound.
>> Does someone know, how this can be done?
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>  
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>


Date2009-04-28 09:22
Fromvallste
Subject[Csnd] Re: Re: edirol fa-66
because jack is not a driver is a connection software for devices/software...
it seems that you have both ffado and freebob installed among the others...
simlpy choose the one you need.

Ciao


kontrapunktstefan wrote:
> 
> Dear Oliver,
> thanks! I'm a little confused now: I've seen, in the terminal, that jack
> is
> not installed on my system.
> But, on the kde menu, there is the program jack-control. This one I can
> start and I can choose ffado or freebob among others as driver. How can
> this
> be possible?
> 
-- 
View this message in context: http://www.nabble.com/edirol-fa-66-tp23255794p23272469.html
Sent from the Csound - General mailing list archive at Nabble.com.


Date2009-04-28 14:10
FromOlivier Baudouin
Subject[Csnd] Re: Re: Re: edirol fa-66
"Settings" in qjacktctl for an EDIROL FA-66 (FA-101):

driver : freebob
realtime : yes (see 'libpam' on http://pkg-freebob.alioth.debian.org/lowlat.html)
frames/period : 1024
sample rate : 48000 (or 44100, or others... ; don't forgot to restart your FA-66 when you turn the knob "sample rate")
periods/buffer : 3
interface : default

Olivier.


Stefan Thomas a écrit :
Dear Oliver,
thanks! I'm a little confused now: I've seen, in the terminal, that jack is not installed on my system.
But, on the kde menu, there is the program jack-control. This one I can start and I can choose ffado or freebob among others as driver. How can this be possible?

2009/4/28 Olivier Baudouin <olivierbaudouin@gmail.com>:
> You should try freebob instead of ffado (in developement, currently slower
> than freebob). What are your other jack settings (realtime etc.) ?
>
> Olivier B.
>
> Stefan Thomas a écrit :
>>
>> Dear community,
>> does someone have experiences with the edirol fa-66 on Ubuntu?
>> It is an external firewire soundcard. I have also intalled the ffado
>> mixer, which is able to recorgnize the soundcard, but I don't know how
>> to get it to work with csound.
>> Does someone know, how this can be done?
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>  
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>


Date2009-04-28 20:13
FromStefan Thomas
Subject[Csnd] Re: Re: Re: Re: edirol fa-66
Sorry, maybee I'm not intelligent enough, but I'm not able to hear anything on my edirol fa66.
I tried it with playing an mp3-file with mplayer, but I always hear sound via the internal soundvard, not via the external!

2009/4/28 Olivier Baudouin <olivierbaudouin@gmail.com>
"Settings" in qjacktctl for an EDIROL FA-66 (FA-101):

driver : freebob
realtime : yes (see 'libpam' on http://pkg-freebob.alioth.debian.org/lowlat.html)
frames/period : 1024
sample rate : 48000 (or 44100, or others... ; don't forgot to restart your FA-66 when you turn the knob "sample rate")
periods/buffer : 3
interface : default

Olivier.



Stefan Thomas a écrit :
Dear Oliver,
thanks! I'm a little confused now: I've seen, in the terminal, that jack is not installed on my system.
But, on the kde menu, there is the program jack-control. This one I can start and I can choose ffado or freebob among others as driver. How can this be possible?

2009/4/28 Olivier Baudouin <olivierbaudouin@gmail.com>:
> You should try freebob instead of ffado (in developement, currently slower
> than freebob). What are your other jack settings (realtime etc.) ?
>
> Olivier B.
>
> Stefan Thomas a écrit :
>>
>> Dear community,
>> does someone have experiences with the edirol fa-66 on Ubuntu?
>> It is an external firewire soundcard. I have also intalled the ffado
>> mixer, which is able to recorgnize the soundcard, but I don't know how
>> to get it to work with csound.
>> Does someone know, how this can be done?
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>  
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>



Date2009-04-28 20:19
FromStefan Thomas
Subject[Csnd] Re: Re: Re: Re: edirol fa-66
It's me again.
I tried now, via terminal
jackd -d freebob
than I get:
JACK compiled with System V SHM support.
loading driver ..
Freebob using Firewire port 0, node -1
Error (bebob_light/bebob_light_avdevice.cpp)[1666] setSamplingFrequencyPlug: setSampleRatePlug: IsoStreamInput plug 0 does not support sample rate 48000
Error (bebob_light/bebob_light_avdevice.cpp)[1696] setSamplingFrequency: setSampleRate: Setting sample rate failed
FreeBoB ERR: FREEBOB: Error creating virtual device
LibFreeBoB ERR: Failed to set samplerate...
cannot load driver module freebob

When I type
jackd -d firewire
I get
loading driver ..
01419262716:  (ffado.cpp)[  92] ffado_streaming_init: libffado 1.999.40- built Feb 24 2009 00:53:39
01419854522: Debug (bebob_mixer.cpp)[ 126] addElementForAllFunctionBlocks: Adding elements for functionblocks...
firewire ERR: Error creating FFADO streaming device
cannot load driver module firewire

This sounds like I have to type something like modprobe firewire, am I right?

2009/4/28 Stefan Thomas <kontrapunktstefan@googlemail.com>
Sorry, maybee I'm not intelligent enough, but I'm not able to hear anything on my edirol fa66.
I tried it with playing an mp3-file with mplayer, but I always hear sound via the internal soundvard, not via the external!


2009/4/28 Olivier Baudouin <olivierbaudouin@gmail.com>
"Settings" in qjacktctl for an EDIROL FA-66 (FA-101):

driver : freebob
realtime : yes (see 'libpam' on http://pkg-freebob.alioth.debian.org/lowlat.html)
frames/period : 1024
sample rate : 48000 (or 44100, or others... ; don't forgot to restart your FA-66 when you turn the knob "sample rate")
periods/buffer : 3
interface : default

Olivier.



Stefan Thomas a écrit :
Dear Oliver,
thanks! I'm a little confused now: I've seen, in the terminal, that jack is not installed on my system.
But, on the kde menu, there is the program jack-control. This one I can start and I can choose ffado or freebob among others as driver. How can this be possible?

2009/4/28 Olivier Baudouin <olivierbaudouin@gmail.com>:
> You should try freebob instead of ffado (in developement, currently slower
> than freebob). What are your other jack settings (realtime etc.) ?
>
> Olivier B.
>
> Stefan Thomas a écrit :
>>
>> Dear community,
>> does someone have experiences with the edirol fa-66 on Ubuntu?
>> It is an external firewire soundcard. I have also intalled the ffado
>> mixer, which is able to recorgnize the soundcard, but I don't know how
>> to get it to work with csound.
>> Does someone know, how this can be done?
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>  
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>




Date2009-04-28 20:24
Frombecks
Subject[Csnd] Re: Re: Re: Re: Re: edirol fa-66
On Tue, Apr 28, 2009 at 9:19 PM, Stefan Thomas
 wrote:
> This sounds like I have to type something like modprobe firewire, am I
> right?

try with:
sudo modprobe raw1394
and check your permission on /dev/raw1394  (you need read and write permission)

i have one edirol fa101, and works fine with jack+freebob

hth
ciao

-- 
cb

Date2009-04-29 09:01
FromOlivier Baudouin
Subject[Csnd] Re: Re: Re: Re: Re: edirol fa-66
First, does Jack work with Csound?

Olivier.

2009/4/28 Stefan Thomas <kontrapunktstefan@googlemail.com>
Sorry, maybee I'm not intelligent enough, but I'm not able to hear anything on my edirol fa66.
I tried it with playing an mp3-file with mplayer, but I always hear sound via the internal soundvard, not via the external!

2009/4/28 Olivier Baudouin <olivierbaudouin@gmail.com>
"Settings" in qjacktctl for an EDIROL FA-66 (FA-101):

driver : freebob
realtime : yes (see 'libpam' on http://pkg-freebob.alioth.debian.org/lowlat.html)
frames/period : 1024
sample rate : 48000 (or 44100, or others... ; don't forgot to restart your FA-66 when you turn the knob "sample rate")
periods/buffer : 3
interface : default

Olivier.



Stefan Thomas a écrit :
Dear Oliver,
thanks! I'm a little confused now: I've seen, in the terminal, that jack is not installed on my system.
But, on the kde menu, there is the program jack-control. This one I can start and I can choose ffado or freebob among others as driver. How can this be possible?

2009/4/28 Olivier Baudouin <olivierbaudouin@gmail.com>:
> You should try freebob instead of ffado (in developement, currently slower
> than freebob). What are your other jack settings (realtime etc.) ?
>
> Olivier B.
>
> Stefan Thomas a écrit :
>>
>> Dear community,
>> does someone have experiences with the edirol fa-66 on Ubuntu?
>> It is an external firewire soundcard. I have also intalled the ffado
>> mixer, which is able to recorgnize the soundcard, but I don't know how
>> to get it to work with csound.
>> Does someone know, how this can be done?
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>  
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>




Date2009-04-29 12:14
FromAndres Cabrera
Subject[Csnd] Re: Re: Re: Re: Re: Re: edirol fa-66
Yes, with module "jack" -+rtaudio=jack.

Cheers,
Andrés


On Wed, Apr 29, 2009 at 3:01 AM, Olivier Baudouin
 wrote:
> First, does Jack work with Csound?
>
> Olivier.
>
> 2009/4/28 Stefan Thomas 
>>
>> Sorry, maybee I'm not intelligent enough, but I'm not able to hear
>> anything on my edirol fa66.
>> I tried it with playing an mp3-file with mplayer, but I always hear sound
>> via the internal soundvard, not via the external!
>>
>> 2009/4/28 Olivier Baudouin 
>>>
>>> "Settings" in qjacktctl for an EDIROL FA-66 (FA-101):
>>>
>>> driver : freebob
>>> realtime : yes (see 'libpam' on
>>> http://pkg-freebob.alioth.debian.org/lowlat.html)
>>> frames/period : 1024
>>> sample rate : 48000 (or 44100, or others... ; don't forgot to restart
>>> your FA-66 when you turn the knob "sample rate")
>>> periods/buffer : 3
>>> interface : default
>>>
>>> Olivier.
>>>
>>>
>>> Stefan Thomas a écrit :
>>>
>>> Dear Oliver,
>>> thanks! I'm a little confused now: I've seen, in the terminal, that jack
>>> is not installed on my system.
>>> But, on the kde menu, there is the program jack-control. This one I can
>>> start and I can choose ffado or freebob among others as driver. How can this
>>> be possible?
>>>
>>> 2009/4/28 Olivier Baudouin :
>>> > You should try freebob instead of ffado (in developement, currently
>>> > slower
>>> > than freebob). What are your other jack settings (realtime etc.) ?
>>> >
>>> > Olivier B.
>>> >
>>> > Stefan Thomas a écrit :
>>> >>
>>> >> Dear community,
>>> >> does someone have experiences with the edirol fa-66 on Ubuntu?
>>> >> It is an external firewire soundcard. I have also intalled the ffado
>>> >> mixer, which is able to recorgnize the soundcard, but I don't know how
>>> >> to get it to work with csound.
>>> >> Does someone know, how this can be done?
>>> >>
>>> >>
>>> >> Send bugs reports to this list.
>>> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>> >> "unsubscribe
>>> >> csound"
>>> >>
>>> >>
>>> >
>>> >
>>> > Send bugs reports to this list.
>>> > To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>> > "unsubscribe
>>> > csound"
>>> >
>>>
>>
>
>



-- 


Andrés


Date2009-04-29 13:08
FromOlivier Baudouin
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: edirol fa-66
If jack works fine with Csound, it's OK. Now, you have to refer to each software documentation (with Mplayer, just turn the audio setting to jack...).

Olivier.

Andres Cabrera a écrit :
Yes, with module "jack" -+rtaudio=jack.

Cheers,
Andrés


On Wed, Apr 29, 2009 at 3:01 AM, Olivier Baudouin
<olivierbaudouin@gmail.com> wrote:
  
First, does Jack work with Csound?

Olivier.

2009/4/28 Stefan Thomas <kontrapunktstefan@googlemail.com>
    
Sorry, maybee I'm not intelligent enough, but I'm not able to hear
anything on my edirol fa66.
I tried it with playing an mp3-file with mplayer, but I always hear sound
via the internal soundvard, not via the external!

2009/4/28 Olivier Baudouin <olivierbaudouin@gmail.com>
      
"Settings" in qjacktctl for an EDIROL FA-66 (FA-101):

driver : freebob
realtime : yes (see 'libpam' on
http://pkg-freebob.alioth.debian.org/lowlat.html)
frames/period : 1024
sample rate : 48000 (or 44100, or others... ; don't forgot to restart
your FA-66 when you turn the knob "sample rate")
periods/buffer : 3
interface : default

Olivier.


Stefan Thomas a écrit :

Dear Oliver,
thanks! I'm a little confused now: I've seen, in the terminal, that jack
is not installed on my system.
But, on the kde menu, there is the program jack-control. This one I can
start and I can choose ffado or freebob among others as driver. How can this
be possible?

2009/4/28 Olivier Baudouin <olivierbaudouin@gmail.com>:
        
You should try freebob instead of ffado (in developement, currently
slower
than freebob). What are your other jack settings (realtime etc.) ?

Olivier B.

Stefan Thomas a écrit :
          
Dear community,
does someone have experiences with the edirol fa-66 on Ubuntu?
It is an external firewire soundcard. I have also intalled the ffado
mixer, which is able to recorgnize the soundcard, but I don't know how
to get it to work with csound.
Does someone know, how this can be done?


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body
"unsubscribe
csound"


            
Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body
"unsubscribe
csound"

          
    



  

Date2009-04-29 13:35
FromAndres Cabrera
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: Re: edirol fa-66
On Csound just use:
 -+rtaudio=jack -iadc -odac

This will create the jack ports and receive/send audio through them.
You can also autoconnect jack ports from Csound using

-+jack_inportname=[input port name prefix], -+jack_outportname=[output
port name prefix]

Cheers,
Andrés

On Wed, Apr 29, 2009 at 7:08 AM, Olivier Baudouin
 wrote:
> If jack works fine with Csound, it's OK. Now, you have to refer to each
> software documentation (with Mplayer, just turn the audio setting to
> jack...).
>
> Olivier.
>
> Andres Cabrera a écrit :
>
> Yes, with module "jack" -+rtaudio=jack.
>
> Cheers,
> Andrés
>
>
> On Wed, Apr 29, 2009 at 3:01 AM, Olivier Baudouin
>  wrote:
>
>
> First, does Jack work with Csound?
>
> Olivier.
>
> 2009/4/28 Stefan Thomas 
>
>
> Sorry, maybee I'm not intelligent enough, but I'm not able to hear
> anything on my edirol fa66.
> I tried it with playing an mp3-file with mplayer, but I always hear sound
> via the internal soundvard, not via the external!
>
> 2009/4/28 Olivier Baudouin 
>
>
> "Settings" in qjacktctl for an EDIROL FA-66 (FA-101):
>
> driver : freebob
> realtime : yes (see 'libpam' on
> http://pkg-freebob.alioth.debian.org/lowlat.html)
> frames/period : 1024
> sample rate : 48000 (or 44100, or others... ; don't forgot to restart
> your FA-66 when you turn the knob "sample rate")
> periods/buffer : 3
> interface : default
>
> Olivier.
>
>
> Stefan Thomas a écrit :
>
> Dear Oliver,
> thanks! I'm a little confused now: I've seen, in the terminal, that jack
> is not installed on my system.
> But, on the kde menu, there is the program jack-control. This one I can
> start and I can choose ffado or freebob among others as driver. How can this
> be possible?
>
> 2009/4/28 Olivier Baudouin :
>
>
> You should try freebob instead of ffado (in developement, currently
> slower
> than freebob). What are your other jack settings (realtime etc.) ?
>
> Olivier B.
>
> Stefan Thomas a écrit :
>
>
> Dear community,
> does someone have experiences with the edirol fa-66 on Ubuntu?
> It is an external firewire soundcard. I have also intalled the ffado
> mixer, which is able to recorgnize the soundcard, but I don't know how
> to get it to work with csound.
> Does someone know, how this can be done?
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body
> "unsubscribe
> csound"
>
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body
> "unsubscribe
> csound"
>
>
>
>
>
>



-- 


Andrés


Date2009-05-02 17:08
FromStefan Thomas
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: edirol fa-66
Dear community,
I guess I made a little succes.
When I run in the terminal
jackd -d freebob
I get:
LibFreeBoB ERR: Dropped packets on connection 1
But it does'nt stop.
If I run
csound -+rtaudio=jack -i adc -o dac drum.orc drum.sco
I get:
virtual_keyboard real time MIDI plugin for Csound
PortMIDI real time MIDI plugin for Csound
PortAudio real-time audio module for Csound
0dBFS level = 32768.0
Csound version 5.08 (double samples) Apr 14 2009
libsndfile-1.0.17
orchname:  drum.orc
scorename: drum.sco
rtaudio: JACK module enabled
rtmidi: PortMIDI module enabled
orch compiler:
35 lines read
        instr   1
Elapsed time at end of orchestra compile: real: 0.015s, CPU: 0.000s
sorting score ...
        ... done
Elapsed time at end of score sort: real: 0.020s, CPU: 0.010s
Csound version 5.08 (double samples) Apr 14 2009
0dBFS level = 32768.0
orch now loaded
audio buffered in 256 sample-frame blocks
reading 512-byte blks of shorts from adc (RAW)
 *** rtjack: period size (-b) must be an integer multiple of ksmps
inactive allocs returned to freespace
end of score.              overall amps:      0.0
           overall samples out of range:        0
0 errors in performance
Elapsed time at end of performance: real: 0.027s, CPU: 0.010s
But I still do not hear anything.

2009/4/29 Andres Cabrera <mantaraya36@gmail.com>
On Csound just use:
 -+rtaudio=jack -iadc -odac

This will create the jack ports and receive/send audio through them.
You can also autoconnect jack ports from Csound using

-+jack_inportname=[input port name prefix], -+jack_outportname=[output
port name prefix]

Cheers,
Andrés

On Wed, Apr 29, 2009 at 7:08 AM, Olivier Baudouin
<olivierbaudouin@gmail.com> wrote:
> If jack works fine with Csound, it's OK. Now, you have to refer to each
> software documentation (with Mplayer, just turn the audio setting to
> jack...).
>
> Olivier.
>
> Andres Cabrera a écrit :
>
> Yes, with module "jack" -+rtaudio=jack.
>
> Cheers,
> Andrés
>
>
> On Wed, Apr 29, 2009 at 3:01 AM, Olivier Baudouin
> <olivierbaudouin@gmail.com> wrote:
>
>
> First, does Jack work with Csound?
>
> Olivier.
>
> 2009/4/28 Stefan Thomas <kontrapunktstefan@googlemail.com>
>
>
> Sorry, maybee I'm not intelligent enough, but I'm not able to hear
> anything on my edirol fa66.
> I tried it with playing an mp3-file with mplayer, but I always hear sound
> via the internal soundvard, not via the external!
>
> 2009/4/28 Olivier Baudouin <olivierbaudouin@gmail.com>
>
>
> "Settings" in qjacktctl for an EDIROL FA-66 (FA-101):
>
> driver : freebob
> realtime : yes (see 'libpam' on
> http://pkg-freebob.alioth.debian.org/lowlat.html)
> frames/period : 1024
> sample rate : 48000 (or 44100, or others... ; don't forgot to restart
> your FA-66 when you turn the knob "sample rate")
> periods/buffer : 3
> interface : default
>
> Olivier.
>
>
> Stefan Thomas a écrit :
>
> Dear Oliver,
> thanks! I'm a little confused now: I've seen, in the terminal, that jack
> is not installed on my system.
> But, on the kde menu, there is the program jack-control. This one I can
> start and I can choose ffado or freebob among others as driver. How can this
> be possible?
>
> 2009/4/28 Olivier Baudouin <olivierbaudouin@gmail.com>:
>
>
> You should try freebob instead of ffado (in developement, currently
> slower
> than freebob). What are your other jack settings (realtime etc.) ?
>
> Olivier B.
>
> Stefan Thomas a écrit :
>
>
> Dear community,
> does someone have experiences with the edirol fa-66 on Ubuntu?
> It is an external firewire soundcard. I have also intalled the ffado
> mixer, which is able to recorgnize the soundcard, but I don't know how
> to get it to work with csound.
> Does someone know, how this can be done?
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body
> "unsubscribe
> csound"
>
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body
> "unsubscribe
> csound"
>
>
>
>
>
>



--


Andrés


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2009-05-02 17:14
FromAndres Cabrera
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: edirol fa-66
You're almost there:

rtjack: period size (-b) must be an integer multiple of ksmps

add a -b vaue that is an integer multiple of ksmps.

Cheers,
Andrés

On Sat, May 2, 2009 at 11:08 AM, Stefan Thomas
 wrote:
> Dear community,
> I guess I made a little succes.
> When I run in the terminal
> jackd -d freebob
> I get:
> LibFreeBoB ERR: Dropped packets on connection 1
> But it does'nt stop.
> If I run
> csound -+rtaudio=jack -i adc -o dac drum.orc drum.sco
> I get:
> virtual_keyboard real time MIDI plugin for Csound
> PortMIDI real time MIDI plugin for Csound
> PortAudio real-time audio module for Csound
> 0dBFS level = 32768.0
> Csound version 5.08 (double samples) Apr 14 2009
> libsndfile-1.0.17
> orchname:  drum.orc
> scorename: drum.sco
> rtaudio: JACK module enabled
> rtmidi: PortMIDI module enabled
> orch compiler:
> 35 lines read
>         instr   1
> Elapsed time at end of orchestra compile: real: 0.015s, CPU: 0.000s
> sorting score ...
>         ... done
> Elapsed time at end of score sort: real: 0.020s, CPU: 0.010s
> Csound version 5.08 (double samples) Apr 14 2009
> 0dBFS level = 32768.0
> orch now loaded
> audio buffered in 256 sample-frame blocks
> reading 512-byte blks of shorts from adc (RAW)
>  *** rtjack: period size (-b) must be an integer multiple of ksmps
> inactive allocs returned to freespace
> end of score.              overall amps:      0.0
>            overall samples out of range:        0
> 0 errors in performance
> Elapsed time at end of performance: real: 0.027s, CPU: 0.010s
> But I still do not hear anything.
>
> 2009/4/29 Andres Cabrera 
>>
>> On Csound just use:
>>  -+rtaudio=jack -iadc -odac
>>
>> This will create the jack ports and receive/send audio through them.
>> You can also autoconnect jack ports from Csound using
>>
>> -+jack_inportname=[input port name prefix], -+jack_outportname=[output
>> port name prefix]
>>
>> Cheers,
>> Andrés
>>
>> On Wed, Apr 29, 2009 at 7:08 AM, Olivier Baudouin
>>  wrote:
>> > If jack works fine with Csound, it's OK. Now, you have to refer to each
>> > software documentation (with Mplayer, just turn the audio setting to
>> > jack...).
>> >
>> > Olivier.
>> >
>> > Andres Cabrera a écrit :
>> >
>> > Yes, with module "jack" -+rtaudio=jack.
>> >
>> > Cheers,
>> > Andrés
>> >
>> >
>> > On Wed, Apr 29, 2009 at 3:01 AM, Olivier Baudouin
>> >  wrote:
>> >
>> >
>> > First, does Jack work with Csound?
>> >
>> > Olivier.
>> >
>> > 2009/4/28 Stefan Thomas 
>> >
>> >
>> > Sorry, maybee I'm not intelligent enough, but I'm not able to hear
>> > anything on my edirol fa66.
>> > I tried it with playing an mp3-file with mplayer, but I always hear
>> > sound
>> > via the internal soundvard, not via the external!
>> >
>> > 2009/4/28 Olivier Baudouin 
>> >
>> >
>> > "Settings" in qjacktctl for an EDIROL FA-66 (FA-101):
>> >
>> > driver : freebob
>> > realtime : yes (see 'libpam' on
>> > http://pkg-freebob.alioth.debian.org/lowlat.html)
>> > frames/period : 1024
>> > sample rate : 48000 (or 44100, or others... ; don't forgot to restart
>> > your FA-66 when you turn the knob "sample rate")
>> > periods/buffer : 3
>> > interface : default
>> >
>> > Olivier.
>> >
>> >
>> > Stefan Thomas a écrit :
>> >
>> > Dear Oliver,
>> > thanks! I'm a little confused now: I've seen, in the terminal, that jack
>> > is not installed on my system.
>> > But, on the kde menu, there is the program jack-control. This one I can
>> > start and I can choose ffado or freebob among others as driver. How can
>> > this
>> > be possible?
>> >
>> > 2009/4/28 Olivier Baudouin :
>> >
>> >
>> > You should try freebob instead of ffado (in developement, currently
>> > slower
>> > than freebob). What are your other jack settings (realtime etc.) ?
>> >
>> > Olivier B.
>> >
>> > Stefan Thomas a écrit :
>> >
>> >
>> > Dear community,
>> > does someone have experiences with the edirol fa-66 on Ubuntu?
>> > It is an external firewire soundcard. I have also intalled the ffado
>> > mixer, which is able to recorgnize the soundcard, but I don't know how
>> > to get it to work with csound.
>> > Does someone know, how this can be done?
>> >
>> >
>> > Send bugs reports to this list.
>> > To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> > "unsubscribe
>> > csound"
>> >
>> >
>> >
>> >
>> > Send bugs reports to this list.
>> > To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> > "unsubscribe
>> > csound"
>> >
>> >
>> >
>> >
>> >
>> >
>>
>>
>>
>> --
>>
>>
>> Andrés
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>



-- 


Andrés


Date2009-05-03 16:39
FromStefan Thomas
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: edirol fa-66
Dear Andres,
I still have problems, becuase I don't understand exactly the csound options.
I kno now, that my edirol fa-66 in ubuntu does work.
If I type mplayer -ao jack gong.wav
I can hear sound.
But when I run the following csd-file, I can see, that I input midi (on the commandline), but I can't hear anything.
I guess the options are wrong.
Here is the short example:
<CsoundSynthesizer>
<CsOptions>
; -odevaudio -M1 -b400 ; fuer realtime-Midi
-odevaudio -M1 -b8000 -+rtaudio=jack -i adc -o dac  ; fuer realtime-Midi
</CsOptions>
<CsInstruments>

sr     = 48000
kr     = 2400
ksmps  = 20
nchnls = 2
 ipch = 8.02
  iequal = 12
massign    0, 1              ; assign all midi events to instr 1,
pgmassign  0, 1              ; also all program changes
instr 1
 gasend1 init 0
 gasend2 init 0
 ituningtable = 10         ; the number of the f-table

 imnn    notnum
 indx    =  imnn * 2 + 1   ; values in table alternate between
                           ; Midi note nums and frequencies
 icps    table  indx, ituningtable
  iamp    ampmidi        1000
inach = 0.00001
iend = 0.0000000001 ; für alle die gleiche Endlautstärke

; die  Einschwingzeit für jeden Teilton
iein = 0.0030
;die unterschiedlichen ausschwingzeiten
iabkling1 = 4.5*2
iabkling2 = 7.22*2
iabkling3 = 9.26*2
;die anfangslautstaerke
ianfang = 0.001
;wie laut klingt der Ton am Ende, nach dem loslassen der Note
iweiterkling = 0.00000000000001

;die anfangslautstaerke
ianfang = 0.001
;wie laut klingt der Ton am Ende, nach dem loslassen der Note
iweiterkling = 0.00000000000001
;die unterschiedlichen Maxima der Hüllkurven
ilautfaktor = 0.85

imax1 = 1
imax2 = ilautfaktor
imax3=ilautfaktor^2
imax4 = ilautfaktor^3
;and so on
;die Individuellen Hüllkurven für jeden einzelnen Teilton
kenv1 expsegr ianfang, iein, imax1,     iabkling1,      iend,  inach, iweiterkling
kenv2 expsegr ianfang, iein, imax2,     iabkling2,      iend,  inach, iweiterkling
kenv3 expsegr ianfang, iein, imax3,     iabkling3,      iend,  inach, iweiterkling
;die Frequenzverhältnisse
iratio = 1.08284091791636825817 ; 11te Wurzel aus 12/5
ifundamental = icps
ipartialB =icps;Teilton 1
ipartialC = icps*iratio^11 ;Teilton 2
;die einzelnen Teiltöne mit ihrer dazu gehörigen Hüllkurve
a1    oscil   kenv1*iamp, ifundamental,    1
a2    oscil   kenv2*iamp, ipartialB,     1
a3    oscil   kenv3*iamp, ipartialC,     1
aton = a1+a2+a3

outs aton, aton
gasend1 = gasend1+aton
gasend2 = gasend2+aton
    endin 
  instr 2 ;RECORDS ALL SOUND
;RECORD A Stereo 16 BIT SOUND FILE
fout    "dezimengong.wav", 4, gasend1, gasend2
;CLEAR GLOBAL VARIABLE (I.E. ASSIGN IT TO ZERO)
gasend1 = 0
gasend2 = 0
endin

</CsInstruments>
; die Partiturereignisse werden definiert
<CsScore>
f1  0   8193  10   1
f 10  0 256 -23 "../skalen/kleinedezimedurch11.cps"
t 0 30 ; keine Ahnung, was das heißt
i1   0    3600
i2   0    3600

</CsScore>
</CsoundSynthesizer>



2009/5/2 Andres Cabrera <mantaraya36@gmail.com>
You're almost there:

rtjack: period size (-b) must be an integer multiple of ksmps

add a -b vaue that is an integer multiple of ksmps.

Cheers,
Andrés

On Sat, May 2, 2009 at 11:08 AM, Stefan Thomas
<kontrapunktstefan@googlemail.com> wrote:
> Dear community,
> I guess I made a little succes.
> When I run in the terminal
> jackd -d freebob
> I get:
> LibFreeBoB ERR: Dropped packets on connection 1
> But it does'nt stop.
> If I run
> csound -+rtaudio=jack -i adc -o dac drum.orc drum.sco
> I get:
> virtual_keyboard real time MIDI plugin for Csound
> PortMIDI real time MIDI plugin for Csound
> PortAudio real-time audio module for Csound
> 0dBFS level = 32768.0
> Csound version 5.08 (double samples) Apr 14 2009
> libsndfile-1.0.17
> orchname:  drum.orc
> scorename: drum.sco
> rtaudio: JACK module enabled
> rtmidi: PortMIDI module enabled
> orch compiler:
> 35 lines read
>         instr   1
> Elapsed time at end of orchestra compile: real: 0.015s, CPU: 0.000s
> sorting score ...
>         ... done
> Elapsed time at end of score sort: real: 0.020s, CPU: 0.010s
> Csound version 5.08 (double samples) Apr 14 2009
> 0dBFS level = 32768.0
> orch now loaded
> audio buffered in 256 sample-frame blocks
> reading 512-byte blks of shorts from adc (RAW)
>  *** rtjack: period size (-b) must be an integer multiple of ksmps
> inactive allocs returned to freespace
> end of score.              overall amps:      0.0
>            overall samples out of range:        0
> 0 errors in performance
> Elapsed time at end of performance: real: 0.027s, CPU: 0.010s
> But I still do not hear anything.
>
> 2009/4/29 Andres Cabrera <mantaraya36@gmail.com>
>>
>> On Csound just use:
>>  -+rtaudio=jack -iadc -odac
>>
>> This will create the jack ports and receive/send audio through them.
>> You can also autoconnect jack ports from Csound using
>>
>> -+jack_inportname=[input port name prefix], -+jack_outportname=[output
>> port name prefix]
>>
>> Cheers,
>> Andrés
>>
>> On Wed, Apr 29, 2009 at 7:08 AM, Olivier Baudouin
>> <olivierbaudouin@gmail.com> wrote:
>> > If jack works fine with Csound, it's OK. Now, you have to refer to each
>> > software documentation (with Mplayer, just turn the audio setting to
>> > jack...).
>> >
>> > Olivier.
>> >
>> > Andres Cabrera a écrit :
>> >
>> > Yes, with module "jack" -+rtaudio=jack.
>> >
>> > Cheers,
>> > Andrés
>> >
>> >
>> > On Wed, Apr 29, 2009 at 3:01 AM, Olivier Baudouin
>> > <olivierbaudouin@gmail.com> wrote:
>> >
>> >
>> > First, does Jack work with Csound?
>> >
>> > Olivier.
>> >
>> > 2009/4/28 Stefan Thomas <kontrapunktstefan@googlemail.com>
>> >
>> >
>> > Sorry, maybee I'm not intelligent enough, but I'm not able to hear
>> > anything on my edirol fa66.
>> > I tried it with playing an mp3-file with mplayer, but I always hear
>> > sound
>> > via the internal soundvard, not via the external!
>> >
>> > 2009/4/28 Olivier Baudouin <olivierbaudouin@gmail.com>
>> >
>> >
>> > "Settings" in qjacktctl for an EDIROL FA-66 (FA-101):
>> >
>> > driver : freebob
>> > realtime : yes (see 'libpam' on
>> > http://pkg-freebob.alioth.debian.org/lowlat.html)
>> > frames/period : 1024
>> > sample rate : 48000 (or 44100, or others... ; don't forgot to restart
>> > your FA-66 when you turn the knob "sample rate")
>> > periods/buffer : 3
>> > interface : default
>> >
>> > Olivier.
>> >
>> >
>> > Stefan Thomas a écrit :
>> >
>> > Dear Oliver,
>> > thanks! I'm a little confused now: I've seen, in the terminal, that jack
>> > is not installed on my system.
>> > But, on the kde menu, there is the program jack-control. This one I can
>> > start and I can choose ffado or freebob among others as driver. How can
>> > this
>> > be possible?
>> >
>> > 2009/4/28 Olivier Baudouin <olivierbaudouin@gmail.com>:
>> >
>> >
>> > You should try freebob instead of ffado (in developement, currently
>> > slower
>> > than freebob). What are your other jack settings (realtime etc.) ?
>> >
>> > Olivier B.
>> >
>> > Stefan Thomas a écrit :
>> >
>> >
>> > Dear community,
>> > does someone have experiences with the edirol fa-66 on Ubuntu?
>> > It is an external firewire soundcard. I have also intalled the ffado
>> > mixer, which is able to recorgnize the soundcard, but I don't know how
>> > to get it to work with csound.
>> > Does someone know, how this can be done?
>> >
>> >
>> > Send bugs reports to this list.
>> > To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> > "unsubscribe
>> > csound"
>> >
>> >
>> >
>> >
>> > Send bugs reports to this list.
>> > To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> > "unsubscribe
>> > csound"
>> >
>> >
>> >
>> >
>> >
>> >
>>
>>
>>
>> --
>>
>>
>> Andrés
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>



--


Andrés


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2009-05-03 20:48
Fromjoachim heintz
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: edirol fa-66
Hi Stefan -

I suggest you try the following:

ksmps = 16
-b 128
-B 512

(Probably your options should be:
-Ma -b 128 -B 512 -+rtaudio=jack -i adc -o dac)

You needn't tell Csound the kr explicitly. Just give ksmps.
Unfortunately I don't know anything about Edirol FA-66, but if the  
message
 >rtjack: period size (-b) must be an integer multiple of ksmps<
is the crucial point, it should work in this way.

Good luck -

	joachim


Am 03.05.2009 um 17:39 schrieb Stefan Thomas:

> Dear Andres,
> I still have problems, becuase I don't understand exactly the csound  
> options.
> I kno now, that my edirol fa-66 in ubuntu does work.
> If I type mplayer -ao jack gong.wav
> I can hear sound.
> But when I run the following csd-file, I can see, that I input midi  
> (on the commandline), but I can't hear anything.
> I guess the options are wrong.
> Here is the short example:
> 
> 
> ; -odevaudio -M1 -b400 ; fuer realtime-Midi
> -odevaudio -M1 -b8000 -+rtaudio=jack -i adc -o dac  ; fuer realtime- 
> Midi
> 
> 
>
> sr     = 48000
> kr     = 2400
> ksmps  = 20
> nchnls = 2
>  ipch = 8.02
>   iequal = 12
> massign    0, 1              ; assign all midi events to instr 1,
> pgmassign  0, 1              ; also all program changes
> instr 1
>  gasend1 init 0
>  gasend2 init 0
>  ituningtable = 10         ; the number of the f-table
>
>  imnn    notnum
>  indx    =  imnn * 2 + 1   ; values in table alternate between
>                            ; Midi note nums and frequencies
>  icps    table  indx, ituningtable
>   iamp    ampmidi        1000
> inach = 0.00001
> iend = 0.0000000001 ; für alle die gleiche Endlautstärke
>
> ; die  Einschwingzeit für jeden Teilton
> iein = 0.0030
> ;die unterschiedlichen ausschwingzeiten
> iabkling1 = 4.5*2
> iabkling2 = 7.22*2
> iabkling3 = 9.26*2
> ;die anfangslautstaerke
> ianfang = 0.001
> ;wie laut klingt der Ton am Ende, nach dem loslassen der Note
> iweiterkling = 0.00000000000001
>
> ;die anfangslautstaerke
> ianfang = 0.001
> ;wie laut klingt der Ton am Ende, nach dem loslassen der Note
> iweiterkling = 0.00000000000001
> ;die unterschiedlichen Maxima der Hüllkurven
> ilautfaktor = 0.85
>
> imax1 = 1
> imax2 = ilautfaktor
> imax3=ilautfaktor^2
> imax4 = ilautfaktor^3
> ;and so on
> ;die Individuellen Hüllkurven für jeden einzelnen Teilton
> kenv1 expsegr ianfang, iein, imax1,     iabkling1,      iend,   
> inach, iweiterkling
> kenv2 expsegr ianfang, iein, imax2,     iabkling2,      iend,   
> inach, iweiterkling
> kenv3 expsegr ianfang, iein, imax3,     iabkling3,      iend,   
> inach, iweiterkling
> ;die Frequenzverhältnisse
> iratio = 1.08284091791636825817 ; 11te Wurzel aus 12/5
> ifundamental = icps
> ipartialB =icps;Teilton 1
> ipartialC = icps*iratio^11 ;Teilton 2
> ;die einzelnen Teiltöne mit ihrer dazu gehörigen Hüllkurve
> a1    oscil   kenv1*iamp, ifundamental,    1
> a2    oscil   kenv2*iamp, ipartialB,     1
> a3    oscil   kenv3*iamp, ipartialC,     1
> aton = a1+a2+a3
>
> outs aton, aton
> gasend1 = gasend1+aton
> gasend2 = gasend2+aton
>     endin
>   instr 2 ;RECORDS ALL SOUND
> ;RECORD A Stereo 16 BIT SOUND FILE
> fout    "dezimengong.wav", 4, gasend1, gasend2
> ;CLEAR GLOBAL VARIABLE (I.E. ASSIGN IT TO ZERO)
> gasend1 = 0
> gasend2 = 0
> endin
>
> 
> ; die Partiturereignisse werden definiert
> 
> f1  0   8193  10   1
> f 10  0 256 -23 "../skalen/kleinedezimedurch11.cps"
> t 0 30 ; keine Ahnung, was das heißt
> i1   0    3600
> i2   0    3600
>
> 
> 
>
>
>
> 2009/5/2 Andres Cabrera 
> You're almost there:
>
> rtjack: period size (-b) must be an integer multiple of ksmps
>
> add a -b vaue that is an integer multiple of ksmps.
>
> Cheers,
> Andrés
>
> On Sat, May 2, 2009 at 11:08 AM, Stefan Thomas
>  wrote:
> > Dear community,
> > I guess I made a little succes.
> > When I run in the terminal
> > jackd -d freebob
> > I get:
> > LibFreeBoB ERR: Dropped packets on connection 1
> > But it does'nt stop.
> > If I run
> > csound -+rtaudio=jack -i adc -o dac drum.orc drum.sco
> > I get:
> > virtual_keyboard real time MIDI plugin for Csound
> > PortMIDI real time MIDI plugin for Csound
> > PortAudio real-time audio module for Csound
> > 0dBFS level = 32768.0
> > Csound version 5.08 (double samples) Apr 14 2009
> > libsndfile-1.0.17
> > orchname:  drum.orc
> > scorename: drum.sco
> > rtaudio: JACK module enabled
> > rtmidi: PortMIDI module enabled
> > orch compiler:
> > 35 lines read
> >         instr   1
> > Elapsed time at end of orchestra compile: real: 0.015s, CPU: 0.000s
> > sorting score ...
> >         ... done
> > Elapsed time at end of score sort: real: 0.020s, CPU: 0.010s
> > Csound version 5.08 (double samples) Apr 14 2009
> > 0dBFS level = 32768.0
> > orch now loaded
> > audio buffered in 256 sample-frame blocks
> > reading 512-byte blks of shorts from adc (RAW)
> >  *** rtjack: period size (-b) must be an integer multiple of ksmps
> > inactive allocs returned to freespace
> > end of score.              overall amps:      0.0
> >            overall samples out of range:        0
> > 0 errors in performance
> > Elapsed time at end of performance: real: 0.027s, CPU: 0.010s
> > But I still do not hear anything.
> >
> > 2009/4/29 Andres Cabrera 
> >>
> >> On Csound just use:
> >>  -+rtaudio=jack -iadc -odac
> >>
> >> This will create the jack ports and receive/send audio through  
> them.
> >> You can also autoconnect jack ports from Csound using
> >>
> >> -+jack_inportname=[input port name prefix], - 
> +jack_outportname=[output
> >> port name prefix]
> >>
> >> Cheers,
> >> Andrés
> >>
> >> On Wed, Apr 29, 2009 at 7:08 AM, Olivier Baudouin
> >>  wrote:
> >> > If jack works fine with Csound, it's OK. Now, you have to refer  
> to each
> >> > software documentation (with Mplayer, just turn the audio  
> setting to
> >> > jack...).
> >> >
> >> > Olivier.
> >> >
> >> > Andres Cabrera a écrit :
> >> >
> >> > Yes, with module "jack" -+rtaudio=jack.
> >> >
> >> > Cheers,
> >> > Andrés
> >> >
> >> >
> >> > On Wed, Apr 29, 2009 at 3:01 AM, Olivier Baudouin
> >> >  wrote:
> >> >
> >> >
> >> > First, does Jack work with Csound?
> >> >
> >> > Olivier.
> >> >
> >> > 2009/4/28 Stefan Thomas 
> >> >
> >> >
> >> > Sorry, maybee I'm not intelligent enough, but I'm not able to  
> hear
> >> > anything on my edirol fa66.
> >> > I tried it with playing an mp3-file with mplayer, but I always  
> hear
> >> > sound
> >> > via the internal soundvard, not via the external!
> >> >
> >> > 2009/4/28 Olivier Baudouin 
> >> >
> >> >
> >> > "Settings" in qjacktctl for an EDIROL FA-66 (FA-101):
> >> >
> >> > driver : freebob
> >> > realtime : yes (see 'libpam' on
> >> > http://pkg-freebob.alioth.debian.org/lowlat.html)
> >> > frames/period : 1024
> >> > sample rate : 48000 (or 44100, or others... ; don't forgot to  
> restart
> >> > your FA-66 when you turn the knob "sample rate")
> >> > periods/buffer : 3
> >> > interface : default
> >> >
> >> > Olivier.
> >> >
> >> >
> >> > Stefan Thomas a écrit :
> >> >
> >> > Dear Oliver,
> >> > thanks! I'm a little confused now: I've seen, in the terminal,  
> that jack
> >> > is not installed on my system.
> >> > But, on the kde menu, there is the program jack-control. This  
> one I can
> >> > start and I can choose ffado or freebob among others as driver.  
> How can
> >> > this
> >> > be possible?
> >> >
> >> > 2009/4/28 Olivier Baudouin :
> >> >
> >> >
> >> > You should try freebob instead of ffado (in developement,  
> currently
> >> > slower
> >> > than freebob). What are your other jack settings (realtime  
> etc.) ?
> >> >
> >> > Olivier B.
> >> >
> >> > Stefan Thomas a écrit :
> >> >
> >> >
> >> > Dear community,
> >> > does someone have experiences with the edirol fa-66 on Ubuntu?
> >> > It is an external firewire soundcard. I have also intalled the  
> ffado
> >> > mixer, which is able to recorgnize the soundcard, but I don't  
> know how
> >> > to get it to work with csound.
> >> > Does someone know, how this can be done?
> >> >
> >> >
> >> > Send bugs reports to this list.
> >> > To unsubscribe, send email sympa@lists.bath.ac.uk with body
> >> > "unsubscribe
> >> > csound"
> >> >
> >> >
> >> >
> >> >
> >> > Send bugs reports to this list.
> >> > To unsubscribe, send email sympa@lists.bath.ac.uk with body
> >> > "unsubscribe
> >> > csound"
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >>
> >>
> >> Andrés
> >>
> >>
> >> Send bugs reports to this list.
> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe
> >> csound"
> >
>
>
>
> --
>
>
> Andrés
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"
>



Date2009-05-04 01:34
FromAndres Cabrera
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: edirol fa-66
I think your problem is that Csound is now outputting to jack , but
Csound doesn't connect by default anywhere. When you start Csound see
your jack patchbay, and Csound should be there and you should be able
to connect it to your soundcard outputs. Once you've made sure this
works, you can autoconnect, using the -+jack_outportname
See:
http://www.csounds.com/manual/html/UsingRealTime.html

Cheers,
Andrés

On Sun, May 3, 2009 at 10:39 AM, Stefan Thomas
 wrote:
> Dear Andres,
> I still have problems, becuase I don't understand exactly the csound
> options.
> I kno now, that my edirol fa-66 in ubuntu does work.
> If I type mplayer -ao jack gong.wav
> I can hear sound.
> But when I run the following csd-file, I can see, that I input midi (on the
> commandline), but I can't hear anything.
> I guess the options are wrong.
> Here is the short example:
> 
> 
> ; -odevaudio -M1 -b400 ; fuer realtime-Midi
> -odevaudio -M1 -b8000 -+rtaudio=jack -i adc -o dac  ; fuer realtime-Midi
> 
> 
>
> sr     = 48000
> kr     = 2400
> ksmps  = 20
> nchnls = 2
>  ipch = 8.02
>   iequal = 12
> massign    0, 1              ; assign all midi events to instr 1,
> pgmassign  0, 1              ; also all program changes
> instr 1
>  gasend1 init 0
>  gasend2 init 0
>  ituningtable = 10         ; the number of the f-table
>
>  imnn    notnum
>  indx    =  imnn * 2 + 1   ; values in table alternate between
>                            ; Midi note nums and frequencies
>  icps    table  indx, ituningtable
>   iamp    ampmidi        1000
> inach = 0.00001
> iend = 0.0000000001 ; für alle die gleiche Endlautstärke
>
> ; die  Einschwingzeit für jeden Teilton
> iein = 0.0030
> ;die unterschiedlichen ausschwingzeiten
> iabkling1 = 4.5*2
> iabkling2 = 7.22*2
> iabkling3 = 9.26*2
> ;die anfangslautstaerke
> ianfang = 0.001
> ;wie laut klingt der Ton am Ende, nach dem loslassen der Note
> iweiterkling = 0.00000000000001
>
> ;die anfangslautstaerke
> ianfang = 0.001
> ;wie laut klingt der Ton am Ende, nach dem loslassen der Note
> iweiterkling = 0.00000000000001
> ;die unterschiedlichen Maxima der Hüllkurven
> ilautfaktor = 0.85
>
> imax1 = 1
> imax2 = ilautfaktor
> imax3=ilautfaktor^2
> imax4 = ilautfaktor^3
> ;and so on
> ;die Individuellen Hüllkurven für jeden einzelnen Teilton
> kenv1 expsegr ianfang, iein, imax1,     iabkling1,      iend,  inach,
> iweiterkling
> kenv2 expsegr ianfang, iein, imax2,     iabkling2,      iend,  inach,
> iweiterkling
> kenv3 expsegr ianfang, iein, imax3,     iabkling3,      iend,  inach,
> iweiterkling
> ;die Frequenzverhältnisse
> iratio = 1.08284091791636825817 ; 11te Wurzel aus 12/5
> ifundamental = icps
> ipartialB =icps;Teilton 1
> ipartialC = icps*iratio^11 ;Teilton 2
> ;die einzelnen Teiltöne mit ihrer dazu gehörigen Hüllkurve
> a1    oscil   kenv1*iamp, ifundamental,    1
> a2    oscil   kenv2*iamp, ipartialB,     1
> a3    oscil   kenv3*iamp, ipartialC,     1
> aton = a1+a2+a3
>
> outs aton, aton
> gasend1 = gasend1+aton
> gasend2 = gasend2+aton
>     endin
>   instr 2 ;RECORDS ALL SOUND
> ;RECORD A Stereo 16 BIT SOUND FILE
> fout    "dezimengong.wav", 4, gasend1, gasend2
> ;CLEAR GLOBAL VARIABLE (I.E. ASSIGN IT TO ZERO)
> gasend1 = 0
> gasend2 = 0
> endin
>
> 
> ; die Partiturereignisse werden definiert
> 
> f1  0   8193  10   1
> f 10  0 256 -23 "../skalen/kleinedezimedurch11.cps"
> t 0 30 ; keine Ahnung, was das heißt
> i1   0    3600
> i2   0    3600
>
> 
> 
>
>
>
> 2009/5/2 Andres Cabrera 
>>
>> You're almost there:
>>
>> rtjack: period size (-b) must be an integer multiple of ksmps
>>
>> add a -b vaue that is an integer multiple of ksmps.
>>
>> Cheers,
>> Andrés
>>
>> On Sat, May 2, 2009 at 11:08 AM, Stefan Thomas
>>  wrote:
>> > Dear community,
>> > I guess I made a little succes.
>> > When I run in the terminal
>> > jackd -d freebob
>> > I get:
>> > LibFreeBoB ERR: Dropped packets on connection 1
>> > But it does'nt stop.
>> > If I run
>> > csound -+rtaudio=jack -i adc -o dac drum.orc drum.sco
>> > I get:
>> > virtual_keyboard real time MIDI plugin for Csound
>> > PortMIDI real time MIDI plugin for Csound
>> > PortAudio real-time audio module for Csound
>> > 0dBFS level = 32768.0
>> > Csound version 5.08 (double samples) Apr 14 2009
>> > libsndfile-1.0.17
>> > orchname:  drum.orc
>> > scorename: drum.sco
>> > rtaudio: JACK module enabled
>> > rtmidi: PortMIDI module enabled
>> > orch compiler:
>> > 35 lines read
>> >         instr   1
>> > Elapsed time at end of orchestra compile: real: 0.015s, CPU: 0.000s
>> > sorting score ...
>> >         ... done
>> > Elapsed time at end of score sort: real: 0.020s, CPU: 0.010s
>> > Csound version 5.08 (double samples) Apr 14 2009
>> > 0dBFS level = 32768.0
>> > orch now loaded
>> > audio buffered in 256 sample-frame blocks
>> > reading 512-byte blks of shorts from adc (RAW)
>> >  *** rtjack: period size (-b) must be an integer multiple of ksmps
>> > inactive allocs returned to freespace
>> > end of score.              overall amps:      0.0
>> >            overall samples out of range:        0
>> > 0 errors in performance
>> > Elapsed time at end of performance: real: 0.027s, CPU: 0.010s
>> > But I still do not hear anything.
>> >
>> > 2009/4/29 Andres Cabrera 
>> >>
>> >> On Csound just use:
>> >>  -+rtaudio=jack -iadc -odac
>> >>
>> >> This will create the jack ports and receive/send audio through them.
>> >> You can also autoconnect jack ports from Csound using
>> >>
>> >> -+jack_inportname=[input port name prefix], -+jack_outportname=[output
>> >> port name prefix]
>> >>
>> >> Cheers,
>> >> Andrés
>> >>
>> >> On Wed, Apr 29, 2009 at 7:08 AM, Olivier Baudouin
>> >>  wrote:
>> >> > If jack works fine with Csound, it's OK. Now, you have to refer to
>> >> > each
>> >> > software documentation (with Mplayer, just turn the audio setting to
>> >> > jack...).
>> >> >
>> >> > Olivier.
>> >> >
>> >> > Andres Cabrera a écrit :
>> >> >
>> >> > Yes, with module "jack" -+rtaudio=jack.
>> >> >
>> >> > Cheers,
>> >> > Andrés
>> >> >
>> >> >
>> >> > On Wed, Apr 29, 2009 at 3:01 AM, Olivier Baudouin
>> >> >  wrote:
>> >> >
>> >> >
>> >> > First, does Jack work with Csound?
>> >> >
>> >> > Olivier.
>> >> >
>> >> > 2009/4/28 Stefan Thomas 
>> >> >
>> >> >
>> >> > Sorry, maybee I'm not intelligent enough, but I'm not able to hear
>> >> > anything on my edirol fa66.
>> >> > I tried it with playing an mp3-file with mplayer, but I always hear
>> >> > sound
>> >> > via the internal soundvard, not via the external!
>> >> >
>> >> > 2009/4/28 Olivier Baudouin 
>> >> >
>> >> >
>> >> > "Settings" in qjacktctl for an EDIROL FA-66 (FA-101):
>> >> >
>> >> > driver : freebob
>> >> > realtime : yes (see 'libpam' on
>> >> > http://pkg-freebob.alioth.debian.org/lowlat.html)
>> >> > frames/period : 1024
>> >> > sample rate : 48000 (or 44100, or others... ; don't forgot to restart
>> >> > your FA-66 when you turn the knob "sample rate")
>> >> > periods/buffer : 3
>> >> > interface : default
>> >> >
>> >> > Olivier.
>> >> >
>> >> >
>> >> > Stefan Thomas a écrit :
>> >> >
>> >> > Dear Oliver,
>> >> > thanks! I'm a little confused now: I've seen, in the terminal, that
>> >> > jack
>> >> > is not installed on my system.
>> >> > But, on the kde menu, there is the program jack-control. This one I
>> >> > can
>> >> > start and I can choose ffado or freebob among others as driver. How
>> >> > can
>> >> > this
>> >> > be possible?
>> >> >
>> >> > 2009/4/28 Olivier Baudouin :
>> >> >
>> >> >
>> >> > You should try freebob instead of ffado (in developement, currently
>> >> > slower
>> >> > than freebob). What are your other jack settings (realtime etc.) ?
>> >> >
>> >> > Olivier B.
>> >> >
>> >> > Stefan Thomas a écrit :
>> >> >
>> >> >
>> >> > Dear community,
>> >> > does someone have experiences with the edirol fa-66 on Ubuntu?
>> >> > It is an external firewire soundcard. I have also intalled the ffado
>> >> > mixer, which is able to recorgnize the soundcard, but I don't know
>> >> > how
>> >> > to get it to work with csound.
>> >> > Does someone know, how this can be done?
>> >> >
>> >> >
>> >> > Send bugs reports to this list.
>> >> > To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> > "unsubscribe
>> >> > csound"
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > Send bugs reports to this list.
>> >> > To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> > "unsubscribe
>> >> > csound"
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >>
>> >>
>> >> Andrés
>> >>
>> >>
>> >> Send bugs reports to this list.
>> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> "unsubscribe
>> >> csound"
>> >
>>
>>
>>
>> --
>>
>>
>> Andrés
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>



-- 


Andrés


Date2009-05-04 23:39
FromStefan Thomas
Subject[Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: edirol fa-66
Dear community,
thanks for Your help!
I was now able to play and to hear it on the edirol.
It was not an easy thing!

2009/5/4 Andres Cabrera <mantaraya36@gmail.com>
I think your problem is that Csound is now outputting to jack , but
Csound doesn't connect by default anywhere. When you start Csound see
your jack patchbay, and Csound should be there and you should be able
to connect it to your soundcard outputs. Once you've made sure this
works, you can autoconnect, using the -+jack_outportname
Cheers,
Andrés

On Sun, May 3, 2009 at 10:39 AM, Stefan Thomas
<kontrapunktstefan@googlemail.com> wrote:
> Dear Andres,
> I still have problems, becuase I don't understand exactly the csound
> options.
> I kno now, that my edirol fa-66 in ubuntu does work.
> If I type mplayer -ao jack gong.wav
> I can hear sound.
> But when I run the following csd-file, I can see, that I input midi (on the
> commandline), but I can't hear anything.
> I guess the options are wrong.
> Here is the short example:
> <CsoundSynthesizer>
> <CsOptions>
> ; -odevaudio -M1 -b400 ; fuer realtime-Midi
> -odevaudio -M1 -b8000 -+rtaudio=jack -i adc -o dac  ; fuer realtime-Midi
> </CsOptions>
> <CsInstruments>
>
> sr     = 48000
> kr     = 2400
> ksmps  = 20
> nchnls = 2
>  ipch = 8.02
>   iequal = 12
> massign    0, 1              ; assign all midi events to instr 1,
> pgmassign  0, 1              ; also all program changes
> instr 1
>  gasend1 init 0
>  gasend2 init 0
>  ituningtable = 10         ; the number of the f-table
>
>  imnn    notnum
>  indx    =  imnn * 2 + 1   ; values in table alternate between
>                            ; Midi note nums and frequencies
>  icps    table  indx, ituningtable
>   iamp    ampmidi        1000
> inach = 0.00001
> iend = 0.0000000001 ; für alle die gleiche Endlautstärke
>
> ; die  Einschwingzeit für jeden Teilton
> iein = 0.0030
> ;die unterschiedlichen ausschwingzeiten
> iabkling1 = 4.5*2
> iabkling2 = 7.22*2
> iabkling3 = 9.26*2
> ;die anfangslautstaerke
> ianfang = 0.001
> ;wie laut klingt der Ton am Ende, nach dem loslassen der Note
> iweiterkling = 0.00000000000001
>
> ;die anfangslautstaerke
> ianfang = 0.001
> ;wie laut klingt der Ton am Ende, nach dem loslassen der Note
> iweiterkling = 0.00000000000001
> ;die unterschiedlichen Maxima der Hüllkurven
> ilautfaktor = 0.85
>
> imax1 = 1
> imax2 = ilautfaktor
> imax3=ilautfaktor^2
> imax4 = ilautfaktor^3
> ;and so on
> ;die Individuellen Hüllkurven für jeden einzelnen Teilton
> kenv1 expsegr ianfang, iein, imax1,     iabkling1,      iend,  inach,
> iweiterkling
> kenv2 expsegr ianfang, iein, imax2,     iabkling2,      iend,  inach,
> iweiterkling
> kenv3 expsegr ianfang, iein, imax3,     iabkling3,      iend,  inach,
> iweiterkling
> ;die Frequenzverhältnisse
> iratio = 1.08284091791636825817 ; 11te Wurzel aus 12/5
> ifundamental = icps
> ipartialB =icps;Teilton 1
> ipartialC = icps*iratio^11 ;Teilton 2
> ;die einzelnen Teiltöne mit ihrer dazu gehörigen Hüllkurve
> a1    oscil   kenv1*iamp, ifundamental,    1
> a2    oscil   kenv2*iamp, ipartialB,     1
> a3    oscil   kenv3*iamp, ipartialC,     1
> aton = a1+a2+a3
>
> outs aton, aton
> gasend1 = gasend1+aton
> gasend2 = gasend2+aton
>     endin
>   instr 2 ;RECORDS ALL SOUND
> ;RECORD A Stereo 16 BIT SOUND FILE
> fout    "dezimengong.wav", 4, gasend1, gasend2
> ;CLEAR GLOBAL VARIABLE (I.E. ASSIGN IT TO ZERO)
> gasend1 = 0
> gasend2 = 0
> endin
>
> </CsInstruments>
> ; die Partiturereignisse werden definiert
> <CsScore>
> f1  0   8193  10   1
> f 10  0 256 -23 "../skalen/kleinedezimedurch11.cps"
> t 0 30 ; keine Ahnung, was das heißt
> i1   0    3600
> i2   0    3600
>
> </CsScore>
> </CsoundSynthesizer>
>
>
>
> 2009/5/2 Andres Cabrera <mantaraya36@gmail.com>
>>
>> You're almost there:
>>
>> rtjack: period size (-b) must be an integer multiple of ksmps
>>
>> add a -b vaue that is an integer multiple of ksmps.
>>
>> Cheers,
>> Andrés
>>
>> On Sat, May 2, 2009 at 11:08 AM, Stefan Thomas
>> <kontrapunktstefan@googlemail.com> wrote:
>> > Dear community,
>> > I guess I made a little succes.
>> > When I run in the terminal
>> > jackd -d freebob
>> > I get:
>> > LibFreeBoB ERR: Dropped packets on connection 1
>> > But it does'nt stop.
>> > If I run
>> > csound -+rtaudio=jack -i adc -o dac drum.orc drum.sco
>> > I get:
>> > virtual_keyboard real time MIDI plugin for Csound
>> > PortMIDI real time MIDI plugin for Csound
>> > PortAudio real-time audio module for Csound
>> > 0dBFS level = 32768.0
>> > Csound version 5.08 (double samples) Apr 14 2009
>> > libsndfile-1.0.17
>> > orchname:  drum.orc
>> > scorename: drum.sco
>> > rtaudio: JACK module enabled
>> > rtmidi: PortMIDI module enabled
>> > orch compiler:
>> > 35 lines read
>> >         instr   1
>> > Elapsed time at end of orchestra compile: real: 0.015s, CPU: 0.000s
>> > sorting score ...
>> >         ... done
>> > Elapsed time at end of score sort: real: 0.020s, CPU: 0.010s
>> > Csound version 5.08 (double samples) Apr 14 2009
>> > 0dBFS level = 32768.0
>> > orch now loaded
>> > audio buffered in 256 sample-frame blocks
>> > reading 512-byte blks of shorts from adc (RAW)
>> >  *** rtjack: period size (-b) must be an integer multiple of ksmps
>> > inactive allocs returned to freespace
>> > end of score.              overall amps:      0.0
>> >            overall samples out of range:        0
>> > 0 errors in performance
>> > Elapsed time at end of performance: real: 0.027s, CPU: 0.010s
>> > But I still do not hear anything.
>> >
>> > 2009/4/29 Andres Cabrera <mantaraya36@gmail.com>
>> >>
>> >> On Csound just use:
>> >>  -+rtaudio=jack -iadc -odac
>> >>
>> >> This will create the jack ports and receive/send audio through them.
>> >> You can also autoconnect jack ports from Csound using
>> >>
>> >> -+jack_inportname=[input port name prefix], -+jack_outportname=[output
>> >> port name prefix]
>> >>
>> >> Cheers,
>> >> Andrés
>> >>
>> >> On Wed, Apr 29, 2009 at 7:08 AM, Olivier Baudouin
>> >> <olivierbaudouin@gmail.com> wrote:
>> >> > If jack works fine with Csound, it's OK. Now, you have to refer to
>> >> > each
>> >> > software documentation (with Mplayer, just turn the audio setting to
>> >> > jack...).
>> >> >
>> >> > Olivier.
>> >> >
>> >> > Andres Cabrera a écrit :
>> >> >
>> >> > Yes, with module "jack" -+rtaudio=jack.
>> >> >
>> >> > Cheers,
>> >> > Andrés
>> >> >
>> >> >
>> >> > On Wed, Apr 29, 2009 at 3:01 AM, Olivier Baudouin
>> >> > <olivierbaudouin@gmail.com> wrote:
>> >> >
>> >> >
>> >> > First, does Jack work with Csound?
>> >> >
>> >> > Olivier.
>> >> >
>> >> > 2009/4/28 Stefan Thomas <kontrapunktstefan@googlemail.com>
>> >> >
>> >> >
>> >> > Sorry, maybee I'm not intelligent enough, but I'm not able to hear
>> >> > anything on my edirol fa66.
>> >> > I tried it with playing an mp3-file with mplayer, but I always hear
>> >> > sound
>> >> > via the internal soundvard, not via the external!
>> >> >
>> >> > 2009/4/28 Olivier Baudouin <olivierbaudouin@gmail.com>
>> >> >
>> >> >
>> >> > "Settings" in qjacktctl for an EDIROL FA-66 (FA-101):
>> >> >
>> >> > driver : freebob
>> >> > realtime : yes (see 'libpam' on
>> >> > http://pkg-freebob.alioth.debian.org/lowlat.html)
>> >> > frames/period : 1024
>> >> > sample rate : 48000 (or 44100, or others... ; don't forgot to restart
>> >> > your FA-66 when you turn the knob "sample rate")
>> >> > periods/buffer : 3
>> >> > interface : default
>> >> >
>> >> > Olivier.
>> >> >
>> >> >
>> >> > Stefan Thomas a écrit :
>> >> >
>> >> > Dear Oliver,
>> >> > thanks! I'm a little confused now: I've seen, in the terminal, that
>> >> > jack
>> >> > is not installed on my system.
>> >> > But, on the kde menu, there is the program jack-control. This one I
>> >> > can
>> >> > start and I can choose ffado or freebob among others as driver. How
>> >> > can
>> >> > this
>> >> > be possible?
>> >> >
>> >> > 2009/4/28 Olivier Baudouin <olivierbaudouin@gmail.com>:
>> >> >
>> >> >
>> >> > You should try freebob instead of ffado (in developement, currently
>> >> > slower
>> >> > than freebob). What are your other jack settings (realtime etc.) ?
>> >> >
>> >> > Olivier B.
>> >> >
>> >> > Stefan Thomas a écrit :
>> >> >
>> >> >
>> >> > Dear community,
>> >> > does someone have experiences with the edirol fa-66 on Ubuntu?
>> >> > It is an external firewire soundcard. I have also intalled the ffado
>> >> > mixer, which is able to recorgnize the soundcard, but I don't know
>> >> > how
>> >> > to get it to work with csound.
>> >> > Does someone know, how this can be done?
>> >> >
>> >> >
>> >> > Send bugs reports to this list.
>> >> > To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> > "unsubscribe
>> >> > csound"
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > Send bugs reports to this list.
>> >> > To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> > "unsubscribe
>> >> > csound"
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >>
>> >>
>> >> Andrés
>> >>
>> >>
>> >> Send bugs reports to this list.
>> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> "unsubscribe
>> >> csound"
>> >
>>
>>
>>
>> --
>>
>>
>> Andrés
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>



--


Andrés


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"