Skip to content

teunreyniers/fft_player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

A program I wrote to learn rust. It calulates fast fourier transforms using te package rustfft and plot the result using gnuplot or save the result to a file.

Usage

Make sure gnuplot is installed before running the program.

Options

    -p, --datapoints POINT
                        The number of points to be generated. Value must be
                        between 1 and 10e5
    -i, --invert        Reconstruct the original function by using the invert
                        fft
    -s, --silent        Do not show the plot windows
    -k, --keeptop KEEPTOP
                        Keep n top harmonics
    -m, --keepmin KEEPMIN
                        Keep harmonics where the amplitude is larger than
    -w, --write         Write the result to the given file
        --filename NAME Filename of the result file
    -t, --wavetype WAVETYPE
                        Select a wave type: sine, block, triangle, sawtooth,
                        custom
    -d, --data DATA     Data for the wave```

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages