I just downloaded a few vixen sequences, and they are quite different to the one I used to create the program 🙁 back to coding...
OK, new improved version... I'll email it to the guys who gave me email addresses...
Takes command line parameters...
Optionally plays continuously
User-configurable number of channels
Unpack JLux.zip into a directory... it contains a subdirectory call dist, plus a couple of Vixen sequences and associated MP3s.
Run via: java -jar dist/JLux.jar channels file1 [file2] [repeat]
Where channels = number of channels (e.g. 24)
file1 and file2 are vixen files
[repeat] is optional word repeat, which makes it play a continuous loop of the file(s) provided.
The ZIP also includes src. I'm not sure... what else do you need to build the project? I've used NetBeans so far.
I've now set up a Subversion repository for this project at Google Code... URL is https://java-vixen-player.googlecode.com/svn/trunk/
For people like me new to Google Code and/or Subversion, there's a good how-to at http://engtech.wordpress.com/2007/03/03/howto_google_code_hosting_subversion_tortoisesvn/
My repository currently contains the latest source code, the dist directory and .jar file and so on, plus a couple of .vix files that I know work, plus corresponding MP3s.
I'm not sure how to make this accessible to others. Or is it readable by default?
I guess I need to set up some guys to be contributors or committers or something.
What I did to get it working on my Fedora 10 box.
Download JMF:
http://www.oracle.com/technetwork/java/javase/download-142937.html
Download JMF MP3 plugin:
http://www.oracle.com/technetwork/java/javase/download-137625.html
install JMF (chmod +x the bin file and execute)
Ensure the JMF and plugin .jar files exist in your systems $JAVA_HOME/lib/ext directory.
Register the mp3 plugin:
java com.sun.media.codec.audio.mp3.JavaDecoder (as root)
For now, until a JLux reads from a config file.
ln -s /home/frank
ln -s /home/frank/Sequences
ln -s /dev/ttyUSB0 /dev/ttyS0 -f
I will be doing this same thing on my Fedora 13 machine for tonights show. I haven't tested JLux on an actual controller yet. I will tonight.
Thanks again for the awesome player! I will definitely be contributing to this project.
-Brian
I'm not sure if symlinking the serial port will work. I get a "jlux.Sequence: Renard error".
I think we're going to need the ability to pass a serial port path in via command line or config file before I can use it.
