Skip to content

this-spring/sonic-pcm-player

Repository files navigation

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

About

complier sonic.c to wasm to play pcm(1.x,2.x....)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published