Melodeon.net Forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the new melodeon.net forum

Pages: [1]   Go Down

Author Topic: MIDI beatstring  (Read 1354 times)

0 Members and 1 Guest are viewing this topic.

Pete Dunk

  • Typo Expert
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3706
MIDI beatstring
« on: September 20, 2018, 11:59:54 AM »

Gena spotted this command in a file I posted a few days ago and I thought I should post a worked example of one of its uses, there may be others but this shows how I use it.
If a piece is in 3/4, abc2midi will automatically assign an emphasis in the first beat as in a viennese waltz Um Pa Pa. What if it's a 3/4 mazurka and you want the emphasis on the second beat? That's where MIDI beatstring comes in, assign the emphasis using p (piano) or f (forte) thus:

%%MIDI beatstring pfp

Try this out.

X:1
T:Mazurka 48
C:Frédéric Paris
M:3/4
L:1/8
%%titlefont Helvetica, 22
%%subtitlefont Helvetica,16
%%partsfont Arial, 20
%%partsbox
%%barnumbers 1
%%MIDI beatstring pfp
Q:1/4=140
K:G
P:A
|:DG|B2 AB cA|c2B2 AG|F2 FG AF|B2G2 DG|A2 AB cA|
c2B2 AG|F2 FG AF|G4::[P:B]AB|c2 cB AG|F2 FE DE|
F2 FG Ac|B2G2 AB|c2 cB AG|F2 FE DE|F2 FG AF|G4:|
« Last Edit: December 21, 2018, 03:39:21 PM by Pete Dunk »
Logged
Squeezing on the Isle of Oxney, UK
Primo (Serenellini) D/G
Isis D/G
Hohner B/E, G/C, C/F, Bb/Eb G/C/F
Liliputs D/G (G scale), C/F, Bb/Eb, Albrecht Custom D/G (G scale)
Pages: [1]   Go Up
 


Melodeon.net - (c) Theo Gibb; Clive Williams 2010. The access and use of this website and forum featuring these terms and conditions constitutes your acceptance of these terms and conditions.
SimplePortal 2.3.5 © 2008-2012, SimplePortal