Csound Csound-dev Csound-tekno Search About

[Csnd] from raindrops counter to musical instrument (1)

Date2014-07-29 16:44
Fromzappfinger
Subject[Csnd] from raindrops counter to musical instrument (1)
As a holiday project, I am working on a raindrops counter, using Arduino +
some electronics, Xbee, Processing, Python and Csound.
The idea is a plastic box, with a sensitive mic catching all the contact
noise (raindrops, gentle tapping on it, etc). I use a piezo element as mic
now, then amplify it with an opamp before feeding it to an Arduino analog
pin. The Arduino runs a small program that catches the max in a series of
100 readings and then sends it over via wireless serial (Xbee). On the other
end it is received via Xbee and made visible in a Processing sketch. On te
attached pic you see the spikes from softly tapping the box.
The next stage is to convert this volume/timing info to something Csound can
use to make some noise...

Richard
druppelteller.JPG
  
Screen_Shot_2014-07-29_at_17.png
  



--
View this message in context: http://csound.1045644.n5.nabble.com/from-raindrops-counter-to-musical-instrument-1-tp5736511.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2014-07-29 18:42
FromOeyvind Brandtsegg
SubjectRe: [Csnd] from raindrops counter to musical instrument (1)
Nice setup!

2014-07-29 17:44 GMT+02:00 zappfinger :
> As a holiday project, I am working on a raindrops counter, using Arduino +
> some electronics, Xbee, Processing, Python and Csound.
> The idea is a plastic box, with a sensitive mic catching all the contact
> noise (raindrops, gentle tapping on it, etc). I use a piezo element as mic
> now, then amplify it with an opamp before feeding it to an Arduino analog
> pin. The Arduino runs a small program that catches the max in a series of
> 100 readings and then sends it over via wireless serial (Xbee). On the other
> end it is received via Xbee and made visible in a Processing sketch. On te
> attached pic you see the spikes from softly tapping the box.
> The next stage is to convert this volume/timing info to something Csound can
> use to make some noise...
>
> Richard
> druppelteller.JPG
> 
> Screen_Shot_2014-07-29_at_17.png
> 
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/from-raindrops-counter-to-musical-instrument-1-tp5736511.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
>



-- 

Oeyvind Brandtsegg
Professor of Music Technology
NTNU
7491 Trondheim
Norway
Cell: +47 92 203 205

http://flyndresang.no/
http://www.partikkelaudio.com/
http://soundcloud.com/brandtsegg
http://soundcloud.com/t-emp

Date2014-07-29 21:39
Fromzappfinger
Subject[Csnd] Re: from raindrops counter to musical instrument (1)
Thanks! It is great fun playing with those Xbee's.
After struggling with 8 Ohms speakers as input mic, I found the piezo
element had the most output.
It is quite sensitive. The range is nearly 0 to 1023.
For now I have a Processing sketch that sends the serial data via OSC to
Csound.
As I understand serialRead from Csound is per byte, so that would be more
tricky...

Richard



--
View this message in context: http://csound.1045644.n5.nabble.com/from-raindrops-counter-to-musical-instrument-1-tp5736511p5736525.html
Sent from the Csound - General mailing list archive at Nabble.com.