MCPcopy Create free account
hub / github.com/CoderLine/alphaTab / addTrill

Function addTrill

packages/alphatab/test/audio/MidiFileGenerator.test.ts:2036–2042  ·  view source on GitHub ↗
(b: Beat)

Source from the content-addressed store, hash-verified

2034 }
2035
2036 function addTrill(b: Beat) {
2037 if (b.graceType !== GraceType.None) {
2038 return;
2039 }
2040 b.notes[0].trillValue = b.notes[0].realValue + 12;
2041 b.notes[0].trillSpeed = Duration.ThirtySecond;
2042 }
2043
2044 function addTremolo(b: Beat, marks: number) {
2045 if (b.graceType !== GraceType.None) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected