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 » Lunettas - circuits inspired by Stanley Lunetta
A Lunetta Spatializer
Post new topic   Reply to topic Moderators: mosc
Page 1 of 1 [10 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Inventor
Stream Operator


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

PostPosted: Fri Jul 22, 2011 1:17 pm    Post subject: A Lunetta Spatializer
Subject description: adding stereo spatialization to your Lunetta
Reply with quote  Mark this post and the followings unread

edit: *** warning *** Please note that I have not wired up this circuit and tested it in hardware form yet, only in software form. Test at the risk of your own time, effort and sanity (or the lack thereof Razz )...

I recently thought up a spatializer for Lunetta circuits based on the CD4052 analog mux chip and I'd like to share it with you. I coded it in ChucK software form and it worked fine, then just now I worked out a simple way to do it with the real chip and external resistors. Here's how it works.

First an introduction to the CD4052 chip. See the attached datasheet for reference. There are three control inputs: A, B, and INHIBIT, which control the outputs of two four-bit analog multiplexor switches, labeled X and Y with inputs 0X, 1X, 2X, 2X, 0Y, 1Y, 2Y, and 3Y. A and B select the numbered X input that gets routed to the X output and also the numbered Y input that gets routed to the Y output. INHIBIT tristates the outputs X and Y.

How we will accomplish spatialization is to create a voltage divider made of three equal valued resistors. Connect the input to 0X, a resistor from 0X to 1X, another resistor from 1X to 2X and the third resistor from 2X to 3X, plus connect 3X to ground. now use wires to reverse the input order for the Y inputs so that 0X connects to 3Y, 1X connects to 2Y, 2X connects to 1Y, and 3X connects to 0Y. Disable the INHIBIT feature by grounding the INHIBIT input, and connect two digital signals to A and B. Connect the left stereo output buffer to the X output and the right stereo output buffer to the Y output.

Confused? Well I should draw a schematic and I will if the text description is not clear enough, but it's really just three resistors and a CD4052 chip. Here's what we wired up:

A signal divider that produces input voltage levels of Vin, 2/3*Vin, 1/3*Vin, and 0*Vin. We then hooked these up to X and reversed them for Y. This creates the output signal pairs of (left, right) = (1, 0) or (2/3, 1/3) or (1/3, 2/3) or (0, 1) times Vin. This is a simple form of audio spatialization, with the A and B inputs selecting where the spatialized audio will appear to be.

That's all there is to it, just use high valued resistors like 100k Ohms so the source driver will appear to be low impedance and use a high impedance audio buffer on the output such as an opoamp voltage follower. Having low source impedance and high load impedance will help the accuracy of the voltage divider.

If you experiment with this circuit and learn more about it or figure out other ways to accomplish electrically controlled spatialization in Lunetta form, I invite you to report your findings here in this thread. Enjoy!

Les


CD4051.pdf
 Description:
The datasheet for the CD4051, CD4052, and CD4053 analog multiplexor chips

Download
 Filename:  CD4051.pdf
 Filesize:  323.34 KB
 Downloaded:  1110 Time(s)


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


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

PostPosted: Sat Jul 23, 2011 12:17 am    Post subject: Reply with quote  Mark this post and the followings unread

Here, I drew a schematic in Eagle. Hope I did it correctly!

Les


Spatializer.pdf
 Description:
Spatializer Schematic

Download
 Filename:  Spatializer.pdf
 Filesize:  13.14 KB
 Downloaded:  1283 Time(s)


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



Joined: Apr 26, 2011
Posts: 40
Location: Parma, Ohio

PostPosted: Sun Jul 24, 2011 9:21 pm    Post subject: Reply with quote  Mark this post and the followings unread

This looks like it has some real potential Cool
I'll try breadboarding it up when I get back home in a few days.
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: Thu Jul 28, 2011 12:03 pm    Post subject: Reply with quote  Mark this post and the followings unread

Cool stuff. I want to do something like this in the future. I have a juno-106, and it has 2 outputs but it is just the same mono signal on both outputs. I want to add an effect box to the output to allow panning effects. I'll keep this in mind and test it out when I finally finish my other projects and get around to that one.
Back to top
View user's profile Send private message
tbone



Joined: Jul 02, 2011
Posts: 6
Location: London

PostPosted: Fri Jul 29, 2011 9:40 am    Post subject: Reply with quote  Mark this post and the followings unread

this looks like a very interesting idea. do you have any sound samples?

what are pins 9 and 10 of the 4052 actually connected to [referred to as 'Stereo position selection B' and 'Stereo position selection A' on the schematic]?
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: Fri Jul 29, 2011 10:01 am    Post subject: Reply with quote  Mark this post and the followings unread

Hi folks, thanks for your replies. I have only constructed the circuit in software form so far, so it is a bit untested. Hmm, maybe I will build it tonight perhaps. I'm looking for something to do once things calm down a bit in chat and people go to sleep.

The A and B inputs are the spatial location selectors. The value BA = 00 selects one side and BA = 11 selects the other side. BA= 01 and BA = 10 select the middle positions.

Depending on what you want to accomplish with your Lunetta, you would drive BA with two bits that do the selection. So you could sweep left to right in four steps or right to left or maybe put some crazy mixed up signals that change every few tempos into those inputs to get some bounce-around spatialization.

Les

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



Joined: Jul 02, 2011
Posts: 6
Location: London

PostPosted: Fri Jul 29, 2011 11:04 am    Post subject: Reply with quote  Mark this post and the followings unread

Ahhhh, now I see!

This definitely sounds like it could have some great applications, I shall add a 4052 to my shopping list.

Thanks for the swift response!
Back to top
View user's profile Send private message
RingMad



Joined: Jan 15, 2011
Posts: 427
Location: Montreal, Canada
Audio files: 4

PostPosted: Sun Jul 31, 2011 4:20 am    Post subject: Reply with quote  Mark this post and the followings unread

First the Karplus-Strong Percussion thing, and now this... Mr. Inventor, you da man!

So I built this, and it's pretty fun to use 2 oscillators to drive the A & B inputs, for crazy bouncing spatialization... I only tried it using the KS perc circuit as input so far, but I'm sure it will be good for other Lunetta stuff.

My schematic-reading skills are not all that great, and I had a lot of trouble with this one... everything seems to be connected to everything else! So I ended up following the text description, which was quite clear.

Thanks for sharing this cool circuit!
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: Sun Jul 31, 2011 7:22 am    Post subject: Reply with quote  Mark this post and the followings unread

RingMad, coolness! You are the first to experimentally verify this circuit, congratulations! I never thought about that, that for those who are not familiar with reading circuit diagrams - the text description may be very helpful. I'll try to include both in the future. Well done!

Les

p.s. thanks for the blog comments too...

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



Joined: Jan 15, 2011
Posts: 427
Location: Montreal, Canada
Audio files: 4

PostPosted: Mon Aug 01, 2011 10:10 am    Post subject: Reply with quote  Mark this post and the followings unread

OK, perhaps this is interesting to someone... if I can figure out how to attach these examples... I did a little demo using a tone generator putting out a fixed frequency. Perhaps it's just illusion, but the spatializer seems to affect the tone.

The waveform just shows a bit of what the recording looks like... the first second is the original tone, and then the following stuff is what the spatializer does with it.

In the audio file, the first 2 seconds are the original tone, and then the spatializer kicks in at slow clock rates, then i start tweaking them to go faster later on.


spatializer demo waveforms1.png
 Description:
 Filesize:  36.73 KB
 Viewed:  812 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

spatializer demo waveforms1.png



spatializer_demo1.mp3
 Description:
stereo audiofile

Download
 Filename:  spatializer_demo1.mp3
 Filesize:  926.27 KB
 Downloaded:  1570 Time(s)

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: mosc
Page 1 of 1 [10 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 » Lunettas - circuits inspired by Stanley Lunetta
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