LMMS / lmms

Cross-platform music production software
https://lmms.io
GNU General Public License v2.0
7.96k stars 993 forks source link

Pitch knob broken tuning when using Zynaddsubfx LMMS 1.2.1 #5375

Open Qtamo opened 4 years ago

Qtamo commented 4 years ago

This bug exists in LMMS 1.2.1 but NOT in LMMS 1.2 rc8 (if I remember correctly the bug existed in 1.2.0 stable as well).

How to reproduce: -Open LMMS 1.2.1 -Choose the ZynaddsubFX preset Organ -> Organ 1 for example (the problem will be easier to hear than with the default sine wave) -Clone your instrument and detune one of your instruments using the pitch knob to -50 cents (which is half a semitone). Now you can use quarter notes! -Make the microtonal chord that you see in the pictures attached -Play it, it will sound detuned -Save the project, close LMMS 1.2.1, open LMMS 1.2.0-rc8 and play the same chord again. This time it will sound different (and it will sound how it should sound)!

The difference will become more obvious if you start making a longer microtonal melody in this way especially if it has some chords in it.

Also if the detuned note is played on it's own it will sound different in the different LMMS versions.

My OS is Linux mint

dissonant tuning bug 1 dissonant tuning bug 2

Qtamo commented 2 years ago

https://user-images.githubusercontent.com/47992869/176217228-01d09ded-a34e-4415-b9d2-23ebbece8ec3.mp4

https://user-images.githubusercontent.com/47992869/176217261-d12f5e4c-4122-4aad-8fd6-432172326563.mp4

I added the music files for the intro of a project before and after it was broken (working one is from 1.2.0-rc8 and broken one is from 1.3.0). I think this issue is hard to explain so this is here for context, hopefully the tuning bug is easily audible. I had to change the names of the files from mp3 to mp4 because github doesn't support uploading mp3.

zonkmachine commented 4 months ago

@Qtamo To me the sample named arabic.stuff.intro.130.BROKEN.mp4 sounds like correct 50 cent tuning.

-Make the microtonal chord that you see in the pictures attached

Can you attached a project instead?

PS. In the latest development version we have support for microtuning and opening .scala files. Unfortunately this doesn't work with zynaddsubfx yet.

zonkmachine commented 4 months ago

Example quarter tone scale using two zasfx, one detuned +50 cents. (remove .txt from the title) quarter tones.mmp.txt