[Cs-dev] Csound 4 Android:Scripts and Python extensibility.
Date | 2015-06-13 15:05 |
From | mubaseHannah |
Subject | [Cs-dev] Csound 4 Android:Scripts and Python extensibility. |
Hi there from London UK. I have recently got the Csound CSD for Android running on my Riotboard which is running Android 4.2 I have the csound development environment and want to use the python opcodes. Is it possible to use the python opcodes in the Android port? Or can I do a build to include the py opcodes? The reason being is that I have an MPU9150 accelerometer/gyro connected to I2C Bus 3 of the Riotboard and am using a bash script to read the X Y Z values of the accelerometer. I would like to take those values and use them in a Csound program using an audio input from a violin pickup and put the sound through a grain synthesizer. Or is it possible to incorporate bash scripts into csound projects?? Any help would be appreciated. Thanks. Steve.S -- View this message in context: http://csound.1045644.n5.nabble.com/Csound-4-Android-Scripts-and-Python-extensibility-tp5742174.html Sent from the Csound - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2015-06-13 16:07 |
From | Justin Smith |
Subject | Re: [Cs-dev] Csound 4 Android:Scripts and Python extensibility. |
Attachments | None None |
One simple option is to use the -Lstdin argument to csound, then use bash or python to send real time score events to csound's stdin. You could have a simple instrument that set a global value based on its pfields, or set a value in an array or table. On Sat, Jun 13, 2015 at 7:09 AM mubaseHannah <gpud@me.com> wrote: Hi there from London UK. |
Date | 2015-06-13 16:20 |
From | joachim heintz |
Subject | Re: [Cs-dev] Csound 4 Android:Scripts and Python extensibility. |
hi steve - yes, in general it is possible to incorporate scripts with the 'system' opcode. but i don't know if this is also possible on android. best - joachim Am 13.06.2015 um 16:05 schrieb mubaseHannah: > Hi there from London UK. > I have recently got the Csound CSD for Android running on my Riotboard which > is running Android 4.2 > I have the csound development environment and want to use the python > opcodes. Is it possible to use the python opcodes in the Android port? Or > can I do a build to include the py opcodes? > > The reason being is that I have an MPU9150 accelerometer/gyro connected to > I2C Bus 3 of the Riotboard and am using a bash script to read the X Y Z > values of the accelerometer. > I would like to take those values and use them in a Csound program using an > audio input from a violin pickup and put the sound through a grain > synthesizer. > Or is it possible to incorporate bash scripts into csound projects?? > > Any help would be appreciated. > Thanks. > Steve.S > > > > -- > View this message in context: http://csound.1045644.n5.nabble.com/Csound-4-Android-Scripts-and-Python-extensibility-tp5742174.html > Sent from the Csound - Dev mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------------------------------ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |