electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
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
Random Chimes
Post new topic   Reply to topic Moderators: mosc
Page 1 of 1 [9 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
synaesthesia



Joined: May 27, 2014
Posts: 98
Location: Germany
Audio files: 37

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:  17 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:  44 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: 98
Location: Germany
Audio files: 37

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:  12 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:  45 Time(s)

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



Joined: May 27, 2014
Posts: 98
Location: Germany
Audio files: 37

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:  13 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:  59 Time(s)

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



Joined: Jan 14, 2010
Posts: 1884
Location: Moon Base
Audio files: 366

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/ http://www.acidtrash.com/ Stickney Synthyards
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: 242
Location: Montreal, Canada
Audio files: 2

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: 98
Location: Germany
Audio files: 37

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: 98
Location: Germany
Audio files: 37

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:  12 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:  23 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: 1884
Location: Moon Base
Audio files: 366

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:  19 Time(s)


_________________
"My perf, it's full of holes!"
http://phobos.000space.com/ http://www.acidtrash.com/ Stickney Synthyards
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: 98
Location: Germany
Audio files: 37

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
Display posts from previous:   
Post new topic   Reply to topic Moderators: mosc
Page 1 of 1 [9 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
e-m mkii

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


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