8000 Significance of parameter ordering in abc2midi · Issue #8 · sshlien/abcmidi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Significance of parameter ordering in abc2midi #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our < 831E a class="Link--inTextBlock" href="https://docs.github.com/terms" target="_blank">terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
markblinkhorn opened this issue Mar 22, 2024 · 0 comments
Open

Significance of parameter ordering in abc2midi #8

markblinkhorn opened this issue Mar 22, 2024 · 0 comments

Comments

@markblinkhorn
Copy link

I originally posted this issue on the EasyABC github page at jwdj/EasyABC#86 along with a workaround for the EasyABC Python source code.

I note that the issue still persists in the current relaese of abc2midi. I shall precis the issue here.

Using the following trivial example ABC code:

X:55
%%MIDI control 7 96
%%MIDI control 10 64
%%MIDI program 0
%%rightmargin 0.8cm
%%leftmargin 0.8cm
%%partsbox true
%%MIDI stressmodel 2
T:Barfly
M:6/8
R:jig
L:1/8
Q:1/4=120
K:G
%%MIDI control 7 96
BAGGAB | BAGGAB | BAGGAB | BAGGAB | BAGGAB | BAGGAB |

The following abc2midi command does not work as expected (BarFly mode is not applied):

C:\Users\markb.SMBCONSULT\EasyABC\bin>abc2midi.exe temp.abc -o fred.midi -BF -TT 440
afreq = 440.000000 semitone_shift = 0.000000
bend = 8192
4.91 March 02 2024 abc2midi
writing MIDI file fred.midi
**warning stressmodel is ignored without -BF runtime option

The following command does work (BarFly mode is applied and the 'swing' is audible in the output:

C:\Users\markb.SMBCONSULT\EasyABC\bin>abc2midi.exe temp.abc -o fred.midi -TT 440 -BF
afreq = 440.000000 semitone_shift = 0.000000
bend = 8192
4.91 March 02 2024 abc2midi
writing MIDI file fred.midi

The -BF parameter is ignored unless it is the final parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0