Web Audio API (Paperback)

Boris Smus

  • 出版商: O'Reilly
  • 出版日期: 2013-04-23
  • 售價: $595
  • 貴賓價: 9.5$565
  • 語言: 英文
  • 頁數: 76
  • 裝訂: Paperback
  • ISBN: 1449332684
  • ISBN-13: 9781449332686
  • 立即出貨 (庫存=1)

買這商品的人也買了...

相關主題

商品描述

Go beyond HTML5’s Audio tag and boost the audio capabilities of your web application with the Web Audio API. Packed with lots of code examples, crisp descriptions, and useful illustrations, this concise guide shows you how to use this JavaScript API to make the sounds and music of your games and interactive applications come alive.

You need little or no digital audio expertise to get started. Author Boris Smus introduces you to digital audio concepts, then shows you how the Web Audio API solves specific application audio problems. You’ll not only learn how to synthesize and process digital audio, you’ll also explore audio analysis and visualization with this API.

  • Learn Web Audio API, including audio graphs and the audio nodes
  • Provide quick feedback to user actions by scheduling sounds with the API’s precise timing model
  • Control gain, volume, and loudness, and dive into clipping and crossfading
  • Understand pitch and frequency: use tools to manipulate soundforms directly with JavaScript
  • Generate synthetic sound effects and learn how to spatialize sound in 3D space
  • Use Web Audio API with the Audio tag, getUserMedia, and the Page Visibility API

商品描述(中文翻譯)

超越HTML5的音訊標籤,並透過Web Audio API增強您的網頁應用程式的音訊功能。這本簡明指南充滿了大量的程式碼範例、清晰的描述和有用的插圖,向您展示如何使用這個JavaScript API,讓遊戲和互動應用程式中的聲音和音樂更加生動。

您不需要太多或完全沒有數位音訊專業知識即可入門。作者Boris Smus先介紹數位音訊概念,然後向您展示Web Audio API如何解決特定的應用程式音訊問題。您不僅會學習如何合成和處理數位音訊,還會使用這個API進行音訊分析和可視化。

本書內容包括:
- 學習Web Audio API,包括音訊圖形和音訊節點
- 使用API的精確定時模型,為使用者的操作提供快速回饋
- 控制增益、音量和音量大小,並深入研究剪斷和交叉淡入淡出
- 理解音高和頻率:使用JavaScript直接操作音訊形態的工具
- 生成合成音效,並學習如何在3D空間中定位音訊
- 將Web Audio API與音訊標籤、getUserMedia和Page Visibility API一起使用