Quoting Shane Ambler <[email protected]>:

> On 14/06/2013 16:28, Raine M. Ekman wrote:
>> Quoting Shane Ambler <[email protected]>:
>>> This may be FreeBSD specific but I found that the only way to make
>>> use of usb-midi is through jack_umidi. So I started adding it to
>>> lmms.
>>>
>>> I have jack midi input working so far with two issues.
>>>
>>> 1. soundfont does not receive any midi input
>>
>> Does your code call instrument->isMidiBased() or something like that?
>> The sf2player lies on that point, not that it has mattered much
>> before...
>
> What I added doesn't call that, but I have tried changing
> sf2player::isMidiBased to return both true and false
>
> I got to try 0.4.15 official build and the Q49 usb attached to a windows
> 7 machine (64bit) and get the same thing - no soundfont response and
> zynaddsubfx only responds if the keyboard is on channel one.

Actually, zynaddsubfx responds if you change the channel in its own  
GUI... "MIDI Chn.Rcv." 3/4 down on the right side of the main zyn  
window.

The 16 parts in zyn are by default connected 1 per channel, and LMMS  
will load patches into whichever one is active in the zyn GUI (part 1  
at startup).

The soundfont thing happens with ALSA MIDI, too. No sound, no reaction  
on the instrument editor piano. Genuine bug.


> I'll attach the first patch I used to get jack midi running. I haven't
> had any luck getting midi out running. Now I'm looking at expanding the
> input ports for multiple devices.
>
> At this stage I haven't tested whether it plays nice with jack audio
> (jack audio doesn't run very long for me)- not sure if both classes
> should call jack_client_open. But I have run lmms for several hours
> playing the keyboard through jack midi without problems.

Cool, I'll try to play with this some time in the near future.

-- 
[email protected]
http://www.mikseri.net/radioproject



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
LMMS-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmms-devel

Reply via email to