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 
go to the radio page Live at electro-music.com radio 1 Please visit the chat
poster
 Forum index » DIY Hardware and Software » Lunettas - circuits inspired by Stanley Lunetta
Random Chimes
Post new topic   Reply to topic Moderators: mosc
Page 1 of 2 [50 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
synaesthesia



Joined: May 27, 2014
Posts: 291
Location: Germany
Audio files: 85

PostPosted: Thu Nov 27, 2014 7:21 am    Post subject: Random Chimes
Subject description: from random beeps to chimes to singing bowls
Reply with quote  Mark this post and the followings unread

I was looking for a simple pseudo-random pattern generator and came up with this random beep circuit. The output almost sounds like morse code, but it isn't. When you look at the wave form output, you will notice that the length of the beeps and the pauses are not that uniform as they should be in real morse code. Both, the gaps and beeps have varying length instead. Nevertheless, the circuit is an interesting starting point to generate pseudo-random patterns. The randomness comes from feeding back the high frequency from the audio oscillator into the shift register input.

Edit: Of course, instead of the 4093 NAND gates, 40106 inverters can be used for the oscillators. I have used the available NANDs because it saves one chip Smile


RandomBeeps.PNG
 Description:
 Filesize:  19.24 KB
 Viewed:  825 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

RandomBeeps.PNG



RandomBeeps.mp3
 Description:

Download
 Filename:  RandomBeeps.mp3
 Filesize:  334.81 KB
 Downloaded:  1345 Time(s)


Last edited by synaesthesia on Tue Dec 16, 2014 12:28 pm; edited 4 times in total
Back to top
View user's profile Send private message
synaesthesia



Joined: May 27, 2014
Posts: 291
Location: Germany
Audio files: 85

PostPosted: Thu Nov 27, 2014 7:23 am    Post subject: Reply with quote  Mark this post and the followings unread

When replacing the NAND by an XOR and adding a second shift register for the audio frequency, different tones can be produced. This is because the XOR in the feedback path sends the output back either inverted or not. This rotates the current bit pattern or turns the shift register into a Johnson counter. I found at least five different tones being generates this way. I didn't count the silence when all bits are either 0 or 1.


RandomTones.PNG
 Description:
 Filesize:  24.19 KB
 Viewed:  895 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

RandomTones.PNG



RandomTones.mp3
 Description:

Download
 Filename:  RandomTones.mp3
 Filesize:  496.85 KB
 Downloaded:  1410 Time(s)

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



Joined: May 27, 2014
Posts: 291
Location: Germany
Audio files: 85

PostPosted: Thu Nov 27, 2014 7:26 am    Post subject: Reply with quote  Mark this post and the followings unread

Starting from the random tones circuit above, I added a second short shift register as a tone generator. Each short shift register may generate a pause, or one of the different tones. Again, the tone depends on the clock frequency and the actual bit pattern that is in the shift register. The XOR feedback for each short shift register is controlled this time by one of the outputs from the longer shift register and is changed in a pseudo-random pattern. When the two oscillators are tuned to harmonic frequencies, a nice chime pattern evolves. It is constantly changing because the long shift register is fed back from the result of XORing both feedback signals together, which gives a pretty random input.


RandomChimes.PNG
 Description:
 Filesize:  24.05 KB
 Viewed:  918 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

RandomChimes.PNG



RandomChimes.mp3
 Description:

Download
 Filename:  RandomChimes.mp3
 Filesize:  953.58 KB
 Downloaded:  1447 Time(s)

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



Joined: Jan 14, 2010
Posts: 5581
Location: Moon Base
Audio files: 705

PostPosted: Thu Nov 27, 2014 4:45 pm    Post subject: Reply with quote  Mark this post and the followings unread

good stuff! thumleft
_________________
"My perf, it's full of holes!"
http://phobos.000space.com/
SoundCloud BandCamp MixCloud Stickney Synthyards Captain Collider Twitch YouTube
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
RingMad



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

PostPosted: Thu Nov 27, 2014 5:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

Interesting circuits, thanks for sharing. The "Morse code" one might be useful for a certain project I was trying to figure out.

-- James.
.: www.jamesschidlowsky.ca :.
Back to top
View user's profile Send private message Visit poster's website
synaesthesia



Joined: May 27, 2014
Posts: 291
Location: Germany
Audio files: 85

PostPosted: Sun Dec 07, 2014 4:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

Don't forget to connect RESET to GND, Ringmad. I accidentally left that out in the first schematic. Hope to hear from your project soon.
Back to top
View user's profile Send private message
synaesthesia



Joined: May 27, 2014
Posts: 291
Location: Germany
Audio files: 85

PostPosted: Tue Dec 16, 2014 1:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

Taking the idea about the chimes one step further, this circuit resembles the sound of singing bowls. The same principle used in the RandomChimes circuit is used here to generate two oscillators that are are triggered by two signals t1 and t2 and change the generated tone based on the control signals s1 and s2. The outputs of the two shift registers are mixed using a resistor network to generate a triangle waveform. Each of the trigger signals controls a simple VCA using a transistor as a variable resistor. The attenuated signals are finally mixed and amplified by a LM386.

In this circuit the triggers are not random, but are generated from three counter outputs that are decoded into two trigger signals. A rather long 4040 counter has been used to keep the tempo oscillator capacitor small. Three counter outputs are used to generate the trigger signals t1,t2 and control signals s1,s2. The idea was to generate one trigger t1 with a low frequency and a long tone decay, and a second trigger t2 with a higher frequency and a shorter tone decay. The XOR gate U3A is used to shift the faster trigger signal by one clock cycle, so the two trigger signals t1 and t2 are never active at the same time. The 4016 inverter U1D is then used to generate a short pulse for trigger t1, and XOR gate U3D generates a short pulse for trigger t2 on each change of the result from XOR(Q6,Q7). This way it is also guaranteed that the signals s1 or s2 will not change until the next trigger signal occurs.

The recording is using a rather high tempo setting and gives you an idea of the generated tone sequence. As with the previous circuit, the actual tones depend on the content of the shift register at the moment when the control signals change. The resulting sequence thus appears rather random, but follows a constant rhythm.


SingingBowls.PNG
 Description:
 Filesize:  48.65 KB
 Viewed:  1058 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

SingingBowls.PNG



SingingBowls.mp3
 Description:

Download
 Filename:  SingingBowls.mp3
 Filesize:  3.38 MB
 Downloaded:  1383 Time(s)


Last edited by synaesthesia on Wed Dec 17, 2014 4:28 am; edited 2 times in total
Back to top
View user's profile Send private message
PHOBoS



Joined: Jan 14, 2010
Posts: 5581
Location: Moon Base
Audio files: 705

PostPosted: Tue Dec 16, 2014 3:53 pm    Post subject: PHOBoS feat synaesthesia
Subject description: Drowly
Reply with quote  Mark this post and the followings unread

that's another nice circuit Very Happy

I mixed your recording with some drone sounds from a synth I'm working on, using the arpeggiator in random mode on a slow speed,
and 2 fieldrecordings from The Sounds Found Project. hope you like it Cool.


PHOBoS feat. synaesthesia - Drowly.mp3
 Description:
PHOBoS feat. synaesthesia - Drowly

Download
 Filename:  PHOBoS feat. synaesthesia - Drowly.mp3
 Filesize:  8.85 MB
 Downloaded:  1431 Time(s)


_________________
"My perf, it's full of holes!"
http://phobos.000space.com/
SoundCloud BandCamp MixCloud Stickney Synthyards Captain Collider Twitch YouTube
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
synaesthesia



Joined: May 27, 2014
Posts: 291
Location: Germany
Audio files: 85

PostPosted: Wed Dec 17, 2014 3:47 am    Post subject: Reply with quote  Mark this post and the followings unread

You bet I like it. Very Happy Your recording has a nice relaxing soundscape. Just what I had in mind when building the circuit.
Back to top
View user's profile Send private message
synaesthesia



Joined: May 27, 2014
Posts: 291
Location: Germany
Audio files: 85

PostPosted: Wed Feb 18, 2015 4:59 pm    Post subject: Reply with quote  Mark this post and the followings unread

This circuit generates a sound similar to that of a large metallic spring that is plucked. It is based on the same principle as in the Random Chimes circuit. Again, the tones generated vary with the pattern that is rotated either as-is or inverted through a shift register. This generates a range of harmonic frequencies that change with the modulation speed. This time the modulation speed can be increased significantly and a percussive envelope is also applied to the output. Because of the pretty high modulation speed, there wasn't really a need to avoid bit patterns with all 0's or 1's this time.

The recording demonstrates the range of sounds with six example settings of pitch and modulation speed that are played four times each. There are no effects added to the recording. I believe that the slight echo-like timbre comes from the combination of the percussive envelope and the modulated frequencies. I like the metallic sound that the circuit generates.


SpringChimes.PNG
 Description:
 Filesize:  31.02 KB
 Viewed:  815 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

SpringChimes.PNG



Spring Chimes.mp3
 Description:

Download
 Filename:  Spring Chimes.mp3
 Filesize:  896.43 KB
 Downloaded:  1261 Time(s)

Back to top
View user's profile Send private message
rico C



Joined: Feb 27, 2014
Posts: 26
Location: Redondo Beach

PostPosted: Fri Feb 20, 2015 2:42 pm    Post subject: Reply with quote  Mark this post and the followings unread

very cool...you and phobos are hitting it out of the ball park these days respect you should get a band together! dancing
Last edited by rico C on Sat Feb 21, 2015 9:43 am; edited 1 time in total
Back to top
View user's profile Send private message
synaesthesia



Joined: May 27, 2014
Posts: 291
Location: Germany
Audio files: 85

PostPosted: Sat Feb 21, 2015 3:12 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks a lot rico! I appreciate all feedback, even criticism. This is what keeps me sharing my ideas. Yours is more than feedback, it is a parade. Very Happy
Back to top
View user's profile Send private message
PHOBoS



Joined: Jan 14, 2010
Posts: 5581
Location: Moon Base
Audio files: 705

PostPosted: Sat Feb 21, 2015 4:08 am    Post subject: Reply with quote  Mark this post and the followings unread

It sounds good Smile XOR's (digital ringmods) are indeed good for metallic sounds which makes me wonder:
have you tried taking the output directly from the XOR gate itself ? (using the transistor VCA)

rico C wrote:
very cool...you and phobos are hitting it out of the ball park these days respect

Thanks ! Very Happy
I actually find the things synaesthesia is doing more interesting (and more in the spirit of lunetta) than what i do Embarassed

_________________
"My perf, it's full of holes!"
http://phobos.000space.com/
SoundCloud BandCamp MixCloud Stickney Synthyards Captain Collider Twitch YouTube
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
synaesthesia



Joined: May 27, 2014
Posts: 291
Location: Germany
Audio files: 85

PostPosted: Sat Feb 21, 2015 4:26 am    Post subject: Reply with quote  Mark this post and the followings unread

I like the designs PHOBoS shares a lot. They are much more suitable for serious electro-music. I am happy if an idea works and uses a minimum number of parts.
PHOBoS wrote:
have you tried taking the output directly from the XOR gate itself ? (using the transistor VCA)

Yes, tried that as well. It is the same signal, only eight clocks earlier. Actually, you can use any output of the shift register to feed it into the VCA.
Interestingly, running multiple outputs of the shift register through a resistor network first does not improve the output, but actually degrades it.
Back to top
View user's profile Send private message
RingMad



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

PostPosted: Sat Feb 21, 2015 5:19 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks for sharing these circuits, synaesthesia! I love the SpringChimes! I'm lost in other projects right now, but hope to find the time and breadboard space soon to try some of these out myself.

-- James.
.: www.jamesschidlowsky.ca :.
Back to top
View user's profile Send private message Visit poster's website
commathe



Joined: Jul 26, 2013
Posts: 153
Location: Beijing
Audio files: 5

PostPosted: Tue Feb 24, 2015 12:04 am    Post subject: Reply with quote  Mark this post and the followings unread

These are awesome little sound effect generators!
Back to top
View user's profile Send private message
NOISEBOB



Joined: Oct 13, 2019
Posts: 33
Location: NOISE

PostPosted: Thu Apr 01, 2021 6:19 am    Post subject: Reply with quote  Mark this post and the followings unread

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


six years late to the party.... but i'm wondering what the POS.TRIGGER and the transistor part is for?
Back to top
View user's profile Send private message
Steveg



Joined: Apr 23, 2015
Posts: 182
Location: Perth, Australia

PostPosted: Thu Apr 01, 2021 10:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hi NoiseBob, they form a simple envelope generator and VCA.

When you get a 0->5v transition at POS.Trigger it charges up C5 wich allows the transistor to pass the 4015 output to OUT at a volume determined by the voltage on C5 so you get a gong like sound trailing away.
Back to top
View user's profile Send private message
NOISEBOB



Joined: Oct 13, 2019
Posts: 33
Location: NOISE

PostPosted: Fri Apr 02, 2021 1:47 am    Post subject: Reply with quote  Mark this post and the followings unread

Steveg wrote:
Hi NoiseBob, they form a simple envelope generator and VCA.

When you get a 0->5v transition at POS.Trigger it charges up C5 wich allows the transistor to pass the 4015 output to OUT at a volume determined by the voltage on C5 so you get a gong like sound trailing away.



ooh, that sounds like fun!

i breadboarded the circuit without that part and it does sound quite good already (especially on high speed).. a bit crunchy.

i suppose it can be any type of transistor --- got a box of obscure/old transistors from what i think used to belong to a TV-repair mechanic - including some very specific B&O transistors.
Back to top
View user's profile Send private message
Steveg



Joined: Apr 23, 2015
Posts: 182
Location: Perth, Australia

PostPosted: Sat Apr 03, 2021 1:27 am    Post subject: Reply with quote  Mark this post and the followings unread

Sounds good, as long as you can identify what transistors you have. You will need an N type and anything over a few tens of milliamps will be overkill. Something like a BC547 is dirt cheap from an electronics hobby store.
Back to top
View user's profile Send private message
R_Gol



Joined: Oct 17, 2019
Posts: 34
Location: World

PostPosted: Tue Apr 20, 2021 12:39 pm    Post subject: Reply with quote  Mark this post and the followings unread

Beautiful stuff here! Thanks for sharing!
I was wandering if there is any way to replace the 4015 shift register with 4021 ?
Back to top
View user's profile Send private message
PHOBoS



Joined: Jan 14, 2010
Posts: 5581
Location: Moon Base
Audio files: 705

PostPosted: Fri Apr 23, 2021 11:10 am    Post subject: Reply with quote  Mark this post and the followings unread

Since the 4015 shiftregisters are just wired in series and only the 8th output is needed a 4021 should work here.
Connect pin 9 to GND, use pin 10 as the CLK input, pin 11 as the Data input and pin 3 as the output.

_________________
"My perf, it's full of holes!"
http://phobos.000space.com/
SoundCloud BandCamp MixCloud Stickney Synthyards Captain Collider Twitch YouTube
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
R_Gol



Joined: Oct 17, 2019
Posts: 34
Location: World

PostPosted: Mon May 09, 2022 5:05 am    Post subject: Reply with quote  Mark this post and the followings unread

Regarding the singing bowls - If I would like to add a manual trigger with a push button can I just connect one of the button terminal to VDD and the other terminal to point t1 (diode anode) ?
Will it work? will it bypass the ongoing triggering of the sound envelope?
Back to top
View user's profile Send private message
synaesthesia



Joined: May 27, 2014
Posts: 291
Location: Germany
Audio files: 85

PostPosted: Tue May 10, 2022 7:13 am    Post subject: Reply with quote  Mark this post and the followings unread

Hi R_Gol, not at the anode, but at the cathode. At the anode you would create a shortcut through your switch to the output of the gate when it is LOW. You can use a momentary switch (normally open) safely to send Vdd to the cathode however. If you use a gate instead, another diode would be needed. Maybe add a small resistor when you do so to limit the current for the switch and capacitor a bit. 1K should be just fine.

This modification would bypass the ongoing triggering, and add to it, not supress it.
Back to top
View user's profile Send private message
R_Gol



Joined: Oct 17, 2019
Posts: 34
Location: World

PostPosted: Tue May 10, 2022 8:13 am    Post subject: Reply with quote  Mark this post and the followings unread

synaesthesia wrote:


This modification would bypass the ongoing triggering, and add to it, not supress it.

If I would like to suppress the internal triggering of the two voices and control them both manualy with two different buttons. I can I do so? is it complicated?

another question I have:

What about omitting the lm386 amp circuit and connecting the output to a mixer instead? Do I need to add an op amp buffer? or shall I just connect the 100k resistor and the 47k resistor to the tip of a mono jack?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: mosc
Page 1 of 2 [50 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 » 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