Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to edit track.instrument info (read-only for now) #186

Open
kimchouard opened this issue Nov 13, 2023 · 0 comments
Open

Ability to edit track.instrument info (read-only for now) #186

kimchouard opened this issue Nov 13, 2023 · 0 comments

Comments

@kimchouard
Copy link

kimchouard commented Nov 13, 2023

When creating a track, it's impossible to set a proper instrument value:

const midiData = new Midi();
const track = midiData.addTrack()

// Throws an error
track.instrument = { (new instrument data...) };
CleanShot 2023-11-13 at 11 33 19@2x

Any ways we could make that possible? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant