electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
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 
go to the radio page Live at electro-music.com radio 1 Please visit the chat
poster
 Forum index » DIY Hardware and Software » Les Hall's Projects including eChucK
Karplus Strong Opamp Circuit
Post new topic   Reply to topic Moderators: Inventor
Page 2 of 2 [42 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
dougseidel



Joined: Feb 10, 2010
Posts: 74
Location: NJ

PostPosted: Tue Oct 02, 2012 5:01 am    Post subject: Reply with quote  Mark this post and the followings unread

I agree with Gary also - I love reading your ideas and learning from your thought processes Les - it has helped me figure a lot of stuff out.

Doug

_________________
http://soundcloud.com/douglasmseidel
Back to top
View user's profile Send private message Visit poster's website
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 6221
Location: near Austin, Tx, USA
Audio files: 267

PostPosted: Mon Oct 08, 2012 8:19 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks for your perspectives guys, I've had some time away and I feel calmed now. I don't understand why life has to be so difficult, why people have hurt me so badly. Awww, whatever. I've got nothing to say.

Les

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



Joined: Mar 20, 2012
Posts: 2177
Location: Chicago
Audio files: 16

PostPosted: Mon Oct 08, 2012 8:25 am    Post subject: Reply with quote  Mark this post and the followings unread

Glad to see you back around, Les.
Back to top
View user's profile Send private message
analog_backlash



Joined: Sep 04, 2012
Posts: 393
Location: Aldershot, UK
Audio files: 21

PostPosted: Mon Oct 08, 2012 8:48 am    Post subject: Welcome Back Reply with quote  Mark this post and the followings unread

Ditto.
Back to top
View user's profile Send private message
telbonic



Joined: Jan 08, 2010
Posts: 39
Location: uk

PostPosted: Tue Oct 09, 2012 2:29 am    Post subject: Reply with quote  Mark this post and the followings unread

Inventor wrote:
Thanks for your perspectives guys, I've had some time away and I feel calmed now. I don't understand why life has to be so difficult, why people have hurt me so badly. Awww, whatever. I've got nothing to say.

Les


Sorry to add the british army to your list of people who don't work like you want them to, but there's a saying that goes around over the pond:

"If you can't work out who is being the dickhead, it's you"

From a complete outsiders perspective, with no history to draw on and looking at this thread in it's entirity, it looks squarely like someone tried to aid in your understanding of a circuit and you threw your toys out of the pram. Most people, having calmed down and read it through would have offered up an apology. But then most people would have been grateful to have been corrected in the first place - or in other words - been given the opportunity to expand thier knowledge.

Now, WAIT! Don't hit reply yet. Wait till you've calmed down, and re-read the whole thread. From the start. Perhaps if you do, when you hit the reply button, it'll be a straight apology to Scott, without any window dressing. He deserves one, and not via PM either.
Back to top
View user's profile Send private message
elmegil



Joined: Mar 20, 2012
Posts: 2177
Location: Chicago
Audio files: 16

PostPosted: Tue Oct 09, 2012 5:11 am    Post subject: Reply with quote  Mark this post and the followings unread

Really telbonic? That was necessary?

I think it's up to Scott to insist on an apology or not, as he wishes. Maybe you can re-read the thread yourself and take note of a couple salient points that make this particular situation more complex than your garden variety being a dickhead moment, and not tried to stir the pot after it was more or less calmed down.
Back to top
View user's profile Send private message
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 6221
Location: near Austin, Tx, USA
Audio files: 267

PostPosted: Tue Oct 09, 2012 7:16 am    Post subject: Reply with quote  Mark this post and the followings unread

Well, let's not get all worked up about offenses and apologies and ague and flame and all that. At electro-music.com we like to put out the fires of the flames pretty quick if only to keep the site nice and friendly, and i am STRONGLY guilty of not doing that with my childish outbursts.

I don't apologize ever because I believe that a change of behavior is far more significant than a statement that you regret your actions. In this case in particular, my behavior is not going to change until I better resolve my anger issues against all those people who hurt me so bad.

Oh, and that phrase you mention may be largely true, but not always. There are situations in society in which a person becomes a target of others simply by virtue of culture clash, superior intellect, lack of sensitivity to the feelings of others, or any of a thousand other reasons. In my case it may have been a mix of the above three which cause a group of people to incorrectly identify me as a bad person.

But the mistake was theirs, for the Lord says "Vengeance is Mine", meaning that you don't go around in life attacking people you don't like. It's wrong, and I was wronged. I'm still bitter about it but not that much. Don't judge me by reading this thread alone, I'm not that much of a jerk, lol!

Les

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



Joined: Jan 08, 2010
Posts: 39
Location: uk

PostPosted: Tue Oct 09, 2012 10:44 am    Post subject: Reply with quote  Mark this post and the followings unread

elmegil wrote:
Really telbonic? That was necessary?

I think it's up to Scott to insist on an apology or not, as he wishes. Maybe you can re-read the thread yourself and take note of a couple salient points that make this particular situation more complex than your garden variety being a dickhead moment, and not tried to stir the pot after it was more or less calmed down.


You know what Elmegil, you're right - it probably wasn't a good idea to say what was on my mind in the interest of everything being quiet, and my turn of phrase isn't as polite as it could be sometimes. I'm demanding nothing though, just speaking my mind because this time I think it's important - it was a considered post - my mouse did hover for a while over that "post" button.

I've had some issues with mental illness myself in the past - it's actually pretty common - somewhere around a 1 in 5 adults suffer from one form or another (depends on your source).

Anyway, mental illness might be a reason for someone's behaviour being different from those around them. It doesn't excuse the behaviour if it is unacceptable though and to allow it to do so doesn't help anyone, especially the person exhibiting the behaviour itself.

@Les: Saying sorry isn't just about what it means to you - it's about what it means to the people you're saying sorry to.

As a footnote - the first time I heard that phrase - it was me that was being the dickhead Smile
Back to top
View user's profile Send private message
Hollywood



Joined: May 22, 2012
Posts: 17
Location: Ireland

PostPosted: Tue Dec 04, 2012 7:19 pm    Post subject: Reply with quote  Mark this post and the followings unread

To bring this back on thread, would the differences between a strict KS model and what Les has come up with here mean that Les's approach could be used differently? And can you do it with a 741?
Back to top
View user's profile Send private message
JovianPyx



Joined: Nov 20, 2007
Posts: 1988
Location: West Red Spot, Jupiter
Audio files: 224

PostPosted: Wed Dec 05, 2012 7:00 am    Post subject: Reply with quote  Mark this post and the followings unread

Hollywood wrote:
To bring this back on thread, would the differences between a strict KS model and what Les has come up with here mean that Les's approach could be used differently? And can you do it with a 741?


In fact, it can and has been done. Modular users have done this with various filters that have a resonant quality where resonant means the impulse reponse is an exponentially decaying sinewave. I've personally done it with digital state variable filters set up as bandpass filters. And yes, I would think 741 would work. It's a matter of using such a filter where the input is connected to an impulse source.

One has a fair amount of control over the system as well. If the filter can be tuned and can be Q adjusted, the pitch of the "drum" is controlled by the filter's Fc (cutoff) value and the time period overwhich it will resonate is controlled by Q. Be careful with Q though because too much may cause the filter to oscillate.

While somewhat more complex than a single opamp filter, this is very easily done with a state variable filter. However, to be able to voltage tune an SVF, it might be best to use OTAs as the integrators instead of opamps.

Heh - some clever person can probably figure out a way to do it with opamps and vactrols too. In fact, it might be possible with Les's circuit replacing certain resistors with vactrols. Get out the solderless breadboard and experiment!

_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
JingleJoe



Joined: Nov 10, 2011
Posts: 878
Location: Lancashire, England
Audio files: 14

PostPosted: Fri Dec 07, 2012 3:20 am    Post subject: Reply with quote  Mark this post and the followings unread

I've used vactrols in filters before, however the main problem is matching them, a slight mis-match in resistance causes the filter to be extra-resonant or less resonant (it changes the Q factor and thus the filter type; chebyshev/bessel/butterworth). I don't know about SVF but I tried this with a butterworth, a twin T and some other twin T variations. It can also cause the filter to oscillate madly when you don't want it to. I did all sorts to get around this, I'll post the circuits eventually. Anyways just thought I'd chime in with my observed vactrol problems.
_________________
As a mad scientist I am ruled by the dictum of science: "I could be wrong about this but lets find out"


Green Dungeon Alchemist Laboratories
Back to top
View user's profile Send private message
elmegil



Joined: Mar 20, 2012
Posts: 2177
Location: Chicago
Audio files: 16

PostPosted: Fri Dec 07, 2012 6:01 am    Post subject: Reply with quote  Mark this post and the followings unread

So Joe, matching....

Just the total resistance, or are there other characteristics which have to be matched as well?
Back to top
View user's profile Send private message
JingleJoe



Joined: Nov 10, 2011
Posts: 878
Location: Lancashire, England
Audio files: 14

PostPosted: Fri Dec 07, 2012 12:04 pm    Post subject: Reply with quote  Mark this post and the followings unread

WARNING THREADJACK IN PROCESS
Posted Image, might have been reduced in size. Click Image to view fullscreen.

Yes, that's it, but I found that slight changes in LED forward voltage caused them to be brighter at different voltages, which leads to different resistances for two vactrols at the same voltage.
Also LEDs aren't really precision instruments, so I think thier light level will vary even at the same forward voltage. I get the feeling a lot of effort is put into making the light wavelengths of all the LEDs in one batch the same, but not the forward voltage / brightness.

Engineering can be defined as problem solving so there's allways a solution:
I put trimpots in series with the LEDs and a 1k resistor and just tirmmed them untill my filters didn't oscillate madly and they behaved how I wanted them to Smile
Also you can simply make one vactrol higher resistance than the other by making the LED resistor twice the value of the other vactrol's resistor. Weighting them in this way will kill a lot of the resonance without fiddling, but may attenuate it too much for your liking or alter the filter type to one which you do not desire.

_________________
As a mad scientist I am ruled by the dictum of science: "I could be wrong about this but lets find out"


Green Dungeon Alchemist Laboratories
Back to top
View user's profile Send private message
JovianPyx



Joined: Nov 20, 2007
Posts: 1988
Location: West Red Spot, Jupiter
Audio files: 224

PostPosted: Fri Dec 14, 2012 7:37 am    Post subject: Reply with quote  Mark this post and the followings unread

The idea of a vactrol I posted was a more Lunetta style approach, and yeah, I would think that some matching might improve their tracking of each other. It would be a possibly fun benchtop experiment on a solderless breadboard that could be used at least as a learning experience.

I also mentioned OTAs which are already somewhat matched (quite more at least than randomly chosen vactrols).

There are also other types of filters that can be used for resonant drum type sounds, state variable in bandpass mode for one.

_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
Cynosure
Site Admin


Joined: Dec 11, 2010
Posts: 966
Location: Toronto, Ontario - Canada
Audio files: 82

PostPosted: Wed Oct 16, 2013 7:32 am    Post subject: Reply with quote  Mark this post and the followings unread

I tried testing this out on breadboard but can't get it to work. I changed it to a +/-5V power supply so used 0V where you used virtual ground. I also used a TL074 as the opamp. I don't have any 330k resistors, so I tried 470k instead.

When it didn't work I tried changing the 470k resistors to 100k, and I tried changing the 0.1uf caps to both 1uf and 0.01uf.

Any suggestions for how to get it to work?

_________________
JacobWatters.com
Back to top
View user's profile Send private message
Cynosure
Site Admin


Joined: Dec 11, 2010
Posts: 966
Location: Toronto, Ontario - Canada
Audio files: 82

PostPosted: Wed Oct 16, 2013 11:54 am    Post subject: Reply with quote  Mark this post and the followings unread

I made C2 a lot smaller (470pF) and added a resistor from the left side of C2 to the output of the opamp and that gave me really high oscillations.

I think the problem was that it was oscillating too slowly and the click was gone before it had time to oscillate.

Unfortunately, the click goes away so quickly that it is only usable for a clap or wood block type of sound.

I tried using a slow rate squarewave osc instead of clicks, but that just makes two clicks instead (one on the rise and one on the fall).

Any suggestions for how to increase the duration of the sound?

How do i coax it into oscillating more easily?

_________________
JacobWatters.com
Back to top
View user's profile Send private message
JovianPyx



Joined: Nov 20, 2007
Posts: 1988
Location: West Red Spot, Jupiter
Audio files: 224

PostPosted: Wed Oct 16, 2013 12:40 pm    Post subject: Reply with quote  Mark this post and the followings unread

First, I'd suggest using a bandpass filter.

The answer to how to get longer resonance is higher Q. Too much Q could give you self oscillation though.

_________________
FPGA, dsPIC and Fatman Synth Stuff

Time flies like a banana.
Fruit flies when you're having fun.
BTW, Do these genes make my ass look fat?
corruptio optimi pessima
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: Inventor
Page 2 of 2 [42 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 » Les Hall's Projects including eChucK
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


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