Csound Csound-dev Csound-tekno Search About

csound + raspi + sensors

Date2016-07-29 18:37
FromLinda Antas
Subjectcsound + raspi + sensors
Hello list, 
   I'm up and running with csound on my Raspberry Pi 3, and with the Raspberry Pi using sensors. I would like to combine the two now and have sensors on the Pi send data to csound to control synthesis parameters, but I'm having a hard time finding any examples/documentation. 

I DO have a great exchange from the list from mid-February, but it's not helpful to me yet at this point. 

Can anyone recommend some links/documentation, or perhaps offer a simple example? 

Best, 
~LA
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-07-29 18:50
FromRory Walsh
SubjectRe: csound + raspi + sensors
Is there anything on the Csound 'Create' page that can help?


I've never used the RPI with Csound, but plenty on this list have. 

On 29 July 2016 at 18:37, Linda Antas <linda.antas@gmail.com> wrote:
Hello list, 
   I'm up and running with csound on my Raspberry Pi 3, and with the Raspberry Pi using sensors. I would like to combine the two now and have sensors on the Pi send data to csound to control synthesis parameters, but I'm having a hard time finding any examples/documentation. 

I DO have a great exchange from the list from mid-February, but it's not helpful to me yet at this point. 

Can anyone recommend some links/documentation, or perhaps offer a simple example? 

Best, 
~LA
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-07-29 18:54
FromEmmett Palaima
SubjectRe: csound + raspi + sensors
How are you reading the sensors? I don't have much experience reading sensors on the raspberry pi, but if it done through a program written in something C or Python there are API's that allow you to build Csound into your program and send values to it via control channels.

Here is the reference for chnget, the opcode for reading control channels: http://www.csounds.com/manual/html/chnget.html
Here is a reference on Csound APIs: https://csound.github.io/docs/api/
Here is a good one for Python, ctcsound: https://github.com/fggp/ctcsound

You might also consider using something like an arduino or a teensy to read sensor values and send them to the Pi as midi. I have personally done that in the past and it worked really well for me, and didn't require a whole lot of complicated setup. 

Hope that helps. Good luck with your project. 

On Fri, Jul 29, 2016 at 12:37 PM, Linda Antas <linda.antas@gmail.com> wrote:
Hello list, 
   I'm up and running with csound on my Raspberry Pi 3, and with the Raspberry Pi using sensors. I would like to combine the two now and have sensors on the Pi send data to csound to control synthesis parameters, but I'm having a hard time finding any examples/documentation. 

I DO have a great exchange from the list from mid-February, but it's not helpful to me yet at this point. 

Can anyone recommend some links/documentation, or perhaps offer a simple example? 

Best, 
~LA
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-07-29 19:26
FromVictor Lazzarini
SubjectRe: csound + raspi + sensors
Hi Linda,

look this up


I am sure these guys will be happy to
share their expertise.

regards

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 29 Jul 2016, at 19:37, Linda Antas <linda.antas@GMAIL.COM> wrote:

Hello list, 
   I'm up and running with csound on my Raspberry Pi 3, and with the Raspberry Pi using sensors. I would like to combine the two now and have sensors on the Pi send data to csound to control synthesis parameters, but I'm having a hard time finding any examples/documentation. 

I DO have a great exchange from the list from mid-February, but it's not helpful to me yet at this point. 

Can anyone recommend some links/documentation, or perhaps offer a simple example? 

Best, 
~LA
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-07-29 22:21
FromLinda Antas
SubjectRe: csound + raspi + sensors
Thank you all for your input and links!

Emmet, the February thread discussed (Richard's idea, if memory serves) using an Arduino. I have stacks of UNOs and Megas, but am trying to keep the gear requirements streamlined since this is for an installation that involves several duplicate units. 

Thanks again. I'll let the list know how it goes. 
Best, 
~L.

On Fri, Jul 29, 2016 at 12:26 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Hi Linda,

look this up


I am sure these guys will be happy to
share their expertise.

regards

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 29 Jul 2016, at 19:37, Linda Antas <linda.antas@GMAIL.COM> wrote:

Hello list, 
   I'm up and running with csound on my Raspberry Pi 3, and with the Raspberry Pi using sensors. I would like to combine the two now and have sensors on the Pi send data to csound to control synthesis parameters, but I'm having a hard time finding any examples/documentation. 

I DO have a great exchange from the list from mid-February, but it's not helpful to me yet at this point. 

Can anyone recommend some links/documentation, or perhaps offer a simple example? 

Best, 
~LA
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-07-30 00:22
FromDave Seidel
SubjectRe: csound + raspi + sensors

Can't wait to see/hear what you do, Linda!

- Dave


On Jul 29, 2016 5:21 PM, "Linda Antas" <linda.antas@gmail.com> wrote:
Thank you all for your input and links!

Emmet, the February thread discussed (Richard's idea, if memory serves) using an Arduino. I have stacks of UNOs and Megas, but am trying to keep the gear requirements streamlined since this is for an installation that involves several duplicate units. 

Thanks again. I'll let the list know how it goes. 
Best, 
~L.

On Fri, Jul 29, 2016 at 12:26 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Hi Linda,

look this up


I am sure these guys will be happy to
share their expertise.

regards

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 29 Jul 2016, at 19:37, Linda Antas <linda.antas@GMAIL.COM> wrote:

Hello list, 
   I'm up and running with csound on my Raspberry Pi 3, and with the Raspberry Pi using sensors. I would like to combine the two now and have sensors on the Pi send data to csound to control synthesis parameters, but I'm having a hard time finding any examples/documentation. 

I DO have a great exchange from the list from mid-February, but it's not helpful to me yet at this point. 

Can anyone recommend some links/documentation, or perhaps offer a simple example? 

Best, 
~LA
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-07-30 07:54
FromIain McCurdy
SubjectRe: csound + raspi + sensors

I created a very simple set-up with Csound / Pi 2 and various things connected directly to the GPIO pins: switches coming in and LEDs going out. Communication with Csound was carried out using the Python opcodes. I can try and hunt down an example if you need one...

Iain




From: A discussion list for users of Csound <CSOUND@LISTSERV.HEANET.IE> on behalf of Linda Antas <linda.antas@GMAIL.COM>
Sent: 29 July 2016 17:37
To: CSOUND@LISTSERV.HEANET.IE
Subject: [Csnd] csound + raspi + sensors
 
Hello list, 
   I'm up and running with csound on my Raspberry Pi 3, and with the Raspberry Pi using sensors. I would like to combine the two now and have sensors on the Pi send data to csound to control synthesis parameters, but I'm having a hard time finding any examples/documentation. 

I DO have a great exchange from the list from mid-February, but it's not helpful to me yet at this point. 

Can anyone recommend some links/documentation, or perhaps offer a simple example? 

Best, 
~LA
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-08-07 19:39
FromLinda Antas
SubjectRe: csound + raspi + sensors
Iain, 
   I'd love to see more of your work. Please do hunt down an example when you can.
Best, 
~L.

On Sat, Jul 30, 2016 at 12:54 AM, Iain McCurdy <i_mccurdy@hotmail.com> wrote:

I created a very simple set-up with Csound / Pi 2 and various things connected directly to the GPIO pins: switches coming in and LEDs going out. Communication with Csound was carried out using the Python opcodes. I can try and hunt down an example if you need one...

Iain




From: A discussion list for users of Csound <CSOUND@LISTSERV.HEANET.IE> on behalf of Linda Antas <linda.antas@GMAIL.COM>
Sent: 29 July 2016 17:37
To: CSOUND@LISTSERV.HEANET.IE
Subject: [Csnd] csound + raspi + sensors
 
Hello list, 
   I'm up and running with csound on my Raspberry Pi 3, and with the Raspberry Pi using sensors. I would like to combine the two now and have sensors on the Pi send data to csound to control synthesis parameters, but I'm having a hard time finding any examples/documentation. 

I DO have a great exchange from the list from mid-February, but it's not helpful to me yet at this point. 

Can anyone recommend some links/documentation, or perhaps offer a simple example? 

Best, 
~LA
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