Csound Csound-dev Csound-tekno Search About

Csound on RPi 3: how big is latency?

Date2016-11-06 09:25
FromAnton Kholomiov
SubjectCsound on RPi 3: how big is latency?
What's your experience with RPi 3. Is the latency acceptable
for RT-performance. Is it possible to use RPi as a synth or drum machine?

Cheeers,
Anton
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-11-06 11:35
FromRichard
SubjectRe: Csound on RPi 3: how big is latency?

I do not own a Pi 3, only some Pi 2's.
Here are some tips to tweak the Pi's audio performance:

http://wiki.linuxaudio.org/wiki/raspberrypi

You can certainly use the Pi with csound as a synth or drum machine. You could use the GM soundfont banks with the fluid opcodes for the drums and synths, or use a combination of csound instruments/fluid opcodes.

Richard


On 06/11/16 10:25, Anton Kholomiov wrote:
What's your experience with RPi 3. Is the latency acceptable
for RT-performance. Is it possible to use RPi as a synth or drum machine?

Cheeers,
Anton
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Date2016-11-06 19:27
FromPaul Batchelor
SubjectRe: Csound on RPi 3: how big is latency?
It's definitely possible.

I haven't measured it, but I've gotten surprisingly low latency using JACK and one of those Behringer USB audio interfaces. The tradeoff for high-responsiveness is a very poor sampling rate and being pretty limited with what you can do DSP-wise. In most cases, however, I can typically find a good balance between latency and CPU headroom. I just played around with some of the audio settings until things seemed to stop clicking.

-P

On Sun, Nov 6, 2016 at 3:35 AM, Richard <zappfinger@gmail.com> wrote:

I do not own a Pi 3, only some Pi 2's.
Here are some tips to tweak the Pi's audio performance:

http://wiki.linuxaudio.org/wiki/raspberrypi

You can certainly use the Pi with csound as a synth or drum machine. You could use the GM soundfont banks with the fluid opcodes for the drums and synths, or use a combination of csound instruments/fluid opcodes.

Richard


On 06/11/16 10:25, Anton Kholomiov wrote:
What's your experience with RPi 3. Is the latency acceptable
for RT-performance. Is it possible to use RPi as a synth or drum machine?

Cheeers,
Anton
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-11-06 19:55
FromAnton Kholomiov
SubjectRe: Csound on RPi 3: how big is latency?
Thanks for replies/ The performance for laptop is surprisingly good even on built in audiocard.
So I get from replies that latency can be acceptable but you have to be prepared to use
simplified instruments.. 

2016-11-06 22:27 GMT+03:00 Paul Batchelor <ralphbluecoat@gmail.com>:
It's definitely possible.

I haven't measured it, but I've gotten surprisingly low latency using JACK and one of those Behringer USB audio interfaces. The tradeoff for high-responsiveness is a very poor sampling rate and being pretty limited with what you can do DSP-wise. In most cases, however, I can typically find a good balance between latency and CPU headroom. I just played around with some of the audio settings until things seemed to stop clicking.

-P


On Sun, Nov 6, 2016 at 3:35 AM, Richard <zappfinger@gmail.com> wrote:

I do not own a Pi 3, only some Pi 2's.
Here are some tips to tweak the Pi's audio performance:

http://wiki.linuxaudio.org/wiki/raspberrypi

You can certainly use the Pi with csound as a synth or drum machine. You could use the GM soundfont banks with the fluid opcodes for the drums and synths, or use a combination of csound instruments/fluid opcodes.

Richard


On 06/11/16 10:25, Anton Kholomiov wrote:
What's your experience with RPi 3. Is the latency acceptable
for RT-performance. Is it possible to use RPi as a synth or drum machine?

Cheeers,
Anton
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-11-06 20:25
FromMichael Gogins
SubjectRe: Csound on RPi 3: how big is latency?
Please note, using a-rate envelopes is significantly more efficient
than simply setting ksmps to 1. You can run at ksmps = 15 or so with
a-rate envelopes to get quality almost as high as with ksmps = 1 but
runs much faster. For even higher ksmps one could use sample-accurate
scheduling also.

Regards,
Mike

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Sun, Nov 6, 2016 at 2:55 PM, Anton Kholomiov
 wrote:
> Thanks for replies/ The performance for laptop is surprisingly good even on
> built in audiocard.
> So I get from replies that latency can be acceptable but you have to be
> prepared to use
> simplified instruments..
>
> 2016-11-06 22:27 GMT+03:00 Paul Batchelor :
>>
>> It's definitely possible.
>>
>> I haven't measured it, but I've gotten surprisingly low latency using JACK
>> and one of those Behringer USB audio interfaces. The tradeoff for
>> high-responsiveness is a very poor sampling rate and being pretty limited
>> with what you can do DSP-wise. In most cases, however, I can typically find
>> a good balance between latency and CPU headroom. I just played around with
>> some of the audio settings until things seemed to stop clicking.
>>
>> -P
>>
>>
>> On Sun, Nov 6, 2016 at 3:35 AM, Richard  wrote:
>>>
>>> I do not own a Pi 3, only some Pi 2's.
>>> Here are some tips to tweak the Pi's audio performance:
>>>
>>> http://wiki.linuxaudio.org/wiki/raspberrypi
>>>
>>> You can certainly use the Pi with csound as a synth or drum machine. You
>>> could use the GM soundfont banks with the fluid opcodes for the drums and
>>> synths, or use a combination of csound instruments/fluid opcodes.
>>>
>>> Richard
>>>
>>>
>>> On 06/11/16 10:25, Anton Kholomiov wrote:
>>>
>>> What's your experience with RPi 3. Is the latency acceptable
>>> for RT-performance. Is it possible to use RPi as a synth or drum machine?
>>>
>>> Cheeers,
>>> Anton
>>> Csound mailing list Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>>> https://github.com/csound/csound/issues Discussions of bugs and features can
>>> be posted here
>>>
>>>
>>> Csound mailing list Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>>> https://github.com/csound/csound/issues Discussions of bugs and features can
>>> be posted here
>>
>>
>> Csound mailing list Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>> https://github.com/csound/csound/issues Discussions of bugs and features can
>> be posted here
>
>
> Csound mailing list Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> https://github.com/csound/csound/issues Discussions of bugs and features can
> be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-11-07 02:05
FromEmmett Palaima
SubjectRe: Csound on RPi 3: how big is latency?
Here is a audio hat that I have had a lot of success with (sounds great and it has both input and output, which unfortunately is something of a rarity in codec hats for the Pi): https://www.amazon.com/Audio-Injector-LYSB01HBC8CJ0-ELECTRNCS-Sound-Raspberry/dp/B01HBC8CJ0

