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 » Les Hall's Projects including eChucK
The Boolean Sequencer eChucK Design Project
Post new topic   Reply to topic Moderators: Inventor
Page 2 of 3 [54 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Goto page: Previous 1, 2, 3 Next
Author Message
Inventor
Stream Operator


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

PostPosted: Tue Apr 20, 2010 4:07 am    Post subject: Reply with quote  Mark this post and the followings unread

Andy, I'm working on a ChucK program to test it out, but i'm just too sleepy right now to get it done. Give me a little while.

Les

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


Joined: Jul 11, 2005
Posts: 4761
Location: Sydney, Australia
Audio files: 52
G2 patch files: 1

PostPosted: Tue Apr 20, 2010 4:19 am    Post subject: Reply with quote  Mark this post and the followings unread

You know I aint no slave driver Les! Smile
_________________
What makes a space ours, is what we put there, and what we do there.
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: Tue Apr 20, 2010 10:29 pm    Post subject: Reply with quote  Mark this post and the followings unread

Uncle Krunkus wrote:
You know I aint no slave driver Les! Smile


Well, one informal radio show is done and I had time to work on the simulator. It's lacking in tonal variety, to be honest, as I've got more "tune-like" stuff out of Boolean Sequencers before. Maybe It just needs a few more bitslices. There is room on the board for more electronics too. Anyway, this is what we have right now.

Oh, the audio comes from a VCO driven by the CV, so just a simple tone for demo purposes.

Les


KS1 Demo 20100421 0122.mp3
 Description:
A beepy fun little tour into nowhere...

Download
 Filename:  KS1 Demo 20100421 0122.mp3
 Filesize:  491.84 KB
 Downloaded:  1227 Time(s)


KS1.ck
 Description:
The source ChucK code

Download
 Filename:  KS1.ck
 Filesize:  1.56 KB
 Downloaded:  603 Time(s)


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



Joined: Feb 02, 2009
Posts: 515
Location: London area
Audio files: 2

PostPosted: Wed Apr 21, 2010 2:48 am    Post subject: Reply with quote  Mark this post and the followings unread

I thought it sounded like a cool bass line, or the start of one. If the affected VCO is a squarewave one you could use another 4040 to further divide the signal to get that cool octave effect, then mix together.

This approach to making CV is very familiar from playing with Lunettas, but it's definitely taking a specific route to do it, which is cool.

Les is the output of the logic stuff meant to be CV or is it also good for triggering things from the gate output?

Here's another schematic you have posted, for documentation's sake:
http://electro-music.com/forum/post-285130.html#285130

Looking at these what do you think about the 4060, which has it's own built in oscillator? I have a lot of them, do they give the needed bits?
Datasheet for 4060:
http://www.datasheetcatalog.com/datasheets_pdf/C/D/4/0/CD4060.shtml
I'll give it a go and see what happens.

_________________
==================
Check out the FREE Intro to Lunettas Document
https://docs.google.com/document/d/1V9qerry_PsXTZqt_UDx7C-wcuMe_6_gyy6M_MyAgQoA/edit?usp=sharing

Edit: Spelling mistakes.
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: Wed Apr 21, 2010 3:39 am    Post subject: Reply with quote  Mark this post and the followings unread

droffset, the CD4020 and CD4060 are certainly fine alternatives for longer sequences, however only the CD4040 chip gives all 12 bits in sequence, which is a feature I really like. It sort of idealizes the BS and that seems appropriate. Nothing wrong with going with a 4020 or 4060 if that's what you have or want, though.

You bring up an interesting point about the stim. The board is intended to be a general purpose sequencer so that means it needs a CV and a GATE signal. The CV is the R2R output and the GATE is the OR of all of the logic terms. But to drive a Karplus Strong board, which is it's second mission in life, we need a stimulus pulse.

Fortunately I have experimented with Mathe's KS boards and discovered a really neat trick. If we simply place a 0.1uF capacitor in series with the CV output, into a 100kOhm load resistor, guess what? It makes a decent stim pulse. Maybe not with all the subtle adjustment qualities of a separately derived pulse (which BTW should be between 0.1 and 10 ms for the record), but still a fine stim for our purposes. So I need to add that to the circuit.

I also want to touch upon the notion of a "bitslice" approach. We want to get as much diversity of sound if that's a music term, lol, as we can from a limited board space. We want to provide the modular synthesizer user with as much flexibility for cost as possible. With the BS, one way of doing that is combining multiple BS units together.

Each would be a 1U or 2U or whatever they call it, unit, placed side by side or otherwise in the modular rack. Some daisy-chained connection joins the BS units together so that they can function as one. Then the modular synthesizer user can chain however many BS units as desired to accomplish the required complexity of sound. This will help with the "simplicity" of the sequence.

In fact, I think I'll code that up in ChucK for us to hear, post to ya soon, later...

Les

_________________
"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: Wed Apr 21, 2010 3:41 am    Post subject: Reply with quote  Mark this post and the followings unread

P.S. I enjoy getting the Aussie time zone posts in the morning, Uncle Krunkus and droffset, thanks for your interest - you make it fun!

Les

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


Joined: Jul 11, 2005
Posts: 4761
Location: Sydney, Australia
Audio files: 52
G2 patch files: 1

PostPosted: Wed Apr 21, 2010 4:15 am    Post subject: Reply with quote  Mark this post and the followings unread

I'm only talking CVs here.
What I would try to give more control and variation is to replace the 2*4 way gate input switches with 2*6 which are both across the 6 least significant bits. (I don't think you even need to bother with more bits than that, as it provides for a 64 step sequence. Adding access to higher bits if needed is a relatively easy option to add later.)
Then arrange the gates like this:-
Four (6way) bit switches into the dual inputs of two gates,
The outputs of those two gates into a third gate,
The output of that into a fourth plus another (6way) bit switch.
Take your 4 bits to the R2R from the outputs of these four gates.
As before, make the gate types for all four switchable.

I'm pretty sure that will allow virtually all logic combinations across 6bits into a 4bit R2R. Expand from there with a similar approach.

PS If I didn't have my hands tied under my arse I'd be breadboarding this as we speak. I've got Sat/Sun off so maybe I'll get a chance then. Very Happy

_________________
What makes a space ours, is what we put there, and what we do there.
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: Wed Apr 21, 2010 4:26 am    Post subject: Reply with quote  Mark this post and the followings unread

Uncle, I'm going to have to reread your description as it was not apparent at first glance. I'm happy to report that your original arrangement produced a really nice song when two of them are chained together. The song has diverse complexity and really rocks IMHO. I added a Karplus Strong in place of the VCO, and below you will find the source code and audio test.

Les


BSKS 20100421 0716.mp3
 Description:
Audio demo of two BS's driving a KS

Download
 Filename:  BSKS 20100421 0716.mp3
 Filesize:  492.65 KB
 Downloaded:  1240 Time(s)


KS3.ck
 Description:
The ChucK source code

Download
 Filename:  KS3.ck
 Filesize:  2.78 KB
 Downloaded:  584 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: Wed Apr 21, 2010 4:34 am    Post subject: Reply with quote  Mark this post and the followings unread

OK Uncle, I understand where you're coming from with your latest suggestion. I'd say "add it to the list" of possible options. As you can hear from my previous post, your original idea gives plenty of musical interest to me at least when there are two of them.

Your second logic structure may provide more musical diversity per board, however, so it's worth a look. I do feel that your original design is more intuitive, more basic, more fundamental, etc. We'll have to see what pans out, but I like your first idea best so far.

Les

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


Joined: Jul 11, 2005
Posts: 4761
Location: Sydney, Australia
Audio files: 52
G2 patch files: 1

PostPosted: Wed Apr 21, 2010 5:08 am    Post subject: Reply with quote  Mark this post and the followings unread

Man I love the sound of that KS board! Shocked
And I don't even know how it works!! Rolling Eyes

BTW That last gate layout is what I originally meant. It's just taken me a while to describe it properly. Laughing

BTBTW How's this for a work of art?!? Rolling Eyes


BS-Idea.gif
 Description:
 Filesize:  32.31 KB
 Viewed:  575 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

BS-Idea.gif



_________________
What makes a space ours, is what we put there, and what we do there.
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: Wed Apr 21, 2010 5:14 am    Post subject: Reply with quote  Mark this post and the followings unread

You know the old joke that the older and wiser an engineer gets, the sloppier his schematics get, haha. By that measure you must be a sage indeed Andy! I get the idea, if I get a moment I'll prototype it in ChucK.

Les

_________________
"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: Wed Apr 21, 2010 5:55 am    Post subject: Reply with quote  Mark this post and the followings unread

Psyingo in the chatroom requested a waveform shot of the BS run at audio rates. Here it is. It sounds very machine-like as it is a control voltage sped up really fast.

Les


BSWaveform.jpg
 Description:
BS at audio rates
 Filesize:  60.95 KB
 Viewed:  502 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

BSWaveform.jpg



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



Joined: Apr 04, 2009
Posts: 420
Location: united kingdom

PostPosted: Wed Apr 21, 2010 7:46 am    Post subject: Reply with quote  Mark this post and the followings unread

I got a very similar waveform from funnily enough from a custom Weird Sound Generator i've made for a friend yesterday.
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: Wed Apr 21, 2010 9:21 am    Post subject: Reply with quote  Mark this post and the followings unread

adambee7 wrote:
I got a very similar waveform from funnily enough from a custom Weird Sound Generator i've made for a friend yesterday.


How about that? I just took a quick look at the WSG block diagram and schematic. The circuits are completely different, so why would they generate similar waveforms? Perhaps the combination of a few oscillators running at different frequencies is analogous to the binary patterns that are grouped together into musical phrases, though only in the most vague sense. Thanks for noticing the similarity.

Les

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



Joined: Feb 02, 2009
Posts: 515
Location: London area
Audio files: 2

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

4040 it is then! I have lots of those too.
As soon as I can get my r/2r module re-wired for power I'll get patching.

So for a repeating 16 bit sequence I'll need 4 consecutive outputs on the 4040 going to various logic gates wired per Unkle K's artowork?

For a 6 bit R/2R is there a suggested gate structure?

_________________
==================
Check out the FREE Intro to Lunettas Document
https://docs.google.com/document/d/1V9qerry_PsXTZqt_UDx7C-wcuMe_6_gyy6M_MyAgQoA/edit?usp=sharing

Edit: Spelling mistakes.
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: Wed Apr 21, 2010 12:21 pm    Post subject: Reply with quote  Mark this post and the followings unread

droffset wrote:
So for a repeating 16 bit sequence I'll need 4 consecutive outputs on the 4040 going to various logic gates wired per Unkle K's artowork?


Yes, that would be one way to get started droffset. You can basically hang any cloud of logic off the counter bits that you want. And you can skip bits, like use those four inputs on bits 0, 2, 4, and 6 to get a 128 bit sequence. What you listened to in the audio file of BSKS above was about 10 or 12 bits, i forget, so a 1024 to 4096 step sequence.

Les

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



Joined: Apr 04, 2009
Posts: 420
Location: united kingdom

PostPosted: Wed Apr 21, 2010 7:28 pm    Post subject: Reply with quote  Mark this post and the followings unread

Inventor wrote:
adambee7 wrote:
I got a very similar waveform from funnily enough from a custom Weird Sound Generator i've made for a friend yesterday.


How about that? I just took a quick look at the WSG block diagram and schematic. The circuits are completely different, so why would they generate similar waveforms? Perhaps the combination of a few oscillators running at different frequencies is analogous to the binary patterns that are grouped together into musical phrases, though only in the most vague sense. Thanks for noticing the similarity.

Les


Yeah that's pretty much it. Oh and the filter added to the equation.
Back to top
View user's profile Send private message
electri-fire



Joined: Jul 26, 2006
Posts: 536
Location: Dordrecht NL
Audio files: 4
G2 patch files: 4

PostPosted: Fri May 14, 2010 4:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

Inventor wrote:
adambee7 wrote:
I got a very similar waveform from funnily enough from a custom Weird Sound Generator i've made for a friend yesterday.

Perhaps the combination of a few oscillators running at different frequencies is analogous to the binary patterns that are grouped together into musical phrases, though only in the most vague sense. Les


Technically in a vague sense, practically it can work that way and then some.

For this reason I'd be pleased if we could have a second 4040 with separate clock input, and have two or three of it's outputs at the rotary switches before the Gate inputs.

Another option without the need for an extra 4040 could be to have one or two inputs for external clocks. When buying rotary switches anyway, it may not be much more expensive to have nine or twelve way's instead of six way.

The latter may be the most practical solution, this being a design for a module, so have the user to decide what to insert besides the clocked 4040.
When having oscillations of similar frequency you can get these modulated short snippets of sound coming through, and you can totally alter the feel of the sequence with the sweep of the LFO speed, tune in triplets (quintuplets or anything) on the fly or apply PWM.

Multiple "base frequency" options (instead of a single clock devided by 2*2*2(etc.) (and those signals combined)) might be fairly easy to implement, and most useful imho.
Back to top
View user's profile Send private message
electri-fire



Joined: Jul 26, 2006
Posts: 536
Location: Dordrecht NL
Audio files: 4
G2 patch files: 4

PostPosted: Fri May 14, 2010 4:13 pm    Post subject: Reply with quote  Mark this post and the followings unread

I love the rotary Gate Select and Input Select switches by the way. I'd buy one or two of these for my KS boards. On Dio's board if need be, but I prefer a hardware version to tinker with.
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 May 14, 2010 4:21 pm    Post subject: Reply with quote  Mark this post and the followings unread

Well, Mathe, I looked at the Futurlec site and 12 position rotary switches are only a dollar there (maybe a few dollars elsewhere), so a design change is in order. Perhaps not offering multiple gate types, and just using XOR gates or AND gates would be appropriate, not sure. I can only fit so many 12 position switches, so only so many inputs can be accommodated. What do you think?

Les

_________________
"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: Fri May 14, 2010 7:34 pm    Post subject: Reply with quote  Mark this post and the followings unread

The molex connectors that I'm using to connect the rotary switches to the board are only available in up to 12 positions, and the 12 position switch requires 13 positions (one for output). So I'm not sure what to do short of ignoring the last switch position. Any suggestions?

Les

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


Joined: Jul 11, 2005
Posts: 4761
Location: Sydney, Australia
Audio files: 52
G2 patch files: 1

PostPosted: Sat May 15, 2010 2:39 am    Post subject: Reply with quote  Mark this post and the followings unread

Do what ever feels good! Laughing

"Do, what you do, in a tiny canoe."

_________________
What makes a space ours, is what we put there, and what we do there.
Back to top
View user's profile Send private message Visit poster's website
electri-fire



Joined: Jul 26, 2006
Posts: 536
Location: Dordrecht NL
Audio files: 4
G2 patch files: 4

PostPosted: Sat May 15, 2010 11:29 am    Post subject: Reply with quote  Mark this post and the followings unread

Inventor wrote:
I looked at the Futurlec site and 12 position rotary switches are only a dollar there (maybe a few dollars elsewhere), so a design change is in order.


After I shut down the laptop yesterday, it occurred to me the board does not need to accommodate for extra inputs at all. All that the user would have to do is attach the six input options as envisioned by Uncle Krunkus, and directly attach the other six to either jacks for external signals, or to extra divisions from the onboard 4040, or even some post gate signals to be processed by the gate that is selected by the Gate Select rotary.

With the PCB's and 12-way rotaries being reasonably priced, having two BS boards would even be feasible. Panelspace and input jacks might become the bottleneck in that case. But then the craving for external inputs would have been greatly diminished, and one could "cross attach" the six extra rotary options from one board to the other and visa versa.

Inventor wrote:
Perhaps not offering multiple gate types, and just using XOR gates or AND gates would be appropriate, not sure. I can only fit so many 12 position switches, so only so many inputs can be accommodated.

I'm not sure either. But as long as there is space left on the PCB I'd leave the option of multiple gate types available for those who want to implement all gates. Then, if after trying , say an XOR and it serves my purpose,I could hardwire just that, and save me a rotary selector.
Next, when I pull out the XOR from the socket to try another type, I might decide I like it better, or want them both, and select two gates with a simple spdt switch. Or indeed have 4 gate types available.

Well, you get the picture I guess.
In short: provide space for 4 gate types, let the user decide what to implement.
I think it's ok to make provisions for 6-way rotary's hardwired directly on the PCB. As long as all 4040 and gate ouputs have a solderpad the user can decide what clock devisions or external signals to add when using a 12-way rotary instead of a 6-way. Likewise , a gate select switch could be either PCB mounted, or replaced by user options.
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: Sun May 16, 2010 3:58 am    Post subject: Reply with quote  Mark this post and the followings unread

Well Mathe, I figured out how to use a 12 position switch when only 2 to 12 position Molex connectors are available. I'll just use a six and a seven position Molex connector on each 12 position switch. The board would then accomodate eight of these 12 position selectors. Still working on other details, keep you posted.

Les

_________________
"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: Sun Apr 22, 2012 7:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

A flash of light bursts into your field of vision, startling you and drawing your fascination with it's techicolor splendor!

That's the brilliance with which I breathe new life into this long forgotten thread as I have suddenly created a modular synthesizer circuit board for the Boolean Sequencer in the past two days!

It all began when I read JingleJoe's post about what he called an ANY gate, also known in the FPGA industry as a LUT (or lookup-table or logic unit). I soon realized that this thingamajig was the perfect logic gate for the boolean sequencer modular synthesizer board! This enabling feature will be discussed in detail in a later post. Suffice to say that now I had a clear picture of how to make the board.

I'll be describing it in the following posts, with illustrations and all that jazz. The board contains five subcircuits: A counter with oscillator and four LUTs. IT's jam packed on the same exact size board as it's companion board, the Karplus Strong board and they go together well.

So kick back, relax, and prepare for a wild read as I explain in vivid detail how everything works!

Les

_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic Moderators: Inventor
Page 2 of 3 [54 Posts]
View unread posts
View new posts in the last week
Goto page: Previous 1, 2, 3 Next
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » Les Hall's Projects including eChucK
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