Skip to content

Issues when attempting to resample 32Khz sample to 22.05khz #75

Discussion options

You must be logged in to vote

Hi @Ewan-Stacey-BTO-IS ,

I have used the file that you had shared and Polyphase Resampling is working as expected.

Sharing the properties here:

Source Signal Properties: 
Sample Rate: 32000
Channels: 1
Number of Points: 128000
Desired Signal Properties: 
Sample Rate: 22050
Channels: 1
Number of Points: 88200

Which if you calculate: (22050/32000) * 128000 is 88200

Also attaching the data (input and output) as a ZIP file here.
data.zip

Finally, the sample code I used is here:

package org.example;

import com.github.psambit9791.jdsp.io.WAV;
import com.github.psambit9791.jdsp.misc.UtilMethods;
import com.github.psambit9791.jdsp.signal.Resample;
import com.github.psambit9791.wavfile.WavFileE…

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
11 replies
@Ewan-Stacey-BTO-IS
Comment options

@psambit9791
Comment options

@Ewan-Stacey-BTO-IS
Comment options

@Ewan-Stacey-BTO-IS
Comment options

@psambit9791
Comment options

Comment options

You must be logged in to vote
1 reply
@Ewan-Stacey-BTO-IS
Comment options

Answer selected by Ewan-Stacey-BTO-IS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants