Searched defs:testarray (Results 26 - 34 of 34) sorted by relevance

12

/openjdk7/jdk/test/javax/sound/midi/Gervill/ModelByteBufferWavetable/
H A DGetPitchCorrection.java37 static float[] testarray; field in class:GetPitchCorrection
49 testarray = new float[1024];
53 testarray[i] = (float)Math.sin(10*ii*2*Math.PI);
54 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI);
55 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI);
56 testarray[i] *= 0.3;
58 test_byte_array = new byte[testarray.length*2];
59 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
62 byte[] test_byte_array2 = new byte[testarray.length*3];
64 test_byte_array_8ext = new byte[testarray
[all...]
H A DNewModelByteBufferWavetableModelByteBuffer.java37 static float[] testarray; field in class:NewModelByteBufferWavetableModelByteBuffer
49 testarray = new float[1024];
53 testarray[i] = (float)Math.sin(10*ii*2*Math.PI);
54 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI);
55 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI);
56 testarray[i] *= 0.3;
58 test_byte_array = new byte[testarray.length*2];
59 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
62 byte[] test_byte_array2 = new byte[testarray.length*3];
64 test_byte_array_8ext = new byte[testarray
[all...]
H A DNewModelByteBufferWavetableModelByteBufferAudioFormat.java37 static float[] testarray; field in class:NewModelByteBufferWavetableModelByteBufferAudioFormat
49 testarray = new float[1024];
53 testarray[i] = (float)Math.sin(10*ii*2*Math.PI);
54 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI);
55 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI);
56 testarray[i] *= 0.3;
58 test_byte_array = new byte[testarray.length*2];
59 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
62 byte[] test_byte_array2 = new byte[testarray.length*3];
64 test_byte_array_8ext = new byte[testarray
[all...]
H A DNewModelByteBufferWavetableModelByteBufferAudioFormatFloat.java37 static float[] testarray; field in class:NewModelByteBufferWavetableModelByteBufferAudioFormatFloat
49 testarray = new float[1024];
53 testarray[i] = (float)Math.sin(10*ii*2*Math.PI);
54 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI);
55 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI);
56 testarray[i] *= 0.3;
58 test_byte_array = new byte[testarray.length*2];
59 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
62 byte[] test_byte_array2 = new byte[testarray.length*3];
64 test_byte_array_8ext = new byte[testarray
[all...]
H A DNewModelByteBufferWavetableModelByteBufferFloat.java37 static float[] testarray; field in class:NewModelByteBufferWavetableModelByteBufferFloat
49 testarray = new float[1024];
53 testarray[i] = (float)Math.sin(10*ii*2*Math.PI);
54 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI);
55 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI);
56 testarray[i] *= 0.3;
58 test_byte_array = new byte[testarray.length*2];
59 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
62 byte[] test_byte_array2 = new byte[testarray.length*3];
64 test_byte_array_8ext = new byte[testarray
[all...]
H A DOpen.java37 static float[] testarray; field in class:Open
49 testarray = new float[1024];
53 testarray[i] = (float)Math.sin(10*ii*2*Math.PI);
54 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI);
55 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI);
56 testarray[i] *= 0.3;
58 test_byte_array = new byte[testarray.length*2];
59 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
62 byte[] test_byte_array2 = new byte[testarray.length*3];
64 test_byte_array_8ext = new byte[testarray
[all...]
H A DSetLoopType.java37 static float[] testarray; field in class:SetLoopType
49 testarray = new float[1024];
53 testarray[i] = (float)Math.sin(10*ii*2*Math.PI);
54 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI);
55 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI);
56 testarray[i] *= 0.3;
58 test_byte_array = new byte[testarray.length*2];
59 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
62 byte[] test_byte_array2 = new byte[testarray.length*3];
64 test_byte_array_8ext = new byte[testarray
[all...]
H A DOpenStream.java40 static float[] testarray; field in class:OpenStream
65 testarray = new float[1024];
69 testarray[i] = (float) Math.sin(10 * ii * 2 * Math.PI);
70 testarray[i] += (float) Math.sin(1.731 + 2 * ii * 2 * Math.PI);
71 testarray[i] += (float) Math.sin(0.231 + 6.3 * ii * 2 * Math.PI);
72 testarray[i] *= 0.3;
74 test_byte_array = new byte[testarray.length * 2];
75 AudioFloatConverter.getConverter(format).toByteArray(testarray,
79 byte[] test_byte_array2 = new byte[testarray.length * 3];
81 test_byte_array_8ext = new byte[testarray
[all...]
H A DSet8BitExtensionBuffer.java37 static float[] testarray; field in class:Set8BitExtensionBuffer
49 testarray = new float[1024];
53 testarray[i] = (float)Math.sin(10*ii*2*Math.PI);
54 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI);
55 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI);
56 testarray[i] *= 0.3;
58 test_byte_array = new byte[testarray.length*2];
59 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
62 byte[] test_byte_array2 = new byte[testarray.length*3];
64 test_byte_array_8ext = new byte[testarray
[all...]

Completed in 33 milliseconds

12