Author |
Message |
Inventor
Stream Operator
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
Posted: Thu Oct 18, 2007 6:00 am Post subject:
Boolean Algebra Sequencing Subject description: Did I reinvent the wheel - again? |
|
|
Hi Folks, I am very much the newbie at creating music, in fact this is my first week. I know nothing about music besides my iTunes collection, so I thought I would just freely explore various ways of creating sounds and organizing them into songs. I presume that "composition" means the stringing together of notes/sounds to create a song, is that correct?
Anyway, I happen to be programming in ChucK, but that doesn't matter for my question. I created a music generation technique that I'll call "Boolean Algebra Sequencing" for lack of a better term, and I'm wondering if this is an old-hat method for generating / composing music. It works like this:
I create a binary counter five bits wide. I then create Boolean algebra expressions with those five bits and trigger notes to happen each time the logic output is true. For example, I have a counter [c4,c3,c2,c1,c0] and a boolean expression f = (c0 and c2) or (c1 and c3). Then whenever f is 1, i play a note. It makes a delightful sequence of notes.
That was the simple version. What I have done with it now is make it not just a binary counter but a base n counter. It counts out a base 2 sequence, pauses, then counts out a base 3 sequence, pauses, and so on. Then I encoded the frequency of the notes with the sum of the digit values divided by n and multiplied by a fundamental frequency. This enhanced the music quite a bit. The logic decision for the boolean expression is done by using the greater or less than operators, comparing to n/2.
I also attached a sine wave oscillator to each bit with the fundamental frequency at c0 and 5 times that at c4, which sounds really good. Finally, i put in an impulse generator driving a band pass filter and triggered it on the exclusive or of c2 and c3, which made a nice bass instrument.
That's way more details than you need to answer the main question but I thought being music creators you might enjoy the algorithm specifics. So did I reinvent the wheel? Is this a classic, time-honored technique for creating sequences of notes?
Now that I think of it, an old style player piano or wind-up music box works in a similar way, so maybe this is a very old technique indeed!
If you would like to hear the song, or at least the first three values of n, you can visit my new personal music web site here:
http://www.freedomodds.com/music/
The song is called "Boolean Trio" and is currently at the top of the page just below the introduction paragraph. Thanks in advance for your reply, I am so glad I found this forum! |
|
Back to top
|
|
|
Antimon
Joined: Jan 18, 2005 Posts: 4145 Location: Sweden
Audio files: 371
G2 patch files: 100
|
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Thu Oct 18, 2007 4:55 pm Post subject:
Re: Boolean Algebra Sequencing Subject description: Did I reinvent the wheel - again? |
|
|
Inventor wrote: | in fact this is my first week. |
It's lovely to hear what you come up with, just listened to a couple of mp3s on your site. _________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
Acoustic Interloper
Joined: Jul 07, 2007 Posts: 2067 Location: Berks County, PA
Audio files: 89
|
Posted: Thu Oct 18, 2007 7:02 pm Post subject:
Re: Boolean Algebra Sequencing Subject description: Did I reinvent the wheel - again? |
|
|
Blue Hell wrote: | It's lovely to hear what you come up with, just listened to a couple of mp3s on your site. |
Yeah, it sure beats watching TV in this hotel room by a long shot _________________ When the stream is deep
my wild little dog frolics,
when shallow, she drinks. |
|
Back to top
|
|
|
Inventor
Stream Operator
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
Posted: Fri Oct 19, 2007 10:09 pm Post subject:
|
|
|
Well, thanks! I'm enjoying this new hobby immensely and I'm glad you like what I've done so far! The Nord G2 song was pretty cool as well, more rhythmic as you say. I think that in general with binary sequences you can get the most rhythm by deriving your logic from just one or two adjacent bits, then more complexity and "phrases" by mixing in more bits in complex logic expressions. But that just makes sense, doesn't it? Now I'm off to go write a bit of code for someone and then i'll get back to composition. Thanks for the encouragement. |
|
Back to top
|
|
|
EdisonRex
Site Admin
Joined: Mar 07, 2007 Posts: 4579 Location: London, UK
Audio files: 172
|
Posted: Sat Oct 20, 2007 3:27 pm Post subject:
|
|
|
Inventor wrote: | Well, thanks! I'm enjoying this new hobby immensely and I'm glad you like what I've done so far! The Nord G2 song was pretty cool as well, more rhythmic as you say. I think that in general with binary sequences you can get the most rhythm by deriving your logic from just one or two adjacent bits, then more complexity and "phrases" by mixing in more bits in complex logic expressions. But that just makes sense, doesn't it? Now I'm off to go write a bit of code for someone and then i'll get back to composition. Thanks for the encouragement. |
I don't know how much sense it makes, yet. I don't know how much music MAKES sense, sometimes. being an engineer and a musician at the same time never actually gave me a clue about the art, although it appears I am artistic, but I can't explain that part.
Whatever I am babbling, do please keep posting, and keep posting your music. It's wonderful to see someone come up with ideas such as yours. _________________ Garret: It's so retro.
EGM: What does retro mean to you?
Parker: Like, old and outdated.
Home,My Studio,and another view |
|
Back to top
|
|
|
bachus
Joined: Feb 29, 2004 Posts: 2922 Location: Up in that tree over there.
Audio files: 5
|
Posted: Sat Oct 20, 2007 4:04 pm Post subject:
Re: Boolean Algebra Sequencing Subject description: Did I reinvent the wheel - again? |
|
|
Inventor wrote: | Anyway, I happen to be programming in ChucK, but that doesn't matter for my question. I created a music generation technique that I'll call "Boolean Algebra Sequencing" for lack of a better term, and I'm wondering if this is an old-hat method for generating / composing music. It works like this:
|
Counter pattern based composition techniques were first investigated by Joseph Schillinger in the early part of the last century. The variants of it are virtually uncountable, I think your's in in there somewhere _________________ The question is not whether they can talk or reason, but whether they can suffer. -- Jeremy Bentham |
|
Back to top
|
|
|
Inventor
Stream Operator
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
Posted: Sat Oct 20, 2007 8:11 pm Post subject:
|
|
|
Thank you for the kind words, Edison Rex. It is valuable to have a forum like this for sharing my work, so thanks also for your efforts in editing the forum. Without the fun of interaction I would quickly tire of this or any other hobby, but the responses to my posts make me want to do more!
Also thanks for the pointer to Schillinger, bachus, I read a little bit about his work and all that talk about visualizing music in 3d, colors, and time is very stimulating. I'll have to continue reading about Schillinger - perhaps it would be possible to generate music videos that illustrate something similar to what Schillinger could only describe so long ago. |
|
Back to top
|
|
|
bachus
Joined: Feb 29, 2004 Posts: 2922 Location: Up in that tree over there.
Audio files: 5
|
Posted: Sun Oct 21, 2007 11:47 am Post subject:
|
|
|
Inventor wrote: | I'll have to continue reading about Schillinger - perhaps it would be possible to generate music videos that illustrate something similar to what Schillinger could only describe so long ago. |
I've read both volumes of the "System" and don't really recommend them. What you are already doing is as interesting as most anything you would find in those weighty tomes. _________________ The question is not whether they can talk or reason, but whether they can suffer. -- Jeremy Bentham |
|
Back to top
|
|
|
mosc
Site Admin
Joined: Jan 31, 2003 Posts: 18197 Location: Durham, NC
Audio files: 212
G2 patch files: 60
|
Posted: Thu Nov 01, 2007 2:18 pm Post subject:
|
|
|
Yes, I enjoy your explorations too.
BTW, if you don't mind, where in Florida are you? _________________ --Howard
my music and other stuff |
|
Back to top
|
|
|
Inventor
Stream Operator
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
Posted: Thu Nov 01, 2007 5:04 pm Post subject:
|
|
|
mosc wrote: | Yes, I enjoy your explorations too.
BTW, if you don't mind, where in Florida are you? |
Well, thanks! It has been a great deal of fun learning about and creating music, I never realized what a pleasure it could be. I am in Hollywood, Florida, which is just north of Miami. Are you nearby? |
|
Back to top
|
|
|
mosc
Site Admin
Joined: Jan 31, 2003 Posts: 18197 Location: Durham, NC
Audio files: 212
G2 patch files: 60
|
Posted: Fri Nov 02, 2007 3:37 pm Post subject:
|
|
|
i'm originally from Jacksonville. _________________ --Howard
my music and other stuff |
|
Back to top
|
|
|
|