mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
Working codec2 support
This commit is contained in:
18
libs/libcodec2/src/sim.sh
Executable file
18
libs/libcodec2/src/sim.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
# sim.sh
|
||||
# David Rowe 10 Sep 2009
|
||||
|
||||
# Process a source file using the codec 2 simulation. An output
|
||||
# speech file is generated for each major processing step, from the
|
||||
# unquantised siusoidal model to fully quantised. This way we can
|
||||
# listen to the effect of each processing step. Use listensim.sh to
|
||||
# test the output files.
|
||||
|
||||
../src/c2sim ../raw/$1.raw -o $1_uq.raw
|
||||
../src/c2sim ../raw/$1.raw --phase0 -o $1_phase0.raw --postfilter
|
||||
../src/c2sim ../raw/$1.raw --lpc 10 -o $1_lpc10.raw
|
||||
../src/c2sim ../raw/$1.raw --lpc 10 --lsp -o $1_lsp.raw
|
||||
../src/c2sim ../raw/$1.raw --phase0 --lpc 10 -o $1_phase0_lpc10.raw --postfilter
|
||||
../src/c2sim ../raw/$1.raw --phase0 --lpc 10 --lsp -o $1_phase0_lsp.raw --postfilter
|
||||
../src/c2sim ../raw/$1.raw --phase0 --lpc 10 --lsp -o $1_phase0_lsp_dec.raw --postfilter --dec
|
||||
|
Reference in New Issue
Block a user