Skip to content

daniellga/harmonium

Repository files navigation

Harmonium: Audio analysis and IO in R

Harmonium is an audio interface inspired by Python's librosa.

  • Cross-platform audio IO
  • Decode audio
  • Retrieve audio metadata
  • Asynchronous and Synchronous resampling
  • FFT and STFT
  • Window functions

To learn more, read the documentation.

R Setup

Windows

Install Rustup. Install Rtools.

Add the following gnu target: rustup target add x86_64-pc-windows-gnu.

In R, install harmonium from github: remotes::install_github("daniellga/harmonium/r-harmonium")

or from R-universe: install.packages('harmonium', repos = 'https://daniellga.r-universe.dev')

Linux

Install Rustup.

The ALSA development files are required. These are provided as part of the libasound2-dev package on Debian and Ubuntu distributions and alsa-lib-devel on Fedora.

In R, install harmonium from github: remotes::install_github("daniellga/harmonium/r-harmonium")

or from R-universe: install.packages('harmonium', repos = 'https://daniellga.r-universe.dev')

Mac

Install Rustup.

In R, install harmonium from github: remotes::install_github("daniellga/harmonium/r-harmonium")

or from R-universe: install.packages('harmonium', repos = 'https://daniellga.r-universe.dev')