多媒体工具包 Beep.js
- 授权协议: MIT
- 开发语言: JavaScript HTML/CSS
- 操作系统: 跨平台
- 软件首页: https://github.com/stewdio/beep.js
软件介绍
Beep.js 是一款使用 WebAudio API 基于浏览器的 JavaScript 工具包,用来开发声音合成应用。你可以使用它来做一个电子琴。
示例:
var trigger = new BEEP.Trigger( '2Eb', function(){
// Let’s call this our “Foundation Voice”
// because it will sing the intended Note.
this.voices.push(
new BEEP.Voice( this.note, this.audioContext )
.setOscillatorType( 'sine' )
.setGainHigh( 0.4 )
)
// This Voice will sing a Perfect 5th above the Foundation Voice.
this.voices.push(
new BEEP.Voice( this.note.hertz * 3 / 2, this.audioContext )
.setOscillatorType( 'triangle' )
.setGainHigh( 0.1 )
)
// This Voice will sing 2 octaves above the Foundation Voice.
this.voices.push(
new BEEP.Voice( this.note.hertz * 4, this.audioContext )
.setOscillatorType( 'sawtooth' )
.setGainHigh( 0.01 )
)
// This Voice will sing 1 octave below the Foundation Voice.
this.voices.push(
new BEEP.Voice( this.note.hertz / 2, this.audioContext )
.setOscillatorType( 'square' )
.setGainHigh( 0.01 )
)
})
JavaScript精粹
爱德华兹 / 高铁军 / 人民邮电出版社 / 2007-6 / 49.00元
《JavaScript 精粹》主要介绍JavaScript应用中一些常见的问题及其解决方法,从最基础的数字、字符串、数组到进阶的DOM、表单验证、cookie,再到较为高级的Ajax,书中均有涉及。《JavaScript 精粹》覆盖现在非常流行和通用的技术,提出很多出现频率较高的Web开发常见问题,并提供了大量的技巧和解决方案,具有很强的实用性和通用性,书中的代码也具有很强的兼容性。《JavaSc......一起来看看 《JavaScript精粹》 这本书的介绍吧!
