#waveform #color #visualization

audio-viz

Colorful audio waveform visualization

17 releases (7 breaking)

0.8.5 Feb 9, 2024
0.7.0 Jan 24, 2024

#223 in Audio

Download history 48/week @ 2024-01-17 35/week @ 2024-01-24 8/week @ 2024-02-07 12/week @ 2024-02-14 38/week @ 2024-02-21 6/week @ 2024-02-28 7/week @ 2024-03-06 4/week @ 2024-03-13

247 downloads per month

MPL-2.0 license

22KB
458 lines

audio-viz

crates.io Docs Dependencies Testing License: MPL 2.0

Tooling for colorful audio waveform visualization.

  • Analyzes streams of audio samples, divided into windows.
  • The results of filtered peak and energy values are stored in one bin per window.
  • Each bin only consumes 64 bits for calculating
    • Peak
    • Energy
    • Spectral flatness
    • Spectral RGB color

License

Licensed under the Mozilla Public License 2.0 (MPL-2.0) (see MPL-2.0.txt or https://www.mozilla.org/MPL/2.0/).

Permissions of this copyleft license are conditioned on making available source code of licensed files and modifications of those files under the same license (or in certain cases, one of the GNU licenses). Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. However, a larger work using the licensed work may be distributed under different terms and without source code for files added in the larger work.

Contribution

Any contribution intentionally submitted for inclusion in the work by you shall be licensed under the Mozilla Public License 2.0 (MPL-2.0).

It is required to add the following header with the corresponding SPDX short identifier to the top of each file:

// SPDX-License-Identifier: MPL-2.0

Dependencies

~475KB
~10K SLoC