-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
final adjustments + README updates for v0.4.0
- Loading branch information
Showing
6 changed files
with
42 additions
and
1 deletion.
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
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
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ description = """ | |
A simple and fast `no_std` library to get the frequency spectrum of a digital signal (e.g. audio) using FFT. | ||
It follows the KISS principle and consists of simple building blocks/optional features. | ||
""" | ||
version = "0.3.0" | ||
version = "0.4.0" | ||
authors = ["Philipp Schuster <[email protected]>"] | ||
edition = "2018" | ||
keywords = ["fft", "spectrum", "frequencies", "audio", "dsp"] | ||
|
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,23 @@ | ||
## How to use FFT to get a frequency spectrum? | ||
|
||
This library is full of additional and useful links and comments about how an FFT result | ||
can be used to get a frequency spectrum. In this document I want to give a short introduction | ||
where inside the code you can find specific things. | ||
|
||
**TL;DR:** Although this crate has 1400 lines of code, **the part which gets the frequency and | ||
their values from the FFT is small and simple**. Most of the code is related to my convenient | ||
abstraction over the FFT result including several getters, transform/scaling functions, and | ||
tests. | ||
|
||
**I don't explain how FFT works but how you use the result!** | ||
If you want to understand that too: | ||
|
||
- check out all links provided [at the end of README.md](/README.md) | ||
- look into `lib.rs` (**probalby gives you 90 percent of the things you want to know**) | ||
and the comments over the FFT abstraction in `src/fft/mod.rs` and | ||
`src/fft/rustfft-complex/mod.rs`. | ||
|
||
|
||
This is everything important you need. Everything inside | ||
`spectrum.rs` and the other files is just convenient stuff + tests for when you | ||
want to use this crate in your program. |
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
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