Be a Supporter!

Music represented through logic?

  • 1,435 Views
  • 35 Replies
New Topic Respond to this Topic
deadlyfishes
deadlyfishes
  • Member since: May. 15, 2011
  • Offline.
Forum Stats
Member
Level 05
Musician
Response to Music represented through logic? 2012-12-12 18:51:15 Reply

At 12/10/12 01:51 PM, Centriptic wrote: Has anyone ever tried to write a piece using computational logic?

For instance, heres a simple side-chained bass, kick, snare and hi-hat beat that covers 1 measure (I've combined some basics of a few languages to help this make a little more sense)

//Setup One Measure

beat=1
While beat < 17
if beat = 1 || 4 || 8 || 12 //When its the 1st ,4th ,8th or 12th beat, play kick sample
playKick; //Play Kick Sample
end
if beat = 4 || 12
playSnare; //Play Snare Sample
end
if beat%2 == 0 //If its a on-beat, play hi-hat
playHiHat; //Play Hi-Hat Sample
end
if (playKick) == True
Stop playBass; //Kill Bass Sample
else
playBass; //Play Bass Sample
end
beat = beat + 1;
End

You could probably wrap this in another loop that reiterates the measures to make a full song...

Anybody ever look at music like this?

Yes, there is a whole genre of music based on creating music this way.

This is fixed media + piano
http://www.youtube.com/watch?v=UNcVjQUZ5VI

Also, there were some composers who would program music into a computer which then the computer would be another "instrument" in the ensemble:
http://www.youtube.com/watch?v=47BrzGW9DRg

http://www.youtube.com/watch?v=47BrzGW9DRg


<Professional Composer> <AudioJungle Reviewer>
OFFICIAL MUSIC SITE!
Check out something I did for NATA 2013! Hikarian's winning NATA 2013 Entry

BBS Signature
dem0lecule
dem0lecule
  • Member since: Feb. 17, 2008
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to Music represented through logic? 2012-12-13 22:22:07 Reply

At 12/12/12 06:29 PM, eatmeatleet wrote:
autism at it's best

You sir was corrected. Moar stuff...

Music represented through logic?


What comes around goes around...

BBS Signature
Kajenx
Kajenx
  • Member since: Dec. 1, 2006
  • Offline.
Forum Stats
Member
Level 17
Blank Slate
Response to Music represented through logic? 2012-12-15 00:35:31 Reply

Haha, you guys wouldn't have survived writing for video games in the early days. Isn't this how they had to do it?


BBS Signature
dem0lecule
dem0lecule
  • Member since: Feb. 17, 2008
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to Music represented through logic? 2012-12-15 12:27:34 Reply

At 12/15/12 12:35 AM, Kajenx wrote: Haha, you guys wouldn't have survived writing for video games in the early days. Isn't this how they had to do it?

They use trackers. With a bit of either BASIC or ASM knowledge.


What comes around goes around...

BBS Signature
Poniiboi
Poniiboi
  • Member since: Mar. 1, 2012
  • Offline.
Forum Stats
Member
Level 17
Musician
Response to Music represented through logic? 2012-12-18 00:26:32 Reply

At 12/10/12 01:51 PM, Centriptic wrote: Anybody ever look at music like this?

I mean, this is basically what the computer is doing when MIDI information is given to it by your input.


no, really...DON'T CLICK THE PIC

BBS Signature
Centriptic
Centriptic
  • Member since: Dec. 9, 2012
  • Offline.
Forum Stats
Member
Level 01
Musician
Response to Music represented through logic? 2012-12-18 13:38:32 Reply

At 12/18/12 12:26 AM, SenatorJohnDean wrote:
At 12/10/12 01:51 PM, Centriptic wrote: Anybody ever look at music like this?
I mean, this is basically what the computer is doing when MIDI information is given to it by your input.

Yeah the more I analyzed it, I realized that... Pretty much just tons of nested loops that fit 0:(length(measure)*4)-1