Wednesday, March 08, 2006

mp3 in MeTA Studio

get the latest and the first public version of meta studio at:
http://chem.unipune.ernet.in/~tcg/MeTAv2/meta-bin.tar.gz

along with many changes (in the UI) and the underlying APIs (the network apis in org.chem.unipune.meta.net package), you can do some cool things like playing mp3, while checking out on latest geometries ;). here is the code:
pl=play("path to mp3 file");

and to stop the player:
pl.close();

to use the code u need to open the beanshell prompt (from Tools->Open Beanshell)

enjoy and plz. give feedback!

(update: a) the mp3 decoder is taken from jlayer mp3 library
b) all "additional" packages used in meta studio are LGPL, if i have modified them their source is available else where.
c) no source code of meta studio is released as of now. its still in development stage, and as the source code changes are pretty fast, i can't provide the source at this point.
d) most of the APIs are documented and are available from Help->MeTA Studio Help. .. but are subject to change.
)

No comments: