A web app to play, visualize, and annotate your audio files for machine learning
475
Play, visualize, and annotate your audio files


storage where you are storing the audio filesconfig/development.json or config/production.json
{
"auth": {
"keys": ["some secret"],
"account": "test",
"password": "test"
},
"storage": {
"STORAGE_TYPE": "azureblob",
"STORAGE_ACCOUNT": "",
"STORAGE_ACCESS_KEY": ""
},
"mongo":{
"url": "mongodb://localhost:27017/echoml"
},
"prediction": {
"endpoint": "http://localhost/predict"
}
}
EchoML provides the the ability to integrate with external endpoints to load audio predictions/labels.
To do so:
predictions.endpoint configuation (as seen in sample config) to your config file and modify the downloadPredictions() function in api.tsThe existing code in api.ts expects your endpoint to respond to POST requests with a payload of:
| Param | ValueType | Description |
|---|---|---|
| file | File | File to be predicted against |
| t1 | number | Start time of which to analyze |
| t2 | number | End time of which to analyze |
Note: this feature is still heavily in development. Refer to the downloadPredictions() function in api.ts for a reference of how it works.
MacOS
brew install graphicsmagick
Start back-end node server.
npm run dev-back
Start webpack dev server to serve webpack bundle.
npm run dev-front
Open your browser and connect to http://localhost:5001.
Build bundle.
npm run build
Start server.
npm start
Open your browser and connect to http://localhost.
To update the code and rebuild the image:
Build bundle
npm run build
Build the docker image
docker build -t echoml .
To run the image, either pull my image from docker hub or use your own.
Run the docker image
docker run -p 80:80 -it ritazh/echoml:latest
Leverage the awesome waveform-playlist module created by @naomiaro.
Content type
Image
Digest
Size
340.6 MB
Last updated
almost 9 years ago
docker pull ritazh/echoml