Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] mottox2: スマホで音を鳴らす #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions smartphone-js-music/article.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
author: mottox2
web: mottox2.com

# スマホとJavaScriptで音を奏でる

ここ10年でスマートフォンという概念が生まれ、JavaScriptが動くもっとも身近なハードウェアに成長した。
JavaScriptはその変化に合わせてスマートフォンのハードウェアにアクセスするようなAPIも整備され、ハードウェアをも動かす言語に進化した。

本記事では筆者が作成したスマートフォンのジャイロセンサーを利用して、音を鳴らす「Web Tone」というサイトの仕組みを解説します。

## ジャイロセンサー


## Web Music