[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3891)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4758: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3891)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4759: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3891)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4760: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3891)
Open Music Labs Forums • View topic - karplus strong?

karplus strong?

karplus strong?

Postby loss1234 » Tue Apr 03, 2012 8:01 pm

does anyone know if this might be possible with the audio codec shield on arduino?

i played around with a really dirty KS sketch with an 8 bit DAC and while it did sound metallic, it didnt sound very HI-FI...the shield could take care of the fidelity but I am not sure if there is enough buffer to do it or not


but it might be possible!
loss1234
 
Posts: 10
Joined: Sun Apr 01, 2012 1:39 am

Re: karplus strong?

Postby guest » Tue Apr 03, 2012 8:41 pm

a friend of mine introduced me to karplus-strong on sunday
they look really cool
and are not computationally expensive
although i will have to see how much ram they require
guest
Site Admin
 
Posts: 449
Joined: Thu May 20, 2010 11:58 pm

Re: karplus strong?

Postby guest » Tue Apr 03, 2012 9:32 pm

Last edited by guest on Tue Apr 03, 2012 10:10 pm, edited 2 times in total.
guest
Site Admin
 
Posts: 449
Joined: Thu May 20, 2010 11:58 pm

Re: karplus strong?

Postby guest » Tue Apr 03, 2012 9:37 pm

oh yeah
DECAY sets the note repeat time
and MOD0 sets the note frequency

it is a tad metallic
but i think starting with a different lookup table
would cure that problem
i have a lookup table generator for Pure Data
thats linked off the mixtape_alpha wiki page
a bandpass filtered noise source would be good
this could be stored in flash
and then reloaded to create each note

but it is still monophonic
and the ram limits this
going down to 22k
and lmiting the lowest note to 100hz
could give 4 note polyphony
guest
Site Admin
 
Posts: 449
Joined: Thu May 20, 2010 11:58 pm

Re: karplus strong?

Postby loss1234 » Thu Apr 05, 2012 6:39 am

thanks for this!!!
trying it out right now
loss1234
 
Posts: 10
Joined: Sun Apr 01, 2012 1:39 am

Re: karplus strong?

Postby loss1234 » Thu Apr 05, 2012 6:46 am

it sounds great!
loss1234
 
Posts: 10
Joined: Sun Apr 01, 2012 1:39 am

Re: karplus strong?

Postby JLS » Mon Aug 27, 2012 5:09 am

Very interesting for me.

Many thanks
JLS
 
Posts: 2
Joined: Mon Aug 27, 2012 5:08 am

Re: karplus strong?

Postby donal » Fri Aug 31, 2012 7:40 am

I changed :
#define DECAY 10000
unsigned int mod0_value =0;

// create a delay buffer in memory
#define SIZE 10 /

Sounds lovely! Nice percussive stuff.
donal
 
Posts: 1
Joined: Fri Aug 31, 2012 7:36 am

Re: karplus strong?

Postby guest » Fri Aug 31, 2012 12:27 pm

its good to hear it works well with small SIZE
that means you can setup a bunch of buffers
and have some polyphony going
guest
Site Admin
 
Posts: 449
Joined: Thu May 20, 2010 11:58 pm


Return to Audio Codec Shield

Who is online

Users browsing this forum: No registered users and 1 guest


cron