Csound Csound-dev Csound-tekno Search About

[Csnd] USB midi and Csound on Raspberry Pi

Date2013-12-14 23:23
Fromzappfinger
Subject[Csnd] USB midi and Csound on Raspberry Pi
Today I tried to play Csound 6 via USB midi. I used command line mode (no
GUI) via ssh first.
It sounded not so very good. The sound was distorted. Then I tried GUI mode
via VNC.
I was amazed that this sounded not bad at all - not what I expected, since
GUI mode takes more CPU obviously.

Also I use the -d flag to suppress all displays. Still I see rtevent
messages. How can this be?   

What are your experiences with USB midi on the RPi?

Richard



--
View this message in context: http://csound.1045644.n5.nabble.com/USB-midi-and-Csound-on-Raspberry-Pi-tp5730768.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-12-14 23:43
FromPaul Batchelor
SubjectRe: [Csnd] USB midi and Csound on Raspberry Pi
I am still on csound5 with the Pi at the moment, but I've found that the alsa rtmidi drivers can have quite a bit of latency depending on buffer size. OSC, on the other hand, does not exhibit this kind of USB latency. I can use my Monome with very high buffer sizes and still have great response.

What are you using for command-line flags?


On Sat, Dec 14, 2013 at 6:23 PM, zappfinger <zappfinger@gmail.com> wrote:
Today I tried to play Csound 6 via USB midi. I used command line mode (no
GUI) via ssh first.
It sounded not so very good. The sound was distorted. Then I tried GUI mode
via VNC.
I was amazed that this sounded not bad at all - not what I expected, since
GUI mode takes more CPU obviously.

Also I use the -d flag to suppress all displays. Still I see rtevent
messages. How can this be?

What are your experiences with USB midi on the RPi?

Richard



--
View this message in context: http://csound.1045644.n5.nabble.com/USB-midi-and-Csound-on-Raspberry-Pi-tp5730768.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Date2013-12-15 08:55
Fromzappfinger
Subject[Csnd] Re: USB midi and Csound on Raspberry Pi
I am using:
csound -d -odac -Ma -b512 -B1024 midiSine.csd

There is no problem with latency though, only with a distortion if I run
this simple csd from the command line, and only in non GUI mode.
I also noted that Pyro (or OSC) did not give that distortion, so I might use
that - but then a midi to OSC or Pyro layer is needed. 
Still investigating.. 



--
View this message in context: http://csound.1045644.n5.nabble.com/USB-midi-and-Csound-on-Raspberry-Pi-tp5730768p5730774.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-12-15 11:01
FromVictor Lazzarini
SubjectRe: [Csnd] USB midi and Csound on Raspberry Pi
-d suppresses displays (graphics), -m0 suprresses messages.
On 14 Dec 2013, at 23:23, zappfinger  wrote:

> Today I tried to play Csound 6 via USB midi. I used command line mode (no
> GUI) via ssh first.
> It sounded not so very good. The sound was distorted. Then I tried GUI mode
> via VNC.
> I was amazed that this sounded not bad at all - not what I expected, since
> GUI mode takes more CPU obviously.
> 
> Also I use the -d flag to suppress all displays. Still I see rtevent
> messages. How can this be?   
> 
> What are your experiences with USB midi on the RPi?
> 
> Richard
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/USB-midi-and-Csound-on-Raspberry-Pi-tp5730768.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>            https://sourceforge.net/p/csound/tickets/
> csound5:
>            https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 



Date2013-12-15 16:09
FromRichard van Bemmelen
SubjectRe: [Csnd] USB midi and Csound on Raspberry Pi
Thanks, I forgot that..


2013/12/15 Victor Lazzarini <Victor.Lazzarini@nuim.ie>
-d suppresses displays (graphics), -m0 suprresses messages.
On 14 Dec 2013, at 23:23, zappfinger <zappfinger@gmail.com> wrote:

> Today I tried to play Csound 6 via USB midi. I used command line mode (no
> GUI) via ssh first.
> It sounded not so very good. The sound was distorted. Then I tried GUI mode
> via VNC.
> I was amazed that this sounded not bad at all - not what I expected, since
> GUI mode takes more CPU obviously.
>
> Also I use the -d flag to suppress all displays. Still I see rtevent
> messages. How can this be?
>
> What are your experiences with USB midi on the RPi?
>
> Richard
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/USB-midi-and-Csound-on-Raspberry-Pi-tp5730768.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>            https://sourceforge.net/p/csound/tickets/
> csound5:
>            https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>



Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"