JDK-4939308 : Java Sound Demo: wrong looping
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.sound
  • Affected Version: 1.4.1
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2003-10-17
  • Updated: 2006-05-31
  • Resolved: 2006-05-31
Related Reports
Duplicate :  
Description
Name: gm110360			Date: 10/16/2003


FULL PRODUCT VERSION :
java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)

FULL OPERATING SYSTEM VERSION :
Windows 2k

ADDITIONAL OPERATING SYSTEMS :

All


A DESCRIPTION OF THE PROBLEM :
Wrong beat implementation in source file Groove.java

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. start Java SoundDemo
2. Play groove
3. remark 1/16 beat is missing every 4 beats sounds choppy

EXPECTED VERSUS ACTUAL BEHAVIOR :
Have fixed the problem.

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
your source :
* @(#)Groove.java	1.16	99/11/03

Line 256 of file

Beat implementation in Groove.java is incorrect.

to fix replace line

createEvent(PROGRAM, 9, 1, 15);
with
createEvent(PROGRAM, 9, 1, 16);

Thank You,
Martin Tremblay
University of Montreal.

---------- END SOURCE ----------
(Incident Review ID: 180174) 
======================================================================

Comments
EVALUATION This is already fixed in the internal development version. ###@###.### 2003-10-21
21-10-2003