Lissajous JavaScript 音频性能工具开源项目

我要开发同款
匿名用户2015年05月17日
111阅读

技术信息

开源地址
https://github.com/kylestetz/lissajous
授权协议
MIT

作品详情

Lissajous是一个JavaScript的实时音频的性能工具。它将创建震荡器和采样器的方法封装成API,允许通过简单的数行代码提升歌曲的构建和即兴创作。

Lissajous存在于JavaScript控制台中,专门为Firefox和Chrome所设计。

示例代码:

// make a triagle wave that loops the otes 69, 67, the 60 i quarter ote itervalst = ew track()t.tri().beat(4).otes(69,67,60)// load a sample, set the beat to quarter otes, set the ote legth to a half measure,// set the evelope to give it a little attack ad release, ad loop the otes 69, 67, the 60s = ew track()s.sample(buffer)s.beat(4).l(8).adsr(0.1,0,1,1).otes(69,67,60)// load a array of three AudioBuffers called 'drums', play them i 8th otes ad give them// the sequece drums[0], drums[2], drums[1], drums[2]d = ew track()d.sample(drums)d.beat(2).sseq(0,2,1,2)// load a piao sample ad mess it up real goodp = ew track()p.sample(piaoSample)p.beat(2).l(2).speed(0.5).clamp(1/16).clshift(-1/16)

功能介绍

Lissajous 是一个 JavaScript 的实时音频的性能工具。它将创建震荡器和采样器的方法封装成 API,允许通过简单的数行代码提升歌曲的构建和即兴创作。 Lissajous 存在于 ...

声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论