Author |
Message |
Inventor
Stream Operator
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
Posted: Mon Mar 22, 2010 10:38 pm Post subject:
The Physical Modeling eChucK DIY Project Subject description: Converting computer models into analog form |
|
|
After thinking about the concept for a while, I realized that the same techniques I have used to implement the Karplus Strong algorithm as an analog circuit can be applied to many physical models of musical instruments. I see this as an emerging category in the modular synthesis category: physical instrument models.
For example, what if a modular synthesizer owner could just patch in a flute model and have a flute in the performance. Or a Trombone or a woodwind, etc. It's already done with drum machines and perhaps other instrument models and earlier pioneers in modular synthesis have performed exactly this stunt by wiring up modules. The next step, i feel, is to offer specialized circuit boards that perform like real instruments, or at least like models of real instruments.
The technique that I've been working with is simple. First I make a ChucK software model of the proposed circuit, being careful to use only analog hardware implementable programming constructs. This includes delay lines, multipliers, VCOs, VCFs, summing and difference amps, etc. Then once the software model is complete I convert it to a circuit board schematic, breadboard that, then have circuit boards made. The result will hopefully become a new line of modular synthesis products.
Attached you will find my first wind instrument ChucK model, the blown pipe model. Both source code and audio test file are attached. I plan to develop additional software models in this fashion and select one for the first design. Please feel free to modify the software models, change parameters, and generally play around with them. I encourage you to post any comments or suggestions you may have.
Les
Description: |
|
Download |
Filename: |
Blown Pipe Demo 2 20100323 0124.mp3 |
Filesize: |
802.04 KB |
Downloaded: |
1562 Time(s) |
Description: |
ChucK source code for Blown Pipe |
|
Download |
Filename: |
Windy3.ck |
Filesize: |
1.8 KB |
Downloaded: |
1042 Time(s) |
_________________ "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 Mar 22, 2010 10:42 pm Post subject:
|
|
|
I should also post two of my web references in doing this so you have the whole picture. Here is an excellent web page written for the G2 with algorithms that I am translating into ChucK form:
http://electro-music.com/pm_tutorial/Index.htm
And here is a historical reference point, an article about Ron Berry who has apparently done all of this kind of thing already, just not in custom circuit board form:
http://www.soundonsound.com/sos/1997_articles/jul97/ronberry.html
Enjoy!
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
|
|
Back to top
|
|
|
Inventor
Stream Operator
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
|
Back to top
|
|
|
Inventor
Stream Operator
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
Posted: Tue Mar 23, 2010 1:29 pm Post subject:
|
|
|
I ended up recoding the Jet function X^3-x and suddenly the flute really came to life! I must have had an error in the model. Attached is the latest flute ChucK file and an audio sample.
Les
Description: |
|
Download |
Filename: |
Flute2 Demo 20100323 1623.mp3 |
Filesize: |
1018.37 KB |
Downloaded: |
1501 Time(s) |
Description: |
|
Download |
Filename: |
Flute2.ck |
Filesize: |
3.11 KB |
Downloaded: |
965 Time(s) |
_________________ "Let's make noise for peace." - Kijjaz |
|
Back to top
|
|
|
Dan Lavin
Joined: Nov 09, 2006 Posts: 649 Location: Spring Lake, Mi, USA
Audio files: 21
|
Posted: Tue Mar 23, 2010 2:08 pm Post subject:
|
|
|
Yeah, the higher notes sound especially flute-like _________________ Synth DIY since 1977! |
|
Back to top
|
|
|
Inventor
Stream Operator
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
|
Back to top
|
|
|
Inventor
Stream Operator
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
Posted: Tue Mar 23, 2010 7:20 pm Post subject:
|
|
|
Oh, and I must thank Chet Singer for the web page and G2 model describing the algorithm, of course.
Les _________________ "Let's make noise for peace." - Kijjaz |
|
Back to top
|
|
|
electri-fire
Joined: Jul 26, 2006 Posts: 536 Location: Dordrecht NL
Audio files: 4
G2 patch files: 4
|
Posted: Thu Mar 25, 2010 12:18 pm Post subject:
|
|
|
Inventor wrote: | I ended up recoding the Jet function X^3-x and suddenly the flute really came to life! |
Yes, the Flute2 Demo 20100323 1623.mp3 is way better than your first mp3.
Your block diagram is rather more complicated than I expected. Me and my friend Rix made a very nice flute patch on his clavia G2, the main feature being noise as the sound source, and a key tracking resonant filter. Velocity was patched to resonance. With low velocity we got a lot of blow noise, as we "blew" louder the self oscillation of the filter increased the pitch component of the sound.
Well, it's been as while ago, but I think we also had a velocity to Envelope depth to resonance, but it was a fairly simple concept really, not a VCO in sight, and it turned out very expressive and natural sounding. |
|
Back to top
|
|
|
frijitz
Joined: May 04, 2007 Posts: 1734 Location: NM USA
Audio files: 54
|
|
Back to top
|
|
|
Inventor
Stream Operator
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
Posted: Sat Oct 02, 2010 2:31 am Post subject:
|
|
|
Neato Ian! Thanks for sharing!
Les _________________ "Let's make noise for peace." - Kijjaz |
|
Back to top
|
|
|
jeff-o
Joined: Jul 19, 2009 Posts: 97 Location: Ontario, Canada
|
Posted: Mon Oct 04, 2010 11:49 am Post subject:
|
|
|
Very cool. Maybe once I'm finished with my laser guitar, I'll have to build a laser flute! |
|
Back to top
|
|
|
Dan Lavin
Joined: Nov 09, 2006 Posts: 649 Location: Spring Lake, Mi, USA
Audio files: 21
|
Posted: Tue Oct 05, 2010 1:03 pm Post subject:
|
|
|
Ian Quoted:
Quote: | I worked on analog PM a bit also. Look Ma, no BBD! |
Ian, you obviously have way more patience than me! That's awesome! _________________ Synth DIY since 1977! |
|
Back to top
|
|
|
|