多媒体工具包 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

UNIX网络编程

UNIX网络编程

史蒂文斯、芬纳、鲁道夫 / 杨继张 / 清华大学出版社 / 2006-1 / 98.00元

《UNIX网络编程》(第1卷)(套接口API第3版)第1版和第2版由已故UNIX网络专家W. Richard Stevens博士独自编写。《UNIX网络编程》(第1卷)(套接口API第3版)是3版,由世界著名网络专家Bill Fenner和Andrew M. Rudoff执笔,根据近几年网络技术的发展,对上一版进行全面修订,增添了IPv6的更新过的信息、SCTP协议和密钥管理套接口的内容,删除了X......一起来看看 《UNIX网络编程》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

URL 编码/解码
URL 编码/解码

URL 编码/解码

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具