This would effectively expand the user base for Audulus to more than just a core of people coming from a programming/DSP perspective. Pow(x,y) x^y exp(x) e^x ln(x) Natural logarithm log2(x) Base-2 logarithm log10(x) Base-10 logarithm exp2(x) 2^x sqrt(x) square rootĪbs(x) absolute value floor(x) rounds down to the nearest integer ceil(x) rounds up to the nearest integer fract(x) x - floor(x) mod(x,y) remainder of x / y min(x,y) returns the lesser of x and y max(x,y) returns the greater of x and y clamp(x,a,b) restricts x to the interval step(x, edge) 1 if x > edge, otherwise 0. Hopefully Audulus 4 will incorporate some of these ideas so that Audulus developers can create patches that are more easily integrated into setups in much the same way that modules are created for VCV Rack. Syntax / Semantics sin(angle) sine cos(angle) cosine tan(angle) tangent asin(x) arc sine acos(x) arc cosing atan(x) arc tangent Trigonometric functions (angles are in radians) 1 if true, 0 if false x ? a : b conditional. 1 if true, 0 if false x = y less than or equal, greater than or equal. Syntax / Semantics (x) parenthetical grouping -x negation x^y exponentiation x * y, x / y multiplication, division x + y, x - y addition, subtraction x y less, greater. The Math Expression Node includes the following operators and functions: To edit the expression, use "Set Expression" from the node's context menu. It has a variety of uses, including: unit conversion, control-signal mapping, wave-shaping or building custom oscillators.įor example, to convert from MIDI note numbers to Hz, use (440 / 32) * pow(2, (x - 9) / 12). The node creates an input for each variable and a single output for the result of the expression. The Math Expression Node ( Expr) allows the entry of a textual mathematical expression, like 2*x + y + z. The shape input controls the pulse width of the square wave, and the de-phasing of the sawtooth wave. To see this in action, hook another low-frequency oscillator to the sync input and watch the waveform node. The sync input will reset the oscillator whenever it crosses 0. The amp input controls the oscillator amplitude. Inputs The Hz input controls the pitch of the oscillator. To see what these waveforms look like, set the oscillator's pitch input to 1 and attach the out output to a #Waveform node. This sounds especially nice when several are mixed together, all detuned slightly. sawtooth - A bright-sounding waveform.However the harmonics are much louder, so the sound is brighter. ⢠square - The Square waveform has a hollow character like the triangle, due to only odd harmonics being present. NSUbiquitousContainers NSUbiquitousContainerIsDocumentScopePublic.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |