Re: midi on kernel 2.4.

2005-11-09 Thread David Harel

Thanks for your patience,

Ilya Konstantinov wrote:

On ג', 2005-11-08 at 14:49 +0200, David Harel wrote:




2. After I installed so many audio tools and still can't find my arms
   and legs in the mess, can you direct me to a command that does the
   synthesizing? for what I care, to a file will be fine. But now that
   I think of it, It should operate my sound card just as amarok does.



Timidity should be all you need. You can use it to:
1. Play a MIDI file directly (it'll read the .MID file, synthesize the
music and play it to your /dev/dsp -- your /dev/sequencer won't be
involved at all)
2. Provide your /dev/sequencer-less PC with a /dev/sequencer device.

Try the first approach first. Only if you want to use other programs
(such as KMid) to play MIDIs you will need the second approach.

I have installed both timidity and ALSA. ALSA is installed as a set of 
libraries since I have to use kernel 2.4. I can use OSS on kernel level. 
Still I failed to use kmid. Got error on /dev/sequencer and I don't 
understand how to use timidity to play midi files.
When I tried ALSA using aplaymidi I got an error with /dev/dsp/seq (no 
such file). I guess I didn't understand how to configure those tools.
Do you think you can direct me to a document that explains how to set 
those tools in order to play midi files? (I read so many of them I was 
overwhelmed by the amount of, mostly irrelevant information in my case' 
so I think I need more directions). Maybe I have to recompile things? ( 
I use Gentoo packages ).

3. I understand I should also get a file that synthesizes different
   musical instruments. Can you explain about that as well?



Modern packages (RPMs, DEBs) of Timidity should come with pre-recorded
(known as wavetable synthesis) samples of all the General MIDI
standard musical instruments.

Can you give me a name of such a file so that I will search for it?



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]





--
Thanks.

David Harel,

==

Home office +972 77 4422234
Fax:+972 77 4422234
Cellular:   +972 54 4534502
Snail Mail: Amuka
D.N Merom Hagalil
13802
Israel
Email:  [EMAIL PROTECTED]


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: midi on kernel 2.4.

2005-11-09 Thread Ilya Konstantinov
On ד', 2005-11-09 at 20:00 +0200, David Harel wrote:
 I have installed both timidity and ALSA. ALSA is installed as a set of 
 libraries since I have to use kernel 2.4. I can use OSS on kernel level. 
 Still I failed to use kmid. Got error on /dev/sequencer

Yes, cause you didn't have a synthesizer, either hardware (your sound
card doesn't have one) or software (e.g. timidity in MIDI server mode)
running.

 and I don't 
 understand how to use timidity to play midi files.

$ timidity file.mid

Try reading this:

http://jt11-55-2.tky.hut.fi/misc/timidity-my-howto.html#running

 Maybe I have to recompile things? ( 
 I use Gentoo packages ).

Hope not :)

  Modern packages (RPMs, DEBs) of Timidity should come with pre-recorded
  (known as wavetable synthesis) samples of all the General MIDI
  standard musical instruments.
 Can you give me a name of such a file so that I will search for it?

You know, the timidity(++) package that comes with Debian or Fedora
Core...


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: midi on kernel 2.4.

2005-11-08 Thread David Harel

Thanks for your reply,

Ilya Konstantinov wrote:



Not necessarily. A software synthesizer can just take a MIDI file,
synthesize the wave sound out of it and save it to disk (or send it
to /dev/dsp).


1. Just for the sake of understanding, If I do:
   %  cat mymusic.wav  /dev/dsp
   I should here the music right? cos it doesn't work.
2. After I installed so many audio tools and still can't find my arms
   and legs in the mess, can you direct me to a command that does the
   synthesizing? for what I care, to a file will be fine. But now that
   I think of it, It should operate my sound card just as amarok does.
3. I understand I should also get a file that synthesizes different
   musical instruments. Can you explain about that as well?

Sorry if I as about things already documented. I spent the last few 
weeks trying to understand the subject but couldn't get the hang of it. 
Not that bright of a fellow I am.


--
Thanks.

David Harel,

==

Home office +972 77 4422234
Fax:+972 77 4422234
Cellular:   +972 54 4534502
Snail Mail: Amuka
D.N Merom Hagalil
13802
Israel
Email:  [EMAIL PROTECTED]


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: midi on kernel 2.4.

2005-11-08 Thread David Harel



Maxim Kovgan wrote:

On ב', 2005-11-07 at 20:48 +0200, David Harel wrote:


Hi all,

I am trying to set midi no my laptop using midi howtos. It has an ESS 



What exactly are you willing to  do ?

is it for controlling a MIDI device  ?

No

just to play midi files ?

Right

to use internal MIDI device ?

No.



Thanks







Maestro 3 ES1983s sound card. I can here music.
I tried to check if this card is supported in 
http://www.4front-tech.com/osshw.html
It seems in general that the card is supported but I didn't find ES1093s 
specifically.
I configured the kernel to have oss and midi loopback (modules sound.o 
and v_midi.o) and I get kmid to start (before that it said it can't open 
/dev/sequencer) but I can't here anything.
I also do not have the file /dev/sndstat nor anything associated to 
sound in /proc.
Eventually I understood I should have a sequencer installed and that it 
has to do with the midi loopback. I installed lmuse. All in vain.
I think in Microsoft all that would have been avoided (not that I think 
that that is a reason to shift to XP).




He played the king as if afraid someone else would play the ace. -- John
Mason Brown, drama critic


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]





--
Thanks.

David Harel,

==

Home office +972 77 4422234
Fax:+972 77 4422234
Cellular:   +972 54 4534502
Snail Mail: Amuka
D.N Merom Hagalil
13802
Israel
Email:  [EMAIL PROTECTED]


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: midi on kernel 2.4.

2005-11-08 Thread Ilya Konstantinov
On ג', 2005-11-08 at 14:49 +0200, David Harel wrote:
 1. Just for the sake of understanding, If I do:
 %  cat mymusic.wav  /dev/dsp
 I should here the music right? cos it doesn't work.

It's not that trivial. /dev/dsp cannot just accept a WAVE file as-is.
You need to first set it up with some ioctl calls and then write only
the sound chunks of the WAVE file. That's what players do.

 2. After I installed so many audio tools and still can't find my arms
 and legs in the mess, can you direct me to a command that does the
 synthesizing? for what I care, to a file will be fine. But now that
 I think of it, It should operate my sound card just as amarok does.

Timidity should be all you need. You can use it to:
1. Play a MIDI file directly (it'll read the .MID file, synthesize the
music and play it to your /dev/dsp -- your /dev/sequencer won't be
involved at all)
2. Provide your /dev/sequencer-less PC with a /dev/sequencer device.

Try the first approach first. Only if you want to use other programs
(such as KMid) to play MIDIs you will need the second approach.

 3. I understand I should also get a file that synthesizes different
 musical instruments. Can you explain about that as well?

Modern packages (RPMs, DEBs) of Timidity should come with pre-recorded
(known as wavetable synthesis) samples of all the General MIDI
standard musical instruments.


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: midi on kernel 2.4.

2005-11-07 Thread Ilya Konstantinov
On ב', 2005-11-07 at 20:48 +0200, David Harel wrote:
 It seems in general that the card is supported but I didn't find ES1093s 
 specifically.
 I configured the kernel to have oss and midi loopback (modules sound.o 
 and v_midi.o) and I get kmid to start (before that it said it can't open 
 /dev/sequencer) but I can't here anything.

Can you play regular sound files?

 Eventually I understood I should have a sequencer installed and that it 
 has to do with the midi loopback. I installed lmuse. All in vain.
 I think in Microsoft all that would have been avoided (not that I think 
 that that is a reason to shift to XP).

If your card doesn't have an internal MIDI synthesizer, you'd have to
use a software synthesizer. For this, I've successfully used Timidity in
its 'ALSA sequencer client' configuration. I never checked but timidity
might also have an option to be serve as the synthesizer in OSS-driven
sound systems.


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: midi on kernel 2.4.

2005-11-07 Thread Aaron
Did you check alsa?
What distro are you running?

oss is lame I have much joy from alsa.

Also if it is supported in alsa there will be good docs on how to get it
running.

That said for rpm based systems
read the information on planet CCRMA at home
for debian based systems read the above but use demudi as your base.

Aaron
On Mon, 2005-11-07 at 20:48 +0200, David Harel wrote:
 Hi all,
 
 I am trying to set midi no my laptop using midi howtos. It has an ESS 
 Maestro 3 ES1983s sound card. I can here music.
 I tried to check if this card is supported in 
 http://www.4front-tech.com/osshw.html
 It seems in general that the card is supported but I didn't find ES1093s 
 specifically.
 I configured the kernel to have oss and midi loopback (modules sound.o 
 and v_midi.o) and I get kmid to start (before that it said it can't open 
 /dev/sequencer) but I can't here anything.
 I also do not have the file /dev/sndstat nor anything associated to 
 sound in /proc.
 Eventually I understood I should have a sequencer installed and that it 
 has to do with the midi loopback. I installed lmuse. All in vain.
 I think in Microsoft all that would have been avoided (not that I think 
 that that is a reason to shift to XP).
 


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: midi on kernel 2.4.

2005-11-07 Thread Maxim Kovgan
On ב', 2005-11-07 at 20:48 +0200, David Harel wrote:
 Hi all,
 
 I am trying to set midi no my laptop using midi howtos. It has an ESS 

What exactly are you willing to  do ?

is it for controlling a MIDI device  ?
just to play midi files ?
to use internal MIDI device ?





 Maestro 3 ES1983s sound card. I can here music.
 I tried to check if this card is supported in 
 http://www.4front-tech.com/osshw.html
 It seems in general that the card is supported but I didn't find ES1093s 
 specifically.
 I configured the kernel to have oss and midi loopback (modules sound.o 
 and v_midi.o) and I get kmid to start (before that it said it can't open 
 /dev/sequencer) but I can't here anything.
 I also do not have the file /dev/sndstat nor anything associated to 
 sound in /proc.
 Eventually I understood I should have a sequencer installed and that it 
 has to do with the midi loopback. I installed lmuse. All in vain.
 I think in Microsoft all that would have been avoided (not that I think 
 that that is a reason to shift to XP).
 
He played the king as if afraid someone else would play the ace. -- John
Mason Brown, drama critic


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: midi on kernel 2.4.

2005-11-07 Thread David Harel

Thanks for your reply.

Ilya Konstantinov wrote:

On ב', 2005-11-07 at 20:48 +0200, David Harel wrote:

It seems in general that the card is supported but I didn't find ES1093s 



Can you play regular sound files?

Yep.






If your card doesn't have an internal MIDI synthesizer, you'd have to
use a software synthesizer. For this, I've successfully used Timidity in
its 'ALSA sequencer client' configuration. I never checked but timidity
might also have an option to be serve as the synthesizer in OSS-driven
sound systems.

Does the software synthesizer have to use midi loopback device?



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]





--
Thanks.

David Harel,

==

Home office +972 77 4422234
Fax:+972 77 4422234
Cellular:   +972 54 4534502
Snail Mail: Amuka
D.N Merom Hagalil
13802
Israel
Email:  [EMAIL PROTECTED]


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: midi on kernel 2.4.

2005-11-07 Thread Ilya Konstantinov
On ב', 2005-11-07 at 21:51 +0200, David Harel wrote:
  If your card doesn't have an internal MIDI synthesizer, you'd have to
  use a software synthesizer. For this, I've successfully used Timidity in
  its 'ALSA sequencer client' configuration. I never checked but timidity
  might also have an option to be serve as the synthesizer in OSS-driven
  sound systems.
 Does the software synthesizer have to use midi loopback device?

Not necessarily. A software synthesizer can just take a MIDI file,
synthesize the wave sound out of it and save it to disk (or send it
to /dev/dsp).

In a loopback device configuration, it serves as a server to other
applications; it receives commands from the MIDI loopback device and
then renders the wave into /dev/dsp or whatever. Other applications,
such as KMidi, don't have to be aware whoever provides the MIDI
synthesises service; they just play to the MIDI device.


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]