From ea71f7963b31643717980f8f5989ec6ac009eed6 Mon Sep 17 00:00:00 2001 From: Seymour Shlien Date: Tue, 10 Jan 2023 13:26:52 -0500 Subject: [PATCH] 2023.01.10 --- VERSION | 2 +- doc/CHANGES | 4 ++++ doc/readme.txt | 2 +- store.c | 15 ++++++++++++++- 4 files changed, 20 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 95fd6a3..3b898b6 100644 --- a/VERSION +++ b/VERSION @@ -1,2 +1,2 @@ -January 08 2023 +January 10 2023 diff --git a/doc/CHANGES b/doc/CHANGES index dca3e72..835cb00 100644 --- a/doc/CHANGES +++ b/doc/CHANGES @@ -15031,5 +15031,9 @@ called from abc2abc and return 0. The function parseother(), which is called from parsevoice() or parsekey(), will output all other directives in the K: or V: command. +January 10 2023 + +abcmidi: in event_handle_instruction(s), added code to recognize +!ped(! and !ped)! in addition to !ped! and !ped-up! diff --git a/doc/readme.txt b/doc/readme.txt index 1dae5da..6f20456 100644 --- a/doc/readme.txt +++ b/doc/readme.txt @@ -1,7 +1,7 @@ abcMIDI : abc <-> MIDI conversion utilities midi2abc version 3.58 December 09 2022 -abc2midi version 4.82 January 06 2023 +abc2midi version 4.83 January 06 2023 abc2abc version 2.19 January 08 2023 yaps version 1.92 January 06 2023 abcmatch version 1.82 June 14 2022 diff --git a/store.c b/store.c index 7d11f0e..b1913a0 100644 --- a/store.c +++ b/store.c @@ -186,7 +186,7 @@ int main() */ -#define VERSION "4.82 January 06 2023 abc2midi" +#define VERSION "4.83 January 10 2023 abc2midi" /* enables reading V: indication in header */ #define XTEN1 1 @@ -4694,6 +4694,13 @@ if (nofnop == 0) { done = 1; }; +/* [SS] 2023-01-10 */ + if (strcmp(p, "ped(") == 0) { + addfeature(PEDAL_ON, 0, 0, 0); + done = 1; + }; + + /* [SS] 2011-10-19 [SS] 2018-05-02*/ if (strcmp(p, "ped-end") == 0) { addfeature(PEDAL_OFF, 0, 0, 0); @@ -4710,6 +4717,12 @@ if (nofnop == 0) { done = 1; }; +/* [SS] 2023-01-10 */ + if (strcmp(p, "ped)") == 0) { + addfeature(PEDAL_OFF, 0, 0, 0); + done = 1; + }; + if (strcmp(s, "breath") == 0) { decorators_passback[BREATH] =1; done = 1;