* Re: ALSA homepage redesign
@ 2002-04-21 10:24 Patrick Shirkey
2002-04-22 11:10 ` Jaroslav Kysela
0 siblings, 1 reply; 24+ messages in thread
From: Patrick Shirkey @ 2002-04-21 10:24 UTC (permalink / raw)
To: Eric Dantan Rzewnicki; +Cc: alsa-devel
I can add something but what is the official view from Jaroslav?
--
Patrick Shirkey - Boost Hardware Ltd
For the discerning hardware connoisseur
Http://www.boosthardware.com
Http://www.boosthardware.com/LAU/Linux_Audio_Users_Guide/
--- Eric Dantan Rzewnicki <eric@zhevny.com> wrote:
>Hi Patrick,
>
>Thanks for doing this.
>
>The new page doesn't say anything about using the 0.9.x version rather
>than 0.5.x. Is it possible to have the main page make it clear that
>0.9.0beta12 is the version new users and developers should start with?
>
>-Eric Rz.
>
>Patrick Shirkey wrote:
>>
>> I have now migrated the new ALSA homepage. It was redesigned to be more user friendly.
>>
>> http://www.alsa-project.org
>>
>> I will now add new links to the native applications page.
>>
>> So far I have:
>>
>> jack
>> Ardour
>> TiMidity
>> Glame
>> PD
>> Rosengarden
>> MusE
>>
>> Are these correct and are there any others?
>>
>> --
_____________________________________________________________
Want a new web-based email account ? ---> http://www.firstlinux.net
_____________________________________________________________
Run a small business? Then you need professional email like you@yourbiz.com from Everyone.net http://www.everyone.net?tag
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: ALSA homepage redesign
2002-04-21 10:24 ALSA homepage redesign Patrick Shirkey
@ 2002-04-22 11:10 ` Jaroslav Kysela
2002-04-22 13:49 ` Thomas Fjellstrom
0 siblings, 1 reply; 24+ messages in thread
From: Jaroslav Kysela @ 2002-04-22 11:10 UTC (permalink / raw)
To: pshirkey@boosthardware.com
Cc: Eric Dantan Rzewnicki, alsa-devel@lists.sourceforge.net
On Sun, 21 Apr 2002, Patrick Shirkey wrote:
> I can add something but what is the official view from Jaroslav?
0.5.x release is no longer supported from the developer perspective. All
our focus is in 0.9.x codebase. I'll release 0.9.0rc1 ASAP (after fixing
and testing a few changes), so it'll be clear that the API is finished and
code is working.
It would be nice, if someone helps us with the doxygen documentation and
cross-reference guide so we can release 0.9.0 final in a few months.
Jaroslav
> --- Eric Dantan Rzewnicki <eric@zhevny.com> wrote:
> >Hi Patrick,
> >
> >Thanks for doing this.
> >
> >The new page doesn't say anything about using the 0.9.x version rather
> >than 0.5.x. Is it possible to have the main page make it clear that
> >0.9.0beta12 is the version new users and developers should start with?
> >
> >-Eric Rz.
> >
> >Patrick Shirkey wrote:
> >>
> >> I have now migrated the new ALSA homepage. It was redesigned to be more user friendly.
> >>
> >> http://www.alsa-project.org
> >>
> >> I will now add new links to the native applications page.
> >>
> >> So far I have:
> >>
> >> jack
> >> Ardour
> >> TiMidity
> >> Glame
> >> PD
> >> Rosengarden
> >> MusE
> >>
> >> Are these correct and are there any others?
-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project http://www.alsa-project.org
SuSE Linux http://www.suse.com
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: ALSA homepage redesign
2002-04-22 11:10 ` Jaroslav Kysela
@ 2002-04-22 13:49 ` Thomas Fjellstrom
2002-04-22 14:12 ` Paul Davis
2002-04-22 16:07 ` rawmidi problem (was Re: ALSA homepage redesign) Takashi Iwai
0 siblings, 2 replies; 24+ messages in thread
From: Thomas Fjellstrom @ 2002-04-22 13:49 UTC (permalink / raw)
To: alsa-devel
On April 22, 2002 05:10 am, you wrote:
> On Sun, 21 Apr 2002, Patrick Shirkey wrote:
> > I can add something but what is the official view from Jaroslav?
>
> 0.5.x release is no longer supported from the developer perspective. All
> our focus is in 0.9.x codebase. I'll release 0.9.0rc1 ASAP (after fixing
> and testing a few changes), so it'll be clear that the API is finished and
> code is working.
It is? Last time I tried using Rawmidi on an emu10k1 chip I got no sound. I
had a soundfont loaded, and tried with my own code and the rawmidi demo
source. Midi would play with the pmidi program. I've mentioned it once
before, nothing came of it, so Im mentioning it again. :)
> It would be nice, if someone helps us with the doxygen documentation and
> cross-reference guide so we can release 0.9.0 final in a few months.
>
--
Thomas Fjellstrom
tfjellstrom@shaw.ca
http://strangesoft.net
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: ALSA homepage redesign
2002-04-22 13:49 ` Thomas Fjellstrom
@ 2002-04-22 14:12 ` Paul Davis
2002-04-22 16:07 ` rawmidi problem (was Re: ALSA homepage redesign) Takashi Iwai
1 sibling, 0 replies; 24+ messages in thread
From: Paul Davis @ 2002-04-22 14:12 UTC (permalink / raw)
To: Thomas Fjellstrom; +Cc: alsa-devel
>> and testing a few changes), so it'll be clear that the API is finished and
>> code is working.
>
>It is? Last time I tried using Rawmidi on an emu10k1 chip I got no sound. I
>had a soundfont loaded, and tried with my own code and the rawmidi demo
>source. Midi would play with the pmidi program. I've mentioned it once
>before, nothing came of it, so Im mentioning it again. :)
most people don't understand that there is a total of about 2 people
working on ALSA at any one time. ALSA is not a large, distributed
project team: it consists of Jaroslav and right now Takashi, with
occasional contributions from driver writers and application
developers who wade into the ALSA source code.
when problems get reported with particular chipsets/audio interfaces,
there is no large group of developers from which one might hope for a
volunteer to study the bug. Takashi and Jaroslav both do good work
tracking down such bugs when they have easy access to the hardware in
question and some time, but for most everything else, the bug waits
until someone steps up to fix it. the hope is that with incorporation
into the 2.5 kernel source base, the set of developers who work on
problems like yours will increase.
--p
^ permalink raw reply [flat|nested] 24+ messages in thread
* rawmidi problem (was Re: ALSA homepage redesign)
2002-04-22 13:49 ` Thomas Fjellstrom
2002-04-22 14:12 ` Paul Davis
@ 2002-04-22 16:07 ` Takashi Iwai
2002-04-22 17:12 ` Juan Linietsky
2002-04-22 19:50 ` Thomas Fjellstrom
1 sibling, 2 replies; 24+ messages in thread
From: Takashi Iwai @ 2002-04-22 16:07 UTC (permalink / raw)
To: Thomas Fjellstrom; +Cc: alsa-devel
Hi Thomas,
At Mon, 22 Apr 2002 07:49:41 -0600,
Thomas Fjellstrom wrote:
>
> On April 22, 2002 05:10 am, you wrote:
> > On Sun, 21 Apr 2002, Patrick Shirkey wrote:
> > > I can add something but what is the official view from Jaroslav?
> >
> > 0.5.x release is no longer supported from the developer perspective. All
> > our focus is in 0.9.x codebase. I'll release 0.9.0rc1 ASAP (after fixing
> > and testing a few changes), so it'll be clear that the API is finished and
> > code is working.
>
> It is? Last time I tried using Rawmidi on an emu10k1 chip I got no sound. I
> had a soundfont loaded, and tried with my own code and the rawmidi demo
> source. Midi would play with the pmidi program. I've mentioned it once
> before, nothing came of it, so Im mentioning it again. :)
ok now let's fix it ;)
however i don't understand quite well the situation from your posts.
could you elaborate the symptom?
which program and how did you test?
Takashi
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: rawmidi problem (was Re: ALSA homepage redesign)
2002-04-22 16:07 ` rawmidi problem (was Re: ALSA homepage redesign) Takashi Iwai
@ 2002-04-22 17:12 ` Juan Linietsky
2002-04-23 10:12 ` Takashi Iwai
2002-04-22 19:50 ` Thomas Fjellstrom
1 sibling, 1 reply; 24+ messages in thread
From: Juan Linietsky @ 2002-04-22 17:12 UTC (permalink / raw)
To: alsa-devel
On Mon, 22 Apr 2002 18:07:59 +0200
Takashi Iwai <tiwai@suse.de> wrote:
> however i don't understand quite well the situation from your posts.
> could you elaborate the symptom?
> which program and how did you test?
>
>
> Takashi
Hello!
Actually, if you dont mind i have some questions to ask you.
First, about the awe64 on ALSA, what happened with the individual
chorus/reverb settings per channel in the synth? I dont seem to be
able to get them to work aymore except for a global buffer.
About this too, is there a way to change the reverb/chorus types
that i know the awe64 supports?
About the sblive sequencer on ALSA, from what i can deduce, it seems to be a bug in the code that tries to allocate a free channel.. is there any work around for this? Also about the insert effects on the sblive,
I havent found the way to map them into midi controllers (my guess is that the sblive uses a global send buffer for effects and send levels per channel so they cant be mixed that easily?)
Thanks for your time!
Juan Linietsky
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: rawmidi problem (was Re: ALSA homepage redesign)
2002-04-22 16:07 ` rawmidi problem (was Re: ALSA homepage redesign) Takashi Iwai
2002-04-22 17:12 ` Juan Linietsky
@ 2002-04-22 19:50 ` Thomas Fjellstrom
2002-04-22 21:27 ` Ville Syrjälä
2002-04-23 10:14 ` Takashi Iwai
1 sibling, 2 replies; 24+ messages in thread
From: Thomas Fjellstrom @ 2002-04-22 19:50 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
On April 22, 2002 10:07 am, you wrote:
> Hi Thomas,
>
> At Mon, 22 Apr 2002 07:49:41 -0600,
>
> Thomas Fjellstrom wrote:
> > On April 22, 2002 05:10 am, you wrote:
> > > On Sun, 21 Apr 2002, Patrick Shirkey wrote:
> > > > I can add something but what is the official view from Jaroslav?
> > >
> > > 0.5.x release is no longer supported from the developer perspective.
> > > All our focus is in 0.9.x codebase. I'll release 0.9.0rc1 ASAP (after
> > > fixing and testing a few changes), so it'll be clear that the API is
> > > finished and code is working.
> >
> > It is? Last time I tried using Rawmidi on an emu10k1 chip I got no sound.
> > I had a soundfont loaded, and tried with my own code and the rawmidi demo
> > source. Midi would play with the pmidi program. I've mentioned it once
> > before, nothing came of it, so Im mentioning it again. :)
>
> ok now let's fix it ;)
Sory for being such a pain....
> however i don't understand quite well the situation from your posts.
> could you elaborate the symptom?
> which program and how did you test?
>
>
I don't hear any sound when playing midi using the rawmidi interface (using
my SBLive! Value), I tried, some code written by me, and the rawmidi.c source
demo that is included with the driver package. (A sound font is loaded, and
midis play fine with sound, using the pmidi program.)
--
Thomas Fjellstrom
tfjellstrom@shaw.ca
http://strangesoft.net
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: rawmidi problem (was Re: ALSA homepage redesign)
2002-04-22 19:50 ` Thomas Fjellstrom
@ 2002-04-22 21:27 ` Ville Syrjälä
2002-04-22 21:35 ` Thomas Fjellstrom
2002-04-23 10:14 ` Takashi Iwai
1 sibling, 1 reply; 24+ messages in thread
From: Ville Syrjälä @ 2002-04-22 21:27 UTC (permalink / raw)
To: alsa-devel
On Mon, Apr 22, 2002 at 01:50:27PM -0600, Thomas Fjellstrom wrote:
> I don't hear any sound when playing midi using the rawmidi interface (using
> my SBLive! Value), I tried, some code written by me, and the rawmidi.c source
> demo that is included with the driver package. (A sound font is loaded, and
> midis play fine with sound, using the pmidi program.)
Are you using the right virmidi device?
--
Ville Syrjälä
syrjala@sci.fi
http://www.sci.fi/~syrjala/
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: rawmidi problem (was Re: ALSA homepage redesign)
2002-04-22 21:27 ` Ville Syrjälä
@ 2002-04-22 21:35 ` Thomas Fjellstrom
2002-04-22 21:55 ` Ville Syrjälä
0 siblings, 1 reply; 24+ messages in thread
From: Thomas Fjellstrom @ 2002-04-22 21:35 UTC (permalink / raw)
To: Ville Syrjälä; +Cc: alsa-devel
On April 22, 2002 03:27 pm, you wrote:
> On Mon, Apr 22, 2002 at 01:50:27PM -0600, Thomas Fjellstrom wrote:
> > I don't hear any sound when playing midi using the rawmidi interface
> > (using my SBLive! Value), I tried, some code written by me, and the
> > rawmidi.c source demo that is included with the driver package. (A sound
> > font is loaded, and midis play fine with sound, using the pmidi program.)
>
> Are you using the right virmidi device?
Ah. there had to be something I forgot to mention, I tried hw:0,1 hw:0,2 and
hw:0,3 (with any number for subdevice which didn't give an error)
--
Thomas Fjellstrom
tfjellstrom@shaw.ca
http://strangesoft.net
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: rawmidi problem (was Re: ALSA homepage redesign)
2002-04-22 21:35 ` Thomas Fjellstrom
@ 2002-04-22 21:55 ` Ville Syrjälä
2002-04-22 22:54 ` Thomas Fjellstrom
0 siblings, 1 reply; 24+ messages in thread
From: Ville Syrjälä @ 2002-04-22 21:55 UTC (permalink / raw)
To: alsa-devel
On Mon, Apr 22, 2002 at 03:35:08PM -0600, Thomas Fjellstrom wrote:
> On April 22, 2002 03:27 pm, you wrote:
> > On Mon, Apr 22, 2002 at 01:50:27PM -0600, Thomas Fjellstrom wrote:
> > > I don't hear any sound when playing midi using the rawmidi interface
> > > (using my SBLive! Value), I tried, some code written by me, and the
> > > rawmidi.c source demo that is included with the driver package. (A sound
> > > font is loaded, and midis play fine with sound, using the pmidi program.)
> >
> > Are you using the right virmidi device?
>
> Ah. there had to be something I forgot to mention, I tried hw:0,1 hw:0,2 and
> hw:0,3 (with any number for subdevice which didn't give an error)
I'm not sure how the emu10k1 driver maps the sequencer ports to virmidi
devices but I'm pretty sure it does that automatically. Do the virmidi
devices show up somewhere under /proc/asound? Also while playing do you
see some activity in the files under /proc/asound/seq?
--
Ville Syrjälä
syrjala@sci.fi
http://www.sci.fi/~syrjala/
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: rawmidi problem (was Re: ALSA homepage redesign)
2002-04-22 21:55 ` Ville Syrjälä
@ 2002-04-22 22:54 ` Thomas Fjellstrom
2002-04-22 23:33 ` Ville Syrjälä
0 siblings, 1 reply; 24+ messages in thread
From: Thomas Fjellstrom @ 2002-04-22 22:54 UTC (permalink / raw)
To: Ville Syrjälä; +Cc: alsa-devel
On April 22, 2002 03:55 pm, you wrote:
> On Mon, Apr 22, 2002 at 03:35:08PM -0600, Thomas Fjellstrom wrote:
> > On April 22, 2002 03:27 pm, you wrote:
> > > On Mon, Apr 22, 2002 at 01:50:27PM -0600, Thomas Fjellstrom wrote:
> > > > I don't hear any sound when playing midi using the rawmidi interface
> > > > (using my SBLive! Value), I tried, some code written by me, and the
> > > > rawmidi.c source demo that is included with the driver package. (A
> > > > sound font is loaded, and midis play fine with sound, using the pmidi
> > > > program.)
> > >
> > > Are you using the right virmidi device?
> >
> > Ah. there had to be something I forgot to mention, I tried hw:0,1 hw:0,2
> > and hw:0,3 (with any number for subdevice which didn't give an error)
>
> I'm not sure how the emu10k1 driver maps the sequencer ports to virmidi
> devices but I'm pretty sure it does that automatically. Do the virmidi
> devices show up somewhere under /proc/asound? Also while playing do you
> see some activity in the files under /proc/asound/seq?
No activity. And no virmidi devices... lsmod shows that the virmidi module is
loaded...
--
Thomas Fjellstrom
tfjellstrom@shaw.ca
http://strangesoft.net
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: rawmidi problem (was Re: ALSA homepage redesign)
2002-04-22 22:54 ` Thomas Fjellstrom
@ 2002-04-22 23:33 ` Ville Syrjälä
2002-04-22 23:43 ` Thomas Fjellstrom
0 siblings, 1 reply; 24+ messages in thread
From: Ville Syrjälä @ 2002-04-22 23:33 UTC (permalink / raw)
To: alsa-devel
On Mon, Apr 22, 2002 at 04:54:53PM -0600, Thomas Fjellstrom wrote:
> No activity. And no virmidi devices... lsmod shows that the virmidi module is
> loaded...
Well there ends my knowledge.
--
Ville Syrjälä
syrjala@sci.fi
http://www.sci.fi/~syrjala/
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: rawmidi problem (was Re: ALSA homepage redesign)
2002-04-22 23:33 ` Ville Syrjälä
@ 2002-04-22 23:43 ` Thomas Fjellstrom
2002-04-23 6:54 ` mdeboer
0 siblings, 1 reply; 24+ messages in thread
From: Thomas Fjellstrom @ 2002-04-22 23:43 UTC (permalink / raw)
To: Ville Syrjälä; +Cc: alsa-devel
On April 22, 2002 05:33 pm, you wrote:
> On Mon, Apr 22, 2002 at 04:54:53PM -0600, Thomas Fjellstrom wrote:
> > No activity. And no virmidi devices... lsmod shows that the virmidi
> > module is loaded...
>
> Well there ends my knowledge.
Thanks for the help so far. :)
--
Thomas Fjellstrom
tfjellstrom@shaw.ca
http://strangesoft.net
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: rawmidi problem (was Re: ALSA homepage redesign)
2002-04-22 23:43 ` Thomas Fjellstrom
@ 2002-04-23 6:54 ` mdeboer
2002-04-23 7:54 ` Thomas Fjellstrom
0 siblings, 1 reply; 24+ messages in thread
From: mdeboer @ 2002-04-23 6:54 UTC (permalink / raw)
To: tfjellstrom; +Cc: alsa-devel
Last time I tried, rawmidi worked for me, on hw:0,1
You shouldn't need the snd-virmidi device, just the
snd-emu10k1 will do. Exactly what version of alsa-driver
are you using?
Anyway, because playing through the sequencer _does_ work,
you could indeed load the snd-virmidi device as well,
use aconnect to connect a virmidi sequencer port to the
emu10k1 synth sequencer port, and use hw:1,0 (in case
that the virmidi is your second card). On monday (at
work, where I have the SBLive! installed), I will send
you my configuration (modules.conf), and the exact
aconnect parameters.
But then again, just rawmidi -o hw:0,1 should work.
Maarten
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: rawmidi problem (was Re: ALSA homepage redesign)
2002-04-23 6:54 ` mdeboer
@ 2002-04-23 7:54 ` Thomas Fjellstrom
0 siblings, 0 replies; 24+ messages in thread
From: Thomas Fjellstrom @ 2002-04-23 7:54 UTC (permalink / raw)
To: mdeboer; +Cc: alsa-devel
On April 23, 2002 12:54 am, you wrote:
> Last time I tried, rawmidi worked for me, on hw:0,1
> You shouldn't need the snd-virmidi device, just the
> snd-emu10k1 will do. Exactly what version of alsa-driver
> are you using?
0.9.0beta12
> Anyway, because playing through the sequencer _does_ work,
> you could indeed load the snd-virmidi device as well,
> use aconnect to connect a virmidi sequencer port to the
> emu10k1 synth sequencer port, and use hw:1,0 (in case
> that the virmidi is your second card). On monday (at
> work, where I have the SBLive! installed), I will send
> you my configuration (modules.conf), and the exact
> aconnect parameters.
Thanks.
> But then again, just rawmidi -o hw:0,1 should work.
>
Unfortunatly it does not... Im using the same settings I used for a previous
version of alsa 0.9.0, and had rawmidi working...
--
Thomas Fjellstrom
tfjellstrom@shaw.ca
http://strangesoft.net
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: rawmidi problem (was Re: ALSA homepage redesign)
2002-04-22 17:12 ` Juan Linietsky
@ 2002-04-23 10:12 ` Takashi Iwai
0 siblings, 0 replies; 24+ messages in thread
From: Takashi Iwai @ 2002-04-23 10:12 UTC (permalink / raw)
To: Juan Linietsky; +Cc: alsa-devel
Hi Juan,
At Mon, 22 Apr 2002 14:12:57 -0300,
Juan Linietsky wrote:
>
> On Mon, 22 Apr 2002 18:07:59 +0200
> Takashi Iwai <tiwai@suse.de> wrote:
>
> > however i don't understand quite well the situation from your posts.
> > could you elaborate the symptom?
> > which program and how did you test?
> >
> >
> > Takashi
>
> Hello!
>
> Actually, if you dont mind i have some questions to ask you.
> First, about the awe64 on ALSA, what happened with the individual
> chorus/reverb settings per channel in the synth? I dont seem to be
> able to get them to work aymore except for a global buffer.
in the case of sbawe (and emu10k1 in future) they are controlled by
sending MIDI controls 0x5d (chorus depth) and 0x5b (reverb depth),
respectively.
if you mean that these controls don't influence the sound, then it
must be a bug. please let me know.
> About this too, is there a way to change the reverb/chorus types
> that i know the awe64 supports?
the chorus/reverb modes can be controlled via a standard GS sysex (or
an ioctl of OSS-emulation). the sysex bytes are
f0 41 10 42 12 40 01 38 XX f7 (chorus)
f0 41 10 42 12 40 01 30 XX f7 (reverb)
where XX is a mode type from 0 to 7.
> About the sblive sequencer on ALSA, from what i can deduce, it seems
> to be a bug in the code that tries to allocate a free channel.. is
> there any work around for this?
i've been hunting this bug for a long time but not still figured out
the condition when/how it happens..
do you have an example midi which can reproduce this problem clearly?
it would really help for debugging.
> Also about the insert effects on the sblive, I havent found the way
> to map them into midi controllers (my guess is that the sblive uses
> a global send buffer for effects and send levels per channel so they
> cant be mixed that easily?)
sorry, the mapping to midi control is not implmented yet. (and iirc
there is no good working dsp codes (for alsa) yet.)
perhaps we need to extend fx8010 control struct in emufx.c, too.
well, for better understanding, let me explain a bit detail of emu10k1
hardware:
emu10k1 has 4 individual outputs per channel.
two are used for dry sounds, so we have another two mono outputs,
which are usually assigned for for chorus and reverb.
the above chorus/reverb depth controls the amount of wet tones to be
sent to these two effect outputs.
an effect will be inserted between an effect output and the master
mixer. this can be any effect, not only for chorus and reverb, but
also e.g. 4-point surrounds. the effect simply reads the value, which
is the sum of outputs from all channels, processes it and outputs to
the specified effect route, eventually to the master.
ciao,
Takashi
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: rawmidi problem (was Re: ALSA homepage redesign)
2002-04-22 19:50 ` Thomas Fjellstrom
2002-04-22 21:27 ` Ville Syrjälä
@ 2002-04-23 10:14 ` Takashi Iwai
2002-04-23 11:44 ` Takashi Iwai
1 sibling, 1 reply; 24+ messages in thread
From: Takashi Iwai @ 2002-04-23 10:14 UTC (permalink / raw)
To: Thomas Fjellstrom; +Cc: alsa-devel
At Mon, 22 Apr 2002 13:50:27 -0600,
Thomas Fjellstrom wrote:
>
> I don't hear any sound when playing midi using the rawmidi interface (using
> my SBLive! Value), I tried, some code written by me, and the rawmidi.c source
> demo that is included with the driver package. (A sound font is loaded, and
> midis play fine with sound, using the pmidi program.)
hmm it looks like a bug was introduced in virmidi or in a combination
of virmidi and rawmidi. i think the rawmidi itself works fine.
this problem appears only on emu10k1's virmidi.
i'll take a further look at this problem.
ciao,
Takashi
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: rawmidi problem (was Re: ALSA homepage redesign)
2002-04-23 10:14 ` Takashi Iwai
@ 2002-04-23 11:44 ` Takashi Iwai
2002-04-23 16:39 ` Thomas Fjellstrom
2002-04-23 23:43 ` Thomas Fjellstrom
0 siblings, 2 replies; 24+ messages in thread
From: Takashi Iwai @ 2002-04-23 11:44 UTC (permalink / raw)
To: Thomas Fjellstrom; +Cc: alsa-devel
At Tue, 23 Apr 2002 12:14:42 +0200,
I wrote:
>
> At Mon, 22 Apr 2002 13:50:27 -0600,
> Thomas Fjellstrom wrote:
> >
> > I don't hear any sound when playing midi using the rawmidi interface (using
> > my SBLive! Value), I tried, some code written by me, and the rawmidi.c source
> > demo that is included with the driver package. (A sound font is loaded, and
> > midis play fine with sound, using the pmidi program.)
>
> hmm it looks like a bug was introduced in virmidi or in a combination
> of virmidi and rawmidi. i think the rawmidi itself works fine.
> this problem appears only on emu10k1's virmidi.
>
> i'll take a further look at this problem.
now fixed on cvs. actually it was a bug on virmidi.
thanks for your notice.
ciao,
Takashi
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: rawmidi problem (was Re: ALSA homepage redesign)
2002-04-23 11:44 ` Takashi Iwai
@ 2002-04-23 16:39 ` Thomas Fjellstrom
2002-04-23 23:43 ` Thomas Fjellstrom
1 sibling, 0 replies; 24+ messages in thread
From: Thomas Fjellstrom @ 2002-04-23 16:39 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
On April 23, 2002 05:44 am, you wrote:
> At Tue, 23 Apr 2002 12:14:42 +0200,
>
> I wrote:
> > At Mon, 22 Apr 2002 13:50:27 -0600,
> >
> > Thomas Fjellstrom wrote:
> > > I don't hear any sound when playing midi using the rawmidi interface
> > > (using my SBLive! Value), I tried, some code written by me, and the
> > > rawmidi.c source demo that is included with the driver package. (A
> > > sound font is loaded, and midis play fine with sound, using the pmidi
> > > program.)
> >
> > hmm it looks like a bug was introduced in virmidi or in a combination
> > of virmidi and rawmidi. i think the rawmidi itself works fine.
> > this problem appears only on emu10k1's virmidi.
> >
> > i'll take a further look at this problem.
>
> now fixed on cvs. actually it was a bug on virmidi.
>
> thanks for your notice.
>
>
> ciao,
>
> Takashi
Thanks alot! :)
--
Thomas Fjellstrom
tfjellstrom@shaw.ca
http://strangesoft.net
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: rawmidi problem (was Re: ALSA homepage redesign)
2002-04-23 11:44 ` Takashi Iwai
2002-04-23 16:39 ` Thomas Fjellstrom
@ 2002-04-23 23:43 ` Thomas Fjellstrom
2002-04-24 8:52 ` Takashi Iwai
1 sibling, 1 reply; 24+ messages in thread
From: Thomas Fjellstrom @ 2002-04-23 23:43 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
On April 23, 2002 05:44 am, you wrote:
> At Tue, 23 Apr 2002 12:14:42 +0200,
>
> I wrote:
> > At Mon, 22 Apr 2002 13:50:27 -0600,
> >
> > Thomas Fjellstrom wrote:
> > > I don't hear any sound when playing midi using the rawmidi interface
> > > (using my SBLive! Value), I tried, some code written by me, and the
> > > rawmidi.c source demo that is included with the driver package. (A
> > > sound font is loaded, and midis play fine with sound, using the pmidi
> > > program.)
> >
> > hmm it looks like a bug was introduced in virmidi or in a combination
> > of virmidi and rawmidi. i think the rawmidi itself works fine.
> > this problem appears only on emu10k1's virmidi.
> >
> > i'll take a further look at this problem.
>
> now fixed on cvs. actually it was a bug on virmidi.
>
> thanks for your notice.
>
No problem, except now I've noticed a few things :)
One: SND_RAWMIDI_SYNC isn't a valid flag for snd_rawmidi_open.
( rawmidi_hw.c:221: snd_rawmidi_hw_open: Assertion `!(mode &
~(0x0001|0x0002))' failed.)
Two: using SND_RAWMIDI_APPEND on snd_rawmidi_open causes an assert then a
segfault.. A '0' for flags is fine... (see Three)
rawmidi.c:963: snd_rawmidi_write: Assertion `rawmidi' failed.
(this error is printed thousands of times... before a segfault)
Three: after a while, about a minute or so of playing a midi, the midi starts
getting slower and slower.. and CPU usage goes to 0... I'm sure Its not the
midi player, as I've tried it's 'DIGIMID' driver (which uses a converted
soundfont to play through the digital pcm interface) and it doens't have this
problem.
(now I've got to reboot... because I can't think of another way to turn off
the midi notes that were left on... :)
--
Thomas Fjellstrom
tfjellstrom@shaw.ca
http://strangesoft.net
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: rawmidi problem (was Re: ALSA homepage redesign)
2002-04-23 23:43 ` Thomas Fjellstrom
@ 2002-04-24 8:52 ` Takashi Iwai
2002-04-24 9:06 ` Thomas Fjellstrom
0 siblings, 1 reply; 24+ messages in thread
From: Takashi Iwai @ 2002-04-24 8:52 UTC (permalink / raw)
To: Thomas Fjellstrom; +Cc: alsa-devel
Hi Thomas,
At Tue, 23 Apr 2002 17:43:43 -0600,
Thomas Fjellstrom wrote:
>
> One: SND_RAWMIDI_SYNC isn't a valid flag for snd_rawmidi_open.
> ( rawmidi_hw.c:221: snd_rawmidi_hw_open: Assertion `!(mode &
> ~(0x0001|0x0002))' failed.)
fixed.
> Two: using SND_RAWMIDI_APPEND on snd_rawmidi_open causes an assert then a
> segfault.. A '0' for flags is fine... (see Three)
> rawmidi.c:963: snd_rawmidi_write: Assertion `rawmidi' failed.
> (this error is printed thousands of times... before a segfault)
hmm, i couldn't find the point. could you send me your program or a
test code?
> Three: after a while, about a minute or so of playing a midi, the midi starts
> getting slower and slower.. and CPU usage goes to 0... I'm sure Its not the
> midi player, as I've tried it's 'DIGIMID' driver (which uses a converted
> soundfont to play through the digital pcm interface) and it doens't have this
> problem.
do you use emu10k1 virmidi or another device?
i suspect the bug might still be in virmidi code..
Takashi
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: rawmidi problem (was Re: ALSA homepage redesign)
2002-04-24 8:52 ` Takashi Iwai
@ 2002-04-24 9:06 ` Thomas Fjellstrom
2002-04-24 9:13 ` Takashi Iwai
2002-04-24 9:13 ` Thomas Fjellstrom
0 siblings, 2 replies; 24+ messages in thread
From: Thomas Fjellstrom @ 2002-04-24 9:06 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
On April 24, 2002 02:52 am, you wrote:
> Hi Thomas,
>
>
> At Tue, 23 Apr 2002 17:43:43 -0600,
>
> Thomas Fjellstrom wrote:
> > One: SND_RAWMIDI_SYNC isn't a valid flag for snd_rawmidi_open.
> > ( rawmidi_hw.c:221: snd_rawmidi_hw_open: Assertion `!(mode &
> > ~(0x0001|0x0002))' failed.)
>
> fixed.
>
> > Two: using SND_RAWMIDI_APPEND on snd_rawmidi_open causes an assert then a
> > segfault.. A '0' for flags is fine... (see Three)
> > rawmidi.c:963: snd_rawmidi_write: Assertion `rawmidi' failed.
> > (this error is printed thousands of times... before a segfault)
>
> hmm, i couldn't find the point. could you send me your program or a
> test code?
Im just heading off to bed.. The problem occurs in the 'driver' that I've
wrote/been maintaining for a library called 'Allegro' (http://alleg.sf.net/).
Do you wan't me to send you the entire library (I've made some significant
changes to the way allegro's configure script detects ALSA...)? Or maybe just
a patch to an official (CVS is best) version?
> > Three: after a while, about a minute or so of playing a midi, the midi
> > starts getting slower and slower.. and CPU usage goes to 0... I'm sure
> > Its not the midi player, as I've tried it's 'DIGIMID' driver (which uses
> > a converted soundfont to play through the digital pcm interface) and it
> > doens't have this problem.
>
> do you use emu10k1 virmidi or another device?
> i suspect the bug might still be in virmidi code..
>
Thanks.
--
Thomas Fjellstrom
tfjellstrom@shaw.ca
http://strangesoft.net
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: rawmidi problem (was Re: ALSA homepage redesign)
2002-04-24 9:06 ` Thomas Fjellstrom
@ 2002-04-24 9:13 ` Takashi Iwai
2002-04-24 9:13 ` Thomas Fjellstrom
1 sibling, 0 replies; 24+ messages in thread
From: Takashi Iwai @ 2002-04-24 9:13 UTC (permalink / raw)
To: Thomas Fjellstrom; +Cc: alsa-devel
At Wed, 24 Apr 2002 03:06:33 -0600,
Thomas Fjellstrom wrote:
>
> On April 24, 2002 02:52 am, you wrote:
> > Hi Thomas,
> >
> >
> > At Tue, 23 Apr 2002 17:43:43 -0600,
> >
> > Thomas Fjellstrom wrote:
> > > One: SND_RAWMIDI_SYNC isn't a valid flag for snd_rawmidi_open.
> > > ( rawmidi_hw.c:221: snd_rawmidi_hw_open: Assertion `!(mode &
> > > ~(0x0001|0x0002))' failed.)
> >
> > fixed.
> >
> > > Two: using SND_RAWMIDI_APPEND on snd_rawmidi_open causes an assert then a
> > > segfault.. A '0' for flags is fine... (see Three)
> > > rawmidi.c:963: snd_rawmidi_write: Assertion `rawmidi' failed.
> > > (this error is printed thousands of times... before a segfault)
> >
> > hmm, i couldn't find the point. could you send me your program or a
> > test code?
>
> Im just heading off to bed.. The problem occurs in the 'driver' that I've
> wrote/been maintaining for a library called 'Allegro' (http://alleg.sf.net/).
>
> Do you wan't me to send you the entire library (I've made some significant
> changes to the way allegro's configure script detects ALSA...)? Or maybe just
> a patch to an official (CVS is best) version?
a patch to cvs would be enough. i think now the list doesn't accept
attachments, so please send me directly.
thanks,
Takashi
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: rawmidi problem (was Re: ALSA homepage redesign)
2002-04-24 9:06 ` Thomas Fjellstrom
2002-04-24 9:13 ` Takashi Iwai
@ 2002-04-24 9:13 ` Thomas Fjellstrom
1 sibling, 0 replies; 24+ messages in thread
From: Thomas Fjellstrom @ 2002-04-24 9:13 UTC (permalink / raw)
To: alsa-devel; +Cc: Takashi Iwai
On April 24, 2002 03:06 am, you wrote:
> On April 24, 2002 02:52 am, you wrote:
[snip]
> > > Three: after a while, about a minute or so of playing a midi, the midi
> > > starts getting slower and slower.. and CPU usage goes to 0... I'm sure
> > > Its not the midi player, as I've tried it's 'DIGIMID' driver (which
> > > uses a converted soundfont to play through the digital pcm interface)
> > > and it doens't have this problem.
> >
> > do you use emu10k1 virmidi or another device?
> > i suspect the bug might still be in virmidi code..
>
> Thanks.
Oops... I didn't see that last bit... Im not exactly sure. I just use the
rawmidi api, and open 'hw:0,1' or 'hw:0,2' (the only valid options on my
system, as I have no midi board hoked up to the midi port)
--
Thomas Fjellstrom
tfjellstrom@shaw.ca
http://strangesoft.net
^ permalink raw reply [flat|nested] 24+ messages in thread
end of thread, other threads:[~2002-04-24 9:13 UTC | newest]
Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-21 10:24 ALSA homepage redesign Patrick Shirkey
2002-04-22 11:10 ` Jaroslav Kysela
2002-04-22 13:49 ` Thomas Fjellstrom
2002-04-22 14:12 ` Paul Davis
2002-04-22 16:07 ` rawmidi problem (was Re: ALSA homepage redesign) Takashi Iwai
2002-04-22 17:12 ` Juan Linietsky
2002-04-23 10:12 ` Takashi Iwai
2002-04-22 19:50 ` Thomas Fjellstrom
2002-04-22 21:27 ` Ville Syrjälä
2002-04-22 21:35 ` Thomas Fjellstrom
2002-04-22 21:55 ` Ville Syrjälä
2002-04-22 22:54 ` Thomas Fjellstrom
2002-04-22 23:33 ` Ville Syrjälä
2002-04-22 23:43 ` Thomas Fjellstrom
2002-04-23 6:54 ` mdeboer
2002-04-23 7:54 ` Thomas Fjellstrom
2002-04-23 10:14 ` Takashi Iwai
2002-04-23 11:44 ` Takashi Iwai
2002-04-23 16:39 ` Thomas Fjellstrom
2002-04-23 23:43 ` Thomas Fjellstrom
2002-04-24 8:52 ` Takashi Iwai
2002-04-24 9:06 ` Thomas Fjellstrom
2002-04-24 9:13 ` Takashi Iwai
2002-04-24 9:13 ` Thomas Fjellstrom
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.