[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] jack midi input

From: Richard Shann
Subject: Re: [Denemo-devel] jack midi input
Date: Sun, 02 Nov 2008 09:00:08 +0000

On Sat, 2008-11-01 at 17:37 -0500, Jeremiah Benham wrote:
> On Sat, 2008-11-01 at 21:21 +0000, Richard Shann wrote:
> > On Sat, 2008-11-01 at 21:14 +0000, Richard Shann wrote:
> > > jackmidi.c:2:27: error: jack/midiport.h: No such file or directory
> > >  
> > > and indeed I have
> > > 
> > > ls /usr/include/jack/
> > > intclient.h   ringbuffer.h  thread.h      transport.h
> > > jack.h        statistics.h  timestamps.h  types.h
> > > 
> > > Is this because of the earlier version I wonder,
> > No, it can't be that (surely?), the file is on the dated 2004
> wow, thats old. 
I meant jack/midiport.h is dated 2004 inside, 
> Jack midi support is a fairly new addition to jack.
perhaps they picked up midiport.h from earlier work then, I don't
suppose that Debian is that frozen.
>  I
> would not be surprised if it is to old. Maybe I should have a switch to
> turn off this feature for people who's jack is too old. I will have
> another look at this pitch entry and see what I can do with it.
I can do this bit very easily - I have had a look and it is a
straightforward enough bit of plumbing - leave it to me.
>  Will I
> need to create a midi2hz or midi to frequency function. 
yes, please do this - I will just assume it exists, I will use

    if (event.buffer[0] = (SYS_EXCLUSIVE_MESSAGE1 & NOTE_ON))
        return midi2hz(event.buffer[1]);

where my function will be the dummy:

double midi2hz(gpointer data) {
return 440.0;

and where I have put "return" but it will be something else

reply via email to

[Prev in Thread] Current Thread [Next in Thread]