From alsa-devel-owner@alsa.jcu.cz  Tue Apr 21 07:35:30 1998
Received: from mx1.landsraad.net (chusuk.arrakis.es [195.5.65.35])
	by marvin.jcu.cz (8.8.8/8.8.8) with ESMTP id HAA08266
	for <alsa-devel@alsa.jcu.cz>; Tue, 21 Apr 1998 07:35:22 +0200
Received: from arrakis.es (antonio@ia-136.arrakis.es [195.5.70.136]) by mx1.landsraad.net (8.8.6/8.7.3) with ESMTP id HAA12582 for <alsa-devel@alsa.jcu.cz>; Tue, 21 Apr 1998 07:34:22 +0200 (MET DST)
Message-ID: <353A21E3.417443B3@arrakis.es>
Date: Sun, 19 Apr 1998 16:10:11 +0000
From: Antonio Larrosa <antlarr@arrakis.es>
MIME-Version: 1.0
To: alsa-devel Mailing list <alsa-devel@alsa.jcu.cz>
Subject: Question about sequencer midi
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

Hi,

I'm very interested in the alsa project, and would like to help.
I have an old SB16 (with the ASP/CSP chip that brought the first ones,
and which is getting bored and bored each passing day :-) ), and a
Yamaha PSS-790 external synthesizer.

I have no experience with kernel programming, nor modules, nor
DSP, nor mixers. But I have experience in Midi programming with OSS
and much more in other C++ applications.
So I can help implementing the C++ library to access the alsa api,
programming example programs, testing, and giving ideas, (if you
want I can also type some code for the driver, but I would preffer
not to add bugs to it :-))

I will use this my first message in this list by proposing/asking something:

I have made a midi player (kmid) using the OSS api, and found that
it is very restricted. When I saw the alsa project I wondered if it
would have something that imho is very important: Inserting (not just
adding) midi events in the buffer and deleting events that were sent to
the buffer but were not played yet.

I will explain myself, think of an application that is being playing music
by adding events to the midi buffer, now the user moves a slider bar to change
the volume. If the application is using the OSS driver, it can only add
a volume change event to the buffer, but this event is processed a few seconds
after the user moved the slider bar !!. Now, if the application uses the alsa
driver, it can insert the volume change event to play NOW, and then the user
gets inmediate feedback.

I know that midi support has not been fully implemented yet, but have
you thought about what I've told ?, what do you think about it ?

If it ever gets implemented I promise to port kmid to use the alsa
driver natively, (and also if it doesn't ;-))

Bye,

PS:I connect to the internet each few days from home, so my replies can
be up to 4 days delayed, sorry.
-- 
Antonio Larrosa Jimenez
antlarr@arrakis.es
Personal Homepage : http://www.arrakis.es/~rlarrosa
KMid's Homepage : http://www.arrakis.es/~rlarrosa/kmid.html
KFourier's Homepage : http://www.arrakis.es/~rlarrosa/kfourier.html
Doubt is not a pleasant condition, but certainty is absurd.
                -- Voltaire



