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
4093 NAND Gate as a filter
Post new topic   Reply to topic Moderators: mosc
Page 1 of 1 [16 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
gasboss775



Joined: Jan 02, 2016
Posts: 217
Location: Scotland

PostPosted: Tue Apr 04, 2017 3:52 am    Post subject: 4093 NAND Gate as a filter Reply with quote  Mark this post and the followings unread

Last night when I was reading the thread about PHOBoS' Nandulator I noticed a comment that the last Nand gate oscillator prior to the output behaved more like a filter than an oscillator so I decided to do some experiments.

In the figure below The Left side oscillator is just a normal Schmitt trigger square wave oscillator, to provide a suitable test signal. The "oscillator" to the left is the filter.

With the values Shown the output is akin to a bandpass filter with high resonance and when the pot is varied it tunes in what are presumably the harmonics of the input square wave.

Other Findings.

If the input frequency is higher than that of the second oscillator ( acting as the filter ) the 2nd just tends to lock onto the input with limited variation in the sound when the 10K pot was varied.

It also works well when fed with this with white noise where again the Nand oscillator behaves a bit like a resonant filter. It needs to be heard, particularly with the noise , as it is quite a distinctive sound.


2017-04-03_17.00.13.jpg
 Description:
 Filesize:  43.11 KB
 Viewed:  639 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

2017-04-03_17.00.13.jpg


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



Joined: Jan 02, 2016
Posts: 217
Location: Scotland

PostPosted: Tue Apr 04, 2017 4:05 am    Post subject: Now with Voltage Control Reply with quote  Mark this post and the followings unread

By adding a vactrol I have been able to make this into a VCF.

See below:


2017-04-04_12.03.14.jpg
 Description:
 Filesize:  70.82 KB
 Viewed:  472 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

2017-04-04_12.03.14.jpg


Back to top
View user's profile Send private message
blue hell
Site Admin


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

PostPosted: Wed Apr 05, 2017 4:07 pm    Post subject: Reply with quote  Mark this post and the followings unread

It is a gated oscillator .. which sort of reminds me on VOSIM ... I'd not call it filtering but wave shaping rather (although that's both a bit .. dunno .. for digital circuits). But like filtering it does change harmonic content ... and it can give very nice results.

I had been experimenting with a variation on this for my soft synth with a pulse stretching thingie (basically a Monostable MultiVibrator (MMV)), and after reading this thread decided to make a a new mode for it in which it is a gated oscillator. With some good results :-)

BTW the MMV is less wild, but still interesting too.

[CMOS: CD4047 - Mono/A -Stable Multivibrator, CD4098 - Dual Monostable Multivibrator or CD4538 - also a dual MMV]

_________________
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
gasboss775



Joined: Jan 02, 2016
Posts: 217
Location: Scotland

PostPosted: Fri Apr 07, 2017 10:17 am    Post subject: Reply with quote  Mark this post and the followings unread

Today I put a 4024 counter after the 4093 "filter" the results were quite interesting the divider changing the characteristics of the filter as well as the expected reduction (1/2, 1/4, etc ) of the fundamental frequency.

It is interesting that putting the 4024 before the "filter" has quite a markedly different effect on the timbre of the sound in comparison to placing it after the "filter"

Do you know if anyone has coined a term for this type of "filter," gated oscillator sounds clumsy.
Back to top
View user's profile Send private message
gasboss775



Joined: Jan 02, 2016
Posts: 217
Location: Scotland

PostPosted: Fri Apr 07, 2017 3:26 pm    Post subject: Reply with quote  Mark this post and the followings unread

I wonder if doing it with a Schmitt inverter would sound any different?


2017-04-07_23.22.58.jpg
 Description:
 Filesize:  26.31 KB
 Viewed:  14511 Time(s)

2017-04-07_23.22.58.jpg


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



Joined: Jun 01, 2006
Posts: 679
Location: NYC
Audio files: 26

PostPosted: Sat Apr 08, 2017 1:43 pm    Post subject: Reply with quote  Mark this post and the followings unread

gasboss775 wrote:
Do you know if anyone has coined a term for this type of "filter," gated oscillator sounds clumsy.


goschillator

_________________
Revenge is a dish best served with a fork... to the eye
Back to top
View user's profile Send private message Visit poster's website
gasboss775



Joined: Jan 02, 2016
Posts: 217
Location: Scotland

PostPosted: Sun Apr 09, 2017 1:45 am    Post subject: Reply with quote  Mark this post and the followings unread

richardc64 wrote:
gasboss775 wrote:
Do you know if anyone has coined a term for this type of "filter," gated oscillator sounds clumsy.


