milkytracker / MilkyTracker

An FT2 compatible music tracker
http://milkytracker.github.io/
Other
1.69k stars 162 forks source link

Allow specifying a quarter period (0.25) for periods in generator #204

Closed CorvusCorax closed 4 years ago

CorvusCorax commented 4 years ago

Putting a quarter period (0.25) of basic wave forms is useful for autogenerating envelopes for various filters (Amplitude, Phase, Frequence, Flanger) But the UI field only allowed 1 digit after decimal point, making that impossible.

Sensible maximum value is maximum length of sample/2 to fill with waveform at Nyquist frequency.

Maximum length for a sample in the same UI description file is 1024 1024 10 -1 so that would be 1024 1024 5