Strange comment in wikipedia about TB303's square waves
- u-he
- 30213 posts since 8 Aug, 2002 from Berlin
On a side note, a highpass filtered squarewave looks exactly like the description on wp: It's a squarewave with with a falling slope on the +1 and a rising slope on the -1 bit. Which one might easily confuse with a sawtoothish appearance or even, uhm, even harmonics.
The threshold/comparator theory makes sense. A square wave that oscillates between 0 and 1 has to be highpassed to get rid of the dc-offset (easier to use an RC-thing than wasting another opamp to subtract 0.5), which would explain the highpassed appearance...
The threshold/comparator theory makes sense. A square wave that oscillates between 0 and 1 has to be highpassed to get rid of the dc-offset (easier to use an RC-thing than wasting another opamp to subtract 0.5), which would explain the highpassed appearance...
- KVRAF
- 2570 posts since 4 Sep, 2006 from 127.0.0.1
Urs: probably, btw, i find a lot of other web pages about "The Roland TB-303" (generaly, small ones) using the same text from that article on Wikipedia..
and i've seen other music-related topics from wikipedia, being discused at other forums that are incorrect.. guess they are right too..
well, wikipedia can give you a simple idea about something, but if you want to really know the "truth" then you will want to dig deeper, and not blindly trust wikipedia
that's what i think i'll do from now on
and i've seen other music-related topics from wikipedia, being discused at other forums that are incorrect.. guess they are right too..
well, wikipedia can give you a simple idea about something, but if you want to really know the "truth" then you will want to dig deeper, and not blindly trust wikipedia
that's what i think i'll do from now on
It doesn't matter how it sounds..
..as long as it has BASS and it's LOUD!
irc.libera.chat >>> #kvr
..as long as it has BASS and it's LOUD!
irc.libera.chat >>> #kvr
-
- KVRist
- 411 posts since 12 May, 2005
I don't really know the method by which the TB-303 generates its square wave (although whatever it is, it has a unique sound). But I think the idea behind which this is suggested is more like the negative cycle is "reversed" rather than flipped. Basically odd harmonics are produced by symmetry and even harmonics are produced by asymmetry. A square, a triangle, and a sine wave are all symmetric about the X axis and so only produce even harmonics. A sawtooth is perfectly asymmetric about the x axis, so it produces odd harmonics. But flip the negative cycle and it becomes completely symmetric.
So this:
Becomes this:
This was somewhat useful in hardware design a long, long time ago, because triangle, sawtooth, and something resembling a "square" wave could be generated all from an up/down counter and some basic logic circuitry without any processing or RAM necessary. I don't know how or if there is an efficient implementation of the same concept in the analog domain, if there is I've never heard of it.
So this:
Code: Select all
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
\| \| \| \| \| \| \| \| \| \| \| \|Code: Select all
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
|/ |/ |/ |/ |/ |/ |/ |/ |/ |/ |/ |/- u-he
- 30213 posts since 8 Aug, 2002 from Berlin
Absolutely! I spent another enlightning day reading Hal Chamberlin's book (errm bible?) to figure out where wp is just a tad too, hmmm, lacking. I love wp though for all the things I don't know about.antto wrote:well, wikipedia can give you a simple idea about something, but if you want to really know the "truth" then you will want to dig deeper, and not blindly trust wikipedia
that's what i think i'll do from now on
- KVRAF
- 2570 posts since 4 Sep, 2006 from 127.0.0.1
i agree about the Transistor/Comparator version
it was a cheap synth, i don't believe there are 2 saw oscs in there really
but i guess the PW could be adjustable, if it compares the Saw waveform and "splits it in half" then some DC offset could be added with the Saw signal, and it'll split it at a different place (the amount of DC offset will adjust the PW)
the "strange" look of the Square is due to the HighPass + Resonant LowPass filters after the Osc (as mystran and Urs said)
it's not so difficult to achieve the "look" of it
look at this.mp3 in a sound editor, it looks damn close to the audio materials i got of the real thing..
it was a cheap synth, i don't believe there are 2 saw oscs in there really
but i guess the PW could be adjustable, if it compares the Saw waveform and "splits it in half" then some DC offset could be added with the Saw signal, and it'll split it at a different place (the amount of DC offset will adjust the PW)
the "strange" look of the Square is due to the HighPass + Resonant LowPass filters after the Osc (as mystran and Urs said)
it's not so difficult to achieve the "look" of it
look at this.mp3 in a sound editor, it looks damn close to the audio materials i got of the real thing..
It doesn't matter how it sounds..
..as long as it has BASS and it's LOUD!
irc.libera.chat >>> #kvr
..as long as it has BASS and it's LOUD!
irc.libera.chat >>> #kvr
-
- KVRAF
- 6391 posts since 8 Jun, 2009
In practice, it's easier to alter the point at which the waveshaper switches rather than mess with the sawtooth generator. It's a matter of adjusting the resistors used to bias (or control) the behaviour of the transistor. Apparently R45 is the one: http://www.ladyada.net/forums/viewtopic.php?f=13&t=6389.antto wrote:i agree about the Transistor/Comparator version
it was a cheap synth, i don't believe there are 2 saw oscs in there really
but i guess the PW could be adjustable, if it compares the Saw waveform and "splits it in half" then some DC offset could be added with the Saw signal, and it'll split it at a different place (the amount of DC offset will adjust the PW)
I've edited the wiki entry BTW: just a matter of waiting to see if an over-enthusiastic admin rolls back the change.
- KVRAF
- 2570 posts since 4 Sep, 2006 from 127.0.0.1
yeah, i meant adding DC offset to the comparator (on input, combined with the saw), not messing with the sawtooth osc in any way..
over-enthusiastic admin? hm..
tell me if he does..
over-enthusiastic admin? hm..
tell me if he does..
It doesn't matter how it sounds..
..as long as it has BASS and it's LOUD!
irc.libera.chat >>> #kvr
..as long as it has BASS and it's LOUD!
irc.libera.chat >>> #kvr
- u-he
- 30213 posts since 8 Aug, 2002 from Berlin
That's the usual way, yes.antto wrote:yeah, i meant adding DC offset to the comparator (on input, combined with the saw), not messing with the sawtooth osc in any way..
- KVRAF
- 8487 posts since 12 Feb, 2006 from Helsinki, Finland
Anyone for any interesting ideas of where the asymmetry in the resonance comes? It must be something clipping somewhere where there's DC offset (?) present because at least the samples on xox site seem to show that it stabilizes back to symmetry further into a long note.
edit: nevermind, probably a later stage... turns out the resonant frequency stays constant, which couldn't possibly happen (as far as I can tell) if it was different resonance.. so somewhere after the filter, but before the hipass it gets clipped asymmetrically..
edit: nevermind, probably a later stage... turns out the resonant frequency stays constant, which couldn't possibly happen (as far as I can tell) if it was different resonance.. so somewhere after the filter, but before the hipass it gets clipped asymmetrically..
Last edited by mystran on Tue Aug 25, 2009 10:06 pm, edited 1 time in total.
-
- KVRAF
- Topic Starter
- 3404 posts since 15 Sep, 2002
I highpass my squares and they still look very squarish. What do other people set their cutoff to? (And my highpass is only 12db per octave, should I be going for something a bit more severe to go after any bias that might creep in?)
I assume the point you guys make is that the filters (low-, high-, or all-pass) will affect the phases of the various partials, and that's why the waveforms from the oscillator can look so different from the waveforms coming out of the filters.
I completely understand that.
I assume the point you guys make is that the filters (low-, high-, or all-pass) will affect the phases of the various partials, and that's why the waveforms from the oscillator can look so different from the waveforms coming out of the filters.
I completely understand that.
Last edited by mistertoast on Tue Aug 25, 2009 10:05 pm, edited 1 time in total.
Swing is the difference between a drum machine and a sex machine.
- KVRAF
- 8487 posts since 12 Feb, 2006 from Helsinki, Finland
Try something like 100Hz.mistertoast wrote:I highpass my squares and they still look very squarish. What do other people set their cutoff to? (And my highpass is only 12db per octave, should I be going for something a bit more severe to go after any bias that might creep in?)
-
- KVRAF
- Topic Starter
- 3404 posts since 15 Sep, 2002
I figured 30 hertz. A bass guitar in standard tuning goes as low as 41 hertz and a bass with extra strings goes as low as 31 hertz.mystran wrote:Try something like 100Hz.mistertoast wrote:I highpass my squares and they still look very squarish. What do other people set their cutoff to? (And my highpass is only 12db per octave, should I be going for something a bit more severe to go after any bias that might creep in?)
Swing is the difference between a drum machine and a sex machine.
-
- KVRAF
- Topic Starter
- 3404 posts since 15 Sep, 2002
That's interesting. It makes a lot more sense than what was in the wikipedia article (since changed, of course).uvacom wrote:I don't really know the method by which the TB-303 generates its square wave (although whatever it is, it has a unique sound). But I think the idea behind which this is suggested is more like the negative cycle is "reversed" rather than flipped. Basically odd harmonics are produced by symmetry and even harmonics are produced by asymmetry. A square, a triangle, and a sine wave are all symmetric about the X axis and so only produce even harmonics. A sawtooth is perfectly asymmetric about the x axis, so it produces odd harmonics. But flip the negative cycle and it becomes completely symmetric...
Swing is the difference between a drum machine and a sex machine.
