musikinformatik / SuperDirt

Tidal Audio Engine
GNU General Public License v2.0
520 stars 74 forks source link

use symbol as default n in event #160

Closed telephon closed 4 years ago

telephon commented 4 years ago

Because Symbols are transparent to math operations (this fact is used in sclang a lot) we can use a symbol as a default for sample number and thereby know if any frequency related parameter (note, midinote, or freq) was explicitly set. This helps in midi event to detect whether a note on is intended or not.

This changes two behaviors: