forked from thesofproject/sof
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Math: FFT: Rename setup script function with sof prefix
The script function name and help is updated. A README.md is added how to use it. Signed-off-by: Seppo Ingalsuo <[email protected]>
- Loading branch information
Showing
2 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Export FFT twiddle factors data | ||
|
||
To generate the twiddle factors headers for FFT max size of 1024 | ||
(current assumption) run these shell commands: | ||
|
||
octave -q --eval "sof_export_twiddle(32, 'twiddle_32.h', 1024);" | ||
octave -q --eval "sof_export_twiddle(16, 'twiddle_16.h', 1024);" | ||
cp twiddle_32.h ../../../include/sof/audio/coefficients/fft/ | ||
cp twiddle_16.h ../../../include/sof/audio/coefficients/fft/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters