Force any binary to use a specific network interface.
Requires gcc and bash. Linux only.
Usage:
$ sudo ./setnif.sh eth1 curl www.google.com
| /** | |
| * Single file implementation of variable-Q sliding DFT (VQ-sDFT) | |
| * | |
| * The frequency bands data is formatted like: | |
| * {lo: lowerBound, | |
| * ctr: center, | |
| * hi: higherBound} | |
| * | |
| * where lo and hi are used for calculating the necessary bandwidth for variable-Q/constant-Q transform spectrum analysis and ctr for center frequency. This is generated using functions like generateFreqBands() | |
| * |