Skip to content

Commit

Permalink
audio: add export help links for future research
Browse files Browse the repository at this point in the history
  • Loading branch information
Selithrarion committed Apr 8, 2022
1 parent f79c9a7 commit 25eee19
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontend/src/components/audio/AudioEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,11 @@ export default defineComponent({
// https://github.com/lubenard/simple-mp3-cutter/blob/master/src/cutter.js
// https://github.com/antoine92190/vue-advanced-chat/blob/master/src/utils/mp3-encoder.js
// https://codesandbox.io/s/bzcdr?file=/src/components/media-recorder/WebAudioUtils.js:1613-1623
// or use ffmpeg
// https://github.com/Kagami/ffmpeg.js/
// https://medium.com/jeremy-gottfrieds-tech-blog/javascript-tutorial-record-audio-and-encode-it-to-mp3-2eedcd466e78
// https://devtails.medium.com/how-to-convert-audio-from-wav-to-mp3-in-javascript-using-ffmpeg-wasm-5dcd07a11821
// https://www.google.ru/search?q=ffmpeg+vue&oq=ffmpeg+vue&sourceid=chrome&ie=UTF-8
const audioContext = new AudioContext();
const buffer = await new Response(props.rawAudio).arrayBuffer();
Expand Down

0 comments on commit 25eee19

Please sign in to comment.