You are not logged in.

#1 2006-07-04 18:10:30

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

How install MIDI?

How install Musical Instrument Digital Interface?


Goodbye!

Offline

#2 2006-07-04 18:49:10

pauldonnelly
Member
Registered: 2006-06-19
Posts: 776

Re: How install MIDI?

I'm not sure what you're asking. Do you want to know how to get MIDI playback working so you can listen to MIDI files, or do you want connect a MIDI keyboard to your computer, or do you want something else entirely?

Offline

#3 2006-07-04 18:56:17

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: How install MIDI?

Play MIDI files.


Goodbye!

Offline

#4 2006-07-04 19:38:39

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: How install MIDI?

You can install timidity++ from [extra] and timidity-instruments from AUR. That works fine here, both playing MIDI and converting to OGG/MP3. I dunno how to do it if you want to use some MIDI hardware to play it though.

Offline

#5 2006-07-05 04:55:38

deficite
Member
From: Augusta, GA
Registered: 2005-06-02
Posts: 693

Re: How install MIDI?

If you have MIDI hardware there should be some ALSA modules to load up and then you're good to go. Otherwise, timidity++ is the best way to go (there are alternatives, but they just aren't as good IMHO). Make sure you get a good soundfont for it.

Offline

#6 2006-07-05 05:14:16

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: How install MIDI?

Thanks, but I have sound font (Control center, Sound system, Hardware, Use MIDI mapper, /root/8MBGMSFX.SF2) and then click on "test midi", in KDE, button I nothing hear.


Goodbye!

Offline

#7 2006-07-05 05:23:58

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: How install MIDI?

Jaboua, then write "timidity" in terminal nothing happen, terminal not run timidity.
What is AUR and what is address?


Goodbye!

Offline

#8 2006-07-05 05:32:39

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: How install MIDI?

And I want, that web browser, for example Opera, play MIDI files.


Goodbye!

Offline

#9 2006-07-05 05:54:15

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: How install MIDI?

And Control center, Sound system, Hardware, Choose your <...> MIDI (that writen in russian language, because I use russian internalization, so not all text can say) is empty, nothing to possible choose.


Goodbye!

Offline

#10 2006-07-05 09:15:47

pauldonnelly
Member
Registered: 2006-06-19
Posts: 776

Re: How install MIDI?

If you don't have anything to select in KDE's Control Center then you probably don't have MIDI hardware, and will need to use a software player.

Here's how MIDI works:
Some computers have a hardware synthesizer built into the sound card, so programs can just send MIDI instructions to that and it will play the music. Usually it's necessary to load a sound font into the card to actually get sound.

Many (most?) computers don't have hardware to play MIDI music. Windows has a software synthesizer built in, so it can deal with this. Linux doesn't, so you have to install the softsynth yourself and make sure it's available when a program needs it.

Timidity is the only one I have experience with; it's pretty good. Have you installed it yet? That's the first step. "pacman -S timidity++" will install it, if you haven't. Here's the instruments in the AUR.

Edit: When Timidity is installed, you can run it as an ALSA sequencer client with the command "timidity -iA". Programs that use ALSA for MIDI output should work with it.

Offline

#11 2006-07-05 09:19:14

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: How install MIDI?

Thanks.


Goodbye!

Offline

#12 2006-07-05 09:26:21

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: How install MIDI?

My hardware have sound fonts.


Goodbye!

Offline

#13 2006-07-05 09:45:58

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: How install MIDI?

[root@myhost ~]# timidity -iA
Couldn't open output device
[root@myhost ~]#


Goodbye!

Offline

#14 2006-07-05 21:37:15

deficite
Member
From: Augusta, GA
Registered: 2005-06-02
Posts: 693

Re: How install MIDI?

I've never been able to get KDE's MIDI test thing to work. If you want to use timidity++, I'm pretty sure you can't use hardware sound fonts, you'll have to download a SF2 file (which you said you have). You'll need to edit "/etc/timidity.cfg" and have it point to your SF2 file.

You said you are running KDE, you don't happen to have ARTS running do you? Go into the sound control panel and disable the sound system. Try to start timidity afterwards. You can also use the timidity daemon script I created (that happens to be in the package after I e-mailed it to the maintainer smile) by typing "/etc/rc.d/timidity++ start" at the console, or in your daemons array. When you disable the sound system (ARTS) you will lose your system notifications, but you can get them back by going into the notifications and changing the player to "ogg123" after installing the "vorbis-tools" package, as most of KDE's sounds are in OGG format.

Offline

#15 2006-07-09 09:50:58

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: How install MIDI?

I find 'timidity.cfg' file in '/etc/timidity++' directory.

[root@myhost ~]# timidity -iA
Requested buffer size 32768, fragment size 8192
ALSA pcm 'default' set buffer size 32768, period size 8192 bytes
TiMidity starting in ALSA server mode
ALSA lib seq_hw.c:455:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
error in snd_seq_open
[root@myhost ~]# /etc/rc.d/timidity++ start
:: Starting Timidity++ ALSA Daemon                                       [BUSY] ALSA lib seq_hw.c:455:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
error in snd_seq_open
                                                                         [DONE]

