Re: [kln2-devel] tse3: alsa, arts and maybe more!
Brought to you by:
wiecko
|
From: Marek W. <Mar...@fu...> - 2004-04-09 16:50:40
|
Carlo,
On Mon, 29 Mar 2004, Carlo wrote:
> I changed this another time, according to TSE3 documentation.
> I hope this works as supposed.
I'm getting a bit tired with this. :( After some minor changes (that
shouldn't really change anything - like splitting auto adding Note_Off
event into a separate command) it works. And then after a similar change
in a different version of the code it doesn't and so on. Usually such a
random situation means, that for example some variables randomly are or
are not initialized to proper values. Volume? Midi patch? I tried some,
but didn't find any pattern.
But if you have time to continue working on this - please, do. :) Probably
at some point there will be a minor change which will make it work for me
too.
I wonder if it works for anybody with Alsa...
> > 2. change back to channel=0 (I don't really know what
> > TSE3::MidiCommand::AllChannels does [docs on this are quite
> > poor, aren't they?]. All I know is, it doesn't work.)
> I thought it was intended to have the note on every channel, and...
I think, T::MC::AllChannels cannot be used for any midi command. It
probably can be used to e.g. set volume of all channels or midi patch of
all channels. But it seems, it does not cycle putting each note to a
different channel. It's just a guess, because :
> I agree, the whole TSE3 documentation is poor
:(
> I added mixer and i'll commit changes in a moment. I encountered
> problems with setVolume not linking (see the lines commented out).
Ha! That's a good one. I looked into tse source. It looks like
MixerChannel::setVolume() is OK, but MixerPort::setVolume() is declared
but never defined! :( I'm not sure what to do about it. For now - just
forget about (=don't use) MixerPort::setVolume(). Maybe in future we'd
define it ourselves?
From user's point of view: if setting mixer volume does nothing, any user
can use external mixer program to setup volumes. Not convenient, but for
now I suppose that's all we can do fast.
~Marek
--
\/ /|\ Marek Wieckowski
##### | | |
= . . = \|/ Institute of Theoretical Physics
U | Warsaw University
/ ~ \___ |
<| | |
> . < | http://www.fuw.edu.pl/~wiecko
<<___>> | http://klearnnotes2.sourceforge.net
|