Skip to content

Commit

Permalink
v0.6.17
Browse files Browse the repository at this point in the history
- Bugfix in method `mpmToolbox.gui.audio.TempoMapPanel.retrieveTempoMap()`.
  • Loading branch information
axelberndt committed Aug 16, 2022
1 parent 3037b4f commit 77754bf
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions history.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
### Version History


#### v0.6.17
- Bugfix in method `mpmToolbox.gui.audio.TempoMapPanel.retrieveTempoMap()`.


#### v0.1.16
- Addition to method `mpmToolbox.gui.score.ScoreDisplayPanel.paintComponent()`. Performance squares in the score will now contain a symbol indicating the type of the performance instruction.
- Dragging a note in the piano roll is now only possible when it is an audio alignment. Performance renderings no longer allow note dragging but should be altered by performance instructions.
Expand Down
2 changes: 1 addition & 1 deletion src/mpmToolbox/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* @author Axel Berndt
*/
public class Main {
public static final String version = "0.1.16";
public static final String version = "0.1.17";

public static void main(String[] args) {
// read the application settings from file
Expand Down
3 changes: 3 additions & 0 deletions src/mpmToolbox/gui/audio/TempoMapPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,9 @@ private void retrieveTempoMap() {
this.tempoData.clear(); // clear the list of tempo instruction data from the previous performance
for (int i = 0; i < this.tempoMap.size(); ++i) { // for each tempo instruction in the tempomap
TempoData data = this.tempoMap.getTempoDataOf(i); // get its data
if (data == null) // the tempomap entry could be a style switch or a malicious entry
continue; // go on with the next entry

this.tempoData.add(new KeyValue<>(data, null)); // add it to the tempoData list

// update minimum and maximum tempo values
Expand Down

0 comments on commit 77754bf

Please sign in to comment.