Skip to content

0xfourzerofour/oscli

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 

OSCLI - Real time audio visualisation using WGPU

The implementation is quite simple right now, however I will be planning on continuing the project to visualise the frequency spectrum as well.

The current implementation only works with mp3 files using minimp3-rs

Instructions

cargo run --release

drag your mp3 file into the window.

controls

  • spacebar - play
  • p - pause
  • up arrow - skip 1 second

future work

  • Allow WAV files using hound
  • Make the vertex buffer much leaner by interpolating the ring-buffer instead of just passing raw PCM data.
  • use FFT to derive the freqency domain
  • once FFT is implemented, render the audio in 3D space
  • zoom functionality

Demo

Screen Shot 2022-10-23 at 9 38 08 pm

Screen.Recording.2022-10-15.at.7.00.48.pm.mov

Releases

No releases published

Packages

No packages published

Languages