From faa38111c1d8ae2931f2257a602b9fafb53be264 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Przemys=C5=82aw=20Pluta?= Date: Fri, 17 Apr 2020 20:52:58 +0200 Subject: [PATCH] Rename commands to full names --- modules/midi/src/main/resources/command.mus | 2 +- modules/music-commands/src/main/resources/main.mus | 2 +- modules/synth/src/main/resources/command.mus | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/midi/src/main/resources/command.mus b/modules/midi/src/main/resources/command.mus index 151926b..43a55bb 100644 --- a/modules/midi/src/main/resources/command.mus +++ b/modules/midi/src/main/resources/command.mus @@ -1,3 +1,3 @@ -function i(instrument: int) { +function instrument(instrument: int) { return { instrument -> instrument }; } \ No newline at end of file diff --git a/modules/music-commands/src/main/resources/main.mus b/modules/music-commands/src/main/resources/main.mus index ba0669d..abb3d42 100644 --- a/modules/music-commands/src/main/resources/main.mus +++ b/modules/music-commands/src/main/resources/main.mus @@ -1,4 +1,4 @@ -function v(value: float) { +function velocity(value: float) { return { velocity -> value }; } diff --git a/modules/synth/src/main/resources/command.mus b/modules/synth/src/main/resources/command.mus index 6340a79..6c45eb6 100644 --- a/modules/synth/src/main/resources/command.mus +++ b/modules/synth/src/main/resources/command.mus @@ -1,12 +1,12 @@ -function o(overtones: list) { +function overtones(overtones: list) { return { overtones -> overtones }; } -function e(envelope: map<>) { +function envelope(envelope: map<>) { return { envelope -> envelope }; } -function t(tuning: float) { +function tuning(tuning: float) { return { tuning -> tuning }; }