Author |
Message |
Inventor
Stream Operator
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
Posted: Fri May 15, 2009 9:01 pm Post subject:
Hey Mr. Tambourine Man Subject description: Play a song for me |
|
|
For The ChucK Show, which by the way was a total blast of fun tonight, I want to get Sunshine a Tambourine. The only problem is they cost about $20 or $30 that I can't really spare right now (I'm tight). What I do have, however is this cool little U-HID-G accelerometer board that I helped design with that British company www.ultimarc.com, and of course I also have the mighty power of ChucK as well!
So what I thought I would do this week for next week's show is write some code that makes a Tambourine sound when Sunshine shakes the accelerometer around. In addition, I could make ChucK do woo-woo sounds or other kewl sounds, all at Sunshine's command. She just loved the idea, so in addition to scrounging up other people's code and mp3's, I think I'll have a try at writing a little accelerometer based Tambourine code.
OK, so I can write the application, interface it to the accelerometer, calibrate it, and all that jazz. But what I can't think of is a way to make the jingle-jangle sounds of a Tambourine. So I'm asking the ChucK community how to do this. Any ideas? Any code? Your thoughts and suggestions are welcome as always. _________________ "Let's make noise for peace." - Kijjaz |
|
Back to top
|
|
|
Kassen
Janitor
Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Sat May 16, 2009 12:46 am Post subject:
|
|
|
Code: |
//how to charm the ladies with the STK by Kassen
//just add "stuff"
Shakers s => dac;
6 => int tambourine; //PRC thinks of everything!
tambourine => s.preset;
do { stuff(); } while(1); |
;¬) _________________ Kassen |
|
Back to top
|
|
|
Inventor
Stream Operator
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
Posted: Sat May 16, 2009 5:18 am Post subject:
|
|
|
What, shakers has a tambourine? I love ChucK! Thanks, Kas! _________________ "Let's make noise for peace." - Kijjaz |
|
Back to top
|
|
|
kijjaz
Joined: Sep 20, 2004 Posts: 765 Location: bangkok, thailand
Audio files: 4
|
Posted: Sat May 16, 2009 3:25 pm Post subject:
|
|
|
Ok.. so now wanna go crazy again. I also have another idea on developing a tambourine sound. I'm visualizing a tambourine with a drum head also.
So what i'd like to model are..
(1) the small cymbals.. i imagined the clear cymbal sound of the cymbals might be made from ModalBar ... but ... it'd be hard to add another kind of sound:
(2) the way each cymbal can hit another, just like when we shake the tambourine, sometimes slightly and
(3) the way the cymbals can hit the body of the tambourine (be it wooden or metal or plastic)
(4) and the sound of hitting the drum of a tambourine, .. the more loose it is tuned, the pitch can goes up when it's hit with more force. (added tension on the drum head) ..
Sound crazy again -_-.
But gonna do it, not as complex as physical modeling, maybe just easy simulation + stochastic models for the cymbals. |
|
Back to top
|
|
|
Inventor
Stream Operator
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
Posted: Sat May 16, 2009 8:23 pm Post subject:
|
|
|
Well OK kij, here's the deal, two things:
1. You have four potentiometers and one switch on the controller to adjust the tambourine behavior. I will write the code for interfacing to those (well, i already did).
2. We have until next Friday to do it. That's when the next ChucK Show is, obviously.
I'm looking forward to hearing what you come up with kij!
Les _________________ "Let's make noise for peace." - Kijjaz |
|
Back to top
|
|
|
Inventor
Stream Operator
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
Posted: Mon May 18, 2009 9:38 pm Post subject:
|
|
|
Good, the time pressure's off, tonight I wrote the Shakers tambourine into the controller program. The number of bells and the volume are adjustable by two controller potentiometers.
I can still add the drum head though if you happen to come up with a class for that, kij...
But at least the time pressure's off for that part of the show... Sunshine has her tambourine! woohoo! _________________ "Let's make noise for peace." - Kijjaz |
|
Back to top
|
|
|
kijjaz
Joined: Sep 20, 2004 Posts: 765 Location: bangkok, thailand
Audio files: 4
|
Posted: Tue May 19, 2009 4:18 am Post subject:
|
|
|
Real acoustic tambourine! Nice. I still haven't worked on the drum head, but have this model in my head. Gonna try implementing it maybe with some simple band-pass filters and some impulses for triggering the hits. |
|
Back to top
|
|
|
Inventor
Stream Operator
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
|
Back to top
|
|
|
|