It also has the advantage of actually being cheaper than the Behringer USB, and most other USB audio codecs you can find. Definitely worth investing in if you're trying to run Csound on the Pi. You can probably get away with the USB codec for basic applications, but if you try to do any kind of complex signal processing the latency will start becoming quite noticeable. 

On Sun, Nov 6, 2016 at 3:25 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
Please note, using a-rate envelopes is significantly more efficient
than simply setting ksmps to 1. You can run at ksmps = 15 or so with
a-rate envelopes to get quality almost as high as with ksmps = 1 but
runs much faster. For even higher ksmps one could use sample-accurate
scheduling also.

Regards,
Mike

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Sun, Nov 6, 2016 at 2:55 PM, Anton Kholomiov
<anton.kholomiov@gmail.com> wrote:
> Thanks for replies/ The performance for laptop is surprisingly good even on
> built in audiocard.
> So I get from replies that latency can be acceptable but you have to be
> prepared to use
> simplified instruments..
>
> 2016-11-06 22:27 GMT+03:00 Paul Batchelor <ralphbluecoat@gmail.com>:
>>
>> It's definitely possible.
>>
>> I haven't measured it, but I've gotten surprisingly low latency using JACK
>> and one of those Behringer USB audio interfaces. The tradeoff for
>> high-responsiveness is a very poor sampling rate and being pretty limited
>> with what you can do DSP-wise. In most cases, however, I can typically find
>> a good balance between latency and CPU headroom. I just played around with
>> some of the audio settings until things seemed to stop clicking.
>>
>> -P
>>
>>
>> On Sun, Nov 6, 2016 at 3:35 AM, Richard <zappfinger@gmail.com> wrote:
>>>
>>> I do not own a Pi 3, only some Pi 2's.
>>> Here are some tips to tweak the Pi's audio performance:
>>>
>>> http://wiki.linuxaudio.org/wiki/raspberrypi
>>>
>>> You can certainly use the Pi with csound as a synth or drum machine. You
>>> could use the GM soundfont banks with the fluid opcodes for the drums and
>>> synths, or use a combination of csound instruments/fluid opcodes.
>>>
>>> Richard
>>>
>>>
>>> On 06/11/16 10:25, Anton Kholomiov wrote:
>>>
>>> What's your experience with RPi 3. Is the latency acceptable
>>> for RT-performance. Is it possible to use RPi as a synth or drum machine?
>>>
>>> Cheeers,
>>> Anton
>>> Csound mailing list Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>>> https://github.com/csound/csound/issues Discussions of bugs and features can
>>> be posted here
>>>
>>>
>>> Csound mailing list Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>>> https://github.com/csound/csound/issues Discussions of bugs and features can
>>> be posted here
>>
>>
>> Csound mailing list Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>> https://github.com/csound/csound/issues Discussions of bugs and features can
>> be posted here
>
>
> Csound mailing list Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> https://github.com/csound/csound/issues Discussions of bugs and features can
> be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-11-07 05:24
FromAnton Kholomiov
SubjectRe: Csound on RPi 3: how big is latency?
@Emmett

Thanks for the tip! it's first time I see sound card for Pi with both inputs and outputs

2016-11-07 5:05 GMT+03:00 Emmett Palaima <epalaima@berklee.edu>:
Here is a audio hat that I have had a lot of success with (sounds great and it has both input and output, which unfortunately is something of a rarity in codec hats for the Pi): https://www.amazon.com/Audio-Injector-LYSB01HBC8CJ0-ELECTRNCS-Sound-Raspberry/dp/B01HBC8CJ0

It also has the advantage of actually being cheaper than the Behringer USB, and most other USB audio codecs you can find. Definitely worth investing in if you're trying to run Csound on the Pi. You can probably get away with the USB codec for basic applications, but if you try to do any kind of complex signal processing the latency will start becoming quite noticeable. 

On Sun, Nov 6, 2016 at 3:25 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
Please note, using a-rate envelopes is significantly more efficient
than simply setting ksmps to 1. You can run at ksmps = 15 or so with
a-rate envelopes to get quality almost as high as with ksmps = 1 but
runs much faster. For even higher ksmps one could use sample-accurate
scheduling also.

Regards,
Mike

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Sun, Nov 6, 2016 at 2:55 PM, Anton Kholomiov
<anton.kholomiov@gmail.com> wrote:
> Thanks for replies/ The performance for laptop is surprisingly good even on
> built in audiocard.
> So I get from replies that latency can be acceptable but you have to be
> prepared to use
> simplified instruments..
>
> 2016-11-06 22:27 GMT+03:00 Paul Batchelor <ralphbluecoat@gmail.com>:
>>
>> It's definitely possible.
>>
>> I haven't measured it, but I've gotten surprisingly low latency using JACK
>> and one of those Behringer USB audio interfaces. The tradeoff for
>> high-responsiveness is a very poor sampling rate and being pretty limited
>> with what you can do DSP-wise. In most cases, however, I can typically find
>> a good balance between latency and CPU headroom. I just played around with
>> some of the audio settings until things seemed to stop clicking.
>>
>> -P
>>
>>
>> On Sun, Nov 6, 2016 at 3:35 AM, Richard <zappfinger@gmail.com> wrote:
>>>
>>> I do not own a Pi 3, only some Pi 2's.
>>> Here are some tips to tweak the Pi's audio performance:
>>>
>>> http://wiki.linuxaudio.org/wiki/raspberrypi
>>>
>>> You can certainly use the Pi with csound as a synth or drum machine. You
>>> could use the GM soundfont banks with the fluid opcodes for the drums and
>>> synths, or use a combination of csound instruments/fluid opcodes.
>>>
>>> Richard
>>>
>>>
>>> On 06/11/16 10:25, Anton Kholomiov wrote:
>>>
>>> What's your experience with RPi 3. Is the latency acceptable
>>> for RT-performance. Is it possible to use RPi as a synth or drum machine?
>>>
>>> Cheeers,
>>> Anton
>>> Csound mailing list Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>>> https://github.com/csound/csound/issues Discussions of bugs and features can
>>> be posted here
>>>
>>>
>>> Csound mailing list Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>>> https://github.com/csound/csound/issues Discussions of bugs and features can
>>> be posted here
>>
>>
>> Csound mailing list Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>> https://github.com/csound/csound/issues Discussions of bugs and features can
>> be posted here
>
>
> Csound mailing list Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> https://github.com/csound/csound/issues Discussions of bugs and features can
> be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-11-07 05:44
FromAnton Kholomiov
SubjectRe: Csound on RPi 3: how big is latency?
@Emmett

I can not find out from the specs: what model of Pi does audio injector support?

2016-11-07 8:24 GMT+03:00 Anton Kholomiov <anton.kholomiov@gmail.com>:
@Emmett

Thanks for the tip! it's first time I see sound card for Pi with both inputs and outputs

2016-11-07 5:05 GMT+03:00 Emmett Palaima <epalaima@berklee.edu>:
Here is a audio hat that I have had a lot of success with (sounds great and it has both input and output, which unfortunately is something of a rarity in codec hats for the Pi): https://www.amazon.com/Audio-Injector-LYSB01HBC8CJ0-ELECTRNCS-Sound-Raspberry/dp/B01HBC8CJ0

It also has the advantage of actually being cheaper than the Behringer USB, and most other USB audio codecs you can find. Definitely worth investing in if you're trying to run Csound on the Pi. You can probably get away with the USB codec for basic applications, but if you try to do any kind of complex signal processing the latency will start becoming quite noticeable. 

On Sun, Nov 6, 2016 at 3:25 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
Please note, using a-rate envelopes is significantly more efficient
than simply setting ksmps to 1. You can run at ksmps = 15 or so with
a-rate envelopes to get quality almost as high as with ksmps = 1 but
runs much faster. For even higher ksmps one could use sample-accurate
scheduling also.

Regards,
Mike

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Sun, Nov 6, 2016 at 2:55 PM, Anton Kholomiov
<anton.kholomiov@gmail.com> wrote:
> Thanks for replies/ The performance for laptop is surprisingly good even on
> built in audiocard.
> So I get from replies that latency can be acceptable but you have to be
> prepared to use
> simplified instruments..
>
> 2016-11-06 22:27 GMT+03:00 Paul Batchelor <ralphbluecoat@gmail.com>:
>>
>> It's definitely possible.
>>
>> I haven't measured it, but I've gotten surprisingly low latency using JACK
>> and one of those Behringer USB audio interfaces. The tradeoff for
>> high-responsiveness is a very poor sampling rate and being pretty limited
>> with what you can do DSP-wise. In most cases, however, I can typically find
>> a good balance between latency and CPU headroom. I just played around with
>> some of the audio settings until things seemed to stop clicking.
>>
>> -P
>>
>>
>> On Sun, Nov 6, 2016 at 3:35 AM, Richard <zappfinger@gmail.com> wrote:
>>>
>>> I do not own a Pi 3, only some Pi 2's.
>>> Here are some tips to tweak the Pi's audio performance:
>>>
>>> http://wiki.linuxaudio.org/wiki/raspberrypi
>>>
>>> You can certainly use the Pi with csound as a synth or drum machine. You
>>> could use the GM soundfont banks with the fluid opcodes for the drums and
>>> synths, or use a combination of csound instruments/fluid opcodes.
>>>
>>> Richard
>>>
>>>
>>> On 06/11/16 10:25, Anton Kholomiov wrote:
>>>
>>> What's your experience with RPi 3. Is the latency acceptable
>>> for RT-performance. Is it possible to use RPi as a synth or drum machine?
>>>
>>> Cheeers,
>>> Anton
>>> Csound mailing list Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>>> https://github.com/csound/csound/issues Discussions of bugs and features can
>>> be posted here
>>>
>>>
>>> Csound mailing list Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>>> https://github.com/csound/csound/issues Discussions of bugs and features can
>>> be posted here
>>
>>
>> Csound mailing list Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>> https://github.com/csound/csound/issues Discussions of bugs and features can
>> be posted here
>
>
> Csound mailing list Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> https://github.com/csound/csound/issues Discussions of bugs and features can
> be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-11-07 07:38
FromEmmett Palaima
SubjectRe: Csound on RPi 3: how big is latency?
It works with the Pi 2 or 3 model B. Anything with that pinout should be supported as long as you have the latest kernel. 


