Skip to content

Commit

Permalink
alias frac for fraction
Browse files Browse the repository at this point in the history
  • Loading branch information
emicklei committed Sep 9, 2024
1 parent 8cfa538 commit fc83663
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dsl/eval_funcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ The first parameter controls the fraction of the note, e.g. 1 = whole, 2 = half,
Fraction can also be an exact float value between 0 and 1.
`,
Prefix: "fra",
Alias: "frac",
IsComposer: true,
Template: `fraction(${1:object},${2:object})`,
Samples: `fraction(8,sequence('e f')) // => 8E 8F , shorten the notes from quarter to eight`,
Expand Down

0 comments on commit fc83663

Please sign in to comment.