Searched refs:p_pitch (Results 1 - 7 of 7) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DSoftLinearResampler2.java58 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 DInterpolate.java71 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 DInterpolate.java71 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 DInterpolate.java71 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 DInterpolate.java71 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 DInterpolate.java71 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 DInterpolate.java71 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);

Completed in 134 milliseconds