Skip to content

Commit

Permalink
change chord separator and pattern index separator
Browse files Browse the repository at this point in the history
- change both separators from ',' to '/'
- fixes #83
  • Loading branch information
truj committed Dec 9, 2023
1 parent 72a1cb9 commit 6271755
Show file tree
Hide file tree
Showing 68 changed files with 1,273 additions and 1,256 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ This example uses a guitar picking pattern with several chords. It produces the
// Define the picking pattern (Travis picking)
// The numbers inside the pattern aren't channel numbers but note indices
PATTERN travis
: 0,3:4 1:8 2 0 3 1 2
: 0/3:4 1:8 2 0 3 1 2
END

// play the chords using this pattern
Expand Down Expand Up @@ -266,7 +266,7 @@ It produces the first beats of "Another one bites the Dust":
// p = 9 = percussion channel
// hhc = hi-hat-closed, bd1 = base-drum-1, sd1 = snare-drum-1
FUNCTION drums
p: (v=127) hhc,bd1:8 (v=80) hhc (v=127) hhc,bd1,sd1 (v=80) hhc
p: (v=127) hhc/bd1:8 (v=80) hhc (v=127) hhc/bd1/sd1 (v=80) hhc
END

The resulting sequence looks like this:
Expand Down
4 changes: 2 additions & 2 deletions examples/london_bridge-lowlevel.midica
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ END
///////////////////////////

// define some guitar chords
CHORD amaj a-, e, a, c#+
CHORD dmaj d, a, d+, f#+
CHORD amaj a- / e / a / c#+
CHORD dmaj d / a / d+ / f#+

// define a picking pattern for both chords
PATTERN picking_pattern
Expand Down
4 changes: 2 additions & 2 deletions examples/london_bridge.midica
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ END
///////////////////////////

// define some guitar chords
CHORD amaj a-2, e-, a-, c#
CHORD dmaj d-, a-, d, f#
CHORD amaj a-2 / e- / a- / c#
CHORD dmaj d- / a- / d / f#

// define a picking pattern for both chords
PATTERN pick
Expand Down
Loading

0 comments on commit 6271755

Please sign in to comment.