You are not logged in.

#1 2006-09-01 09:59:30

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

How play midi with KMid?

KMid show that play MIDI file, but I nothing hear.


Goodbye!

Offline

#2 2006-09-01 10:35:22

renners1
Member
From: Thailand
Registered: 2004-11-03
Posts: 71

Re: How play midi with KMid?

I've just had same problem... resolved by installing timidity++. Also...

Some soundcards, including my SB Live, require a software sound library, called a soundfont. There are 3 in the AUR, I installed the smallest one, timidity-instruments, which works but isn't good quality sounds.
If you need better quality sounds, go for timidity-eawpatches or fluidr (these are quite big downloads).

Cheers, Renners


Microsoft stole my computer, Linux gave it back.

Offline

#3 2006-09-01 11:08:27

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

Re: How play midi with KMid?

I use some soundfonts but, then playing some songs write, that not all instruments be hear. May yuo can give link to good soundfonts?
And I ask about KMid, because Konqueror to play music, in web pages, use KMid.


Goodbye!

Offline

#4 2006-09-01 13:18:19

renners1
Member
From: Thailand
Registered: 2004-11-03
Posts: 71

Re: How play midi with KMid?

I'm no expert, but I think the best soundfont in the AUR is the fluidr3 one.... just because its the biggest file so probably has better quality and/or more samples.
I don't know about kmid I'm afraid, I only played with midi because I wanted to get the music in openTTD working!


Microsoft stole my computer, Linux gave it back.

Offline

#5 2006-09-01 13:42:29

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

Re: How play midi with KMid?

Thanks!


Goodbye!

Offline

#6 2006-09-02 01:13:11

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

Re: How play midi with KMid?

I don't know about the  fluidr3 soundfont but the soundfont-sgm180 package that I maintain in AUR is also quite complete. It's smaller than the fluidr3 one.

Offline

#7 2006-09-02 03:26:51

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

Re: How play midi with KMid?

Thanks, but my yuo can give link to soundfont-sgm180? I found this: ftp://sf2midi.com/sgm128/SGM180v1.5.zip. But it not work.


Goodbye!

Offline

#8 2006-09-02 21:40:33

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,914

Re: How play midi with KMid?

See the AUR for soundfont pkgbuilds :

soundfont-sgm180

fluidr3


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#9 2006-09-03 09:39:42

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

Re: How play midi with KMid?

'fluidr3' I remove, because it have for files and not any not have 'sf2' extension. There my '/etc/timidity++/timidity.cfg':

# details on this file and other examples see here:
# http://www.onicos.com/staff/iz/timidity/dist/cfg/sndfont.cfg
# http://www.onicos.com/staff/iz/timidity/dist/cfg/
#----------------------------------------------------------------
# SoundFont extension configuration
#
# soundfont <filename> [order={0|1}] [remove]
#    <filename> is the path of SoundFont file.
#    order: 0(preload) or 1(load after GUS).
#    remove: disable specified soundfont.
#
# font exclude <tonebank> [<preset> [<keynote>]]
# font order {0|1} <tonebank> [<preset> [<keynote>]]
#    <tonebank>: 0-127
#
# font exclude 128 [<drumset> [<key>]]
# font order {0|1} 128 [<drumset> [<key>]]
#----------------------------------------------------------------

# change the next line to point to a soundfont you have
# soundfonts can be found e.g. here: http://www.hammersound.net/
# soundfont /usr/share/soundfonts/DX7Piano.SF2
soundfont /home/al/Unison.sf2
#soundfont "/home/al/zip/fluid/FluidR3 GS.sfArk"
# you can do manipulations of the soundfont you load like this:
# e.g. removing drumset 99
# font exclude 128 99

# load drum samples after GUS patches
# font order 1 128

How see it requied .SF2 file.
Soundfont-sgm180 link have link to same link, who I has write.


Goodbye!

Offline

#10 2006-09-03 12:13:49

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,914

Re: How play midi with KMid?

Alikas, i guess you haven't used AUR before ?

The files you download from aur are NOT binary packages like those in current & extra, instead they allow you to make the binaries on your own pc.
In short you download the files to your pc, run makepkg and pacman -A to install an aur program.

These are instructions to build the package for fluidr3 (chose that because i made it myself , so i know pretty well how it works )  :

pacman -S fakeroot

(needed to do the following things as normal user)

fluidr3 and sgm180 both use the AUR sfarkxtc program, so that has to be installed first.

Download the files for sfarkxtc
to a separate new dir in your home folder, like /home/your_user/aur/sfarkxtc .
open a terminal/console as user and go to the dir where you downloaded the files.
execute

makepkg

makepkg will download any necessary files and create a a package-file from them that can be used by pacman.
After it finishes, there will be a pkg.tar.gz file in the folder.

Do

su
pacman -A /home/your_user/aur/sfarkxtc/sfarkxtc-1.03-3.pkg.tar.gz
exit

to install it.

Now download the files for fluidr3 to /home/your_user/aur/fluidr3

open a terminal / console again , goto that folder and run

makepkg

Install it with :

su
pacman -A /home/your_user/aur/fluidr3/fluidr3-122501-2.pkg.tar.gz
exit

The sf2 file needed for timidity is now present in usr/share/soundfonts/fluidr3/ .
In order to let timidity use this font add this line to /etc/timidity++/timidity.cfg :

soundfont /usr/share/soundfonts/fluidr3/FluidR3GM.SF2

Hope this makes things clearer.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#11 2006-09-03 14:36:51

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

Re: How play midi with KMid?

Thanks


Goodbye!

Offline

#12 2006-09-03 14:37:37

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

Re: How play midi with KMid?

Thanks.
How can I create .sfArk files?


Goodbye!

Offline

#13 2006-09-04 19:50:27

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,914

Re: How play midi with KMid?

Unfortunatley that can only be done with a windows program.
On linux or Mac we can decompress sfark files but not make them.
visit http://melodymachine.com/sfark.htm for details.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#14 2006-09-05 04:30:15

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

Re: How play midi with KMid?

Thanks!


Goodbye!

Offline

#15 2006-09-05 04:33:17

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

Re: How play midi with KMid?

Thanks!
Maybe yuo know compresor, who good compresing Microsoft PCM .wav files?


Goodbye!

Offline

#16 2006-09-06 18:13:48

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,914

Re: How play midi with KMid?

If you want to keep the high quality , this seems to be a reasonable choice :
FLAC

Wav Compression explained may also be useful.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#17 2006-09-07 04:30:25

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

Re: How play midi with KMid?

No, I mean, compress .wav files, for example, like with Winrar.


Goodbye!

Offline

#18 2006-09-07 04:50:15

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

Re: How play midi with KMid?

gzip and bzip2 are popular compression tools. bzip2 is better than gzip.
To compress:
$ bzip2 file.wav
To uncompress:
$ bunzip2 file.wav.bz2

You could also check out p7zip. I think it's better than gzip and bzip2.

Offline

#19 2006-09-07 10:41:17

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

Re: How play midi with KMid?

Thanks. I know gzip, bzip2 and others, with KDE ark possible that do. Bu its compress .wav files about 80-90%. Did is that compressor, who compress .wav files about 50% or better?


Goodbye!

Offline

#20 2006-09-07 12:23:43

sebcactus
Member
From: Germany
Registered: 2005-01-27
Posts: 277

Re: How play midi with KMid?

Already given: FLAC...

From the FLAC website: "This is similar to how Zip works, except with FLAC you will get much better compression because it is designed specifically for audio"

Offline

#21 2006-09-07 15:31:59

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

Re: How play midi with KMid?

But sound loss quality, then converting file from .wav to FLAC file?


Goodbye!

Offline

#22 2006-09-07 15:42:32

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: How play midi with KMid?

I don't know if I understand your question, but anyway:

If you want lossless compression, give flac a try.
If you want higher compression of your audio files and accept a little quality loss, try to compress it using the ogg (or some mp3) codec.


Haven't been here in a while. Still rocking Arch. smile

Offline

#23 2006-09-07 15:44:33

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

Re: How play midi with KMid?

Thanks.
Maybe somebody can write source code how play FLAC file.


Goodbye!

Offline

#24 2006-09-07 16:44:32

sebcactus
Member
From: Germany
Registered: 2005-01-27
Posts: 277

Re: How play midi with KMid?

Sorry I am not sure if I understand what you want.

If you want to convert wav->flac:

pacman -S flac

then

flac -8 inputfile.wav -o output.flac

If you want to convert flac->wav:

flac -d inputfile.flac -o output.wav

If you want to play your flac file, use any audio player. You may have to install the flac plugin for your audio player.
E.g. if it is based on gstreamer0.10:

pacman -S gstreamer0.10-flac

Offline

#25 2006-09-07 16:55:32

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

Re: How play midi with KMid?

Thanks!


Goodbye!

Offline

Board footer

Powered by FluxBB