多媒体工具包 Beep.js

码农软件 · 软件分类 · jQuery多媒体插件 · 2019-12-29 19:13:45

软件介绍

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 )
    )
})

本文地址:https://codercto.com/soft/d/22233.html

深入浅出Ext JS

深入浅出Ext JS

何启伟、徐会生、康爱媛 / 人民邮电出版社 / 2010-5 / 69.00元

以用户为中心的时代,应用的界面外观变得越来越重要。然而,很多程序员都缺乏美术功底,要开发出界面美观的应用实属不易。Ext JS的出现,为广大程序员解决了这一难题。它有丰富多彩的界面和强大的功能,是开发具有炫丽外观的RIA应用的最佳选择。 本书是《深入浅出Ext JS》的升级版,涵盖了最新发布的Ext JS 3.2新特性,并对上一版的内容进行增补,充实了示例代码,同时补充了两个功能强大的实例。......一起来看看 《深入浅出Ext JS》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具