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

Method getTuningForText

packages/alphatab/src/model/ModelUtils.ts:169–175  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

167 }
168
169 public static getTuningForText(str: string): number {
170 const result: TuningParseResult | null = ModelUtils.parseTuning(str);
171 if (!result) {
172 return -1;
173 }
174 return result.realValue;
175 }
176
177 public static getToneForText(note: string): TuningParseResultTone | null {
178 const noteName = note.substring(0, 1);

Callers 2

_parseStaffTuningMethod · 0.80

Calls 1

parseTuningMethod · 0.80

Tested by

no test coverage detected