Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4645685
Votes 14
Synopsis RFE: add high resolution clock method
Category java:classes_sound
Reported Against hopper
Release Fixed
State 11-Closed, duplicate of 4486658, request for enhancement
Priority: 2-High
Related Bugs 4478186 , 4486658
Submit Date 01-MAR-2002
Description




Add a method like "long getTimeInMicroseconds()" to AudioSystem, or a small class "HighResClock" or similar. This is important functionality for many multimedia applications, especially those handling MIDI.


======================================================================
Work Around
N/A
Evaluation
  xxxxx@xxxxx   2002-04-25
	Any application using sound features that needs to provide long-time stability (i.e. conferencing systems, games, music software) needs to have a stable clock source to synchronize different types of media.


  xxxxx@xxxxx   2003-07-30
	Tiger will feature the method System.nanoTime() as part of the concurrency API (JSR-166). Therefore, with consent of the Java Sound working group, I close this as duplicate of 4486658.
Comments
  
  Include a link with my name & email   

Submitted On 11-APR-2002
karbl058
This is a very important bug, mainly for making JavaSound truly cross-platform. As is today it cannot be 
relied on to work correctly in Windows which for me makes Java unusable for the project I'm involved in. 
That's too bad since I like Java a lot!


Submitted On 12-APR-2002
lonce
My workaround is a JNI call to a microsoft timer call. Yuck, Phleeaachh!


Submitted On 15-APR-2002
johnclavin
This would make JavaSound usefull.


Submitted On 11-MAY-2002
willwill
Project XEMO, a music and audio environment built on the 
NetBeans platform will require this feature for the 
development of their performance API... see www.xemo.org 
for more details


Submitted On 01-JUL-2002
bhamail
Has anyone looked into this IBM project that may be of use here?

High Resolution Time Stamp Facility
http://www.alphaworks.ibm.com/tech/ibmts

Dan


Submitted On 15-JAN-2003
daniel_howe
jni -> native library getTime() function


Submitted On 26-SEP-2003
urd724
hi i am working for some test of precise science  program.i
need a high acurate to microsecond timer too.hope sun micro
can add the new feature in the 1.5 tiger.


Submitted On 28-OCT-2003
doctorg
I'm a communication research technician at the Annenberg
School for Communication. We've just begun some pyschophy s
experiments using a DOS-based application called VPM that
records the physiological data coming from human
participants like heart rate, skin conductance, other EMG
reading, etc. The program can only run in DOS, because it's
system clock allows millisecond precision, whereas the
Windows clock does not - which seems pretty ironic. I want
to be able to develop a millisecond timer in Jave that can
be up to 10 milliseconds +/- in recording human response. I
want Sun Microsystems to create a timer package that
everyone on earth can use to this end sotha we don't have to
keep using a DOS-based application.



PLEASE NOTE: JDK6 is formerly known as Project Mustang