MuseScore Plugins 3.3
Plugins API for MuseScore
Loading...
Searching...
No Matches
StringData Class Reference

#include <instrument.h>

Inheritance diagram for StringData:
Collaboration diagram for StringData:

Properties

QVariantList strings
 List of strings in this instrument.
int frets
 Number of frets in this instrument.

Detailed Description

Since
MuseScore 3.5

Property Documentation

◆ strings

QVariantList strings
read

List of strings in this instrument.

Returns
A list of objects representing strings. Each object has the following fields:
  • pitch - pitch of this string on fret 0 (integer).
  • open - if true, this string is not fretted and always open. If false, the string is fretted. For example, for classical guitar all strings are fretted, and for them open value will always be false.

The documentation for this class was generated from the following file: