* Re: linux's SNDCTL_SEQ_RT_ENABLE and perl's MIDI::Music
2002-03-26 22:52 linux's SNDCTL_SEQ_RT_ENABLE and perl's MIDI::Music fn ln
@ 2002-03-26 17:58 ` Paul Davis
2002-03-27 10:03 ` Takashi Iwai
1 sibling, 0 replies; 4+ messages in thread
From: Paul Davis @ 2002-03-26 17:58 UTC (permalink / raw)
To: fn ln; +Cc: alsa-devel, midi
> I would like to use perl, I guess, to record what an
>external device plays, and then be able to play it
>back.
>
>http://www.perl.com/CPAN-local/authors/id/S/SE/SETHJ/MIDI-Music-0.01.tar.gz
>
> needs SNDCTL_SEQ_RT_ENABLE so it can record MIDI
>events and calcualtes the delta times itself, I guess.
>
> What do I need to do to make MIDI::Music work ?
>Do I need to patch MIDI::Music.xs or do I need to
>patch ALSA ? What would be easier ?
>
>searching through /usr/src/linux/alsa-driver-0.5.11
>for SNDCTL_SEQ_RT_ENABLE yielded no results, neither
>did
>http://www.google.com/search?q=alsa+SNDCTL_SEQ_RT_ENABLE&btnG=Google+Search
i am not sure about the sequencer API specifically, but in general,
the ALSA API in 0.5.X bears little resemblance to the one in
0.9.X. porting software from one to the other is not hard, but its not
just a matter of "this ioctl is missing, use this one instead".
takashi can comment more fruitfully on the sequencer API in
particular.
--p
^ permalink raw reply [flat|nested] 4+ messages in thread
* linux's SNDCTL_SEQ_RT_ENABLE and perl's MIDI::Music
@ 2002-03-26 22:52 fn ln
2002-03-26 17:58 ` Paul Davis
2002-03-27 10:03 ` Takashi Iwai
0 siblings, 2 replies; 4+ messages in thread
From: fn ln @ 2002-03-26 22:52 UTC (permalink / raw)
To: alsa-devel, midi
Hi,
I would like to use perl, I guess, to record what an
external device plays, and then be able to play it
back.
http://www.perl.com/CPAN-local/authors/id/S/SE/SETHJ/MIDI-Music-0.01.tar.gz
needs SNDCTL_SEQ_RT_ENABLE so it can record MIDI
events and calcualtes the delta times itself, I guess.
What do I need to do to make MIDI::Music work ?
Do I need to patch MIDI::Music.xs or do I need to
patch ALSA ? What would be easier ?
searching through /usr/src/linux/alsa-driver-0.5.11
for SNDCTL_SEQ_RT_ENABLE yielded no results, neither
did
http://www.google.com/search?q=alsa+SNDCTL_SEQ_RT_ENABLE&btnG=Google+Search
Thanks,
John
______________________________________________________________________
File your taxes online! http://taxes.yahoo.ca
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux's SNDCTL_SEQ_RT_ENABLE and perl's MIDI::Music
[not found] <006001c1d519$320cc180$0517a8c0@cchurchlt1>
@ 2002-03-26 23:25 ` fn ln
0 siblings, 0 replies; 4+ messages in thread
From: fn ln @ 2002-03-26 23:25 UTC (permalink / raw)
To: c. church, midi; +Cc: alsa-devel
I have an impression that ALSA is not *competing*, my
understanding was that it is a fully-compatible
alternative which compatibly fulfills and further
extends functionality of OSS.
I expect that ALSA provides a compatible mechanism,
but perhaps the correspondig symbol is called
SEQ_REALTIME_ALSA_OPT or something like that (I don't
know, that's why I'm asking.)
Further I've noticed that ALSA had a lot of OSS
compatibility code.
thanks
John
--- "c. church" <dolljunkie@digitalkoma.com> wrote:
> > What do I need to do to make MIDI::Music work ?
> > Do I need to patch MIDI::Music.xs or do I need to
> > patch ALSA ? What would be easier ?
>
> I don't think you can use ALSA, the MIDI::Music
> readme says it requires OSS
> >= v3.8 (OSS and ALSA are competing sound drivers,
> if I remember correctly)
>
> !c
>
______________________________________________________________________
File your taxes online! http://taxes.yahoo.ca
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux's SNDCTL_SEQ_RT_ENABLE and perl's MIDI::Music
2002-03-26 22:52 linux's SNDCTL_SEQ_RT_ENABLE and perl's MIDI::Music fn ln
2002-03-26 17:58 ` Paul Davis
@ 2002-03-27 10:03 ` Takashi Iwai
1 sibling, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2002-03-27 10:03 UTC (permalink / raw)
To: fn ln; +Cc: alsa-devel, midi
At Tue, 26 Mar 2002 17:52:30 -0500 (EST),
fn ln wrote:
>
> Hi,
>
> I would like to use perl, I guess, to record what an
> external device plays, and then be able to play it
> back.
>
> http://www.perl.com/CPAN-local/authors/id/S/SE/SETHJ/MIDI-Music-0.01.tar.gz
>
> needs SNDCTL_SEQ_RT_ENABLE so it can record MIDI
> events and calcualtes the delta times itself, I guess.
where is it defined?
this is not found in OSS/Free, so i guess it's (commercial) OSS
specific. if my guess is correct, then i don't rocommend to use this
ioctl, not only because alsa doesn't support it.
Takashi
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-03-27 10:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-26 22:52 linux's SNDCTL_SEQ_RT_ENABLE and perl's MIDI::Music fn ln
2002-03-26 17:58 ` Paul Davis
2002-03-27 10:03 ` Takashi Iwai
[not found] <006001c1d519$320cc180$0517a8c0@cchurchlt1>
2002-03-26 23:25 ` fn ln
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.