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

Pre release (code review needed) #1

Merged
merged 3 commits into from
Feb 3, 2024
Merged

Pre release (code review needed) #1

merged 3 commits into from
Feb 3, 2024

Conversation

emurray2
Copy link
Member

This commit fixes AudioKit/AudioKitUI#46 and AudioKit/AudioKitUI#47. Rewrote the MIDITrackView entirely in SwiftUI, used drawingGroup() to render one path layer for the notes to improve drawing efficiency and created MIDITrackViewModel to store note rectangles and track properties for drawing.

This commit fixes AudioKit/AudioKitUI#46 and AudioKit/AudioKitUI#47. Rewrote the MIDITrackView entirely in SwiftUI, used `drawingGroup()` to render one path layer for the notes to improve drawing efficiency and created MIDITrackViewModel to store note rectangles and track properties for drawing.
@emurray2 emurray2 requested a review from aure December 15, 2023 17:48
@emurray2
Copy link
Member Author

Hi @aure @wtholliday @orchetect . Was wondering if any of you wanted to check this out. No rush, but I want to publish this soon somewhere so I can share it with the community.

Sources/MIDITrackView/MIDITrackView.swift Outdated Show resolved Hide resolved
Sources/MIDITrackView/MIDITrackView.swift Outdated Show resolved Hide resolved
MIDITrackView.playground/Contents.swift Show resolved Hide resolved
Change all midiNotes to noteRects and MIDINoteView to MIDINotesView
@emurray2 emurray2 merged commit 5e35a92 into main Feb 3, 2024
@emurray2 emurray2 deleted the stress-testing branch May 16, 2024 18:19
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

Successfully merging this pull request may close these issues.

MIDITrackView does too much work in body
3 participants