Skip to content

TristanCacqueray/simple-dsp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-dsp

This library provides DSP primitives along with a simple audio player.

Overview and scope

The goal of simple-dsp is to implement IIR filters for sound processing, for example, to remove the low frequencies from an input sound.

Learning resources:

Usage

Use the SimpleDSP.IIR in your application.

Start the audio player by passing a sound file:

cabal run -O0 exe:simple-dsp-player -- ~/86quantoc.flac

simple-dsp

SDL_GL_CreateContext error and nix

If the program fails with:

simple-dsp-player: SDLCallFailed {sdlExceptionCaller = "SDL.Video.glCreateContext", sdlFunction = "SDL_GL_CreateContext", sdlExceptionError = "Invalid window"}

You need to use nixGL. To install the right version (see hspkgs input to match the nixpkgs pin):

nix profile install --override-input nixpkgs github:NixOS/nixpkgs/22c5bd85d8478e24874ff2b80875506f5c3711a6 --impure github:guibou/nixGL

Then run:

nixGL cabal run exe:simple-dsp-player -- $SOUND_FILE_PATH

About

A simple digital signal processor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published