{"action":"created","issue":{"url":"https://api.github.com/repos/LMMS/lmms/issues/2204","labels_url":"https://api.github.com/repos/LMMS/lmms/issues/2204/labels{/name}","comments_url":"https://api.github.com/repos/LMMS/lmms/issues/2204/comments","events_url":"https://api.github.com/repos/LMMS/lmms/issues/2204/events","html_url":"https://github.com/LMMS/lmms/issues/2204","id":96765837,"number":2204,"title":"SF2 pitch knob screwed by export","user":{"login":"softrabbit","id":6411463,"avatar_url":"https://avatars.githubusercontent.com/u/6411463?v=3","gravatar_id":"","url":"https://api.github.com/users/softrabbit","html_url":"https://github.com/softrabbit","followers_url":"https://api.github.com/users/softrabbit/followers","following_url":"https://api.github.com/users/softrabbit/following{/other_user}","gists_url":"https://api.github.com/users/softrabbit/gists{/gist_id}","starred_url":"https://api.github.com/users/softrabbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/softrabbit/subscriptions","organizations_url":"https://api.github.com/users/softrabbit/orgs","repos_url":"https://api.github.com/users/softrabbit/repos","events_url":"https://api.github.com/users/softrabbit/events{/privacy}","received_events_url":"https://api.github.com/users/softrabbit/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/LMMS/lmms/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/LMMS/lmms/labels/core","name":"core","color":"2c974f"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-23T09:00:02Z","updated_at":"2015-07-28T10:42:53Z","closed_at":null,"body":"https://lmms.io/forum/viewtopic.php?f=7&t=3471\r\n\r\nConfirmed on master:\r\n- Add Triple oscillator and SF2 player, dial the same pitch bend on both (keep range at 1) and compare sound.\r\n- Put down a few notes and export to file.\r\n- Listen to resulting file, pitches don't match.\r\n- Listen to the project after rendering and the pitch bends won't match until the SF2 pitch range is changed to something else and back.\r\n\r\nInitialization problem?"},"comment":{"url":"https://api.github.com/repos/LMMS/lmms/issues/comments/125552556","html_url":"https://github.com/LMMS/lmms/issues/2204#issuecomment-125552556","issue_url":"https://api.github.com/repos/LMMS/lmms/issues/2204","id":125552556,"user":{"login":"michaelgregorius","id":9293269,"avatar_url":"https://avatars.githubusercontent.com/u/9293269?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelgregorius","html_url":"https://github.com/michaelgregorius","followers_url":"https://api.github.com/users/michaelgregorius/followers","following_url":"https://api.github.com/users/michaelgregorius/following{/other_user}","gists_url":"https://api.github.com/users/michaelgregorius/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelgregorius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelgregorius/subscriptions","organizations_url":"https://api.github.com/users/michaelgregorius/orgs","repos_url":"https://api.github.com/users/michaelgregorius/repos","events_url":"https://api.github.com/users/michaelgregorius/events{/privacy}","received_events_url":"https://api.github.com/users/michaelgregorius/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T10:42:53Z","updated_at":"2015-07-28T10:42:53Z","body":"Some more results here. To reproduce follow these steps (using master):\r\n\r\n1. Start LMMS.\r\n2. Add an Sf2 Player.\r\n3. Load a SoundFont into the player that you have just added.\r\n4. Add two notes which are a half tone apart for the Sf2 Player, e.g one bar of A4 followed by one bar of G#4.\r\n5. Add a pitch automation for the player. e.g. using the available automation lane. The automation should stay at 0 for the A4 and then increase to 100 for the G#4.\r\n6. Play back the two notes in LMMS. Both notes should sound the same now, i.e. play an A4.\r\n7. Render to a file.\r\n8. Listen to the rendered file. The notes that are played are A4 and A#4 now!\r\n9. Play back in LMMS again. The notes sound like A4 and A#4 here as well.\r\n10. Set the automation for the G#4 to 50.\r\n11. Play back in LMMS. Now both notes are at A4 again.\r\n12. Render to file again.\r\n13. The file now also contains two A4 notes.\r\n\r\nSo it seems like before the rendering step a value of 100 means to use the complete pitch range of 1 semitone but during and after rendering a value of 50 indicates to use the complete pitch range.\r\n\r\nThe problem also manifests in the other direction, i.e. when using an A4 followed by an A#4 and then setting the automation to -100 for the A#4. After rendering the value has to be changed to -50 to correct the automation and to make both notes play A4 again.\r\n\r\nI assume that a value of 100 should always indicate to use the full range and that 50 is the incorrect value?"}}