/openjdk10/jdk/test/javax/sound/midi/Gervill/ModelByteBufferWavetable/ |
H A D | SetLoopType.java | 37 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 D | GetAttenuation.java | 37 static float[] testarray; field in class:GetAttenuation 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 D | GetLoopLength.java | 37 static float[] testarray; field in class:GetLoopLength 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 D | GetLoopStart.java | 37 static float[] testarray; field in class:GetLoopStart 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 D | NewModelByteBufferWavetableModelByteBufferFloat.java | 37 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 D | NewModelByteBufferWavetableModelByteBufferAudioFormatFloat.java | 37 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 D | NewModelByteBufferWavetableModelByteBufferAudioFormat.java | 37 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 D | NewModelByteBufferWavetableModelByteBuffer.java | 37 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 D | GetPitchCorrection.java | 37 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 D | Open.java | 37 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 D | Set8BitExtensionBuffer.java | 37 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...] |
H A D | GetChannels.java | 37 static float[] testarray; field in class:GetChannels 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 D | OpenStream.java | 42 static float[] testarray; field in class:OpenStream 67 testarray = new float[1024]; 71 testarray[i] = (float) Math.sin(10 * ii * 2 * Math.PI); 72 testarray[i] += (float) Math.sin(1.731 + 2 * ii * 2 * Math.PI); 73 testarray[i] += (float) Math.sin(0.231 + 6.3 * ii * 2 * Math.PI); 74 testarray[i] *= 0.3; 76 test_byte_array = new byte[testarray.length * 2]; 77 AudioFloatConverter.getConverter(format).toByteArray(testarray, 81 byte[] test_byte_array2 = new byte[testarray.length * 3]; 83 test_byte_array_8ext = new byte[testarray [all...] |
/openjdk10/jdk/test/javax/sound/midi/Gervill/ModelByteBuffer/ |
H A D | NewModelByteBufferByteArrayIntInt.java | 40 static float[] testarray; field in class:NewModelByteBufferByteArrayIntInt 46 testarray = new float[1024]; 50 testarray[i] = (float)Math.sin(10*ii*2*Math.PI); 51 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI); 52 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI); 53 testarray[i] *= 0.3; 55 test_byte_array = new byte[testarray.length*2]; 56 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
|
H A D | NewModelByteBufferFile.java | 40 static float[] testarray; field in class:NewModelByteBufferFile 46 testarray = new float[1024]; 50 testarray[i] = (float)Math.sin(10*ii*2*Math.PI); 51 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI); 52 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI); 53 testarray[i] *= 0.3; 55 test_byte_array = new byte[testarray.length*2]; 56 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
|
H A D | NewModelByteBufferByteArray.java | 40 static float[] testarray; field in class:NewModelByteBufferByteArray 46 testarray = new float[1024]; 50 testarray[i] = (float)Math.sin(10*ii*2*Math.PI); 51 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI); 52 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI); 53 testarray[i] *= 0.3; 55 test_byte_array = new byte[testarray.length*2]; 56 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
|
H A D | GetRoot.java | 40 static float[] testarray; field in class:GetRoot 46 testarray = new float[1024]; 50 testarray[i] = (float)Math.sin(10*ii*2*Math.PI); 51 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI); 52 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI); 53 testarray[i] *= 0.3; 55 test_byte_array = new byte[testarray.length*2]; 56 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
|
H A D | Load.java | 40 static float[] testarray; field in class:Load 46 testarray = new float[1024]; 50 testarray[i] = (float)Math.sin(10*ii*2*Math.PI); 51 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI); 52 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI); 53 testarray[i] *= 0.3; 55 test_byte_array = new byte[testarray.length*2]; 56 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
|
H A D | SubbufferLongLongBoolean.java | 40 static float[] testarray; field in class:SubbufferLongLongBoolean 46 testarray = new float[1024]; 50 testarray[i] = (float)Math.sin(10*ii*2*Math.PI); 51 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI); 52 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI); 53 testarray[i] *= 0.3; 55 test_byte_array = new byte[testarray.length*2]; 56 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
|
H A D | SubbufferLongLong.java | 40 static float[] testarray; field in class:SubbufferLongLong 46 testarray = new float[1024]; 50 testarray[i] = (float)Math.sin(10*ii*2*Math.PI); 51 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI); 52 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI); 53 testarray[i] *= 0.3; 55 test_byte_array = new byte[testarray.length*2]; 56 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
|
H A D | SubbufferLong.java | 40 static float[] testarray; field in class:SubbufferLong 46 testarray = new float[1024]; 50 testarray[i] = (float)Math.sin(10*ii*2*Math.PI); 51 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI); 52 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI); 53 testarray[i] *= 0.3; 55 test_byte_array = new byte[testarray.length*2]; 56 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
|
H A D | Unload.java | 40 static float[] testarray; field in class:Unload 46 testarray = new float[1024]; 50 testarray[i] = (float)Math.sin(10*ii*2*Math.PI); 51 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI); 52 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI); 53 testarray[i] *= 0.3; 55 test_byte_array = new byte[testarray.length*2]; 56 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
|
H A D | NewModelByteBufferFileLongLong.java | 40 static float[] testarray; field in class:NewModelByteBufferFileLongLong 46 testarray = new float[1024]; 50 testarray[i] = (float)Math.sin(10*ii*2*Math.PI); 51 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI); 52 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI); 53 testarray[i] *= 0.3; 55 test_byte_array = new byte[testarray.length*2]; 56 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
|
H A D | LoadAll.java | 42 static float[] testarray; field in class:LoadAll 48 testarray = new float[1024]; 52 testarray[i] = (float)Math.sin(10*ii*2*Math.PI); 53 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI); 54 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI); 55 testarray[i] *= 0.3; 57 test_byte_array = new byte[testarray.length*2]; 58 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
|
/openjdk10/jdk/test/javax/sound/midi/Gervill/AudioFloatConverter/ |
H A D | ToFloatArray.java | 36 float[] testarray = new float[1024]; 40 testarray[i] = (float)Math.sin(10*ii*2*Math.PI); 41 testarray[i] += (float)Math.sin(1.731 + 2*ii*2*Math.PI); 42 testarray[i] += (float)Math.sin(0.231 + 6.3*ii*2*Math.PI); 43 testarray[i] *= 0.3; 53 byte[] buff = new byte[testarray.length * frm.getFrameSize()]; 54 float[] testarray2 = new float[testarray.length]; 56 conv.toByteArray(testarray, buff); 59 if(Math.abs(testarray[i] - testarray2[i]) > 0.05) 69 byte[] buff = new byte[testarray [all...] |