Closed Monospace-V closed 7 months ago
I did some tests, which might provide a better picture. @Monospace-V check if it sounds similar to your problem; I kind of expected something else to happen. PS.: I had to wrap the flac files in an mp4 container so github lets me attach it. Technically that's not allowed, but everything I've tried it with can play them. (except for my browser, it seems)
Not quite what I'm facing. I don't understand what's happening, but your file is going under some odd sort of wavy pitchbend. I used the preset drumsynth>latin>guiro. Check this folder for output files.
wth I can reproduce… but why? It's just a sample, and regular ones don't have this issue.
I'll investigate further
edit: no idea what could be causing this tbh.
Duplicate of #6087, I believe. There's a bunch of magic numbers in the drumsynth code and they should be adapted to fit the sampling rate. (or we could just undo PR #406 and have the code always run at 44100 and resample to whatever LMMS is running at)
Issue confirmed, but it looks like it was fixed in https://github.com/LMMS/lmms/commit/ce722dd6b6cdfa5c7378161ce7d1fa98bfe5fec2 / https://github.com/LMMS/lmms/pull/6610
^Closed as fixed. Please reopen this issue if you can still replicate it on master.
The last similar issue of pitch change with oversampling was for AFP files in general, and closed at the end of 2019. This one is specific to .ds files.
Bug Summary
Oversampling, on export, changes the output pitch of a ds (drumsynth) file note in an AFP instance.
Steps to reproduce
Expected behavior
Both sound more or less the same
Actual behavior
Their pitches are different
Affected LMMS versions
1.3 alpha. (1.2.0 is also affected, but in a different way, and I have reason to believe that specific odd bug was fixed.) 1.3 alpha makes it clear that the problem is a pitch difference.
(Downloaded from the recent PR that uses automation track for MIDI program change events)