electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
Live streaming at radio.electro-music.com

  host / artist show at your time
  bingsatellites Mostly Ambient
Please visit the chat
 Forum index » DIY Hardware and Software » Thomas Henry designs
The Prism Laser Guitar is done... time for Mark II!
Post new topic   Reply to topic Moderators: Scott Stites
Page 2 of 2 [49 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Goto page: Previous 1, 2
Author Message
jeff-o



Joined: Jul 19, 2009
Posts: 97
Location: Ontario, Canada

PostPosted: Thu Jul 23, 2009 6:54 am    Post subject: Reply with quote  Mark this post and the followings unread

And another, from Coolaudio:

http://www.coolaudio.com/files/public/V3207_DATASHEET.pdf

This is a 1024 step BBD with a range of 2.56ms - 51.2ms.

Here is the full list of Coolaudio semiconductors: http://www.coolaudio.com/products.html

Of course there's a catch - a minimum order of USD $2000. So - who wants to be a distributor? *sigh*
Back to top
View user's profile Send private message
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 5964
Location: San Antonio, Tx, USA
Audio files: 258

PostPosted: Thu Jul 23, 2009 5:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

no problem, smallbear has an equivalent Shanghai Belling part in quantity one for a few dollars each. same delay IIRC.
_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
jeff-o



Joined: Jul 19, 2009
Posts: 97
Location: Ontario, Canada

PostPosted: Thu Jul 23, 2009 6:39 pm    Post subject: Reply with quote  Mark this post and the followings unread

I can also get the MN3209 on eBay for $5 each. They're probably Chinese clones, but as long as they work it's fine with me.

Now, before I even consider continuing with this, do you know if I can dynamically change the delay time while it's processing a waveform? Can I push the sampling frequency a little higher and lower than specs?
Back to top
View user's profile Send private message
ian-s



Joined: Apr 01, 2004
Posts: 2519
Location: Auckland, New Zealand
Audio files: 42
G2 patch files: 584

PostPosted: Thu Jul 23, 2009 7:03 pm    Post subject: Reply with quote  Mark this post and the followings unread

jeff-o wrote:
do you know if I can dynamically change the delay time while it's processing a waveform? Can I push the sampling frequency a little higher and lower than specs?


Changing the clock frequency is no problem for simple Karplus Strong model. The upper clock limit is probably not very movable but the lower limit is more to do with the clock signal itself becoming audible. A problem for echo or chorus, but maybe not so critical in this application.

I don't have a link but I read a web page once about someone doing Physical Modeling using a modular synth with a BBD delay with good results.
Back to top
View user's profile Send private message
jeff-o



Joined: Jul 19, 2009
Posts: 97
Location: Ontario, Canada

PostPosted: Thu Jul 23, 2009 7:45 pm    Post subject: Reply with quote  Mark this post and the followings unread

ian-s wrote:
jeff-o wrote:
do you know if I can dynamically change the delay time while it's processing a waveform? Can I push the sampling frequency a little higher and lower than specs?


Changing the clock frequency is no problem for simple Karplus Strong model. The upper clock limit is probably not very movable but the lower limit is more to do with the clock signal itself becoming audible. A problem for echo or chorus, but maybe not so critical in this application.

I don't have a link but I read a web page once about someone doing Physical Modeling using a modular synth with a BBD delay with good results.


That's encouraging. Let me know if you ever find that link.
Back to top
View user's profile Send private message
jeff-o



Joined: Jul 19, 2009
Posts: 97
Location: Ontario, Canada

PostPosted: Sat Jul 25, 2009 6:45 pm    Post subject: K-S Formula? Reply with quote  Mark this post and the followings unread

Hey Inventor, what formula are you using to calculate the output frequency range of the various BBDs? The formula listed here:

http://ccrma.stanford.edu/realsimple/faust_strings/Exciting_Digitar_String.html

Gets different numbers, though I'm not sure if I'm using the right value for N.
Back to top
View user's profile Send private message
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 5964
Location: San Antonio, Tx, USA
Audio files: 258

PostPosted: Sat Jul 25, 2009 7:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

jeff-o, it is Fo = fs / N, where N is the number of stages divided by two.
_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
jeff-o



Joined: Jul 19, 2009
Posts: 97
Location: Ontario, Canada

PostPosted: Sat Jul 25, 2009 9:29 pm    Post subject: Reply with quote  Mark this post and the followings unread

Inventor wrote:
jeff-o, it is Fo = fs / N, where N is the number of stages divided by two.


Hmmm, so does that mean that you were "overclocking" the MN3209 to 200kHz in your frequency range estimates on the previous page? The datasheet says 10kHz-100kHz, though a chart later on does show operation to 300kHz and beyond...

Forgive my simplistic questions, but before I go ahead and order some MN3209s (and the drivers for them!) I need to know that I'm getting the right thing!

I'm right in the middle of puzzling over the "Extended Karplus Strong" algorithm to see that parts of it I can use, and which ones I can't replicate on my guitar. Converting from the block diagram to physical circuits is troublesome and the math long forgotten...
Back to top
View user's profile Send private message
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 5964
Location: San Antonio, Tx, USA
Audio files: 258

PostPosted: Sat Jul 25, 2009 10:46 pm    Post subject: Reply with quote  Mark this post and the followings unread

Yes, it's a bit confusing what you can really do with the part when the datasheet is so confuzzled.
_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
jeff-o



Joined: Jul 19, 2009
Posts: 97
Location: Ontario, Canada

PostPosted: Sun Jul 26, 2009 9:07 pm    Post subject: Microcontroller...? Reply with quote  Mark this post and the followings unread

I'm wondering now if the current crop of microcontrollers might be up to the task of implementing the KS algorithm. The programming involved is way above my skill level, but I know quite a few programmers who might be interested in helping out.

I may pursue a microcontroller solution in tandem with an all-analog solution...
Back to top
View user's profile Send private message
jeff-o



Joined: Jul 19, 2009
Posts: 97
Location: Ontario, Canada

PostPosted: Thu Jul 30, 2009 9:59 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hey Inventor,

Have you had a change to mess around with any K-S filter stuff? I haven't had much time due to family stuff (happy things!) so I've basically been surfing the net trying to find sources for MN3209 and MN3204 ICs. According to my calculations they have the right delay lengths for an ordinary guitar and an ordinary bass guitar, respectively. Since I may only be able to fit four "strings" on the next guitar, I have to consider making a dedicated bass.

I've also been looking into dedicated microcontrollers and DSPs that could do everything digitally, but I know that I don't have the programming chops to use one of them just yet. I really must brush up on my C skilz!
Back to top
View user's profile Send private message
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 5964
Location: San Antonio, Tx, USA
Audio files: 258

PostPosted: Fri Jul 31, 2009 12:24 am    Post subject: Reply with quote  Mark this post and the followings unread

Hi jeff-o,

I have been sick this week. I missed my radio show and slept all week - yucky. But I feel better now. I was able to set up my electronics bench and get the chips ready for the project. So that's at least a start. Once I get through my show, I'll have a look at it.

I would like to use this K-S circuit on one of my next projects, so I'm eager to give it a try. Right now I'm just thinking about it and how I'm going to test it. For example, I have a scope but it's kind of broken, and a meter. So how am I going to view the signals?

Maybe i'll build the LM386 amplifier with speaker first and *listen* to the signals...

Les

_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
jeff-o



Joined: Jul 19, 2009
Posts: 97
Location: Ontario, Canada

PostPosted: Fri Jul 31, 2009 2:12 am    Post subject: Reply with quote  Mark this post and the followings unread

Yeah, it seems very much like a "try it and hear if it sounds good" sort of thing. The scope will come in handy later for fine-tuning and debugging.
Back to top
View user's profile Send private message
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 5964
Location: San Antonio, Tx, USA
Audio files: 258

PostPosted: Fri Jul 31, 2009 2:53 am    Post subject: Reply with quote  Mark this post and the followings unread

You know, I've given this some thought, and I feel like I can implement the KS algorithm one piece at a time using ChucK. I can build code that tests the circuit using the line-in jack to probe two channels and the headphones out jack to drive two channels.

This is all very much in accord with my eChucK project, so I think I'll do it that way. In fact, I can just hook up a delay line and test it and go from there. I'm glad i've chosen to take some time and think about it and let things sink in a little bit.

I'll keep you posted on progress.

Les

_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
yerpa58



Joined: Mar 08, 2008
Posts: 54
Location: Wisconsin
Audio files: 4

PostPosted: Fri Jul 31, 2009 11:30 am    Post subject: Reply with quote  Mark this post and the followings unread

Using rare delay line ICs for Karplus-Strong seems like doing it the hard way. Any cheap microcontroller with some internal RAM can do the job all by itself. Here is an example, although this algorithm is hard to tune. I think your VCO method may be more useful in the long run.

http://www.reprolabs.com/fs7.htm
Back to top
View user's profile Send private message Visit poster's website
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 5964
Location: San Antonio, Tx, USA
Audio files: 258

PostPosted: Fri Jul 31, 2009 11:57 am    Post subject: Reply with quote  Mark this post and the followings unread

The trouble is, Any cheap microcontroller requires a programmer for which I don't have any budget. It's a good solution for folks who want to invest in a programmer though. When I looked at dsPIC chips, I found that they were not available in low pin-count with a DAC.

There are lots of advantages to a microcontroller approach but I want to try out an analog approach first for my particular application.

_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
jeff-o



Joined: Jul 19, 2009
Posts: 97
Location: Ontario, Canada

PostPosted: Sat Aug 01, 2009 9:30 am    Post subject: Reply with quote  Mark this post and the followings unread

yerpa58 wrote:
Using rare delay line ICs for Karplus-Strong seems like doing it the hard way. Any cheap microcontroller with some internal RAM can do the job all by itself. Here is an example, although this algorithm is hard to tune. I think your VCO method may be more useful in the long run.

http://www.reprolabs.com/fs7.htm


Very interesting! I'm still considering using a microcontroller or similar device for my implementation. It is the one and only "ultimate" goal, the question for me is whether it will be "Prism Mark II" or "Prism Mark III." Alas, my programming skills leave much (ok, everything) to be desired so that is a big brick wall in my case.

Thanks for the link, though. It proves to me that two strings can be simulated on a simple 8-bit PIC. A more powerful uC may indeed be able to handle 4 or 6 strings with all the bells and whistles I want to add!
Back to top
View user's profile Send private message
jeff-o



Joined: Jul 19, 2009
Posts: 97
Location: Ontario, Canada

PostPosted: Sat Aug 01, 2009 9:32 am    Post subject: Reply with quote  Mark this post and the followings unread

Also, I've found an inexpensive source for MN-series chips. They ship from Singapore but seem legit so far. If I don't get burned by someone on the other side of the Earth then I'll be sure to recommend them. Wink
Back to top
View user's profile Send private message
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 5964
Location: San Antonio, Tx, USA
Audio files: 258

PostPosted: Wed Aug 19, 2009 5:12 pm    Post subject: Reply with quote  Mark this post and the followings unread

jeffo, for an update on the hardware of the project, see this thread:

http://www.electro-music.com/forum/topic-36165.html

I don't have it working yet but it's only been one day, so give me time.

Les

_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
jeff-o



Joined: Jul 19, 2009
Posts: 97
Location: Ontario, Canada

PostPosted: Wed Aug 19, 2009 5:34 pm    Post subject: Reply with quote  Mark this post and the followings unread

Inventor wrote:
jeffo, for an update on the hardware of the project, see this thread:

http://www.electro-music.com/forum/topic-36165.html

I don't have it working yet but it's only been one day, so give me time.

Les


You're a few days ahead of me, but my delay line ICs are finally here! I have ten MN3204s, ten MN3209s, and 20 MN3102s. They cost a total of about $120, which is pretty good considering some places sell individual chips for $20 or more! I bought them from www.utsource.net.

I'll try to set up a simple K-S filter sometime soon...
Back to top
View user's profile Send private message
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 5964
Location: San Antonio, Tx, USA
Audio files: 258

PostPosted: Wed Aug 19, 2009 5:40 pm    Post subject: Reply with quote  Mark this post and the followings unread

kewl man, keep us posted! Smile
_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
jeff-o



Joined: Jul 19, 2009
Posts: 97
Location: Ontario, Canada

PostPosted: Thu Oct 29, 2009 9:54 am    Post subject: Reply with quote  Mark this post and the followings unread

Well, "sometime soon" hasn't come yet.

Inventor, have you had any luck?
Back to top
View user's profile Send private message
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 5964
Location: San Antonio, Tx, USA
Audio files: 258

PostPosted: Mon Nov 02, 2009 12:19 am    Post subject: Reply with quote  Mark this post and the followings unread

hey jeff-o, i posted to my thread in eChucK forum, so go there for some news. I just got done prototyping the oscillator which works at low speed. Need to test it at high speed, but guess what?

I met Rob.

No shit, Howard's friend Rob and he's a true wizard at analog electroonics. Karplus-Strong ain't nothing new to him and he knew all about it. He told me some secret details that rock. I will be including them on the next version of the circuit. The man is so incredible with his knowledge and intelligence that I had him sign the back of my paper check that he drew a schematic on.

So kick ass man! you just wait, there will be a ks board for you to use in the future. Best to ya man, Love and all that stuff. Be good.

Les

_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
jeff-o



Joined: Jul 19, 2009
Posts: 97
Location: Ontario, Canada

PostPosted: Mon Nov 02, 2009 4:38 am    Post subject: Reply with quote  Mark this post and the followings unread

Whoa, cool! I sent a few emails to Rob I think, but he didn't draw a schematic for me! Well if you've got something in the works then I'll just have to sit tight and see what you've come up with. I don't see myself having time to work on my next guitar until the new year now -- I've committed myself to building a bunch of Christmas presents that will eat up the remaining scraps of free time.

Heading over to eChuck now...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: Scott Stites
Page 2 of 2 [49 Posts]
View unread posts
View new posts in the last week
Goto page: Previous 1, 2
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » Thomas Henry designs
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
AmbiphonicDSP

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use