From owner-freebsd-multimedia@FreeBSD.ORG Fri Jun 7 16:37:39 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D960A9AB for ; Fri, 7 Jun 2013 16:37:39 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail05.adl6.internode.on.net (ipmail05.adl6.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:6:5]) by mx1.freebsd.org (Postfix) with ESMTP id 696211995 for ; Fri, 7 Jun 2013 16:37:38 +0000 (UTC) Received: from ppp247-71.static.internode.on.net (HELO leader.local) ([203.122.247.71]) by ipmail05.adl6.internode.on.net with ESMTP; 08 Jun 2013 02:07:38 +0930 Message-ID: <51B20C4E.6010408@ShaneWare.Biz> Date: Sat, 08 Jun 2013 02:07:34 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: Rodrigo OSORIO Subject: Re: jack midi and lmms References: <51B1AB31.9020304@ShaneWare.Biz> <51B1ACAD.5010505@bitfrost.no> <51B1AFD6.1070201@bebik.net> In-Reply-To: <51B1AFD6.1070201@bebik.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jun 2013 16:37:39 -0000 On 07/06/2013 19:33, Rodrigo OSORIO wrote: > On 06/07/13 11:49, Hans Petter Selasky wrote: >> This sounds very interesting. You know there are many examples how you >> can do the JACK MIDI interface part, like jack_umidi, jack_ghero, >> jack-keyboard etc, in ports. I'm not an expert about the LMMS MIDI >> subsystem, but would like to test any patches! I used a mix of hydrogen and jack examples to get what I have so far. I have had lmms running for several hours without issue (light use as I start learning keyboard), as long as I don't use soundfont or zynaddsubfx > As lmms port maintainer, even if I'm not a lmms "expert", I would be > pleased to be in the loop > and help you to test patches, and, final step, integrate them in the > port itself. > I decided to push it to github https://github.com/sambler/lmms branch is jackmidi it is based off stable-0.4 with freebsd ports patches included. If you can find any clue as to why soundfont or zynaddsubfx fails it would be appreciated. I chose to try sending each byte from the buffer through ParseData the way it would be parsed from a midi device. As that works in 80% of lmms I'm not sure that I would need to parse the jack data separately.