This is the reference point. All the other options are based off this.
|-- app
| |-- controllers
| | |-- admin
| # Microphone Realtime background noise reduction script | |
| # author Luigi Maselli - https://grigio.org licence: AS-IS | |
| # credits: http://askubuntu.com/questions/18958/realtime-noise-removal-with-pulseaudio | |
| # run as: sudo && pulseaudio -k | |
| # wget -qO - https://gist.github.com/adrianolsk/bfa32f3227dc674eff72a2008f6c0316 | sudo bash && pulseaudio -k | |
| sudo cp /etc/pulse/default.pa /etc/pulse/default.pa.bak | |
| sudo cat <<EOT >> /etc/pulse/default.pa | |
| load-module module-echo-cancel source_name=noechosource sink_name=noechosink |
| require 'net/https' | |
| require 'json' | |
| require 'openssl' | |
| =begin | |
| UUID = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | |
| OS = "<OS NAME> <VERSION> - <ARCH>" | |
| USERNAME = "YOUR USERNAME" | |
| PASSWORD = "YOUR PASSWORD" | |
| TARGET_FONT = "jf-jinxuan-Medium" |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <stdint.h> | |
| #include <fcntl.h> | |
| #include <sys/stat.h> | |
| #include <sys/mman.h> | |
| #include <unistd.h> | |
| int main(int argc, const char *argv[]) | |
| { |