{"id":126,"date":"2005-05-18T17:20:55","date_gmt":"2005-05-18T14:20:55","guid":{"rendered":"https:\/\/void.gr\/kargig\/blog\/?p=126"},"modified":"2005-05-18T17:21:00","modified_gmt":"2005-05-18T14:21:00","slug":"playing-midi-files-at-gentoo-linux","status":"publish","type":"post","link":"https:\/\/www.void.gr\/kargig\/blog\/2005\/05\/18\/playing-midi-files-at-gentoo-linux\/","title":{"rendered":"Playing midi files at Gentoo linux"},"content":{"rendered":"<p>My new phone, Sony Ericsson K700i, supports polyphonic ringtones, mp3 or midi, so I downloaded a few from the internet and I wanted to upload them to the phone. Before doing so I also wanted to listen to them on my box. I had never tested playing midi files on my box so far so when I tried listening to them &#8220;out-of-the-box&#8221; I ran into problems.<br \/>\nI started reading <a href=\"http:\/\/www.gentoo.org\/doc\/en\/alsa-guide.xml\">Gentoo Linux ALSA Guide<\/a> again.<br \/>\nBasically I just had to:<br \/>\n<code>#emerge awesfx<br \/>\n<\/code><br \/>\nand then load a soundfont &#8230; which is a good soundfont though ? Googling around I came up to <a href=\"http:\/\/www.personalcopy.com\/linuxfiles.htm\">this site<\/a> which has a lot of information on soundfonts and has 2 great soundfonts available for linux. They might be BIG&#8230;but it&#8217;s worth it if you want extra high quality.  The difference between those offered at <a href=\"http:\/\/www.personalcopy.com\/linuxfiles.htm\">PersonalCopy<\/a> and <a href=\"http:\/\/www.alsa-project.org\/~james\/sound-fonts\/8MBGMSFX.SF2\">the one provided by creative and included at alsa-project<\/a> is just HUGE.<br \/>\nJust try them with:<br \/>\n<code># asfxload 8MBGMSFX.SF2<br \/>\nor<br \/>\n# asfxload UNISON.SF2<\/code><br \/>\nand play the same file&#8230;You&#8217;ll hear the clear difference.<br \/>\nYou can use kmid to play the files and\/or a collection of midi files. Don&#8217;t forget to choose your midi output device though&#8230;<br \/>\n<code># aplaymidi -l<\/code> will give you the complete list of midi devices in your box. Before choosing the &#8220;correct&#8221; midi port in kmid try all out with:<br \/>\n<code># aplaymidi -p midi:port file.mid <\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>My new phone, Sony Ericsson K700i, supports polyphonic ringtones, mp3 or midi, so I downloaded a few from the internet and I wanted to upload them to the phone. Before doing so I also wanted to listen to them on my box. I had never tested playing midi files on my box so far so [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ep_exclude_from_search":false,"footnotes":""},"categories":[1,3],"tags":[],"class_list":["post-126","post","type-post","status-publish","format-standard","hentry","category-general","category-linux"],"aioseo_notices":[],"views":6637,"_links":{"self":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts\/126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/comments?post=126"}],"version-history":[{"count":0,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts\/126\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/media?parent=126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/categories?post=126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/tags?post=126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}