csound live processing with raspberry pi
Date | 2017-02-01 02:10 |
From | Justin Smith |
Subject | csound live processing with raspberry pi |
Some time ago someone linked the "Audio Injector" sound card for the raspberry pi, and I found one for cheap enough that I figured it was worth seeing if it would be usable for real time audio processing.
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
I picked up the sound card on amazon: https://www.amazon.com/gp/product/B01HBC8CJ0/ref=oh_aui_search_detailpage?ie=UTF8&psc=1 After updating the software and getting the drivers installed (using the cosmo project's image for the raspberry pi), I had little trouble running with low enough latency for playing very fast and music in real time. One gotcha was that a wicd process was started on boot that caused xruns and audible clicks (at first I thought my code was just too much for the machine, but I guess it's the system calls that the python process was making took long enough to cause audio errors in my process). Changing the init settings so that wicd was not started at the default runlevel fixed everything. It's a great feeling to perform live with your own audio processing, kind of like serving a meal made with vegetables from your own garden. |
Date | 2017-02-01 02:13 |
From | Justin Smith |
Subject | Re: csound live processing with raspberry pi |
oh, one more bit of info that people might find useful: this card works with instrument level input, but the sound quality was radically better when using a dedicated preamp to feed it a line level input On Tue, Jan 31, 2017 at 6:10 PM Justin Smith <noisesmith@gmail.com> wrote:
|
Date | 2017-02-01 05:54 |
From | Anton Kholomiov |
Subject | Re: csound live processing with raspberry pi |
Thanks for the useful tips! 2017-02-01 5:13 GMT+03:00 Justin Smith <noisesmith@gmail.com>:
|
Date | 2017-02-01 06:37 |
From | Rory Walsh |
Subject | Re: csound live processing with raspberry pi |
Thanks Justin. I was wondering about that card myself. I almost picked one up over the holidays, but decided to let it go until I heard a first hand report. Ho did you go about changing the init settings so that wicd is not started? I think this would make a nice little news item for the Csound list? On 1 February 2017 at 05:54, Anton Kholomiov <anton.kholomiov@gmail.com> wrote:
|
Date | 2017-02-01 07:09 |
From | Justin Smith |
Subject | Re: csound live processing with raspberry pi |
Stopping wicd was a question of renaming /etc/rc2.d/S03wicd to /etc/rc2.d/K03wicd - this works differently if you have a newer systemd setup though. Also, this means you won't have wifi (I never even added a wifi device so that's fine with me). what would doing a news item for the Csound list entail? On Tue, Jan 31, 2017 at 10:37 PM Rory Walsh <rorywalsh@ear.ie> wrote:
|
Date | 2017-02-01 07:27 |
From | Rory Walsh |
Subject | Re: csound live processing with raspberry pi |
I wonder is it the same with the RPi3? That ships with a wifi device on board. With regards to a new items you could simply post your review her in full. I can add it. There are lots of useful tips and hints posted all the time that are lost in the archives. I think it's a pity. On 1 February 2017 at 07:09, Justin Smith <noisesmith@gmail.com> wrote:
|
Date | 2017-02-01 08:58 |
From | Anton Kholomiov |
Subject | Re: csound live processing with raspberry pi |
I think it can be drowned in the news also. Maybe it's worth to have a section for RPi tips and tricks 2017-02-01 10:27 GMT+03:00 Rory Walsh <rorywalsh@ear.ie>:
|
Date | 2017-02-01 09:34 |
From | Bernt Isak Wærstad |
Subject | Re: csound live processing with raspberry pi |
Thanks for the tips, Justin! We haven't had any troubles with the Cirrus Logic audio card, but perhaps killing this process gives us even more headroom! And good to know about several alternatives - perhaps I'll order one myself and test vs. the cirrus logic. On 1 February 2017 at 09:58, Anton Kholomiov <anton.kholomiov@gmail.com> wrote:
Mvh.
Bernt Isak Wærstad |
Date | 2017-02-01 10:04 |
From | Rory Walsh |
Subject | Re: csound live processing with raspberry pi |
Anton, that's probably better ;) On 1 February 2017 at 09:34, Bernt Isak Wærstad <berntisak@gmail.com> wrote:
|