タグ

HTML5とaudioに関するkzms2のブックマーク (4)

  • iPad対応!HTML5 Audioで作るブラウザーピアノ (1/6)

    HTML5で作ったピアノ演奏ページ。iPadでも制限付きで動作する。画像クリックでサンプルページを表示します(Firefox 3/Opera 10/Safari 4で表示可能) 前回の記事ではHTML5 Audioを使ってサウンドプレイヤーを作りましたが、HTML5 Audioで再生できるのは音楽だけではありません。ブラウザーだけで音声ファイルを再生できるということは、発想を変えるとおもしろい使い方ができます。 今回は、HTML5 Audioを使ってブラウザー上で演奏できる鍵盤楽器を作ります。画面上に表示した鍵盤がクリックされたらあらかじめ用意しておいたピアノの音声ファイルを再生し、あたかもピアノ演奏の気分を味わえるようにします。ピアノだけでは少々物足りないので、おまけとしてオルガン、木琴、PSG音源の音色も用意しました。 また、今回のサンプルはアップルのiPad/iPhone(iOS4以

    iPad対応!HTML5 Audioで作るブラウザーピアノ (1/6)
    kzms2
    kzms2 2011/09/09
    audioタグを用いた例。
  • HTML5 Audio and Video: What You Must Know | Envato Tuts+

    In promotion of what I consider to be the best HTML5 book currently available on the market, Remy Sharp and Bruce Lawson agreed to donate a chapter of Introducing HTML5 to our readers, which details the ins and outs of working with HTML5 video and audio. This article also has been updated more recently to contain newer information on browser support. A LONG TIME AGO, in a galaxy that feels a very

    HTML5 Audio and Video: What You Must Know | Envato Tuts+
    kzms2
    kzms2 2010/10/28
    知っておくべきHTML5のvideoとaudio。基本的な説明・書き方からレガシーブラウザの対応なども書いてありますよ。
  • Quick Tip: The HTML 5 Audio Element | Nettuts+

    As of Firefox 3.5, Chrome 3, and Safari 4, we can take advantage of many of the new HTML 5 features, including native audio support without the need for Flash. As you’ll find, we only to create the new <audio> element, and set a few attributes. In this four minute video quick tip, we’ll review the mark-up, and also a quick way to play audio with jQuery. The Audio Element <audio autoplay="autoplay

    kzms2
    kzms2 2010/03/05
    audioタグにもcontrolsとかあるんだ便利だなぁ
  • 1