Re: [CM] midi-received functions

2016-02-19 Thread Forrest Curo
Given that the error isn't from the current distribution, I suppose there's no issue... Ah, I seem to have finally bumbled through installing 3.9.0, thanks! On Fri, Feb 19, 2016 at 2:19 PM, Forrest Curo wrote: > function mychord (data) > with channel = second(data), >

Re: [CM] midi-received functions

2016-02-19 Thread Forrest Curo
function mychord (data) with channel = second(data), keynum = third(data), velocity = fourth(data) send("mp:midi", key: key, vel: vel, chan: chan) send("mp:midi", key: key + pick(3,4), vel: vel, chan: chan) send("mp:midi", key: key + 7, vel: vel, chan: chan) end -

Re: [CM] newbie question (sorry)

2016-02-19 Thread Taube, Heinrich K
if you are on a mac no need to write files -- just send midi to the IAC Driver bus and then have logic read from it. . > On Feb 19, 2016, at 12:51 PM, Rob Howiler wrote: > > My plan is to write to a MIDI file and then dump that into Logic for > playback. (eventually I

Re: [CM] newbie question (sorry)

2016-02-19 Thread Rob Howiler
I’m using version 3.9.0 - I’m pretty sure I’m using common lisp. The example is “interaction 2. Generating a MIDI event to a MIDI file.” in chapter 12 (Etudes, Op.4: Score Generation). I’ve noticed that some of the examples in the book don’t work anymore - perfectly understandable. To be

Re: [CM] newbie question (sorry)

2016-02-19 Thread Taube, Heinrich K
Are you using scheme, or common lisp? The book is many years old now and meanwhile the software has evolved. once you tell me what version so fthe software you are using and the example you are using I can help you > On Feb 19, 2016, at 7:56 AM, Rob Howiler wrote: > >

Re: [CM] midi-received functions

2016-02-19 Thread Taube, Heinrich K
its not clear to me what the issue is. does it not work. BTW no need to use send() and just call the function directly so > send("mp:midi", key: key, vel: vel, chan: chan) can be written mp:midi(key: key, vel: vel, chan: chan) i thought I got rid of all that in the documentation and help

[CM] Snd 16.3

2016-02-19 Thread bil
Snd 16.3 added s7 profiler if WITH_PROFILE is set, profile.scm. moved multiple-value-set! macro to stuff.scm port-line-number is settable (for fancy #readers) *cload-directory* (a string) for cload output files (default is "") removed quasiquoted vector support (it was disabled by default)

Re: [CM] newbie question (sorry)

2016-02-19 Thread Aykut Caglayan
Hi there, > (define one (new midi :time 0 >        :keynum 60 :duration 2)) I assume you are trying to define a function which sends a midi note out.If this is the case, first define it as follows: (define (one ) (send "mp:midi" :time 0 :key 60 :dur 1) ;and fire ; (one ) Sincerely,Ike PS: I

Re: [CM] midi-received functions

2016-02-19 Thread Forrest Curo
The section is "Input Hooks" (speaking of errors... but still not the first title I'd look for this under.) On Fri, Feb 19, 2016 at 7:59 AM, Forrest Curo wrote: > Okay, among 'examples' there is a section titled 'Output Hooks' (not, to > my mind, the most obvious titles

Re: [CM] midi-received functions

2016-02-19 Thread Forrest Curo
Okay, among 'examples' there is a section titled 'Output Hooks' (not, to my mind, the most obvious titles to look for) and the examples have errors: ie ; An opcode receiver that plays a major or minor chord whenever a ; Note On arrives function mychord (data) with channel = second(data),