Java Vixen player f...
 
Notifications
Clear all

Java Vixen player for Mac/Linux/Win/whatever...

31 Posts
8 Users
0 Reactions
13.2 K Views
Posts: 87
(@brianmiller)
Estimable Member
Joined: 17 years ago

I just compiled JLux pointing to /dev/ttyUSB0 and finally got JMF working correctly.

Your Jingle Bell sequence seems to be sending serial data, however JLux will load my sequences and play the music but no serial data. It reads the info from my .vix correctly but the output says "Skipping disabled channel (1-114)".

I'll email you my sequence if you're interested.

-Brian


Reply
Posts: 255
Topic starter
(@frankv)
Reputable Member
Joined: 17 years ago

Having now figured out the basic ins and outs of Subversion project management, I have deleted the java-vixen-player project and created a new jlux project. This contains all my latest source code, plus the NetBeans project and other stuff, and works with NetBeans.

Access to it is at http://code.google.com/p/jlux/

This is readable to everyone. If anyone wants to make changes, either email me the updated source files and I'll put them into the project, or if you think you might want to do lots, let me know and I'll add you as a contributor at Google Code.


Reply
Posts: 255
Topic starter
(@frankv)
Reputable Member
Joined: 17 years ago

I've changed the music player from JMF to JLayer -- this is more up-to-date, and plays MP3 files that JMF won't play.

I'm using it to run my display now, and I've updated the Google Code project site.


Reply
Posts: 87
(@brianmiller)
Estimable Member
Joined: 17 years ago
frankv wrote:I've changed the music player from JMF to JLayer -- this is more up-to-date, and plays MP3 files that JMF won't play.

I'm using it to run my display now, and I've updated the Google Code project site.

I checked out the latest rev, pointed Renard.java to /dev/ttyUSB0 and gave it a shot.

JLux wouldn't read my .vix files without removing the following tags first:

<BackgroundImage

Once the above was removed JLux loaded the .vix, start playing the MP3 and was outputting serial data.

I connected my Renard network and it looked like everything was in slow motion, instead of a 10 or 50ms event timing it was somewhere around 2-5 seconds. Giving the exact number of channels in the sequence to JLux sped things up to around 1-2 seconds but nothing close to the correct speed.

For a test, I ran your Jingle Bell sequence you had packaged which is 64 channels--it looked like it was playing at the correct speed--just not for my display.

Any thoughts?

-Brian


Reply
Posts: 255
Topic starter
(@frankv)
Reputable Member
Joined: 17 years ago

Very strange!

I do typically remove most of those tags, since they are often large (e.g. BackGroundImage) and slow down GEdit hugely.

I don't know about deleting -- I'd have thought that would stop JLux playing, since it needs to know the number of channels to be able to decode the EventData block.

My only thought is that somehow the Time (or TimeInMilliseconds) has gone wrong?

Run the JLux in a shell and look at the stdout output... if you can't see any clues there, redirect the output to a file and email it to me and I'll have a look.

Frank


Reply
Page 5 / 7
Share: