[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] A Good Idea
From: |
Richard Shann |
Subject: |
Re: [Denemo-devel] A Good Idea |
Date: |
Fri, 05 Mar 2010 09:42:10 +0000 |
On Thu, 2010-03-04 at 18:08 -0600, Jeremiah Benham wrote:
>
> I would like to take a look at this script so I can better
> understand
> what it is that needs done. Is it in git?
no - it is trivial and needs to be done in C anyway. It is mostly
converting the format of d-GetMidi to d-OutputMidiBytes like this:
(let loop ()
(if MidiThru::Active
(begin
(set! midi (d-GetMidi))
(set! velocity (bit-extract midi 16 24))
(set! note (bit-extract midi 8 16))
(set! command (bit-extract midi 0 8))
(set! output (string-append (number->string command)
" "
(number->string note) " "
(number->string velocity)))
(d-OutputMidiBytes output)
(loop)))))))
This won't get you any further on the MIDI recording thing - I'll reply
to the other mail on that.
Richard
- Re: [Denemo-devel] A Good Idea, (continued)
- Re: [Denemo-devel] A Good Idea, Jeremiah Benham, 2010/03/04
- Re: [Denemo-devel] A Good Idea, Richard Shann, 2010/03/05
- Re: [Denemo-devel] A Good Idea, Jeremiah Benham, 2010/03/06
- Re: [Denemo-devel] A Good Idea, Richard Shann, 2010/03/07
- Re: [Denemo-devel] A Good Idea, Jeremiah Benham, 2010/03/09
- Re: [Denemo-devel] A Good Idea, Richard Shann, 2010/03/10
- Re: [Denemo-devel] A Good Idea, Richard Shann, 2010/03/11
Re: [Denemo-devel] A Good Idea, Jeremiah Benham, 2010/03/04
- Re: [Denemo-devel] A Good Idea,
Richard Shann <=
[Denemo-devel] Re: A Good Idea, Richard Shann, 2010/03/09