Skip to content

ffd8/audio-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

audio-data

cc teddavis.org 2021

minimal tool to export peaks info from an audio file as .json
wavesurfer.js for offline analysis
created for usage with basil.js

INSTALL

USAGE

  • DRAG + DROP MP3/WAV file into browser window (or click LOAD)
  • adjust SLIDER for number of peaks to output
  • optionally [√] check 'split' to also export LEFT/RIGHT channels
  • click EXPORT for .json file with info

PARSE

  • load .json with following structure:
{
  "info": {
    "filename": "...",
    "peaksCount": 1000,
    "peaksMin": -0.4934861660003662,
    "peaksMax": 0.6202539205551147
  },
  "peaks": {
    "merged": [ ... ],
    "left": [ *if split* ],
    "right": [ *if split* ]
  }
}

About

minimal tool to export peaks info from an audio file as JSON

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages