Searched refs:wavetable (Results 1 - 13 of 13) sorted by relevance
/openjdk7/jdk/test/javax/sound/midi/Gervill/ModelByteBufferWavetable/ |
H A D | GetAttenuation.java | 87 ModelByteBufferWavetable wavetable = new ModelByteBufferWavetable(buffer,format); 88 wavetable.setAttenuation(10f); 89 if(wavetable.getAttenuation() != 10f) 90 throw new RuntimeException("wavetable.getAttenuation() not 10!"); 91 wavetable.setAttenuation(20f); 92 if(wavetable.getAttenuation() != 20f) 93 throw new RuntimeException("wavetable.getAttenuation() not 20!");
|
H A D | GetLoopLength.java | 87 ModelByteBufferWavetable wavetable = new ModelByteBufferWavetable(buffer,format); 88 wavetable.setLoopLength(10f); 89 if(wavetable.getLoopLength() != 10f) 90 throw new RuntimeException("wavetable.getLoopLength() not 10!"); 91 wavetable.setLoopLength(20f); 92 if(wavetable.getLoopLength() != 20f) 93 throw new RuntimeException("wavetable.getLoopLength() not 20!");
|
H A D | GetLoopStart.java | 87 ModelByteBufferWavetable wavetable = new ModelByteBufferWavetable(buffer,format); 88 wavetable.setLoopStart(10f); 89 if(wavetable.getLoopStart() != 10f) 90 throw new RuntimeException("wavetable.getLoopStart() not 10!"); 91 wavetable.setLoopStart(20f); 92 if(wavetable.getLoopStart() != 20f) 93 throw new RuntimeException("wavetable.getLoopStart() not 20!");
|
H A D | GetPitchCorrection.java | 87 ModelByteBufferWavetable wavetable = new ModelByteBufferWavetable(buffer,format); 88 wavetable.setPitchcorrection(10f); 89 if(wavetable.getPitchcorrection() != 10f) 90 throw new RuntimeException("wavetable.getPitchcorrection() not 10!"); 91 wavetable.setPitchcorrection(20f); 92 if(wavetable.getPitchcorrection() != 20f) 93 throw new RuntimeException("wavetable.getPitchcorrection() not 20!");
|
H A D | SetLoopType.java | 87 ModelByteBufferWavetable wavetable = new ModelByteBufferWavetable(buffer,format); 88 wavetable.setLoopType(1); 89 if(wavetable.getLoopType() != 1) 90 throw new RuntimeException("wavetable.getLoopType() not 1!"); 91 wavetable.setLoopType(2); 92 if(wavetable.getLoopType() != 2) 93 throw new RuntimeException("wavetable.getLoopType() not 2!");
|
H A D | NewModelByteBufferWavetableModelByteBufferFloat.java | 87 ModelByteBufferWavetable wavetable = new ModelByteBufferWavetable(buffer,format,10f); 88 if(wavetable.getBuffer() != buffer) 89 throw new RuntimeException("wavetable.getBuffer() incorrect!"); 90 if(!wavetable.getFormat().matches(format)) 91 throw new RuntimeException("wavetable.getFormat() incorrect!"); 92 if(wavetable.getPitchcorrection() != 10f) 93 throw new RuntimeException("wavetable.getPitchcorrection() not 10!");
|
H A D | Set8BitExtensionBuffer.java | 99 ModelByteBufferWavetable wavetable = new ModelByteBufferWavetable(buffer16_8,format,10f); 102 wavetable.openStream().read(f1); 103 wavetable.set8BitExtensionBuffer(buffer8); 104 if(wavetable.get8BitExtensionBuffer() != buffer8) 105 throw new RuntimeException("wavetable.get8BitExtensionBuffer() incorrect!"); 106 wavetable.openStream().read(f2);
|
H A D | NewModelByteBufferWavetableModelByteBuffer.java | 87 ModelByteBufferWavetable wavetable = new ModelByteBufferWavetable(buffer_wave); 88 if(wavetable.getBuffer() != buffer_wave) 89 throw new RuntimeException("wavetable.getBuffer() incorrect!"); 90 if(!wavetable.getFormat().matches(format)) 91 throw new RuntimeException("wavetable.getFormat() incorrect!");
|
H A D | NewModelByteBufferWavetableModelByteBufferAudioFormat.java | 87 ModelByteBufferWavetable wavetable = new ModelByteBufferWavetable(buffer,format); 88 if(wavetable.getBuffer() != buffer) 89 throw new RuntimeException("wavetable.getBuffer() incorrect!"); 90 if(wavetable.getFormat() != format) 91 throw new RuntimeException("wavetable.getFormat() incorrect!");
|
H A D | NewModelByteBufferWavetableModelByteBufferAudioFormatFloat.java | 87 ModelByteBufferWavetable wavetable = new ModelByteBufferWavetable(buffer,format); 88 if(wavetable.getBuffer() != buffer) 89 throw new RuntimeException("wavetable.getBuffer() incorrect!"); 90 if(!wavetable.getFormat().matches(format)) 91 throw new RuntimeException("wavetable.getFormat() incorrect!");
|
H A D | GetChannels.java | 89 ModelByteBufferWavetable wavetable = new ModelByteBufferWavetable(buffer,format1,10f); 90 if(wavetable.getChannels() != 1) 91 throw new RuntimeException("wavetable.getChannels() not 1!"); 92 wavetable = new ModelByteBufferWavetable(buffer,format2,10f); 93 if(wavetable.getChannels() != 2) 94 throw new RuntimeException("wavetable.getChannels() not 2!");
|
H A D | OpenStream.java | 114 public static void testOpenStream(ModelByteBufferWavetable wavetable) argument 116 AudioFloatInputStream ais = wavetable.openStream(); 117 long frames = wavetable.getBuffer().capacity() 118 / wavetable.getFormat().getFrameSize();
|
H A D | Open.java | 87 ModelByteBufferWavetable wavetable = new ModelByteBufferWavetable(buffer,format); 88 if(wavetable.open(44100) != null) 89 throw new RuntimeException("wavetable.open(44100) doesn't return null!");
|
Completed in 35 milliseconds