Giter Club home page Giter Club logo

worldforweb's Introduction

WorldForWeb

World をWebAssemblyを使用してブラウザ上で動かしてみるサンプル

対応状況

  • ローカルファイルのwavファイルの分析
  • F0の簡易的な可視化

開発の仕方

ShellScriptが動作する環境とEmscriptenが使用できる環境が必須.

またWebサーバーのホストはPython3を使用しているが,自由に変えて問題ない.

# SubmoduleのWorldをリストア
$ git submodue update --init
# 依存ライブラリの解決
$ npm i
# ビルド
$ npm run build
# Webサーバーをホストして確認
$ npm run host

その他

babelやwebpack,その他設計などは http://shogonir.hatenablog.com/entry/2017/05/22/015626 およびその記事で紹介されている https://github.com/shogonir/wasm-sample/tree/master/06-wasm-babel-webpack を参考にした.

worldforweb's People

Contributors

yamachu avatar

Watchers

James Cloos avatar  avatar  avatar

worldforweb's Issues

高速化

  • WebWorkerを使ってみる
  • async functionにする

機能追加

  • 合成
  • F0の操作
  • 決め打ちのパラメータを変更できるようなIF
    • 構造体関連
    • フレームシフト
  • 分析,合成を行ったパラメータの保存機能
  • 再生機能

5秒ぐらいの音声でも重い

検証環境
MacBook Pro Early 2015
i5 2.7GHz
16GB Mem
Chrome
の環境でプロファイラを見ると大体音声の分析自体は実時間未満で終わっている.

一番重かったりする部分がF0のプロットなので,ライブラリを変えるか,いい感じに間引きしたやつで表示するようにするべき.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.