Re: [linux-audio-dev] MIDI Clock and ALSA seq

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] MIDI Clock and ALSA seq
From: Paul Davis (paul_AT_linuxaudiosystems.com)
Date: Fri Feb 14 2003 - 17:05:47 EET


>On Friday 14 February 2003 15:02, Steve Harris wrote:
>> Hi all,
>>
>> I'm trying to hack up a quick app that sends MIDI clock pulses in sync
>> with a ringbuffer playback.
>>
>> I've got it reading MIDI (thanks to Matthias' great exmaple code), but I
>> cant figure out how to send MIDI clock pulses explicitly. The ALSA seq
>> interface lets me set it up to go automatically, but I want to send a
>> clock pulse every 1/24th of the buffer, so the sync is correct.
>>
>
>How about dividing the buffer in 24 frames. And send one MIDI event each
>frame? Doable?

doesn't work. the MIDI data needs to be emitted at precise
intervals. nothing in the sequencer can provide this timing correctly.

well, correctly *enough* for me.

--p


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri Feb 14 2003 - 17:11:56 EET