MiWarps:
Filter:
mi-UGens/Classes (extension) | Undocumented classes

MiWarps
ExtensionExtension

a meta modulator

Description

This meta modulator is designed to blend and combine two audio signals in various ways by cross-modulation, waveshaping or vocoding. The unit is based on 'Warps' eurorack module https://mutable-instruments.net/modules/warps/. Original code by Émilie Gillet.

NOTE: For a full description please consult the original manual https://mutable-instruments.net/modules/warps/manual. ​

Class Methods

.ar

Arguments:

carrier

Carrier signal input (or 0, if none) ​

modulator

Modulator signal input (or 0, if none) ​

lev1

Sets carrier level and saturation (0..1) - doesn't affect the internal oscillator ​

lev2

Sets modulator level and saturation (0..1) ​

algo

Blends between various algorithms (0..8). 0:XFADE, 1:XFOLD, 2:ANALOG_RM, 3:DIGITAL_RM, 4:XOR, 5:COMPARATOR, 6-8:VOCODER ​

timb

Timbre (0..1), controls the intensity of the high harmonics created by cross-modulation (or provides another dimension of tone control for some algorithms). ​

osc

Internal oscillator (carrier) settings: 0: external osc (carrier input), 1:SINE, 2:TRI, 3:SAW. If 'algo' is at 6 or above (vocoder), these change to: 1:SAW, 2: BLIT (bandlimited impulse train), 3:NOISE (filtered) ​

freq

Frequency of internal oscillator in Hz

vgain

Gain (1..10) applied to the vocoder output before it hits the final limiter.​

easteregg

Toggle easteregg mode (frequency shifter) (0/1). ​ ​

Returns:

2 channel array. Channel 1 holds the modulated output signal, channel 2 carries the sum of carrier and modulator signals. ​​ ​

Examples

Internal Oscillator

The 'osc' argument sets the carrier oscillator to use. 0 always means external osc (carrier input). For the internal oscillator, the available waveshapes depend on the selected algorithm. For algos 0 to 5 (cross-modulation) the waveshapes are: sine, triangle, sawtooth. For algos 6 to 8 (vocoder mode) the waveshapes are: sawtooth, pulse and low-pass filtered noise.

Using the internal oscillator AND sending a signal to the carrier input, results in phase-modulation (PM) (raw signal output on second out). Use 'lev1' to set modulation depth (this is different form the original eurorack module!)

Cross-Modulation

Vocoder

Easter Egg

In the original module there is a hidden mode that you can dial in with a specific combination of pot settings and button presses. When using MiWarps you can simply set the 'easteregg' flag. The hidden mode is a frequency shifter. Normally you'd want to use it with the internal oscillator set to 1, but you can also check out the other osc settings or even use it with an external carrier.