Messages in cipher reflected in the looking glass
[ Yasuhiro Fujitsuki's Weblog ]
http://blogs.sun.com/thaniwa/date/20060731 2006年 7月 31日 月曜日

(EN) trumplayer for lg3d



Flash Movie (3MB) : No Sounds, Low Quality

I commited sources of trumplayer to lg3d-incubator's cvs source trees. Trumplayer is in the latest daily build binary of the lg3d( after 7/29/2006). Latest daily build binary can be download at
https://lg3d-core.dev.java.net/binary-builds.html

Icon menu of the trumplayer is in [Early Prototypes]. But, now Trumplayer cannot play mp3 files in the default environment of lg3d because of JMF issues in lg3d(fobs4jmf and mp3plugin).
Trumplayer and JMF requires mp3plugin.jar to play mp3 files. mp3plugin.jar can be download at
http://java.sun.com/products/java-media/jmf/mp3/download.html
Other issue is a fob4jar, JMF in the lg3d(lg3d-incubator) requires fobs4jmf. lg3d has fobs4jmf.jar(library for Java), but it does not have native library of fobs4jmf.
To use JMF, replace jmf.properties(changing configuration of JMF) is required.

And, current version of trumplayer does not have interfaces to customize playlist informations.
If you want to use your original playlist, please prepare trumplayer.xml in your home directory

Solaris or Linux : /home/${user}/trumplayer.xml
Windows : c:\documents and settings\${user}\trumplayer.xml

trumplayer.xml is as follows.

<?xml version="1.0" encoding="UTF-8"?>

<root>
  <encode>JISAutoDetect</encode>
  <fontname>HGSGothicE</fontname>
  <album>
    <artist>BoA</artist>
    <title>BEST OF SOUL</title>
    <image>/windows/D/mp3/BoA/BEST OF SOUL.jpg</image>
    <m3u>/windows/D/mp3/BoA/BEST OF SOUL.m3u</m3u>
  </album>
  <album>
    <artist>QUEEN</artist>
    <title>JEWELS</title>
    <image>/windows/D/mp3/jewels.jpg</image>
    <m3u>/windows/D/mp3/jewels.m3u</m3u>
  </album>
</root>

(JA) trumplayer for lg3d



実行動画(3MB) : 音無し、画質あまり良くない^-^;

LG3D用のMP3プレイヤー Trumplayer(仮) を lg3d-incubator に登録しましたっ!。 ということで、ダウンロードしなくても使えます。^-^; lg3d-core のダウンロードサイト :
https://lg3d-core.dev.java.net/binary-builds.html
で本家の0.9.0の Daily Build (7/29以降)に組み込まれています。
「メニュー」→「Early Prototypes」→「trumplayer」で起動できます。
ただ、現在の lg3d-incubator に組み込まれている JMF に多少問題等があり、 そのままでは再生できません。(fob4jmfがらみ) また、mp3 ファイルを再生するためには mp3plugin.jar を追加する必要があります。
http://java.sun.com/products/java-media/jmf/mp3/download.html
手っ取り早いのは JMF 2.1.1e と mp3plugin をダウンロード、設定し、 $lg3d/ext にコピー(jmf.* を置き換え、mp3plugin.jar をコピー) してください。
この辺もいづれなんとかしたいなぁとは思っています。

また、現在のところ音楽データのリストを登録するためのインタフェースがありません。^-^;
下のような感じの xml ファイルを用意してください。 <album></album>タグを増やしていくことによりアルバムを増やせます。
このファイルをホームディレクトリに trumplayer.xml として保存しておけば、 起動時にそちらを優先するようになっています。

Solaris or Linux : /home/${user}/trumplayer.xml
Windows : c:\documents and settings\${user}\trumplayer.xml

trumplayerではアルバム情報の管理はm3uをできるだけそのまま利用する方法を取っています。^-^;

<?xml version="1.0" encoding="UTF-8"?>

<root>
  <encode>JISAutoDetect</encode>
  <fontname>HGSGothicE</fontname>
  <album>
    <artist>BoA</artist>
    <title>BEST OF SOUL</title>
    <image>/windows/D/mp3/BoA/BEST OF SOUL.jpg</image>
    <m3u>/windows/D/mp3/BoA/BEST OF SOUL.m3u</m3u>
  </album>
  <album>
    <artist>QUEEN</artist>
    <title>JEWELS</title>
    <image>/windows/D/mp3/jewels.jpg</image>
    <m3u>/windows/D/mp3/jewels.m3u</m3u>
  </album>
</root>