goschillator


Gosh! I'd never have guessed!
Back to top
View user's profile Send private message
blue hell
Site Admin


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

PostPosted: Sun Apr 09, 2017 12:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

Goschillator, nice one Cool
_________________
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
gasboss775



Joined: Jan 02, 2016
Posts: 217
Location: Scotland

PostPosted: Sun Apr 09, 2017 4:25 pm    Post subject: Reply with quote  Mark this post and the followings unread

Some more thoughts on this circuit.

In the attached image the usual gated oscillator is shown as (1) when it is gated off it actually interrupts the oscillation cycle as the output is forced high for the duration that the gate input is low.

In the circuit marked (2) the gate input has no effect over the oscillation cycle but simply determines whether or not that it is passed through the 2nd gate.

In the context of the Goschillator (<<<<<are we really calling it this!!!) I would think this would actually influence the nature of how the signal input to the gate comes out at the other side. I will need to test this to see. It is too late now to do so tonight but I'll be interested to hear it for myself.


2017-04-10_00.16.24.jpg
 Description:
 Filesize:  36.84 KB
 Viewed:  14339 Time(s)

2017-04-10_00.16.24.jpg


Back to top
View user's profile Send private message
blue hell
Site Admin


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

PostPosted: Mon Apr 10, 2017 1:42 am    Post subject: Reply with quote  Mark this post and the followings unread

I was wondering about that difference too .. as the original configuration would need some extra charge time (as the capacitor would end up more discharged after having been off for a while) it should produce less (very) short glitches .. probably.
_________________
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
gasboss775



Joined: Jan 02, 2016
Posts: 217
Location: Scotland

PostPosted: Mon Apr 10, 2017 7:01 am    Post subject: Reply with quote  Mark this post and the followings unread

The difference in sound between the two circuits above are like night & day. The 2 gate version is more extreme and similar to ring modulation using an XOR gate. On this basis I don't think that the 2 Nand gate circuit can qualify as a goschillator!!
Back to top
View user's profile Send private message
blue hell
Site Admin


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

PostPosted: Mon Apr 10, 2017 10:31 am    Post subject: Reply with quote  Mark this post and the followings unread

Righto - so now I will need to simulate things better Laughing

Could you post some short mp3s?

_________________
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
gasboss775



Joined: Jan 02, 2016
Posts: 217
Location: Scotland

PostPosted: Mon Apr 10, 2017 3:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

Blue Hell wrote:
Righto - so now I will need to simulate things better Laughing

Could you post some short mp3s?


I will in time, but everything is a bit of a mess at the moment. Confused
Back to top
View user's profile Send private message
blue hell
Site Admin


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

PostPosted: Mon Apr 10, 2017 3:40 pm    Post subject: Reply with quote  Mark this post and the followings unread

No worries ... I know about mess ...

I should just dig out a breadboard and a soldering iron and stuff ... from my mess .. didn't do hardware in many years .. but it should all be .. somewhere still Confused

Anyways, I still like reading about it and tinkering a bit .. I only did software for .. hmm decades almost Shocked

_________________
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
gasboss775



Joined: Jan 02, 2016
Posts: 217
Location: Scotland

PostPosted: Wed Apr 12, 2017 11:21 am    Post subject: Reply with quote  Mark this post and the followings unread

I got some great results feeding two goschilators with a 55Hz square wave, then XORing the outputs of the two goschilators. Still to do a schematic for this. I want the two goschilators to be voltage controlled ( probably by using vactrols ) as the magic happens when the goschilators are being tuned. The resultant sounds are quite vocal in nature.
Back to top
View user's profile Send private message
gasboss775



Joined: Jan 02, 2016
Posts: 217
Location: Scotland

PostPosted: Fri Apr 21, 2017 12:01 pm    Post subject: Reply with quote  Mark this post and the followings unread

Today I made a 2 Stage Goschillator Filter with Voltage control using 2 VTL5C1 vactrols. I was very impressed with the sound.

The switch is to change the range of the filter, with the 3K6 resistor switched in it works better for higher frequencies and for lower frequencies it is better to switch to the 12K resistor.

Notes: Power supply is +12 V

Input & Output are digital however it could be adapted for analogue systems with some additional circuitry.

NAND gates are 4093 ( TI brand )

The reference voltage is +3 Volts attached to the bottom end of VR2. I haven't included a circuit for generating this.

Do you think that this is getting too complicated to fit into the Lunetta category?


share(2).jpg
 Description:
 Filesize:  173.93 KB
 Viewed:  461 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

share(2).jpg


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 [16 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