Author |
Message |
Peake

Joined: Jun 29, 2007 Posts: 1113 Location: Loss Angeles
Audio files: 3
|
Posted: Wed Apr 09, 2008 11:35 am Post subject:
Square to sawtooth waveform conversion? Subject description: I want to get more mileage out of suboctaves |
 |
|
Hi, Google hath failed me
I want to add a suboctave module to my system, and want more than a square or pulse waveform. Was it Fritz who posted a sine suboctave generator? Does anyone have a circuit for square to saw conversion?
Thanks.. |
|
Back to top
|
|
 |
françois
Joined: Dec 23, 2006 Posts: 139 Location: Paris (France)
Audio files: 1
|
Posted: Wed Apr 09, 2008 11:49 am Post subject:
|
 |
|
Hello,
Generating a sawtooth from a square is not possible since the square has lost almost all time information. OTOH, making a sine is possible by filtering out all the harmonics.
I posted here some weeks (or was it months ?) ago a topic on how to generate sub-octave and super-octave sawtooths (and also ×3, ×5, ÷3 and ÷5 frequencies). I'll try to find it.
EDIT: here it is :
http://electro-music.com/forum/topic-22679.html
Yours,
-- françois |
|
Back to top
|
|
 |
bubblechamber

Joined: Nov 04, 2006 Posts: 280 Location: NYC
Audio files: 1
|
Posted: Wed Apr 09, 2008 12:19 pm Post subject:
|
 |
|
well, if you convert your Square to a Triangle, you can use them both to create a Saw using the EN#129 waveshaper... |
|
Back to top
|
|
 |
françois
Joined: Dec 23, 2006 Posts: 139 Location: Paris (France)
Audio files: 1
|
Posted: Wed Apr 09, 2008 12:53 pm Post subject:
|
 |
|
bubblechamber wrote: | well, if you convert your Square to a Triangle, you can use them both to create a Saw using the EN#129 waveshaper... |
Indeed. The only problem is that a triangle is as impossible to get from a square as a sawtooth is.
Of course, if you let your square wave go through an integrator, you do get a triangle wave. But its amplitude will change with the frequency of the square wave, a most undesirable feature I think.
-- françois |
|
Back to top
|
|
 |
ian-s

Joined: Apr 01, 2004 Posts: 2672 Location: Auckland, New Zealand
Audio files: 42
G2 patch files: 626
|
Posted: Wed Apr 09, 2008 1:19 pm Post subject:
|
 |
|
You can get a 75% pulse by ORing divide by 2 and divide by 4. This is close to a saw harmonically. Roland do it on some of their synths. |
|
Back to top
|
|
 |
bubblechamber

Joined: Nov 04, 2006 Posts: 280 Location: NYC
Audio files: 1
|
Posted: Wed Apr 09, 2008 1:33 pm Post subject:
|
 |
|
françois wrote: | bubblechamber wrote: | well, if you convert your Square to a Triangle, you can use them both to create a Saw using the EN#129 waveshaper... |
Indeed. The only problem is that a triangle is as impossible to get from a square as a sawtooth is.
Of course, if you let your square wave go through an integrator, you do get a triangle wave. But its amplitude will change with the frequency of the square wave, a most undesirable feature I think.
-- françois |
and I think it's an inverse relationship so that the higher the frequency the lower the amplitude.
there is a sawtooth generator in the op amp cookbook, fig 7-25 in my copy, that might do the trick. it runs off a Square input so your suboct Square should work as the trigger. if you need a scan let me know and I'll post it... looks very simple. if I have the time over the next day or 2 I'll breadboard it and see how it works.
d |
|
Back to top
|
|
 |
Peake

Joined: Jun 29, 2007 Posts: 1113 Location: Loss Angeles
Audio files: 3
|
Posted: Wed Apr 09, 2008 8:07 pm Post subject:
|
 |
|
Thank you for all of the replies. Yes, please scan it and post away. I appreciate it and it might create a bit of interest. |
|
Back to top
|
|
 |
françois
Joined: Dec 23, 2006 Posts: 139 Location: Paris (France)
Audio files: 1
|
|
Back to top
|
|
 |
richardc64

Joined: Jun 01, 2006 Posts: 679 Location: NYC
Audio files: 26
|
|
Back to top
|
|
 |
sneakthief

Joined: Jul 24, 2006 Posts: 569 Location: Berlin
|
|
Back to top
|
|
 |
françois
Joined: Dec 23, 2006 Posts: 139 Location: Paris (France)
Audio files: 1
|
Posted: Thu Apr 10, 2008 5:25 am Post subject:
|
 |
|
richardc64 wrote: | http://home.comcast.net/~sbernardi/elec/og2/og3_sine_suboctave.html |
Interesting, and very similar to my design. The ony differnce is that mine was only SPICE tested, not even breadboarded... But even so, it has glitches (spikes) at every reset of the input saw. These are normally not audible, but can be removed (to a large amound) by adding a small (say, 100p) cap across the feedback resistore at U1.
-- françois |
|
Back to top
|
|
 |
Funky40
Joined: Sep 24, 2005 Posts: 875 Location: Swiss
Audio files: 1
G2 patch files: 5
|
Posted: Thu Apr 10, 2008 5:51 am Post subject:
Re: Square to sawtooth waveform conversion? Subject description: I want to get more mileage out of suboctaves |
 |
|
Peake wrote: | Hi, Google hath failed me
I want to add a suboctave module to my system, and want more than a square or pulse waveform. Was it Fritz who posted a sine suboctave generator?
Thanks.. |
the Modul fcrom Scott Bernardi delivers Sine, saw, and Square suboctaves.
It must be feed with Sawwaves.
I just opened a Thread for this Module:
http://www.electro-music.com/forum/post-179578.html#179578
here the link to Scott B' site: ( schematic is on the Bottom )
http://home.comcast.net/~sbernardi/elec/og2/og3_sine_suboctave.html |
|
Back to top
|
|
 |
bubblechamber

Joined: Nov 04, 2006 Posts: 280 Location: NYC
Audio files: 1
|
|
Back to top
|
|
 |
françois
Joined: Dec 23, 2006 Posts: 139 Location: Paris (France)
Audio files: 1
|
Posted: Fri Apr 11, 2008 2:30 am Post subject:
|
 |
|
Thank you !
I must have a deeper look on this circuit, but at first view I doubt it will convert a square into a saw at the same frequency. It seems to be just a synchronized sawtooth generator. But I'm not really sure, I'll have a really torough analysis before I can say more.
BTW, which book did you get this from ? I've not seen it in any of mine, so I must have missed one of the (very many) refverence book around there...
-- françois |
|
Back to top
|
|
 |
yusynth

Joined: Nov 24, 2005 Posts: 1314 Location: France
|
Posted: Fri Apr 11, 2008 2:50 am Post subject:
|
 |
|
bubblechamber wrote: | this is from Jung's Op Amp Cookbook. it doesn't look prefect, but it does look easy... |
This schematic is based on what is called a TAC for Time to Amplitude Converter, this is used to measure a time delay between two events or convert a frequency into a CV. This is not what you expect, the slope of the generated ramp is constant (adjustable by the potentiometer R5). Therefore, if you apply a rectangular signal to the inputs then you will get a ramp of constant slope and variable amplitude depending on the input frequency. You would have to change the value of R5 in phase with the input frequency... _________________ Yves |
|
Back to top
|
|
 |
Clack

Joined: Aug 08, 2005 Posts: 438 Location: Walthamstow - london
Audio files: 5
G2 patch files: 1
|
Posted: Fri Apr 11, 2008 7:15 am Post subject:
|
 |
|
yusson wrote: |
You would have to change the value of R5 in phase with the input frequency... |
would it be possible to do ? with another frequency to volt converter? I imagine it would be pretty hard to sync. but possible?
This kind of thing would be ideal for a F multiplier too as a sawtooth can be split with comparators. _________________ Clacktronics.co.uk |
|
Back to top
|
|
 |
yusynth

Joined: Nov 24, 2005 Posts: 1314 Location: France
|
Posted: Fri Apr 11, 2008 7:23 am Post subject:
|
 |
|
Mr Clack wrote: | yusson wrote: |
You would have to change the value of R5 in phase with the input frequency... |
would it be possible to do ? with another frequency to volt converter? I imagine it would be pretty hard to sync. but possible?
This kind of thing would be ideal for a F multiplier too as a sawtooth can be split with comparators. |
Yes it would, but that would be poorly efficient. If you have TAC like here you can easily extract the average amplitude of the sawtooth and use this voltage to drive a sawtooth linear VCO. _________________ Yves |
|
Back to top
|
|
 |
bubblechamber

Joined: Nov 04, 2006 Posts: 280 Location: NYC
Audio files: 1
|
Posted: Fri Apr 11, 2008 10:39 am Post subject:
|
 |
|
françois wrote: |
BTW, which book did you get this from ? I've not seen it in any of mine, so I must have missed one of the (very many) refverence book around there...
-- françois |
it's from Walter Jung's IC Op Amp Cookbook. I seem to have a first edition, so maybe this was left out in later versions. there might be something in the 555 timer cookbook I have. I'll look through these over the weekend. this is something I'm pretty interested in too. |
|
Back to top
|
|
 |
françois
Joined: Dec 23, 2006 Posts: 139 Location: Paris (France)
Audio files: 1
|
Posted: Sat Apr 12, 2008 1:59 am Post subject:
|
 |
|
bubblechamber wrote: | it's from Walter Jung's IC Op Amp Cookbook. I seem to have a first edition, so maybe this was left out in later versions. there might be something in the 555 timer cookbook I have. I'll look through these over the weekend. this is something I'm pretty interested in too. |
Oh, this one ? I should have thought of it at first glance. I don't have it, but it is quoted every here and there as a "classic". I think I'll buy it, I had a look at Amazon, it is not really expensive (around US$40, i.e. €30).
Thanks !
-- françois |
|
Back to top
|
|
 |
Danno Gee Ray
Joined: Sep 25, 2005 Posts: 1351 Location: Telford, PA USA
|
Posted: Sun Apr 13, 2008 9:19 am Post subject:
|
 |
|
I have the third edition of that book and in mine, the figure is now "Fig. 10-24" and is found on page 492. |
|
Back to top
|
|
 |
JovianPyx

Joined: Nov 20, 2007 Posts: 1988 Location: West Red Spot, Jupiter
Audio files: 224
|
Posted: Mon Apr 14, 2008 6:52 am Post subject:
|
 |
|
Some years ago, someone sent me a schematic for a square to saw (or perhaps square to tri) circuit. It was based on successive approximation, but the wave would quickly evolve when the input changed frequency.
Unfortunately, I am not at liberty to reveal the schematic, I promised not to do that. _________________ 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
|
|
 |
jhaible

Joined: May 25, 2007 Posts: 2014 Location: Germany
Audio files: 24
|
Posted: Mon Apr 14, 2008 8:35 am Post subject:
|
 |
|
Has anybody mentioned the old Korg trick to create Saw suboctaves?
You start with a saw in the highest octave, then divide down the frequency with flipflops to get the lower octaves, all in square wave form.
Then you build starcase waveforms from weighted squares of the required octave, and all higher octaves.
And finally, you fill the gaps of this staircase with the saw wave from the highest octave.
Voila, saw wave in every sub octave.
Many old Korg synths did this:
Minikorg, Maxikorg, PS-3100 (and if memory serves, the Polysix as well).
This was mainly used for creating the "normal" oscillator signal in different transpositions rather than for dedicated suboctave generators.
I've used this method in the JH-720, whose VCO was inspired by the Minikorg 700:
http://home.debitel.net/user/jhaible/jh_720_vco_core.gif
JH.
(wondering if it makes sense to ffer some old style Korg synth PCBs at one time - there's a lot of interesing stuff burried in old Korg's - "singing" envelope, anybody? ) _________________ "I tell you the truth, if anyone says to this mountain, 'Go, throw yourself into the sea,' and does not doubt in his heart but believes that what he says will happen, it will be done for him. Therefore I tell you, whatever you ask for in prayer, believe that you have received it, and it will be yours." (Mk 11,23f) |
|
Back to top
|
|
 |
Peake

Joined: Jun 29, 2007 Posts: 1113 Location: Loss Angeles
Audio files: 3
|
Posted: Mon Apr 14, 2008 10:49 am Post subject:
|
 |
|
That rings a bell- wasn't the SH7 something similar to that Korg design? It would be interesting to have that with mixing versus switching. |
|
Back to top
|
|
 |
jhaible

Joined: May 25, 2007 Posts: 2014 Location: Germany
Audio files: 24
|
Posted: Mon Apr 14, 2008 1:25 pm Post subject:
|
 |
|
Peake wrote: | That rings a bell- wasn't the SH7 something similar to that Korg design? It would be interesting to have that with mixing versus switching. |
I think the SH7 has two VCOs (x2), with one sync'ed to the other. (Long time since I checked - forgot what has been the goal behind that - but it's certainly a different method from Korg's)
JH. _________________ "I tell you the truth, if anyone says to this mountain, 'Go, throw yourself into the sea,' and does not doubt in his heart but believes that what he says will happen, it will be done for him. Therefore I tell you, whatever you ask for in prayer, believe that you have received it, and it will be yours." (Mk 11,23f) |
|
Back to top
|
|
 |
gavgomad
Joined: Jan 29, 2006 Posts: 69 Location: Canada
|
Posted: Mon Apr 14, 2008 2:05 pm Post subject:
|
 |
|
Ah, the ol' Korg "singing" envelope.... Memories of my ol' maxi-korg that I sold many years ago. Unique instrument, although there were elements of the design that were SO foreign to me that I could never really tell if the synth was actually working to spec, or just "freaking out" - the "Repeat" circuit, for example.... Never understood those modes! ;-P
Gavin. |
|
Back to top
|
|
 |
|