Skip to content

Instantly share code, notes, and snippets.

@mouseos
Created August 3, 2022 07:55
Show Gist options
  • Save mouseos/db8ebff0f7a675ccf0661d07a96295ff to your computer and use it in GitHub Desktop.
Save mouseos/db8ebff0f7a675ccf0661d07a96295ff to your computer and use it in GitHub Desktop.
c-quam modulator written in faust
import("stdfaust.lib");
pilot=os.oscsin(25)/4;
freq=50000;
cquam (l,r)=((l+r+1)*(os.oscsin(freq))/4)+(l-r)*(((os.osccos(freq))/4));
process=cquam;
//Modulate c-quam at 50KHz. This program cannot use for radio broadcast.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment