Skip to content

Commit 1884539

Browse files
committed
docs: use instrument property instead of metadata tag
1 parent eca40ae commit 1884539

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

packages/alphatab/test/exporter/Gp7Exporter.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,7 @@ describe('Gp7ExporterTest', () => {
184184
});
185185

186186
it('alphatex-drums-to-gp7', () => {
187-
const tex = `\\track "Drums"
188-
\\instrument percussion
187+
const tex = `\\track "Drums" { instrument percussion }
189188
\\clef neutral
190189
\\articulation defaults
191190
\\articulation Kick 36

packages/alphatex/src/metadata/staff/articulation.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,7 @@ export const articulation: MetadataTagDefinition = {
154154
}
155155
],
156156
examples: `
157-
\\track "Drums"
158-
\\instrument percussion
157+
\\track "Drums" { instrument percussion }
159158
\\tempo 120
160159
\\clef neutral
161160
\\articulation defaults

0 commit comments

Comments
 (0)