electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  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
  faux pas quartet and friends Music From Last Thursday
Please visit the chat
 Forum index » DIY Hardware and Software
555-based FM synthesis
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 1 of 1 [8 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
ion_nine



Joined: Mar 13, 2009
Posts: 4
Location: casper, wy

PostPosted: Mon May 10, 2010 6:01 pm    Post subject: 555-based FM synthesis Reply with quote  Mark this post and the followings unread

Hello all, I have posed a long, long time ago about my concept of cascade synthesis. I have been researching non-stop since then, and am implementing the concept into an FM synthesizer based on the LM555 to produce square and triangle wave form. I plan to key the oscillator using resistors (notes) and capacitors (octaves) which are selected by an Arduino unit.

The basic concept is (in a brief nutshell) the modulation frequency is generated by a complex yet percussive pulse stream which is produced as a result of six individual, variable frequency pulse generators being passed through a "cascade" of user-definable gates. This is further processed through a PLL, and the comparator's PWM output is then converted into an analog signal and applied to the 555's CV input (this is all beside the point).

I know that 555 is less than desirable as a musical instrument. However, from what I understand this is primarily because the CV input is inverse, however, I will not be using CV for keying, but rather for frequency modulation (and even if I were, the arduino would permit any type of CV)

What I am wondering is this: does the LM555 have any other issues aside from the it's difficulty to use in a 1v/octave synthesizer and relative difficulty to produce anything but square waves?

Aside from the cascade method itself (which I am pretty confident in and the explination above is pretty brief) do you see any major issues with what I am trying to accomplish? Will the 555 "fail" at FM synthesis (I am assuming tot since it can be implemented as an RF FM transmitter)? Is there any kind of other concerns which I need to know for spending time and money on the components?

I have to get going now, will post schematics if requested...
Back to top
View user's profile Send private message
Danno Gee Ray



Joined: Sep 25, 2005
Posts: 1310
Location: Telford, PA USA

PostPosted: Mon May 10, 2010 6:34 pm    Post subject: Reply with quote  Mark this post and the followings unread

Please post schematics.
Back to top
View user's profile Send private message
slugger



Joined: Feb 11, 2010
Posts: 42
Location: up on Cripple Creek (CO)

PostPosted: Tue May 11, 2010 12:13 am    Post subject: Re: 555-based FM synthesis Reply with quote  Mark this post and the followings unread

ion_nine wrote:
Will the 555 "fail" at FM synthesis (I am assuming tot since it can be implemented as an RF FM transmitter)? Is there any kind of other concerns which I need to know for spending time and money on the components?


I'm not sure about your specific application, but I've had good (as in enjoyable to me) results using the 555 in something like FM. I've only ever used it in a one-osc-modulating-another setting though.

ion_nine wrote:
I have to get going now, will post schematics if requested...


Yes please. Smile

_________________
the synthgeek pages - samples & stuff
my blog
Back to top
View user's profile Send private message Visit poster's website
ion_nine



Joined: Mar 13, 2009
Posts: 4
Location: casper, wy

PostPosted: Wed May 12, 2010 4:22 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hopefully below you will find an attachment of my VCO circuit. It is adapted from:

http://www.all-electric.com/schematic/eticircuits/555-triangle-with-independent-slopes.htm

Let me know what you think Smile Basically the way it works is the resistors and capacitors function like a digitally controlled incremental pots, the IC's which are connected to these banks are counters. With a "NOTE ON" message, the counters are reset, and the arduino selects the correct resistor and capacitor for the frequency requested using the digital output. I used trim pots rather than digital potentiometers to 1) simplify the arduino program and 2) to avoid tuning problems since you have fixed resolution (any error would be multiplied in the other octaves). I know that digital pots would have advantages, but, I also like screwdrivers.

The "tune" pin header is connected to a potentiometer which allows for an arbitrary detune.


VCO.pdf
 Description:

Download
 Filename:  VCO.pdf
 Filesize:  31.09 KB
 Downloaded:  217 Time(s)

Back to top
View user's profile Send private message
slugger



Joined: Feb 11, 2010
Posts: 42
Location: up on Cripple Creek (CO)

PostPosted: Wed May 12, 2010 7:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

ion_nine wrote:
Hopefully below you will find an attachment of my VCO circuit. It is adapted from:

http://www.all-electric.com/schematic/eticircuits/555-triangle-with-independent-slopes.htm


Nice, thanks for posting that link and your schematic. My plan now is to add this square to saw converter from the Experimentalists Anonymous archives to the above-linked VCO, I have a similar thing built with a 566 already, will be fun to see how they compare.

Btw, I haven't actually gotten a real great saw with my 566 version, but I had to sub some components, I was just using what I had on hand. It fits my criteria of making sounds I like, and that's my only goal here. Smile

_________________
the synthgeek pages - samples & stuff
my blog
Back to top
View user's profile Send private message Visit poster's website
JovianPyx



Joined: Nov 20, 2007
Posts: 803
Location: West Red Spot, Jupiter
Audio files: 97

PostPosted: Fri May 14, 2010 1:56 pm    Post subject: Reply with quote  Mark this post and the followings unread

A true sawtooth waveform is possible with a 555 timer by using a current source to charge the capacitor. It is the current source that causes the ramp to be linear. In your schematic, current is supplied to the capacitor through a resistor, this will produce an exponential charge curve and not a linear ramp. See the PAiA Fatman schematic for a 555 oscillator that generates a sawtooth with a linear current source. That VCO can be FM'd in the classical sense.

As for FM, I'm not sure that what you're doing is really FM, it sounds more like synch. This may or may not give you sounds you appreciate, but as I said, it may be a misnomer to refer to it as "FM".

True FM is accomplished by using a voltage controlled oscillator (where the oscillator pitch is controlled by a DC voltage) and adding an audio rate AC signal to the DC pitch voltage. This is usually done with a linear VCO, that is, a VCO that uses a linear pitch CV (as opposed to an expo VCO). With FM, the FM signal acts on all parts of the waveform, not just affecting the reset time. As such, FM imparts harmonics onto the output. FM is usually performed using a voltage controlled sinewave oscillator. The reason for that (a la DX7) was to give the audio impression of having a lowpass filter when there is none.

My own attempt to do FM with a 555 (7555 actually, the CMOS version is better because it doesn't crowbar the supply while pin 3 switches states) used the 555's CV (or FM) input. The problem with this is that it works only for FM inputs that are lower in frequency than the operating frequency of the oscillator. This is because the FM (or CV) input controls only the threshhold at which the timer resets and does nothing to change the ramp contour as real FM would. When I tried to use higher frequencies than LFO, it just sounded like crap.

If you use a current source to charge your capacitor, you will not need the capacitor bank for octaves (nor the resistor array for semitones) because you should be able to generate 5 octaves worth of linear CV using the arduino and a DAC in a manner that is similar to the way it is done in the FatMan. The FatMan does this with an _eight_ bit DAC and it is quite accurate. Using the current source will also allow you to do true FM.

I'll be interested to hear some audio samples when you get it together.

_________________
FPGA Synth Stuff
FatMan Mods
I am formerly known as ScottG here

Time flies like a banana.
Fruit flies when you're having fun.
Back to top
View user's profile Send private message Visit poster's website
slugger



Joined: Feb 11, 2010
Posts: 42
Location: up on Cripple Creek (CO)

PostPosted: Fri May 14, 2010 2:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

JovianPyx wrote:
A true sawtooth waveform is possible with a 555 timer by using a current source to charge the capacitor. It is the current source that causes the ramp to be linear. In your schematic, current is supplied to the capacitor through a resistor, this will produce an exponential charge curve and not a linear ramp. See the PAiA Fatman schematic for a 555 oscillator that generates a sawtooth with a linear current source. That VCO can be FM'd in the classical sense.


Thanks for pointing that out, I'm gonna have to have a look at that.

JovianPyx wrote:

My own attempt to do FM with a 555 (7555 actually, the CMOS version is better because it doesn't crowbar the supply while pin 3 switches states) used the 555's CV (or FM) input. The problem with this is that it works only for FM inputs that are lower in frequency than the operating frequency of the oscillator. This is because the FM (or CV) input controls only the threshhold at which the timer resets and does nothing to change the ramp contour as real FM would. When I tried to use higher frequencies than LFO, it just sounded like crap.


Aha! This explains some behavior I've noticed with my noisemakers. I personally like the sounds I'm getting, but I did notice that it didn't really seem to be acting like real FM.

_________________
the synthgeek pages - samples & stuff
my blog
Back to top
View user's profile Send private message Visit poster's website
pemdasi



Joined: May 09, 2010
Posts: 19
Location: richmond, va
Audio files: 5

PostPosted: Mon May 24, 2010 4:25 pm    Post subject: Reply with quote  Mark this post and the followings unread

It's definately possible to make some FMish noise using 555s. Right now on my breadboard I have two 555s setup in astable mode, one of them acting as an LFO, the other as a audio range osc. I took the fake saw output on the threshhold pin of the LFO 555 and passed it to the CV pin of the other osc using a diode in between. The output of both oscs are going to a 2-bit R2R ladder. Nice radiophonic type sounds are coming from it.

This is a sound example, minus the r2r bit: 555 FM Example
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 1 of 1 [8 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software
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
Niio2

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