Skip to content

Commit

Permalink
v0.1.9
Browse files Browse the repository at this point in the history
- Added a MIDI Master Volume slider to the SyncPlayer. It is relevant when audio recording and MIDI performance are played synchronously and the MIDI part is too loud. However, Master Volume Control is a MIDI SysEx message and not all devices support it. MPM Toolbox's default synthesizer, Gervill, fortunately does.
- Bugfix in method `mpmToolbox.gui.mpmEditingTools.CommentEditor.makeContentPanel()`. It was unable to query the font metrics for proper initialization.
- All editing functionality in classes `mpmToolbox.gui.mpmEditingTools.MpmEditingTools` and `mpmToolbox.gui.mpmEditingTools.PlaceAndCreateContextMenu` has been extended, so the piano roll visualization in the audio frame (class `mpmToolbox.gui.audio.AudioDocumentData`) is kept up to date.
- Audio-to-MSM alignments are initially scaled to fit the length of the audio. however, whenever the user edits the alignment, the initial scaling gets lost. Therefore, the last sounding note is now set fixed (pinned to its position after scaling).
- The notes in the piano roll are displayed with a slight alpha fade so that onsets are easier to see when subsequent notes of the same pitch are displayed.
- Enhancement in `mpmToolbox.projectData.alignment.Alignment`.
  - Method `updateTiming()` has been simplified and code was moved to method `updateTimingTransformation()` as this functionality is also required aside from rendering.
  - The last step in method `updateTimingTransformation()` is a rather dull way to handle the timing after the last fixed note. The enhancement will now continue with the tempo from before the last fixed note.
  - New functionality in class `mpmToolbox.gui.audio.AudioDocumentData` and `mpmToolbox.projectData.alignment.Alignment`, resp., to transform an alignment to an `meico.mpm.elements.Performance` and vice versa.
  - In the process of the aforementioned addition, corresponding new functionality has been added via methods `exportTiming()` and `exportArticulation`. These transform the timing data of the alignment to an MPM tempo, asynchrony and articulation map.
  • Loading branch information
axelberndt committed Feb 4, 2022
1 parent 8b5cdaf commit 8eb3f85
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/mpmToolbox/projectData/alignment/PianoRoll.java
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ private void add(int x, int y, float alphaFade, @NotNull Note note) {
* @param xEnd
* @param y
* @param note
* @return
*/
protected void add(int xStart, int xEnd, int y, Note note) {
float duration = xEnd - xStart;
Expand Down

0 comments on commit 8eb3f85

Please sign in to comment.