If you want more info I would recommend contacting the guy that makes them. He was super responsive and helpful with all my questions.

On Mon, Nov 7, 2016 at 12:44 AM, Anton Kholomiov <anton.kholomiov@gmail.com> wrote:
@Emmett

I can not find out from the specs: what model of Pi does audio injector support?

2016-11-07 8:24 GMT+03:00 Anton Kholomiov <anton.kholomiov@gmail.com>:
@Emmett

Thanks for the tip! it's first time I see sound card for Pi with both inputs and outputs

2016-11-07 5:05 GMT+03:00 Emmett Palaima <epalaima@berklee.edu>:
Here is a audio hat that I have had a lot of success with (sounds great and it has both input and output, which unfortunately is something of a rarity in codec hats for the Pi): https://www.amazon.com/Audio-Injector-LYSB01HBC8CJ0-ELECTRNCS-Sound-Raspberry/dp/B01HBC8CJ0

It also has the advantage of actually being cheaper than the Behringer USB, and most other USB audio codecs you can find. Definitely worth investing in if you're trying to run Csound on the Pi. You can probably get away with the USB codec for basic applications, but if you try to do any kind of complex signal processing the latency will start becoming quite noticeable. 

On Sun, Nov 6, 2016 at 3:25 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
Please note, using a-rate envelopes is significantly more efficient
than simply setting ksmps to 1. You can run at ksmps = 15 or so with
a-rate envelopes to get quality almost as high as with ksmps = 1 but
runs much faster. For even higher ksmps one could use sample-accurate
scheduling also.

Regards,
Mike

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Sun, Nov 6, 2016 at 2:55 PM, Anton Kholomiov
<anton.kholomiov@gmail.com> wrote:
> Thanks for replies/ The performance for laptop is surprisingly good even on
> built in audiocard.
> So I get from replies that latency can be acceptable but you have to be
> prepared to use
> simplified instruments..
>
> 2016-11-06 22:27 GMT+03:00 Paul Batchelor <ralphbluecoat@gmail.com>:
>>
>> It's definitely possible.
>>
>> I haven't measured it, but I've gotten surprisingly low latency using JACK
>> and one of those Behringer USB audio interfaces. The tradeoff for
>> high-responsiveness is a very poor sampling rate and being pretty limited
>> with what you can do DSP-wise. In most cases, however, I can typically find
>> a good balance between latency and CPU headroom. I just played around with
>> some of the audio settings until things seemed to stop clicking.
>>
>> -P
>>
>>
>> On Sun, Nov 6, 2016 at 3:35 AM, Richard <zappfinger@gmail.com> wrote:
>>>
>>> I do not own a Pi 3, only some Pi 2's.
>>> Here are some tips to tweak the Pi's audio performance:
>>>
>>> http://wiki.linuxaudio.org/wiki/raspberrypi
>>>
>>> You can certainly use the Pi with csound as a synth or drum machine. You
>>> could use the GM soundfont banks with the fluid opcodes for the drums and
>>> synths, or use a combination of csound instruments/fluid opcodes.
>>>
>>> Richard
>>>
>>>
>>> On 06/11/16 10:25, Anton Kholomiov wrote:
>>>
>>> What's your experience with RPi 3. Is the latency acceptable
>>> for RT-performance. Is it possible to use RPi as a synth or drum machine?
>>>
>>> Cheeers,
>>> Anton
>>> Csound mailing list Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>>> https://github.com/csound/csound/issues Discussions of bugs and features can
>>> be posted here
>>>
>>>
>>> Csound mailing list Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>>> https://github.com/csound/csound/issues Discussions of bugs and features can
>>> be posted here
>>
>>
>> Csound mailing list Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>> https://github.com/csound/csound/issues Discussions of bugs and features can
>> be posted here
>
>
> Csound mailing list Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> https://github.com/csound/csound/issues Discussions of bugs and features can
> be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-11-07 18:39
FromBernt Isak Wærstad
SubjectRe: Csound on RPi 3: how big is latency?
You can definitely use RPi 3 for real time purposes. Of course it's a bit more limited than a normal laptop, but if you stay away from the most heavy spectral or granular stuff, you can have it do quite a bit. You can see example here: https://vimeo.com/183101272. Everything used in that demo is available in a git repo: https://github.com/cosmoproject/cosmo-dsp and documentation of how it's set up is here: https://cosmoproject.github.io/docs/#csound

For the COSMO Project, we've both used the Behringer UCA 222 sound cards and more recently the Cirrus Logic Audio Card (https://www.element14.com/community/community/raspberry-pi/raspberry-pi-accessories/cirrus_logic_audio_card) which looks similar to the Audio Injector that Emmett posted. It needs a real time kernel to run, but then you get much lower latency than USB cards. We have a ready-made image of Raspbian with the real time kernel and Csound already installed (there is a link on our page: http://cosmoproject.github.io/links/). Another nice feature of this image, is that it's read-only except when you log in via ssh (and turn back into read-only once you log out), so it should reduce the risk of corrupted sd cards a lot. 

You could also check out the paper Alex and I had a paper at this years NIME - "Csound Instruments On Stage": http://www.nime.org/proceedings/2016/nime2016_paper0057.pdf 

Hope this helps!

On 7 November 2016 at 08:38, Emmett Palaima <epalaima@berklee.edu> wrote:
It works with the Pi 2 or 3 model B. Anything with that pinout should be supported as long as you have the latest kernel. 


If you want more info I would recommend contacting the guy that makes them. He was super responsive and helpful with all my questions.

On Mon, Nov 7, 2016 at 12:44 AM, Anton Kholomiov <anton.kholomiov@gmail.com> wrote:
@Emmett

I can not find out from the specs: what model of Pi does audio injector support?

2016-11-07 8:24 GMT+03:00 Anton Kholomiov <anton.kholomiov@gmail.com>:
@Emmett

Thanks for the tip! it's first time I see sound card for Pi with both inputs and outputs

2016-11-07 5:05 GMT+03:00 Emmett Palaima <epalaima@berklee.edu>:
Here is a audio hat that I have had a lot of success with (sounds great and it has both input and output, which unfortunately is something of a rarity in codec hats for the Pi): https://www.amazon.com/Audio-Injector-LYSB01HBC8CJ0-ELECTRNCS-Sound-Raspberry/dp/B01HBC8CJ0

It also has the advantage of actually being cheaper than the Behringer USB, and most other USB audio codecs you can find. Definitely worth investing in if you're trying to run Csound on the Pi. You can probably get away with the USB codec for basic applications, but if you try to do any kind of complex signal processing the latency will start becoming quite noticeable. 

On Sun, Nov 6, 2016 at 3:25 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
Please note, using a-rate envelopes is significantly more efficient
than simply setting ksmps to 1. You can run at ksmps = 15 or so with
a-rate envelopes to get quality almost as high as with ksmps = 1 but
runs much faster. For even higher ksmps one could use sample-accurate
scheduling also.

Regards,
Mike

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Sun, Nov 6, 2016 at 2:55 PM, Anton Kholomiov
<anton.kholomiov@gmail.com> wrote:
> Thanks for replies/ The performance for laptop is surprisingly good even on
> built in audiocard.
> So I get from replies that latency can be acceptable but you have to be
> prepared to use
> simplified instruments..
>
> 2016-11-06 22:27 GMT+03:00 Paul Batchelor <ralphbluecoat@gmail.com>:
>>
>> It's definitely possible.
>>
>> I haven't measured it, but I've gotten surprisingly low latency using JACK
>> and one of those Behringer USB audio interfaces. The tradeoff for
>> high-responsiveness is a very poor sampling rate and being pretty limited
>> with what you can do DSP-wise. In most cases, however, I can typically find
>> a good balance between latency and CPU headroom. I just played around with
>> some of the audio settings until things seemed to stop clicking.
>>
>> -P
>>
>>
>> On Sun, Nov 6, 2016 at 3:35 AM, Richard <zappfinger@gmail.com> wrote:
>>>
>>> I do not own a Pi 3, only some Pi 2's.
>>> Here are some tips to tweak the Pi's audio performance:
>>>
>>> http://wiki.linuxaudio.org/wiki/raspberrypi
>>>
>>> You can certainly use the Pi with csound as a synth or drum machine. You
>>> could use the GM soundfont banks with the fluid opcodes for the drums and
>>> synths, or use a combination of csound instruments/fluid opcodes.
>>>
>>> Richard
>>>
>>>
>>> On 06/11/16 10:25, Anton Kholomiov wrote:
>>>
>>> What's your experience with RPi 3. Is the latency acceptable
>>> for RT-performance. Is it possible to use RPi as a synth or drum machine?
>>>
>>> Cheeers,
>>> Anton
>>> Csound mailing list Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>>> https://github.com/csound/csound/issues Discussions of bugs and features can
>>> be posted here
>>>
>>>
>>> Csound mailing list Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>>> https://github.com/csound/csound/issues Discussions of bugs and features can
>>> be posted here
>>
>>
>> Csound mailing list Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>> https://github.com/csound/csound/issues Discussions of bugs and features can
>> be posted here
>
>
> Csound mailing list Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> https://github.com/csound/csound/issues Discussions of bugs and features can
> be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here



--
Mvh.

Bernt Isak Wærstad


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-11-13 17:31
FromTarmo Johannes
SubjectRe: Csound on RPi 3: how big is latency?
Wow!

Thanks for preoaring the Csound ready realtime image! I will definitely try it 
out!

Thanks,
tarmo

On Monday 07 November 2016 19:39:39 you wrote:
> You can definitely use RPi 3 for real time purposes. Of course it's a bit
> more limited than a normal laptop, but if you stay away from the most heavy
> spectral or granular stuff, you can have it do quite a bit. You can see
> example here: https://vimeo.com/183101272. Everything used in that demo is
> available in a git repo: https://github.com/cosmoproject/cosmo-dsp and
> documentation of how it's set up is here: https://cosmoproject.
> github.io/docs/#csound
> 
> For the COSMO Project, we've both used the Behringer UCA 222 sound cards
> and more recently the Cirrus Logic Audio Card (https://www.element14.com/
> community/community/raspberry-pi/raspberry-pi-accessories/
> cirrus_logic_audio_card) which looks similar to the Audio Injector that
> Emmett posted. It needs a real time kernel to run, but then you get much
> lower latency than USB cards. We have a ready-made image of Raspbian with
> the real time kernel and Csound already installed (there is a link on our
> page: http://cosmoproject.github.io/links/). Another nice feature of this
> image, is that it's read-only except when you log in via ssh (and turn back
> into read-only once you log out), so it should reduce the risk of corrupted
> sd cards a lot.
> 
> You could also check out the paper Alex and I had a paper at this years
> NIME - "Csound Instruments On Stage":
> http://www.nime.org/proceedings/2016/nime2016_paper0057.pdf
> 
> Hope this helps!
> 
> On 7 November 2016 at 08:38, Emmett Palaima  wrote:
> > It works with the Pi 2 or 3 model B. Anything with that pinout should be
> > supported as long as you have the latest kernel.
> > 
> > Here is the website: http://www.audioinjector.net/#!/rpi-hat
> > 
> > If you want more info I would recommend contacting the guy that makes
> > them. He was super responsive and helpful with all my questions.
> > 
> > On Mon, Nov 7, 2016 at 12:44 AM, Anton Kholomiov <
> > 
> > anton.kholomiov@gmail.com> wrote:
> >> @Emmett
> >> 
> >> I can not find out from the specs: what model of Pi does audio injector
> >> support?
> >> 
> >> 2016-11-07 8:24 GMT+03:00 Anton Kholomiov :
> >>> @Emmett
> >>> 
> >>> Thanks for the tip! it's first time I see sound card for Pi with both
> >>> inputs and outputs
> >>> 
> >>> 2016-11-07 5:05 GMT+03:00 Emmett Palaima :
> >>>> Here is a audio hat that I have had a lot of success with (sounds great
> >>>> and it has both input and output, which unfortunately is something of a
> >>>> rarity in codec hats for the Pi): https://www.amazon.com/Au
> >>>> dio-Injector-LYSB01HBC8CJ0-ELECTRNCS-Sound-Raspberry/dp/B01HBC8CJ0
> >>>> 
> >>>> It also has the advantage of actually being cheaper than the Behringer
> >>>> USB, and most other USB audio codecs you can find. Definitely worth
> >>>> investing in if you're trying to run Csound on the Pi. You can probably
> >>>> get
> >>>> away with the USB codec for basic applications, but if you try to do
> >>>> any
> >>>> kind of complex signal processing the latency will start becoming quite
> >>>> noticeable.
> >>>> 
> >>>> On Sun, Nov 6, 2016 at 3:25 PM, Michael Gogins <
> >>>> 
> >>>> michael.gogins@gmail.com> wrote:
> >>>>> Please note, using a-rate envelopes is significantly more efficient
> >>>>> than simply setting ksmps to 1. You can run at ksmps = 15 or so with
> >>>>> a-rate envelopes to get quality almost as high as with ksmps = 1 but
> >>>>> runs much faster. For even higher ksmps one could use sample-accurate
> >>>>> scheduling also.
> >>>>> 
> >>>>> Regards,
> >>>>> Mike
> >>>>> 
> >>>>> -----------------------------------------------------
> >>>>> Michael Gogins
> >>>>> Irreducible Productions
> >>>>> http://michaelgogins.tumblr.com
> >>>>> Michael dot Gogins at gmail dot com
> >>>>> 
> >>>>> 
> >>>>> On Sun, Nov 6, 2016 at 2:55 PM, Anton Kholomiov
> >>>>> 
> >>>>>  wrote:
> >>>>> > Thanks for replies/ The performance for laptop is surprisingly good
> >>>>> 
> >>>>> even on
> >>>>> 
> >>>>> > built in audiocard.
> >>>>> > So I get from replies that latency can be acceptable but you have to
> >>>>> 
> >>>>> be
> >>>>> 
> >>>>> > prepared to use
> >>>>> > simplified instruments..
> >>>>> > 
> >>>>> > 2016-11-06 22:27 GMT+03:00 Paul Batchelor :
> >>>>> >> It's definitely possible.
> >>>>> >> 
> >>>>> >> I haven't measured it, but I've gotten surprisingly low latency
> >>>>> 
> >>>>> using JACK
> >>>>> 
> >>>>> >> and one of those Behringer USB audio interfaces. The tradeoff for
> >>>>> >> high-responsiveness is a very poor sampling rate and being pretty
> >>>>> 
> >>>>> limited
> >>>>> 
> >>>>> >> with what you can do DSP-wise. In most cases, however, I can
> >>>>> 
> >>>>> typically find
> >>>>> 
> >>>>> >> a good balance between latency and CPU headroom. I just played
> >>>>> 
> >>>>> around with
> >>>>> 
> >>>>> >> some of the audio settings until things seemed to stop clicking.
> >>>>> >> 
> >>>>> >> -P
> >>>>> >> 
> >>>>> >> 
> >>>>> >> On Sun, Nov 6, 2016 at 3:35 AM, Richard 
> >>>>> 
> >>>>> wrote:
> >>>>> >>> I do not own a Pi 3, only some Pi 2's.
> >>>>> >>> Here are some tips to tweak the Pi's audio performance:
> >>>>> >>> 
> >>>>> >>> http://wiki.linuxaudio.org/wiki/raspberrypi
> >>>>> >>> 
> >>>>> >>> You can certainly use the Pi with csound as a synth or drum
> >>>>> 
> >>>>> machine. You
> >>>>> 
> >>>>> >>> could use the GM soundfont banks with the fluid opcodes for the
> >>>>> 
> >>>>> drums and
> >>>>> 
> >>>>> >>> synths, or use a combination of csound instruments/fluid opcodes.
> >>>>> >>> 
> >>>>> >>> Richard
> >>>>> >>> 
> >>>>> >>> 
> >>>>> >>> On 06/11/16 10:25, Anton Kholomiov wrote:
> >>>>> >>> 
> >>>>> >>> What's your experience with RPi 3. Is the latency acceptable
> >>>>> >>> for RT-performance. Is it possible to use RPi as a synth or drum
> >>>>> 
> >>>>> machine?
> >>>>> 
> >>>>> >>> Cheeers,
> >>>>> >>> Anton
> >>>>> >>> Csound mailing list Csound@listserv.heanet.ie
> >>>>> >>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports
> >>>>> 
> >>>>> to
> >>>>> 
> >>>>> >>> https://github.com/csound/csound/issues Discussions of bugs and
> >>>>> 
> >>>>> features can
> >>>>> 
> >>>>> >>> be posted here
> >>>>> >>> 
> >>>>> >>> 
> >>>>> >>> Csound mailing list Csound@listserv.heanet.ie
> >>>>> >>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports
> >>>>> 
> >>>>> to
> >>>>> 
> >>>>> >>> https://github.com/csound/csound/issues Discussions of bugs and
> >>>>> 
> >>>>> features can
> >>>>> 
> >>>>> >>> be posted here
> >>>>> >> 
> >>>>> >> Csound mailing list Csound@listserv.heanet.ie
> >>>>> >> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports
> >>>>> 
> >>>>> to
> >>>>> 
> >>>>> >> https://github.com/csound/csound/issues Discussions of bugs and
> >>>>> 
> >>>>> features can
> >>>>> 
> >>>>> >> be posted here
> >>>>> > 
> >>>>> > Csound mailing list Csound@listserv.heanet.ie
> >>>>> > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> >>>>> > https://github.com/csound/csound/issues Discussions of bugs and
> >>>>> 
> >>>>> features can
> >>>>> 
> >>>>> > be posted here
> >>>>> 
> >>>>> Csound mailing list
> >>>>> Csound@listserv.heanet.ie
> >>>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> >>>>> Send bugs reports to
> >>>>> 
> >>>>>         https://github.com/csound/csound/issues
> >>>>> 
> >>>>> Discussions of bugs and features can be posted here
> >>>> 
> >>>> Csound mailing list Csound@listserv.heanet.ie
> >>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> >>>> https://github.com/csound/csound/issues Discussions of bugs and
> >>>> features can be posted here
> >> 
> >> Csound mailing list Csound@listserv.heanet.ie
> >> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> >> https://github.com/csound/csound/issues Discussions of bugs and features
> >> can be posted here
> > 
> > Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/
> > cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/
> > csound/issues Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-11-14 16:58
FromBernt Isak Wærstad
SubjectRe: Csound on RPi 3: how big is latency?
Glad it can be of use to more people!

Should mention that there is bash script in the user folder called "startup.sh" that is set to run automatically when the Pi boots. This script is set to run our python script that interfaces Csound and our custom controller interface, so it should be changed to just run Csound directly if you want the auto-startup feature.

Would be nice to hear how it works for you :)

On 13 November 2016 at 18:31, Tarmo Johannes <tarmo.johannes@otsakool.edu.ee> wrote:
Wow!

Thanks for preoaring the Csound ready realtime image! I will definitely try it
out!

Thanks,
tarmo

On Monday 07 November 2016 19:39:39 you wrote:
> You can definitely use RPi 3 for real time purposes. Of course it's a bit
> more limited than a normal laptop, but if you stay away from the most heavy
> spectral or granular stuff, you can have it do quite a bit. You can see
> example here: https://vimeo.com/183101272. Everything used in that demo is
> available in a git repo: https://github.com/cosmoproject/cosmo-dsp and
> documentation of how it's set up is here: https://cosmoproject.
> github.io/docs/#csound
>
> For the COSMO Project, we've both used the Behringer UCA 222 sound cards
> and more recently the Cirrus Logic Audio Card (https://www.element14.com/
> community/community/raspberry-pi/raspberry-pi-accessories/
> cirrus_logic_audio_card) which looks similar to the Audio Injector that
> Emmett posted. It needs a real time kernel to run, but then you get much
> lower latency than USB cards. We have a ready-made image of Raspbian with
> the real time kernel and Csound already installed (there is a link on our
> page: http://cosmoproject.github.io/links/). Another nice feature of this
> image, is that it's read-only except when you log in via ssh (and turn back
> into read-only once you log out), so it should reduce the risk of corrupted
> sd cards a lot.
>
> You could also check out the paper Alex and I had a paper at this years
> NIME - "Csound Instruments On Stage":
> http://www.nime.org/proceedings/2016/nime2016_paper0057.pdf
>
> Hope this helps!
>
> On 7 November 2016 at 08:38, Emmett Palaima <epalaima@berklee.edu> wrote:
> > It works with the Pi 2 or 3 model B. Anything with that pinout should be
> > supported as long as you have the latest kernel.
> >
> > Here is the website: http://www.audioinjector.net/#!/rpi-hat
> >
> > If you want more info I would recommend contacting the guy that makes
> > them. He was super responsive and helpful with all my questions.
> >
> > On Mon, Nov 7, 2016 at 12:44 AM, Anton Kholomiov <
> >
> > anton.kholomiov@gmail.com> wrote:
> >> @Emmett
> >>
> >> I can not find out from the specs: what model of Pi does audio injector
> >> support?
> >>
> >> 2016-11-07 8:24 GMT+03:00 Anton Kholomiov <anton.kholomiov@gmail.com>:
> >>> @Emmett
> >>>
> >>> Thanks for the tip! it's first time I see sound card for Pi with both
> >>> inputs and outputs
> >>>
> >>> 2016-11-07 5:05 GMT+03:00 Emmett Palaima <epalaima@berklee.edu>:
> >>>> Here is a audio hat that I have had a lot of success with (sounds great
> >>>> and it has both input and output, which unfortunately is something of a
> >>>> rarity in codec hats for the Pi): https://www.amazon.com/Au
> >>>> dio-Injector-LYSB01HBC8CJ0-ELECTRNCS-Sound-Raspberry/dp/B01HBC8CJ0
> >>>>
> >>>> It also has the advantage of actually being cheaper than the Behringer
> >>>> USB, and most other USB audio codecs you can find. Definitely worth
> >>>> investing in if you're trying to run Csound on the Pi. You can probably
> >>>> get
> >>>> away with the USB codec for basic applications, but if you try to do
> >>>> any
> >>>> kind of complex signal processing the latency will start becoming quite
> >>>> noticeable.
> >>>>
> >>>> On Sun, Nov 6, 2016 at 3:25 PM, Michael Gogins <
> >>>>
> >>>> michael.gogins@gmail.com> wrote:
> >>>>> Please note, using a-rate envelopes is significantly more efficient
> >>>>> than simply setting ksmps to 1. You can run at ksmps = 15 or so with
> >>>>> a-rate envelopes to get quality almost as high as with ksmps = 1 but
> >>>>> runs much faster. For even higher ksmps one could use sample-accurate
> >>>>> scheduling also.
> >>>>>
> >>>>> Regards,
> >>>>> Mike
> >>>>>
> >>>>> -----------------------------------------------------
> >>>>> Michael Gogins
> >>>>> Irreducible Productions
> >>>>> http://michaelgogins.tumblr.com
> >>>>> Michael dot Gogins at gmail dot com
> >>>>>
> >>>>>
> >>>>> On Sun, Nov 6, 2016 at 2:55 PM, Anton Kholomiov
> >>>>>
> >>>>> <anton.kholomiov@gmail.com> wrote:
> >>>>> > Thanks for replies/ The performance for laptop is surprisingly good
> >>>>>
> >>>>> even on
> >>>>>
> >>>>> > built in audiocard.
> >>>>> > So I get from replies that latency can be acceptable but you have to
> >>>>>
> >>>>> be
> >>>>>
> >>>>> > prepared to use
> >>>>> > simplified instruments..
> >>>>> >
> >>>>> > 2016-11-06 22:27 GMT+03:00 Paul Batchelor <ralphbluecoat@gmail.com>:
> >>>>> >> It's definitely possible.
> >>>>> >>
> >>>>> >> I haven't measured it, but I've gotten surprisingly low latency
> >>>>>
> >>>>> using JACK
> >>>>>
> >>>>> >> and one of those Behringer USB audio interfaces. The tradeoff for
> >>>>> >> high-responsiveness is a very poor sampling rate and being pretty
> >>>>>
> >>>>> limited
> >>>>>
> >>>>> >> with what you can do DSP-wise. In most cases, however, I can
> >>>>>
> >>>>> typically find
> >>>>>
> >>>>> >> a good balance between latency and CPU headroom. I just played
> >>>>>
> >>>>> around with
> >>>>>
> >>>>> >> some of the audio settings until things seemed to stop clicking.
> >>>>> >>
> >>>>> >> -P
> >>>>> >>
> >>>>> >>
> >>>>> >> On Sun, Nov 6, 2016 at 3:35 AM, Richard <zappfinger@gmail.com>
> >>>>>
> >>>>> wrote:
> >>>>> >>> I do not own a Pi 3, only some Pi 2's.
> >>>>> >>> Here are some tips to tweak the Pi's audio performance:
> >>>>> >>>
> >>>>> >>> http://wiki.linuxaudio.org/wiki/raspberrypi
> >>>>> >>>
> >>>>> >>> You can certainly use the Pi with csound as a synth or drum
> >>>>>
> >>>>> machine. You
> >>>>>
> >>>>> >>> could use the GM soundfont banks with the fluid opcodes for the
> >>>>>
> >>>>> drums and
> >>>>>
> >>>>> >>> synths, or use a combination of csound instruments/fluid opcodes.
> >>>>> >>>
> >>>>> >>> Richard
> >>>>> >>>
> >>>>> >>>
> >>>>> >>> On 06/11/16 10:25, Anton Kholomiov wrote:
> >>>>> >>>
> >>>>> >>> What's your experience with RPi 3. Is the latency acceptable
> >>>>> >>> for RT-performance. Is it possible to use RPi as a synth or drum
> >>>>>
> >>>>> machine?
> >>>>>
> >>>>> >>> Cheeers,
> >>>>> >>> Anton
> >>>>> >>> Csound mailing list Csound@listserv.heanet.ie
> >>>>> >>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports
> >>>>>
> >>>>> to
> >>>>>
> >>>>> >>> https://github.com/csound/csound/issues Discussions of bugs and
> >>>>>
> >>>>> features can
> >>>>>
> >>>>> >>> be posted here
> >>>>> >>>
> >>>>> >>>
> >>>>> >>> Csound mailing list Csound@listserv.heanet.ie
> >>>>> >>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports
> >>>>>
> >>>>> to
> >>>>>
> >>>>> >>> https://github.com/csound/csound/issues Discussions of bugs and
> >>>>>
> >>>>> features can
> >>>>>
> >>>>> >>> be posted here
> >>>>> >>
> >>>>> >> Csound mailing list Csound@listserv.heanet.ie
> >>>>> >> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports
> >>>>>
> >>>>> to
> >>>>>
> >>>>> >> https://github.com/csound/csound/issues Discussions of bugs and
> >>>>>
> >>>>> features can
> >>>>>
> >>>>> >> be posted here
> >>>>> >
> >>>>> > Csound mailing list Csound@listserv.heanet.ie
> >>>>> > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> >>>>> > https://github.com/csound/csound/issues Discussions of bugs and
> >>>>>
> >>>>> features can
> >>>>>
> >>>>> > be posted here
> >>>>>
> >>>>> Csound mailing list
> >>>>> Csound@listserv.heanet.ie
> >>>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> >>>>> Send bugs reports to
> >>>>>
> >>>>>         https://github.com/csound/csound/issues
> >>>>>
> >>>>> Discussions of bugs and features can be posted here
> >>>>
> >>>> Csound mailing list Csound@listserv.heanet.ie
> >>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> >>>> https://github.com/csound/csound/issues Discussions of bugs and
> >>>> features can be posted here
> >>
> >> Csound mailing list Csound@listserv.heanet.ie
> >> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> >> https://github.com/csound/csound/issues Discussions of bugs and features
> >> can be posted here
> >
> > Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/
> > cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/
> > csound/issues Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here



--
Mvh.

Bernt Isak Wærstad


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here