Skip to content

Commit

Permalink
✨ Return mute and solo properties for each track
Browse files Browse the repository at this point in the history
  • Loading branch information
leolabs committed Nov 10, 2023
1 parent cd7a6e5 commit 5585533
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions midi-script/Track.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ def serialize_track(track):
return {
"id": track_id,
"name": track.name,
"solo": track.solo,
"mute": track.mute,
"color": track.color,
"color_index": track.color_index,
"is_foldable": track.is_foldable,
Expand Down
2 changes: 2 additions & 0 deletions src/ns/track.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ export interface RawTrack {
color_index: number;
is_foldable: boolean;
is_grouped: boolean;
mute: boolean;
solo: boolean;
}

export class Track extends Namespace<
Expand Down

0 comments on commit 5585533

Please sign in to comment.