Goodbye!

Offline

#16 2006-07-09 12:20:12

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: How install MIDI?

deficite wrote:

I've never been able to get KDE's MIDI test thing to work. If you want to use timidity++, I'm pretty sure you can't use hardware sound fonts, you'll have to download a SF2 file (which you said you have). You'll need to edit "/etc/timidity.cfg" and have it point to your SF2 file.

You said you are running KDE, you don't happen to have ARTS running do you? Go into the sound control panel and disable the sound system. Try to start timidity afterwards. You can also use the timidity daemon script I created (that happens to be in the package after I e-mailed it to the maintainer smile) by typing "/etc/rc.d/timidity++ start" at the console, or in your daemons array. When you disable the sound system (ARTS) you will lose your system notifications, but you can get them back by going into the notifications and changing the player to "ogg123" after installing the "vorbis-tools" package, as most of KDE's sounds are in OGG format.

Or "play" from "sox" - it plays most sounds.

Offline

#17 2006-07-09 18:08:16

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: How install MIDI?

alikas wrote:

I find 'timidity.cfg' file in '/etc/timidity++' directory.

[root@myhost ~]# timidity -iA
Requested buffer size 32768, fragment size 8192
ALSA pcm 'default' set buffer size 32768, period size 8192 bytes
TiMidity starting in ALSA server mode
ALSA lib seq_hw.c:455:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
error in snd_seq_open
[root@myhost ~]# /etc/rc.d/timidity++ start
:: Starting Timidity++ ALSA Daemon                                       [BUSY] ALSA lib seq_hw.c:455:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
error in snd_seq_open
                                                                         [DONE]

Is the snd_seq_oss module loaded?
# modprobe snd_seq_oss
Then try running timidy again.

Offline

#18 2006-07-11 05:50:16

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: How install MIDI?

[root@myhost ~]# modprobe snd_seq_oss
[root@myhost ~]# timidity -iA
Requested buffer size 32768, fragment size 8192
ALSA pcm 'default' set buffer size 32768, period size 8192 bytes
TiMidity starting in ALSA server mode
Opening sequencer port: 128:0 128:1 128:2 128:3

Then I waitin about ten minutes but nothing.


Goodbye!

Offline

#19 2006-07-11 09:12:43

pauldonnelly
Member
Registered: 2006-06-19
Posts: 776

Re: How install MIDI?

alikas wrote:
[root@myhost ~]# modprobe snd_seq_oss
[root@myhost ~]# timidity -iA
Requested buffer size 32768, fragment size 8192
ALSA pcm 'default' set buffer size 32768, period size 8192 bytes
TiMidity starting in ALSA server mode
Opening sequencer port: 128:0 128:1 128:2 128:3

Then I waitin about ten minutes but nothing.

That's good; it looks like it's working. Now try using a program that uses MIDI output while Timidity is running and showing that message. If you have Timidity's sounds set up right, you should hear music.

If you just want to listen to a MIDI file from your disk, you should be able to play it with the command "timidity foo.mid", where foo is the name of your MIDI file.

Offline

#20 2006-07-11 17:18:17

deficite
Member
From: Augusta, GA
Registered: 2005-06-02
Posts: 693

Re: How install MIDI?

Also note that you can run "timidity -iAD" and it'll run as a daemon and return you to the console. You can then use KMid or something to try out timidity's rendering. If you get nothing, you probably didn't specify your soundfont in timidity.cfg

Offline

#21 2006-07-11 17:54:09

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: How install MIDI?

'timidity filename' working!
Thanks!


Goodbye!

Offline

#22 2006-07-11 20:16:33

pauldonnelly
Member
Registered: 2006-06-19
Posts: 776

Re: How install MIDI?

Good. smile It seems like you've got everything set up right.

Offline

#23 2006-10-08 06:25:01

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: How install MIDI?

Not good working, then I write in terminal 'timidity -iAD' or 'timidity -iA', Kmid. Sometimes playing music, sometimes not playing.


Goodbye!

Offline

#24 2006-10-09 02:18:38

tubasoldier
Member
Registered: 2006-03-25
Posts: 8

Re: How install MIDI?

You mentioned your hardware has soundfont support. If you install the awe soundfont toolst then you can load a soundfont easily and midi will just work. Its been a while since I have had to do it but i do believe it is simply "sfxload /path/to/soundfont/soundfont.sf2"

Offline

#25 2006-10-09 17:22:08

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: How install MIDI?

tubasoldier wrote:

You mentioned your hardware has soundfont support. If you install the awe soundfont toolst then you can load a soundfont easily and midi will just work. Its been a while since I have had to do it but i do believe it is simply "sfxload /path/to/soundfont/soundfont.sf2"

[root@myhost soundfonts]# sfxload '/home/al/soundfonts/8MBGMSFX.SF2'
sfxload: No AWE synth device is found in the system.

I think yuo mean Soundblaster card.
My card not SoundBlaster, but Circus Logik Cristal, cs4236.
So my card not support Linux.
Thanks.
I want that Knqueror or Opera play MIDIles.


Goodbye!

Offline

Board footer

Powered by FluxBB