simple-mp3-cutter
simple-mp3-cutter copied to clipboard
How to use this in ReactJS ?
I've been having problem of cutting 128kbps mp3 files in valid chunks. I think this library can solve my problem.
But I can't find a way to load it in my React project.
.
├── ...
├── public
│ ├── simple-mp3-cutter
│ ├── lib
│ ├── src
│ ├── index.html
│ └── manifest.json
└── ...
This is how I structured my public folder. I included loadFile function in script of index.html.
I am accessing it from any component with window.loadFile
I know, it's probably very newbie approach to the problem. I am open to the better options.