audio

@audio/effect-ringmod1.1.6

Ring modulator

Ring modulator — multiplies signal by a carrier oscillator

Status
calibrated
Updated
Family
effect, 26 packages under it
Plugin
ringmod, effect, streaming, 2 parameters
Category
effects
Licence
MIT
Dependencies
none
Downloads
3,133 last month
Tests
138 in audiojs/effect's CI, passed at 5ff5a84,

Listen

// "Local Forecast" by Kevin MacLeod (incompetech.com), CC BY 4.0, incompetech.com/music/royalty-free/faq.html
audio('/samples/music/modern/local-forecast.mp3').ringmod()

// "Local Forecast" by Kevin MacLeod (incompetech.com), CC BY 4.0, incompetech.com/music/royalty-free/faq.html

Parameters

  • effect
  • streaming
fc
440 Hz
1 to 5000 Hz
mix
1
0 to 1
import ringMod from '@audio/effect-ringmod'

Multiplies signal by a carrier oscillator — produces sum and difference frequencies.

fc carrier frequency Hz (default 440) · mix wet/dry 0–1 (default 1) · fs sample rate

import ringMod from '@audio/effect-ringmod'

let p = { fc: 300, mix: 1, fs: 44100 }
for (let buf of stream) ringMod(buf, p)

Use when: metallic/robotic tones, experimental textures, AM synthesis
Not for: clean frequency shifting


Part of @audio/effect — the effect family umbrella. This README is generated from the umbrella docs.

MIT © audiojs