Re: [livecode] generating random MIDI events

From: Aykut Caglayan <aykut_caglayan_at_yahoo.com>
Date: Mon, 25 Jan 2010 14:29:53 -0800 (PST)

try Grace => http://commonmusic.sourceforge.net/

and execute this Lisp code

((define (HardBopMidiEvents NoteRangeMin NoteRangeMax RhyValMin RhyValMax Length )
  (process repeat Length
           do
           (send "mp:midi" :key (between NoteRangeMin NoteRangeMax))
           (wait (between RhyValMin RhyValMax))))

(sprout (HardBopMidiEvents 40 80 .1 .8 10))

________________________________
From: Josh Lawrence <hardbop200_at_gmail.com>
To: livecode_at_toplap.org
Sent: Mon, January 25, 2010 4:03:11 PM
Subject: [livecode] generating random MIDI events

Hi everyone,

I'd like to play around with generating random MIDI events. Let me
get it out there that I am not a programmer, but I can dissect most
scripting languages fairly easily. So I'm looking for some
suggestions on language, as well as these points:

* restrict the note range (i.e., between such-and-such notes)
* restrict rhythmic value (i.e., generate only quarter notes)
* restrict length (i.e., only generate random MIDI for 4 bars)

It would be nice if I could somehow save the resulting files so they
could be used later. My end goal is to find something that inspires
new compositions.

I'm thinking this should be done in some programmatic fashion, but I
tend to want to make things harder than they really should be, so if
I'm missing something obvious/more simple, please tell me. :)

Any and all suggestions are welcome!

-- 
Josh Lawrence
http://www.hardbop200.com
      
Received on Mon Jan 25 2010 - 22:30:10 GMT

This archive was generated by hypermail 2.4.0 : Sun Aug 20 2023 - 16:02:23 BST