monome: community
news
events
applications
projects
hardware
arduinome
help
trade
ioflow
movie
open
not signed in (sign in / register)
Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
-
-
CommentAuthorAntimon
- CommentTimeMar 9th 2008 edited
This is a bit silly, but kind of obvious application. It turns your monome 128 or 256 into a regular clock (I got inspired by the ThinkGeek clock that someone posted here in the forums). Prefix is /clock.
It's made in Java (1.5), and I've put all the OSC code in its own class, so if you've been thinking about sending some OSC from java, that code might be a starting point. I haven't implemented any code for listening yet though.
So now you can tell all those confused friends that ask you what your monome is that it is an exclusive clock! :)
Edit 2008-07-20: updated files with Win32 fix and 12-hour clock support
/Stefan -
-
- CommentAuthorJaredKaragen
- CommentTimeMar 12th 2008
Lol, nice =) Yet another app for the collection =) -
- CommentAuthorc1t1zen
- CommentTimeMar 13th 2008
so I tried to run this last night. Can you give me a bit more info on how to start and run this app? I'm on windows XP and downloaded the latest Java but everything I tried was dead in the water. What do I need to open .jar and does MonomeserialXP need to run for this to work. Thanks for posting your work. -
- CommentAuthorcrixmadine
- CommentTimeMar 14th 2008
Antimon - I'm sooo appreciative of you posting the code for this. I'm a java programmer and this will certainly help jump-start me with talking OSC and helping me realize my own monome apps i have lurking in my head. I have not tried out the actual app yet but I did take a peek at your code and it looks really good. cheers! -
-
CommentAuthorbean
- CommentTimeJun 19th 2008
Back in March when this came up…
http://post.monome.org/comments.php?DiscussionID=1030
…I started working on a clock app as well. Analogue with spinning hands and all that. Looked back into it this afternoon and brought up to a (mostly) working state. Currently needs a 256 (or 2x 128, &c.) although most of the code is in place to get a shrunk down – and slightly more ambiguous, but how important is accurate time anyway – version working on a 40h/64.
http://www.fourthirtyeight.com/monome/ckloq_0.39.zip -
-
- CommentAuthorc1t1zen
- CommentTimeJun 19th 2008
I love it. I'll have this running all day tomorrow. Thanks! -
- CommentAuthorglennv
- CommentTimeJun 23rd 2008
How do you get this running ?>
I instaled JRE 1.5 on windows xp. Start monome serial , set to /clock en doubleclick the .jar file. Nothing.
If i start the jar from the command file with "java monome-clock.jar" I get hava exeptions about unfound class.
What do I need to do to run this ? -
- CommentAuthorc1t1zen
- CommentTimeJun 23rd 2008
Where's Antimon?
Did you try Bean's version.
BTW happy birthday Bean...one day late. -
-
CommentAuthorAntimon
- CommentTimeJun 24th 2008
Oh, hi! I just realized I haven't tried this out on Windows, only on OS X. I haven't time to check it out now, but I'll do so soon. In the meantime, could you try opening a dos prompt, cd to where the jar file is, and type this:
java -classpath monome-clock.jar se.antimon.monomeclock.MonomeClock
? If that doesn't work, could you try this:
java -classpath monome-clock.jar se.antimon.monomeclock.MonomeClock
and see if prints an error? Maybe the .jar file has become corrupt somehow.
Really sorry for not responding earlier. :( My sense of responsibility is terrible.
That's a really cool clock you got there, bean! It really works very well.
/Stefan -
-
- CommentAuthorglennv
- CommentTimeJun 25th 2008
That command does not give any error. Just sits there returning nothing and my monome stays blank (made sure serial is set to /clock) -
- CommentAuthorglennv
- CommentTimeJun 25th 2008
p.s. got a 128 -
-
CommentAuthorkero.fm
- CommentTimeJul 17th 2008
is there a non 24hour clock version? im retarded and cant read this time everytime i go to europe im screwed because of it LOL -
-
-
CommentAuthorAntimon
- CommentTimeJul 20th 2008 edited
Again, sorry for not being very fast in this thread.
I learned a bit more about how to properly work with UDP in Java, and fixed a problem that only manifests itself on Windows. Hope it works now. When working on another project, I've worked the Osc classes into being fairly complete, with support for sending and receiving ints, floats and strings. If you check out the source zip, they are put in their own package at se.antimon.osc .
I've also made so that if you press the top left button, the clock goes into 12-hour clock mode. :)
/Stefan -
-
-
CommentAuthorkero.fm
- CommentTimeJul 20th 2008
sick thanks!!!!!! i mounted my monome on the wall for the dope clock when not making music with it!
thanks! -
-
- CommentAuthorpetermatthew
- CommentTimeApr 11th 2009
I WANT A 64 VERSION!!!!!!! -
- CommentAuthorhypoxic
- CommentTimeApr 14th 2009
anybody get this, or another clock prog, working for windows?
this is what i get when trying the instructions above:
>java -classpath monome-clock.jar se.antimon.monomeclock.MonomeClock
command='/sys/prefix', types=',is'
and if i press buttons:
command='/clock/press', types=',iii'
command='/clock/press', types=',iii'
any ideas?
thanks! -
-
CommentAuthorsoundcyst
- CommentTimeMay 17th 2009
any chance on a makefile or a better description of how to get this to work..
from command line in os 10.5:
$ java -classpath monome-clock.jar se.antimon.monomeclock.MonomeClock
Exception in thread "main" java.lang.NoClassDefFoundError: se/antimon/monomeclock/MonomeClock -
-
-
CommentAuthorAntimon
- CommentTimeMay 21st 2009
Oops, been slow checking threads on the monome forum again - almost a year since people wrote in this thread last time! I have had this working on windows earlier, maybe I forgot to check last time I changed stuff. Will have a look soon.
@soundcyst: I just now tried downloading the jar from the top of this thread, and typing exactly what you wrote, and it worked for me! I take it you're on osx too? I'm using 10.4.11, but it would be strange if that should matter. I you type java -version, do you get version 1.5 something (that's what I have)?
/Stefan -
-
-
CommentAuthorsoundcyst
- CommentTimeMay 21st 2009
hi stefan,
i'm in os 10.5.6, java 1.5.06
it's sort of a moot point now.. i was trying to get this to work for a film shoot, but we made do without the clock.
it would be nice to get it working in the future though..
what about releasing a simple .jar file that isn't nested deep within some folders? or a makefile for us to compile it ourselves?
on second thought, i wonder if it's because i was running it from a directory with a space in the name... humm. don't have monome at this computer to test. -
-
-
CommentAuthorAntimon
- CommentTimeMay 22nd 2009
Oh, that's too bad about your film shoot :( dang, I'm slow in catching these thread updates.
Actually, the jar file is all by itself in a zip file, no extra folders - do you mean the source code (these are two separate archives in the first post)? My makefile skills are a bit rusty... but compiling this shouldn't be more difficult than something like this:
cd OscCommunication
javac src/se/antimon/osc/*.java
cd ../MonomeClock/src
javac -classpath ../../OscCommunication/src se/antimon/monomeclock/*.java
Then to run:
java -classpath ../../OscCommunication/src:. se.antimon.monomeclock.MonomeClock
Just tried - it worked. If you're good with make it would be wonderful if you could make one that I can include in the zip file. :) Otherwise I'll see if I can stitch one together later.
/Stefan -