gogins / csound-ac

A C++ library for algorithmic composition, designed to be used with Csound, with both C++ and Python interfaces.
GNU Lesser General Public License v2.1
6 stars 0 forks source link

Fix or clarify getDuration/setDuration. #28

Closed gogins closed 2 months ago

gogins commented 2 months ago

These functions were not clearly and inconsistently thought out.

The conceptual bug is that the possibility events might have starting times prior to 0 was not taken into account.

Rather than correct existing code, I will add new methods in csound::Score.

gogins commented 2 months ago

I have added new functions, most importantly Score::setPerformanceDuration, which actually does do what I had been thinking setDuration was doing.