From: Chris Cannam Subject: Re: Quick question regarding raw midi access via alsa sequencer Date: Fri, 18 Mar 2005 15:51:21 +0000 Message-ID: <200503181551.22294.cannam@all-day-breakfast.com> References: <20050318153559.WEAT9404.gx6.fuse.net@64BitBadass> Reply-To: "The Linux Audio Developers' Mailing List" Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: 7bit In-Reply-To: <20050318153559.WEAT9404.gx6.fuse.net@64BitBadass> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audio-dev-bounces-oG0YroN0ZiqENrSoib9kfje48wsgrGvP@public.gmane.org Errors-To: linux-audio-dev-bounces-oG0YroN0ZiqENrSoib9kfje48wsgrGvP@public.gmane.org To: linux-audio-dev-oG0YroN0ZiqENrSoib9kfje48wsgrGvP@public.gmane.org Cc: Ivica Ico Bukvic , alsa-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: alsa-devel@alsa-project.org On Friday 18 Mar 2005 15:40, Ivica Ico Bukvic wrote: > 2) The other option is obviously to use alsa-sequencer API but in that case > is there a way to simply convert the stream of received MIDI data into raw > midi format so that I can use my built-in raw MIDI parsing engine for > parsing the messages? If I understand the requirement right, then the snd_midi_event_* API can do it: see . I've used this a couple of times in the DSSI examples source code, and I'm sure there are plenty of examples elsewhere. Chris