/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | SoftLinearResampler2.java | 58 int p_pitch = (int) (pitch * (1 << 15)); 61 pitch = p_pitch * (1f / (1 << 15)); 71 int p_mod = p_ix_len % p_pitch; 73 p_ix_len += p_pitch - p_mod; 74 int ox_end2 = ox + p_ix_len / p_pitch; 83 p_ix += p_pitch; 98 p_ix += p_pitch; 100 p_pitch += p_pitchstep;
|
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftCubicResampler/ |
H A D | Interpolate.java | 71 private static float testResampler(SoftAbstractResampler resampler, float p_pitch, float p_pitch2) argument 79 float pitchstep = (p_pitch2 - p_pitch)/1024f; 82 resampler.interpolate(testbuffer, new float[] {pads}, testbuffer.length - pads, new float[] {p_pitch}, pitchstep, testbuffer2, out_offset2, testbuffer2.length); 83 perfectInterpolation(new float[] {pads}, testbuffer.length - pads, new float[] {p_pitch}, pitchstep, testbuffer3, out_offset3, testbuffer3.length);
|
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftLanczosResampler/ |
H A D | Interpolate.java | 71 private static float testResampler(SoftAbstractResampler resampler, float p_pitch, float p_pitch2) argument 79 float pitchstep = (p_pitch2 - p_pitch)/1024f; 82 resampler.interpolate(testbuffer, new float[] {pads}, testbuffer.length - pads, new float[] {p_pitch}, pitchstep, testbuffer2, out_offset2, testbuffer2.length); 83 perfectInterpolation(new float[] {pads}, testbuffer.length - pads, new float[] {p_pitch}, pitchstep, testbuffer3, out_offset3, testbuffer3.length);
|
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftLinearResampler/ |
H A D | Interpolate.java | 71 private static float testResampler(SoftAbstractResampler resampler, float p_pitch, float p_pitch2) argument 79 float pitchstep = (p_pitch2 - p_pitch)/1024f; 82 resampler.interpolate(testbuffer, new float[] {pads}, testbuffer.length - pads, new float[] {p_pitch}, pitchstep, testbuffer2, out_offset2, testbuffer2.length); 83 perfectInterpolation(new float[] {pads}, testbuffer.length - pads, new float[] {p_pitch}, pitchstep, testbuffer3, out_offset3, testbuffer3.length);
|
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftLinearResampler2/ |
H A D | Interpolate.java | 71 private static float testResampler(SoftAbstractResampler resampler, float p_pitch, float p_pitch2) argument 79 float pitchstep = (p_pitch2 - p_pitch)/1024f; 82 resampler.interpolate(testbuffer, new float[] {pads}, testbuffer.length - pads, new float[] {p_pitch}, pitchstep, testbuffer2, out_offset2, testbuffer2.length); 83 perfectInterpolation(new float[] {pads}, testbuffer.length - pads, new float[] {p_pitch}, pitchstep, testbuffer3, out_offset3, testbuffer3.length);
|
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftPointResampler/ |
H A D | Interpolate.java | 71 private static float testResampler(SoftAbstractResampler resampler, float p_pitch, float p_pitch2) argument 79 float pitchstep = (p_pitch2 - p_pitch)/1024f; 82 resampler.interpolate(testbuffer, new float[] {pads}, testbuffer.length - pads, new float[] {p_pitch}, pitchstep, testbuffer2, out_offset2, testbuffer2.length); 83 perfectInterpolation(new float[] {pads}, testbuffer.length - pads, new float[] {p_pitch}, pitchstep, testbuffer3, out_offset3, testbuffer3.length);
|
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftSincResampler/ |
H A D | Interpolate.java | 71 private static float testResampler(SoftAbstractResampler resampler, float p_pitch, float p_pitch2) argument 79 float pitchstep = (p_pitch2 - p_pitch)/1024f; 82 resampler.interpolate(testbuffer, new float[] {pads}, testbuffer.length - pads, new float[] {p_pitch}, pitchstep, testbuffer2, out_offset2, testbuffer2.length); 83 perfectInterpolation(new float[] {pads}, testbuffer.length - pads, new float[] {p_pitch}, pitchstep, testbuffer3, out_offset3, testbuffer3.length);
|