Open lgmventura opened 1 year ago
At the time we made the system, no playback devices were supporting pitch shift -- this is why we went with pitch bend. Microtonal shifts would have been much easier. Are Windows/Mac software now supporting it in playback? Note that Ubuntu is not a free-tier supported system.
If this happens (which I'm not committing to), we would need to do it as a keyword argument to .write('midi', microtonesAsPitchShift=True)
with a different output system, since obviously we cannot output both microtone shifts and pitch bends, and many users will still have devices that only support pitch bend.
@mscuthbert What do you mean with "Ubuntu is not a free-tier supported system."?
@mscuthbert What do you mean with "Ubuntu is not a free-tier supported system."?
Fixes for Ubuntu are only implemented by the core team if support is paid for. They will be merged if well-documented and well-tested. But in general, music21 only should be counted on by devs to work on Windows and MacOS. I like it when it works elsewhere (I use it on Ubuntu daily) but it's too hard to debug every possible configuration there. See the FAQ.
music21 version
8.1.0
Problem summary
Not exporting pitch shift in cents within a MidiEvent. It is possible to set a class variable called
centShift
, but it has no effect when saving the MIDI file. This is different from the pitch bend, which is a MIDI channel message, affecting all notes from the channel simultaneously.Steps to reproduce Adapting the test function
testBasicExport
to include cents:Expected vs. actual behavior
I expected the midi
note_on
event in the MIDI file to have a microtonal offset in pitch. Current behaviour: no pitch shift in cents being exported.More information
OS: Ubuntu 22.04 Playback with VLC + fluid plugin.