This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
vividshaper_reference_manual [2024/03/28 09:13] – lars | vividshaper_reference_manual [2024/03/30 10:02] (current) – lars | ||
---|---|---|---|
Line 63: | Line 63: | ||
-- Output information | -- Output information | ||
- | wave[x] | + | wave[x] |
panning[x] | panning[x] | ||
note[x] | note[x] | ||
vol[x] | vol[x] | ||
+ | ring[x]=y | ||
+ | sync[x]=y | ||
gvol -- Global volume, default = 1. Multiplied on the output to amplify or limit the audio. | gvol -- Global volume, default = 1. Multiplied on the output to amplify or limit the audio. | ||
updatefreq | updatefreq | ||
Line 97: | Line 99: | ||
wave[x] = VSWaveFold(wave[x], | wave[x] = VSWaveFold(wave[x], | ||
wave[x] = VSNorm(wave[x], | wave[x] = VSNorm(wave[x], | ||
+ | wave[x] = VSAbs(wave[x]) | ||
-- Wave math operators - arguments can be either arrays or scalar factors | -- Wave math operators - arguments can be either arrays or scalar factors | ||
Line 113: | Line 116: | ||
lfo = VSLFOSquare(frequency, | lfo = VSLFOSquare(frequency, | ||
+ | -- Helper function to remove negative values | ||
+ | output = VSRect(input) | ||
+ | wave[x] = VSRect(wave[x]) -- Input is a wave array | ||
-- Envelopes | -- Envelopes |