Skip to content

EN: Improved audio resampling method#6605

Merged
mdcutone merged 1 commit intopsychopy:devfrom
mdcutone:dev-nf-text-to-speech
Jun 21, 2024
Merged

EN: Improved audio resampling method#6605
mdcutone merged 1 commit intopsychopy:devfrom
mdcutone:dev-nf-text-to-speech

Conversation

@mdcutone
Copy link
Member

This PR improves the audio resampling method (AudioClip.resample()) to support additional resampling libraries, removing the hard dependency on librosa. The default method is a slow 'fft' based method used by scipy.siginal.resample which should be adequate in most cases. Added some documentation to the method to help people make use of it.

@mdcutone mdcutone merged commit f0900b3 into psychopy:dev Jun 21, 2024
TEParsons pushed a commit to TEParsons/psychopy that referenced this pull request Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant