JavaScript音频性能工具Lissajous.zip

时间:2022-08-07 20:11:07
【文件属性】:
文件名称:JavaScript音频性能工具Lissajous.zip
文件大小:194KB
文件格式:ZIP
更新时间:2022-08-07 20:11:07
开源项目 Lissajous 是一个 JavaScript 的实时音频的性能工具。它将创建震荡器和采样器的方法封装成 API,允许通过简单的数行代码提升歌曲的构建和即兴创作。Lissajous 存在于 JavaScript 控制台中,专门为 Firefox 和 Chrome 所设计。示例代码:// make a triangle wave that loops the notes 69, 67, then 60 in quarter note intervals t = new track() t.tri().beat(4).notes(69,67,60) // load a sample, set the beat to quarter notes, set the note length to a half measure, // set the envelope to give it a little attack and release, and loop the notes 69, 67, then 60 s = new track() s.sample(buffer) s.beat(4).nl(8).adsr(0.1,0,1,1).notes(69,67,60) // load an array of three AudioBuffers called 'drums', play them in 8th notes and give them // the sequence drums[0], drums[2], drums[1], drums[2] d = new track() d.sample(drums) d.beat(2).sseq(0,2,1,2) // load a piano sample and mess it up real good p = new track() p.sample(pianoSample) p.beat(2).nl(2).speed(0.5).clamp(1/16).clshift(-1/16) 标签:Lissajous
【文件预览】:
lissajous-master
----Tutorial.md(33KB)
----A-Guide-to-Performing.md(1KB)
----src()
--------track.effects.tremolo.js(1KB)
--------track.sequencer.js(734B)
--------generators.js(6KB)
--------track.core.js(16KB)
--------track.envelope.js(2KB)
--------track.record.js(2KB)
--------track.oscillator.js(1KB)
--------track.effects.distortion.js(1KB)
--------context.js(3KB)
--------group.js(5KB)
--------track.effects.filter.js(5KB)
--------track.effects.reverb.js(3KB)
--------track.sampler.js(5KB)
--------track.effects.chorus.js(1KB)
--------track.effects.delay.js(4KB)
--------track.events.js(1KB)
--------track.scheduler.js(4KB)
--------track.filter.js(708B)
--------track.api.js(14KB)
--------vendor()
----environment()
--------index.html(2KB)
--------images()
--------drag-and-drop.js(2KB)
--------extras.js(2KB)
--------css()
----LICENSE.md(1KB)
----README.md(6KB)
----API.md(29KB)
----.gitignore(109B)

网友评论