Skip to content

Commit

Permalink
umpPnPressure()
Browse files Browse the repository at this point in the history
  • Loading branch information
jazz-soft committed Dec 18, 2023
1 parent 793009f commit a68e4a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions javascript/JZZ.js
Original file line number Diff line number Diff line change
Expand Up @@ -3111,6 +3111,7 @@
return [0x40 + _4b(g), 0xf0 + _ch(c), _7bn(n), _8b(x), 0, 0, 0, 0];
}
};
_helperGC.umpPnPressure = _helperGC.umpAftertouch;
var _helperGCX = {
umpCustomText: function(g, c, d, b, s, t) {
var i;
Expand Down
2 changes: 1 addition & 1 deletion minified/JZZ.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions test/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -1041,6 +1041,7 @@ describe('UMP messages', function() {
});
it('umpAftertouch', function() {
assert.equal(JZZ.UMP.umpAftertouch(1, 2, 3, 0xf0f0f0f0).toString(), '41a20300 f0f0f0f0 -- Poly Pressure');
assert.equal(JZZ.UMP.umpPnPressure(1, 2, 3, 0xf0f0f0f0).toString(), '41a20300 f0f0f0f0 -- Poly Pressure');
assert.throws(function() { JZZ.UMP.umpAftertouch(1, 2, 3, -1); });
});
it('umpPressure', function() {
Expand Down

0 comments on commit a68e4a1

Please sign in to comment.