History

Added multiband compander effect

cbagwell committed 22 years ago

Commit fec8e041 parent bd0eddd10 files · +79 −16Browse files

Showing the changes to scripts (1 of 10 files). Show all

Unified · Split

scripts/fmsim+18−0
@@ -0,0 +1,18 @@
1+#!/bin/sh
2+#
3+# fmsim - simulates FM radio sound (or broadcast signal condition if the
4+# lowp at the end is skipped - not that the pipeline is set up with
5+# US-style 75us preemphasis).
6+#
7+# Thats signed 32-bit 44100Hz audio from stdin and outputs to stdout.
8+
9+
10+../src/sox -V -t raw -r 44100 -s -w -c 2 - -t raw -r 44100 -s -l -c 2 \
11+ - vol -3 db filter 8000- 32 100 mcompand ".005,.1 \
12+ -47,-40,-34,-34,-17,-33 0 0 0" 100 ".003,.05 \
13+ -47,-40,-34,-34,-17,-33 0 0 0" 400 ".000625,.0125 \
14+ -47,-40,-34,-34,-15,-33 0 0 0" 1600 ".0001,.025 \
15+ -47,-40,-34,-34,-31,-31,-0,-30 0 0 0" 6400 \
16+ "0,.025 -38,-31,-28,-28,-0,-25 0 0 0" vol 27 db vol -12 \
17+ db highpass 22 highpass 22 filter -17500 256 vol +12 db \
18+ vol -3 db lowp 17801

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t