If the resolution was 1 and strength was 0.5, then the value 0.6 would become 0.8. If it is 0, then value of this number will be left unchanged.Į.g. If strength is 1, then this function will return the nearest resolution. strengthĭetermines the degree to which this number will be changed. This should be a value between 0 and resolution. if you chose a resolution value of 0.5 and a margin of 0.01, then the values 0.501 and 0.499 would be left as they are, but the value 0.502 would become 0.5. Values that are within ± margin from a multiple of resolution will be left as they are.Į.g. if you chose 1, then all values would be rounded to the nearest integer. Round this value to a multiple of resolution. In particular it allows a certain sloppiness close to the resolution value. The MIDI standard only says that the note number 60 is a C, it does not say of which octave. By using margin and strength you can control which values will be rounded, and by how much.Ĭonceptually this is the equivalent of MIDI quantization in a DAW/MIDI sequencer. There is no defined standard or convention. Rounds the value to a multiple of resolution. Sinus Cardinal (Sinc) and Hyperbolic Sinus Cardinal Functions.lag lag2 lag3 lagud lag2ud lag3ud slew varlag.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |