Author |
Message |
Alexander

Joined: Apr 22, 2006 Posts: 373 Location: NL/QC
Audio files: 1
G2 patch files: 4
|
Posted: Thu Sep 04, 2008 5:44 am Post subject:
Karplus Strong Subject description: ...how |
 |
|
Hello everyone,
I have been trying to make this:
..on my engine, but can't seem to get it to work. I only have internet here at school and haven't brought any patches. But please, can someone patch this up and post a working patch, so I can figure out what I did wrong.
Here's the wiki on karplus strong:
http://en.wikipedia.org/wiki/Karplus-Strong_string_synthesis
thank you. _________________ http://husc-sound.com |
|
Back to top
|
|
 |
Roland Kuit
Joined: Sep 29, 2003 Posts: 1091 Location: The Netherlands/Sweden
Audio files: 8
G2 patch files: 127
|
|
Back to top
|
|
 |
Blue Hell
Site Admin

Joined: Apr 03, 2004 Posts: 23989 Location: The Netherlands, Enschede
Audio files: 274
G2 patch files: 320
|
Posted: Thu Sep 04, 2008 9:32 am Post subject:
|
 |
|
Have a look at Chet's stuff and at James' stuff too (even when it is for the NM Classic). _________________ Jan
also .. could someone please turn down the thermostat a bit.
 |
|
Back to top
|
|
 |
Roland Kuit
Joined: Sep 29, 2003 Posts: 1091 Location: The Netherlands/Sweden
Audio files: 8
G2 patch files: 127
|
Posted: Thu Sep 04, 2008 10:28 am Post subject:
|
 |
|
to bad that chat's pages are missing(his links) |
|
Back to top
|
|
 |
Blue Hell
Site Admin

Joined: Apr 03, 2004 Posts: 23989 Location: The Netherlands, Enschede
Audio files: 274
G2 patch files: 320
|
Posted: Thu Sep 04, 2008 10:31 am Post subject:
|
 |
|
The links seem to work here, but note that not every underlined text is a link. _________________ Jan
also .. could someone please turn down the thermostat a bit.
 |
|
Back to top
|
|
 |
Tim Kleinert
Joined: Mar 12, 2004 Posts: 1148 Location: Zürich, Switzerland
Audio files: 7
G2 patch files: 236
|
|
Back to top
|
|
 |
Alexander

Joined: Apr 22, 2006 Posts: 373 Location: NL/QC
Audio files: 1
G2 patch files: 4
|
Posted: Fri Sep 05, 2008 5:38 am Post subject:
|
 |
|
Thank you, I am now putting everything on my usb stick and will be working with it later this weekend. Thanks to our lovely provider I am again internetless for the next few weeks.
Great for my productivity, but for the g2 I still rely on you guys.
Thanks again for the quick and useful replies!!  _________________ http://husc-sound.com |
|
Back to top
|
|
 |
Antimon
Joined: Jan 18, 2005 Posts: 4145 Location: Sweden
Audio files: 371
G2 patch files: 100
|
Posted: Sat Sep 06, 2008 4:45 am Post subject:
|
 |
|
tim wrote: | Here's a quick'n dirty Karplus-Strong demo.
Press the "Press!" button (duh ) to trigger the noise burst going into the resonator. The resonator is just three modules -a delay line, a filter and a mixer for the feedback. That's all there is to that.
As a comparison, you can toggle between the delay-feedback-loop and the String Oscillator module which does exactly the same thing (but with the benefit of exponential tracking (which can be patched with the DIY approach also, although tuning is an issue)).
cheers,
tim |
What i would love would be to have some easy way of tuning this so I could play it using a keyboard. I've asked about this before, and people say "comb filter", but that's too much of a black box for me - I want to put stuff (enveloped amplifiers, wave shapers etc) inside the delay loop and see what it sounds like. Anyone know if there is an example (or if it's possible at all) for setting up some logarithm transform so that one could translate MIDI notes to part of a delay time (compensating for whatever delay is imposed by filters and other modules in the delay loop)?
I've experimented some with building translation tables using control sequencers, which is kind of fun and produces a lo-fi rough tuning, but it uses a lot of space and cycles and it would be fun to hear what it would it would sound like with a perfect tuning.
Not that all the PM patches here aren't great, I just have this constant urge to try to dive beneath this particular surface.
/Stefan _________________ Antimon's Window
@soundcloud @Flattr home - you can't explain music |
|
Back to top
|
|
 |
Tim Kleinert
Joined: Mar 12, 2004 Posts: 1148 Location: Zürich, Switzerland
Audio files: 7
G2 patch files: 236
|
Posted: Sat Sep 06, 2008 12:31 pm Post subject:
|
 |
|
Antimon wrote: |
What i would love would be to have some easy way of tuning this so I could play it using a keyboard. I've asked about this before, and people say "comb filter", but that's too much of a black box for me - I want to put stuff (enveloped amplifiers, wave shapers etc) inside the delay loop and see what it sounds like. Anyone know if there is an example (or if it's possible at all) for setting up some logarithm transform so that one could translate MIDI notes to part of a delay time (compensating for whatever delay is imposed by filters and other modules in the delay loop)?
I've experimented some with building translation tables using control sequencers, which is kind of fun and produces a lo-fi rough tuning, but it uses a lot of space and cycles and it would be fun to hear what it would it would sound like with a perfect tuning./Stefan |
Lin->log response from note numbers is easily generated with the NoteScaler module. Just set a slope of -6dB throughout, turn on the keyboard tracking, and patch the output (not from the internal VCA circuit)to the delay time input. I'm not at G2 now so I can't patch a quick demo for you, but try it, it is simple.
Credit for this solution goes to Rob Hordijk, who did this on the classic.
However, tuning isn't 100% accurate here either, though usable. Best thing is to add a ControlSequencer driven by the note number to the circuit in order to add fine-tune functionality. Check out Chet Singers patches. He always does it this way.
cheers,
tim |
|
Back to top
|
|
 |
Antimon
Joined: Jan 18, 2005 Posts: 4145 Location: Sweden
Audio files: 371
G2 patch files: 100
|
|
Back to top
|
|
 |
Blue Hell
Site Admin

Joined: Apr 03, 2004 Posts: 23989 Location: The Netherlands, Enschede
Audio files: 274
G2 patch files: 320
|
Posted: Sat Sep 06, 2008 3:44 pm Post subject:
|
 |
|
Your patch is OK Stefan, you must just set the delay fixed time too zero (0.01m) and then tweak E4 in the LevScaler till your range is what you want. Then you can fine tune with the same method Chet is using. _________________ Jan
also .. could someone please turn down the thermostat a bit.
 |
|
Back to top
|
|
 |
Antimon
Joined: Jan 18, 2005 Posts: 4145 Location: Sweden
Audio files: 371
G2 patch files: 100
|
Posted: Sat Sep 06, 2008 4:52 pm Post subject:
|
 |
|
Aha! Brilliant! Thanks for this revelation, Tim and Jan! The LevScaler was one of those modules that I've looked at and not really thought I had a use for - now I know better.
/Stefan _________________ Antimon's Window
@soundcloud @Flattr home - you can't explain music |
|
Back to top
|
|
 |
Antimon
Joined: Jan 18, 2005 Posts: 4145 Location: Sweden
Audio files: 371
G2 patch files: 100
|
|
Back to top
|
|
 |
Blue Hell
Site Admin

Joined: Apr 03, 2004 Posts: 23989 Location: The Netherlands, Enschede
Audio files: 274
G2 patch files: 320
|
|
Back to top
|
|
 |
Tim Kleinert
Joined: Mar 12, 2004 Posts: 1148 Location: Zürich, Switzerland
Audio files: 7
G2 patch files: 236
|
Posted: Sun Sep 07, 2008 1:37 am Post subject:
|
 |
|
yeah, doh , I meant the LevelScaler, sorry. I don't have my stuff here (I'm writing this from a hotel lobby internet station).
Glad you figured it out.
I use this approach not only for PM stuff, but also for DIY oscillators and my granular thingies (which are based on DIY oscillators).
I tried various things in order to correct the tuning issue, but none worked. It's not like a constant linear offset or something. I think it's a calculation precision issue, as the detunings are sometimes sharp, sometimes flat, and quite randomly dispersed over the note range. |
|
Back to top
|
|
 |
Antimon
Joined: Jan 18, 2005 Posts: 4145 Location: Sweden
Audio files: 371
G2 patch files: 100
|
Posted: Sun Sep 07, 2008 1:49 am Post subject:
|
 |
|
Neat! I didn't think that would work across the whole range. Now I've got something to sink my teeth into.
/Stefan _________________ Antimon's Window
@soundcloud @Flattr home - you can't explain music |
|
Back to top
|
|
 |
|