(gp: Uint8Array)
| 418 | }); |
| 419 | |
| 420 | function getInstrumentSet(gp: Uint8Array) { |
| 421 | const zip = new ZipReader(ByteBuffer.fromBuffer(gp), new Settings().importer.maxDecodingBufferSize); |
| 422 | const gpifData = zip.read().find(e => e.fileName === 'score.gpif')!.data; |
| 423 | const xml = new XmlDocument(); |
| 424 | xml.parse(IOHelper.toString(gpifData, '')); |
| 425 | return readFullInstrumentSet(xml); |
| 426 | } |
| 427 | |
| 428 | it('drumkit-roundtrip', async () => { |
| 429 | const inputData = await TestPlatform.loadFile('test-data/exporter/articulations.gp'); |
no test coverage detected