AudioKit / AudioKitEX

C-backed AudioKit DSP
MIT License
48 stars 35 forks source link

Sequencer check trackbounds notes #13

Closed emurray2 closed 2 years ago

emurray2 commented 2 years ago

Changes:

  1. Add totalDuration getter in Sequence.swift
  2. Update totalDuration every time a new note event is added in Sequence.swift
  3. Add property observer to sequence in SequencerTrack.swift
  4. Add warnings and change the track length if the totalDuration exceeds the bounds of the track
  5. Add testNoteBounds() with passing MD5
  6. Update Package.resolved to current AK
  7. Add totalDuration to NoteEventSequence initializer
  8. Change testAdd() to use new initializer

This should help with #10 and #12