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 
 Forum index » DIY Hardware and Software
Quantizer idea
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 1 of 2 [37 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Goto page: 1, 2 Next
Author Message
doctorvague



Joined: Mar 14, 2007
Posts: 281
Location: new mexico
Audio files: 2

PostPosted: Wed Sep 17, 2008 7:22 pm    Post subject: Quantizer idea Reply with quote  Mark this post and the followings unread

Goals:
4 discrete channels of quantization with as much immediate random access to scales, transposition , octaves etc. as possible. Individual notes accessible on the fly to build scales, chords, bass lines etc. Octave switching and swap-switches add to the immediate experience. Can you feel yourself massaging those toggles yet?


Posted Image, might have been reduced in size. Click Image to view fullscreen.

A 4-width Frac-rack implementation.

This design is a 4 channel quantizer with dual controls. Each of 4 CV inputs is separately quantized, selectable between A and B quantizers and transpose controls. Scale, referenced to C, is selectable on the fly and mutes with all switches off. For convenience, inputs 1 and 2 are normalled together as are 3 and 4. With separate inputs on either 1-2 or 3-4, a swap function enables the CV input signal to be swapped with the adjacent quantizer and output. Separate 3 position octave switches for the A and B quantizer control sections are provided as well as octave switches on each output. Multed outputs for convenience. Transposition is via LED lit momentary switches which are mutually exclusive and are represented visually with the same keyboard interface.

Methods of use
With a minimum of 2 CV control sources you would use inputs 1 and 3 which are normalled to channels 2 and 4. Set Channel 1 and 3 to A, 2 and 4 to B. Using all 4 CV inputs enables the swapping of inputs on the fly. For a simple example let's say the 4 outputs are sent to 4 oscillators and then wherever your patch cords may take you. Actually the very simplest setup is just set all 4 channels on the A section and control all 4 CV's from the A quantizer section. Nothing wrong with that when trying to keep it simple.

I would call this a literal approach- leave the transposition button at C for a baseline. Tune all oscillators to C - easy to reference using just the C note switch. Now the quantizer is giving you the literal quantization and what you see with the toggle switches is what you get. If you have all black key toggles on it's black key CV's being output for sure.You're playing the toggles much like a keyboard at that point. Sounds like fun to me. Smile

There are at least other 2 ways to set up the quantizer for a song, for example, in E major beside the literal approach above. One is, flip the C switch only, on the quantizer and tune the oscillators to E, etc. The other way is to leave the osc in standard C tuning and use the transposition E button. It's a matter of musical preference and/or convenience in the moment, but you have both options and more. Cool

You can instantly switch between any 2 scales, or this module could just be used as a glorified octave switching system. A sad day if that's all the damage you can do but hey switch yer octaves then... wee-ooo weee-ooo...

Musical examples

Quantizer A: Notes: C F G • Intervals: 1 4 5 - flip each note off once in a while. Switch D on now and again.
Quantizer B: Notes: Eb Bb • Intervals: b3 b7 - adding in Ab, b6 occasionally for that sad m6 sound. Or swap the Eb for E to take it major.
When musically inspired, transpose everything up by hitting both transposition switches of choice at once. I really wanted the interface to have that sort of immediacy, i.e bump the whole thing up to Bb or C# right NOW. Smile Two finger, 4 part transposition, no waiting. Boo-yah- other methods!

With everything tuned to C you could play in G by leaving the transposition switch in C and turning on note switches:
Quantizer A: Notes: G D F# Intervals: 1 5 7
Quantizer B: Notes: A B C# E Intervals: 2 3 #4 6, again switching the 6 in and out...
That adds up to a G Lydian modefor anoyone interested.

Hope this lights some musical fire-ideas because it certainly has mine.
Thanks to Bearblock for the interface inspiration.

Options:
A and B trigger output jack (trigger at quantizer note change).
Input CV attenuators for scale sculpting/scaling and octave mayhem.
Outputs could could be swapped vs inputs - there are different musical effects from both...

Did I neglect to mention I haven't a clue how implement this design??
Oh look, a squirrel...
Phil
Back to top
View user's profile Send private message
urbanscallywag



Joined: Nov 30, 2007
Posts: 317
Location: sometimes

PostPosted: Wed Sep 17, 2008 9:19 pm    Post subject: Reply with quote  Mark this post and the followings unread

Sure looks pretty. Very Happy

I'm a little confused about what it does though (my weak musical terminology may be the reason).

Say I had a pot that output 0V at 1 end and 5V at the other. And I had only the C switch turned on as you mentioned. So as I turned the knob clockwise I would hit C0, C1, C2, C3, C4, and C5? And if I flicked on the D switch and did the same thing I would get C0, D0, C1, D1...? That's neat, I think there's something like that in Ableton for MIDI notes.

I don't understand the octave switches next to the A and B sections.

Cool concept, and again it looks great! Cool
Back to top
View user's profile Send private message
doctorvague



Joined: Mar 14, 2007
Posts: 281
Location: new mexico
Audio files: 2

PostPosted: Thu Sep 18, 2008 4:28 am    Post subject: Reply with quote  Mark this post and the followings unread

urbanscallywag wrote:
Sure looks pretty. Very Happy

I'm a little confused about what it does though (my weak musical terminology may be the reason).

Say I had a pot that output 0V at 1 end and 5V at the other. And I had only the C switch turned on as you mentioned. So as I turned the knob clockwise I would hit C0, C1, C2, C3, C4, and C5? And if I flicked on the D switch and did the same thing I would get C0, D0, C1, D1...? That's neat, I think there's something like that in Ableton for MIDI notes.

I don't understand the octave switches next to the A and B sections.

Cool concept, and again it looks great! Cool


Thanks!
You've got the idea, and you're right Ableton has something similar that uses a little square grid. With all the 'keyboard notes' switched on, it becomes a simple semitone quantizer: input any variable voltage and you will only get stairstepped voltages C, C#, D... etc. Using your 0-5V idea, if you turned on the C, E and G switches and sweep the voltage from 0-5V you would get a 5 octave C Major arpeggio. As far as the Octave switches - they just add or subtract 1 octave, i.e. 1 volt to whatever else is going on. You'd use them just like oscillator octave switches, basically. If you were controlling all 4 outs with section A then the section A octave switch would become a master octave switch for all 4 channels for example. More musically accessible than trying to switch 4 oscillators' octave switches up or down at the oscillators themselves.

Forgetting about the octave switches for a moment, you could look at this as a complex and very controllable window comparator if that helps wrap your thoughts around it any better. The comparator windows repeat through each octave. I'm actually not sure about the term 'comparator' here though...

The word 'quantizer' is a bit confusing too, as 'quantize' more often means metrical quantizing, like to 1/4 or 1/8 notes but I don't know what else to call it as that's what these types of devices have come to be called it seems. Even 'Scale Quantizer' doesn't quite work as it doesn't have to be using scales and could be used for single notes, chords (arpeggios), all semitones, etc.

This is the kind of unit that 5 minutes of playing with it would be worth an hours' explanation I would think. Smile

In its simplest form this could be one channel, one keyboard graphic with 11 note switches, eliminating all the octave switches, transposition buttons, etc.
Back to top
View user's profile Send private message
Funky40



Joined: Sep 24, 2005
Posts: 875
Location: Swiss
Audio files: 1
G2 patch files: 5

PostPosted: Thu Sep 18, 2008 5:20 am    Post subject: Re: Quantizer idea Reply with quote  Mark this post and the followings unread

doctorvague wrote:
Can you feel yourself massaging those toggles yet?

Yes

I must think about this.
But it has definitly making my Fantasy fly allready.
thanks for sharing !
Back to top
View user's profile Send private message
urbanscallywag



Joined: Nov 30, 2007
Posts: 317
Location: sometimes

PostPosted: Thu Sep 18, 2008 7:12 am    Post subject: Reply with quote  Mark this post and the followings unread

Oh, those switches are 'global' octave switches. Again, cool idea. Very Happy

"Quantize" makes sense to me from an engineering perspective. The project could [probably] be done with an R2R ladder (ADC), processed with discrete logic, and converted back to analog using an R2R ladder (DAC). But an R2R into a microcontroller into an R2R would be my method. You could even have presets that way. Cool
Back to top
View user's profile Send private message
neandrewthal



Joined: May 11, 2007
Posts: 672
Location: Canada

PostPosted: Thu Sep 18, 2008 8:15 am    Post subject: Reply with quote  Mark this post and the followings unread

I want it. Is it actually going to happen or should I go with the simple MFOS one for now?
_________________
" I went through quite a few trannies til I found one I liked" - Wild Zebra
Back to top
View user's profile Send private message
doctorvague



Joined: Mar 14, 2007
Posts: 281
Location: new mexico
Audio files: 2

PostPosted: Thu Sep 18, 2008 9:45 am    Post subject: Reply with quote  Mark this post and the followings unread

It's just a concept. If I had the electronic chops to do it I'd already be working on it. I would definitely throw a decent size pile of money at it though. I had a feeble hope this might hold some interest of those who could pull it off but it appears not. Oh well it's fun to dream.

edit: oops I missed a couple of posts above - I've been working since about 5Am and kinda cross-eyed, plus I'm not getting all my email notifications either for some reason. Thanks for the ideas. I've read about R2R's - I'll have to read up on them again and also have a look at he MFOS as soon as I have time. I have read about the CGS one, but I don't understand how it works to be honest.

Last edited by doctorvague on Thu Sep 18, 2008 10:08 am; edited 1 time in total
Back to top
View user's profile Send private message
neandrewthal



Joined: May 11, 2007
Posts: 672
Location: Canada

PostPosted: Thu Sep 18, 2008 9:57 am    Post subject: Reply with quote  Mark this post and the followings unread

I see. I'm trying to figure out how to turn the MFOS one into something like this. And by "figure" I mean find someone smarter to tell me if it's possible and exactly how to do it. Laughing

I like the Idea of having 4 quantizers with 2 sets of controls, and the keyboard style scale selection is what I'm really after.

_________________
" I went through quite a few trannies til I found one I liked" - Wild Zebra
Back to top
View user's profile Send private message
doctorvague



Joined: Mar 14, 2007
Posts: 281
Location: new mexico
Audio files: 2

PostPosted: Thu Sep 18, 2008 10:15 am    Post subject: Reply with quote  Mark this post and the followings unread

I forgot to mention about the A and B octave switches - another reason I included them is so you could transpose down as well as up. Let's say you have the transpose button at C and you want to transpose down to Bb instead of up. Just hit the Bb button and the octave down switch at the same time and everything will lower by a whole step.
Back to top
View user's profile Send private message
urbanscallywag



Joined: Nov 30, 2007
Posts: 317
Location: sometimes

PostPosted: Thu Sep 18, 2008 10:21 am    Post subject: Reply with quote  Mark this post and the followings unread

That makes more sense. I didn't even see the transpose buttons, I thought they were LEDs!

I thought about it and decided flipping 2 or even 4 octave switches at the same time wouldn't be too bad, but the transpose function makes sense.
Back to top
View user's profile Send private message
doctorvague



Joined: Mar 14, 2007
Posts: 281
Location: new mexico
Audio files: 2

PostPosted: Thu Sep 18, 2008 10:40 am    Post subject: Reply with quote  Mark this post and the followings unread

I just remembered another scenario I forgot to put in my original post. By having 2 discrete quantizer controls, you can work ahead using it a bit more like presets. Say your first section of music is in E Major and you have that set up on quantizer A and all 4 outs assigned to A. The next section of music uses some other scale - say G minor. So you set up your G minor scale on section B and flip all 4 assignment switches to B whenever the music dictates. Should be a pretty easy move with 2 hands the way the switches are positioned. A friend and I jam live like that - while jamming we call out "G Lydian" or "Black keys" or "C Whole-tone" and that sort of thing. This kind of has that functionality if you choose to use it that way. I realize presets might appeal to some people but I already have a Modcan dual quantizer and as cool as it is, I find myself a bit frustrated occasionally trying to remember where the Whole tone scale is out several dozen presets available. Plus sometimes you want to build from say just a root note, then root plus fifth, then add the fourth, etc, or the opposite on a breakdown where you want to strip away notes down to the root note for example. The best method I see for that is random access. Plus as a personal bias, I'm into various scales and like having full control.

Below are some scale charts we use to jam with that I put together a couple of years ago. Again I meant to post this earier and spaced it out. The keyboard charts would translate perfectly to this quantizer interface.

==================================
Here are some links to zipped folders of PDF scale diagrams in all 12 keys, for both guitar and keys. Each link is 4MB or less.

The first are various scales, modes, modes of modes, for keyboard etc
http://idisk.mac.com/doctorvague/Public/Misc/Scales-Modes-12Keys-Kybd.zip

These are various ethnic scales, like Hungarian, Chinese, Hindu, etc.for Keyboard:
http://idisk.mac.com/doctorvague/Public/Misc/EthnicScales-12Keys-Kybd.zip

Misc scales and modes for guitar:
http://idisk.mac.com/doctorvague/Public/Misc/Scales-Modes-12Keys-A-I-Gtr.zip
http://idisk.mac.com/doctorvague/Public/Misc/Scales-Modes-12-Keys-J-L-Gtr.zip
http://idisk.mac.com/doctorvague/Public/Misc/Scales-Modes-12Keys-L-Gtr.zip
http://idisk.mac.com/doctorvague/Public/Misc/Scales-Modes-12Keys-M-Z-Gtr.zip

Ethnic scales for guitar:
http://idisk.mac.com/doctorvague/Public/Misc/EthnicScales-12Keys-A-H-Gtr.zip
http://idisk.mac.com/doctorvague/Public/Misc/EthnicScales-12Keys-I-Z-Gtr.zip

And here are some charts in all 12 keys that show the major and minor triads contained within each scale. The dark rectangles show the triads contained in the scale. The alternating light and dark horizontals are just to help your eye read across the page.

http://idisk.mac.com/doctorvague/Public/Misc/Triads-In-ScalesPDF.zip

Some links to scale web sites, calculators etc.:
http://www.xs4all.nl/~huygensf/doc/modename.html
Back to top
View user's profile Send private message
urbanscallywag



Joined: Nov 30, 2007
Posts: 317
Location: sometimes

PostPosted: Thu Sep 18, 2008 10:48 am    Post subject: Reply with quote  Mark this post and the followings unread

I would add a pot (and maybe an LED) next to each of the voltage inputs to serve as an offset function and also to be able to "tune" the input voltage so it doesn't bounce back and forth between quantization levels.
Back to top
View user's profile Send private message
doctorvague



Joined: Mar 14, 2007
Posts: 281
Location: new mexico
Audio files: 2

PostPosted: Thu Sep 18, 2008 10:49 am    Post subject: Reply with quote  Mark this post and the followings unread

urbanscallywag wrote:
That makes more sense. I didn't even see the transpose buttons, I thought they were LEDs!

I thought about it and decided flipping 2 or even 4 octave switches at the same time wouldn't be too bad, but the transpose function makes sense.


I figured - since it's not costing me anything Wink why not use fancy LED illuminated pushuttons for the transpose function. I thought about using a knob (like Modcan) or a rotary but the buttons are immediate and give good visual feedback with no guesswork. You could also use separate pushbuttons and LED's of course. It's probvabaly a bit confusing at first using the same keyboard graphic for the switches and transpose buttons, but it made more sense to me than any alternatives I came with and I think the user would get the idea quickly once it was in action.
Back to top
View user's profile Send private message
doctorvague



Joined: Mar 14, 2007
Posts: 281
Location: new mexico
Audio files: 2

PostPosted: Thu Sep 18, 2008 10:53 am    Post subject: Reply with quote  Mark this post and the followings unread

urbanscallywag wrote:
I would add a pot (and maybe an LED) next to each of the voltage inputs to serve as an offset function and also to be able to "tune" the input voltage so it doesn't bounce back and forth between quantization levels.


Indeed. You could also only have one voltage feeding both 1 & 2 (they are normalled), scale 2 down and end up with 2 separate sets of notes output from 1 CV source that would move similarly but in different intervals. Hope that made sense...

This is fun. I love brainstorming.
Back to top
View user's profile Send private message
doctorvague



Joined: Mar 14, 2007
Posts: 281
Location: new mexico
Audio files: 2

PostPosted: Thu Sep 18, 2008 11:40 am    Post subject: Reply with quote  Mark this post and the followings unread

neandrewthal wrote:
I want it. Is it actually going to happen or should I go with the simple MFOS one for now?


Can you post a link to the MFOS one? I've never seen it and can't find it on his site. Is it part of a larger project perhaps??
Back to top
View user's profile Send private message
neandrewthal



Joined: May 11, 2007
Posts: 672
Location: Canada

PostPosted: Thu Sep 18, 2008 12:04 pm    Post subject: Reply with quote  Mark this post and the followings unread

http://www.musicfromouterspace.com/analogsynth/VOLTAGEQUANTIZER/VOLTAGEQUANTIZER.php
_________________
" I went through quite a few trannies til I found one I liked" - Wild Zebra
Back to top
View user's profile Send private message
urbanscallywag



Joined: Nov 30, 2007
Posts: 317
Location: sometimes

PostPosted: Thu Sep 18, 2008 12:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

doctorvague wrote:
This is fun. I love brainstorming.

Yeah! But scales and triads make my head hurt. Embarassed

Another thing to think about is how the quantizer works when notes are not enabled.

For example, say you have C and F enabled, the rest disabled. As the input voltage increases from the voltage corresponding to C (say 1.00V) to the voltage corresponding to F (~1.42V) when will the transition happen? When the voltage is F-(1/2 quantization step)? Half way between 1.00V and 1.42V? Once the voltage is C+(1/2 quantization step)? So I guess its kind of like low note versus high note priority. The second option (half way) seems like it would be the hardest to implement.
Back to top
View user's profile Send private message
doctorvague



Joined: Mar 14, 2007
Posts: 281
Location: new mexico
Audio files: 2

PostPosted: Thu Sep 18, 2008 12:45 pm    Post subject: Reply with quote  Mark this post and the followings unread

urbanscallywag wrote:
doctorvague wrote:
This is fun. I love brainstorming.

Yeah! But scales and triads make my head hurt. Embarassed


Absolutely do not download my scale charts then Very Happy
I feel exactly the same way looking at microprocessor code. I feel like my head will explode very soon. Horses for courses!

Quote:

Another thing to think about is how the quantizer works when notes are not enabled.

For example, say you have C and F enabled, the rest disabled. As the input voltage increases from the voltage corresponding to C (say 1.00V) to the voltage corresponding to F (~1.42V) when will the transition happen? When the voltage is F-(1/2 quantization step)? Half way between 1.00V and 1.42V? Once the voltage is C+(1/2 quantization step)? So I guess its kind of like low note versus high note priority. The second option (half way) seems like it would be the hardest to implement.


Perfect question and right next door to that is the question of hysteresis. I've heard about some quantizers being glitchy if the CV is right at a note boundary for example. Ideally, it would be halfway between C and F in your example, but would probably be subject to the limitations of how it was implemented electronically. This is definitely not a garden variety semitone quantizer and poses some different challenges.

I have a Doepfer ribbon controller and an R2M Ribbon to MIDI interface. The quantizer in that works very well and does various semitones, chords, 4ths, 5ths, etc by way of presets. If something like that could just be implemented to have individual note control you'd be nearly there.
I just popped it open and see:
ADUC814
74HC138
4094 (3)
ICL7660
7404
LM324
if that gives any clues


arrow If any moderator is reading this - should I have posted this in the developers corner instead of here??
Back to top
View user's profile Send private message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24484
Location: The Netherlands, Enschede
Audio files: 298
G2 patch files: 320

PostPosted: Thu Sep 18, 2008 2:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

doctorvague wrote:
arrow If any moderator is reading this - should I have posted this in the developers corner instead of here??


Want me to move it?

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
doctorvague



Joined: Mar 14, 2007
Posts: 281
Location: new mexico
Audio files: 2

PostPosted: Fri Sep 19, 2008 5:33 am    Post subject: Reply with quote  Mark this post and the followings unread

Blue Hell wrote:
doctorvague wrote:
arrow If any moderator is reading this - should I have posted this in the developers corner instead of here??


Want me to move it?


Whatever you think, Jan. Not a big deal either way I don't suppose.
Back to top
View user's profile Send private message
Scott Stites
Janitor
Janitor


Joined: Dec 23, 2005
Posts: 4127
Location: Mount Hope, KS USA
Audio files: 96

PostPosted: Fri Sep 19, 2008 9:57 am    Post subject: Reply with quote  Mark this post and the followings unread

Whatever it is, it's a very cool idea.......
_________________
My Site
Back to top
View user's profile Send private message
urbanscallywag



Joined: Nov 30, 2007
Posts: 317
Location: sometimes

PostPosted: Fri Sep 19, 2008 10:09 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks for the Doepfer information, doesn't sound like there's much in there! Obviously enabling and disabling various semitones would add a lot of logic to it.

The hysteresis problem is interesting. That's why I suggested a tuning pot next to the input. You could have an LED light when the input voltage is comfortably in the threshold for just 1 quantization level.
Back to top
View user's profile Send private message
doctorvague



Joined: Mar 14, 2007
Posts: 281
Location: new mexico
Audio files: 2

PostPosted: Fri Sep 19, 2008 11:01 am    Post subject: Reply with quote  Mark this post and the followings unread

Scott Stites wrote:
Whatever it is, it's a very cool idea.......


Thank you kind sir. Smile A Klee would feed this nicely...
Back to top
View user's profile Send private message
Scott Stites
Janitor
Janitor


Joined: Dec 23, 2005
Posts: 4127
Location: Mount Hope, KS USA
Audio files: 96

PostPosted: Fri Sep 19, 2008 11:51 am    Post subject: Reply with quote  Mark this post and the followings unread

It would also feed a Klee nicely (external range in). Very Happy
_________________
My Site
Back to top
View user's profile Send private message
sneakthief



Joined: Jul 24, 2006
Posts: 569
Location: Berlin

PostPosted: Tue Sep 23, 2008 1:01 am    Post subject: Reply with quote  Mark this post and the followings unread

Please don't let this thread die! Very Happy

What can we do to proceed with this project?

Doctorvague: I know you like how your doepfer works, so do you think it's alright to use that as a starting point and post the relevant parts of the schematic? (Heck, they've "borrowed" a lot of work from others along the way)

In any case, I've been thinking about quantizers for a long time... and there have been several threads on here with various designs, mostly simple chromatic ones.

The more I think about having switches to immediately pick the scale, the more I realize how brilliant and useful it would be for composition and performance.

_________________
Sneak-Thief - raw electrofunk
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: jksuperstar, Scott Stites, Uncle Krunkus
Page 1 of 2 [37 Posts]
View unread posts
View new posts in the last week
Goto page: 1, 2 Next
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


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