Skip to content

Latest commit

 

History

History
54 lines (33 loc) · 906 Bytes

README.md

File metadata and controls

54 lines (33 loc) · 906 Bytes

sonic-pcm-player

PCM realizes double speed playback through sonic Library. play by AudioContext.

Use

step1

download test-pcm-web

step2

open url: https://this-spring.github.io/sonic-pcm-player/index.html

step3

click 选择文件->获取buffer->start

default rate: 1

sonic build

  1. git clone https://github.com/waywardgeek/sonic.git

  2. make clean & make & make install

  3. sh webassembly.sh(make sure install emsdk)

source

c: sonic/wrapper_sonic.c
wasm: webassembly/sonic.wasm
胶水js: webassembly/sonic.js
player.js: ./player.js
index.html: ./index.html

api

TODO

vx

github

https://github.com/this-spring/sonic-pcm-player