RolandJansen / intermix

Typescript/Javascript framework for building sequencer-based audio apps
GNU Lesser General Public License v3.0
6 stars 0 forks source link

Part.addEvent: add an error msg if no position given #67

Closed RolandJansen closed 4 years ago

RolandJansen commented 8 years ago

When you add an event to a part without a position statement, it throws an error "Position out of bounds" (or similar). I would expect something like "Parameter position missing".

RolandJansen commented 4 years ago

since v0.5 it is impossible to add an event without a position. These things are divided into two api calls:

  1. make a position in the part the "active" position
  2. add an event

If no position is given, the event will be inserted into the currently active position in the part.