Csound on RPi 3: how big is latency?
Date | 2016-11-06 09:25 |
From | Anton Kholomiov |
Subject | Csound on RPi 3: how big is latency? |
What's your experience with RPi 3. Is the latency acceptable
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
for RT-performance. Is it possible to use RPi as a synth or drum machine? Cheeers, Anton |
Date | 2016-11-06 11:35 |
From | Richard |
Subject | Re: Csound on RPi 3: how big is latency? |
I do not own a Pi 3, only some Pi 2's. 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:
|
Date | 2016-11-06 19:27 |
From | Paul Batchelor |
Subject | Re: Csound on RPi 3: how big is latency? |
It's definitely possible. -P On Sun, Nov 6, 2016 at 3:35 AM, Richard <zappfinger@gmail.com> wrote:
|
Date | 2016-11-06 19:55 |
From | Anton Kholomiov |
Subject | Re: 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>:
|
Date | 2016-11-06 20:25 |
From | Michael Gogins |
Subject | Re: 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 |
Date | 2016-11-07 02:05 |
From | Emmett Palaima |
Subject | Re: 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 |
Date | 2016-11-07 05:24 |
From | Anton Kholomiov |
Subject | Re: 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 outputs2016-11-07 5:05 GMT+03:00 Emmett Palaima <epalaima@berklee.edu>:
|
Date | 2016-11-07 05:44 |
From | Anton Kholomiov |
Subject | Re: 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>:
|
Date | 2016-11-07 07:38 |
From | Emmett Palaima |
Subject | Re: 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. 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:
|
Date | 2016-11-07 18:39 |
From | Bernt Isak Wærstad |
Subject | Re: 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/ 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/ 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:
Mvh.
Bernt Isak Wærstad |
Date | 2016-11-13 17:31 |
From | Tarmo Johannes |
Subject | Re: 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 |
Date | 2016-11-14 16:58 |
From | Bernt Isak Wærstad |
Subject | Re: Csound on RPi 3: how big is latency? |
Glad it can be of use to more people! 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! Mvh.
Bernt Isak Wærstad |