Closed james-trayford closed 1 year ago
Set up sample-rate branch to address this.
I've made these changes to generator.py and utilities.py, but they are not fully tested yet. When you are back next week, it would be really useful to talk about the best way to handle testing.
https://github.com/james-trayford/strauss/blob/82620a57723121233830f079dcc76ee43349fa00/src/strauss/generator.py#L560-L583
Should update to:
Sonification
sample ratesamps
appropriately to force it to conform to that rate at interpolation timeThis will avoid spurious playback speed changes.
Could also consider migrating to
scipy
WAV reading for consistency with default write routine.