fbpx
维基百科

ChucK


ChucK 是一个并发和强调时间的音频编程语言,主要用于实时声音合成、作曲和表演,[3] 可运行于OS XLinuxMicrosoft WindowsiOS。相比性能等其他因素的考虑,它的设计更注重程序的可读性与编程灵活性。它原生支持确定性并发和同时多重动态控制率。另外一个关键的功能其对现场编程英语Live coding的支持, 可以在程序不停止或重启的情况下,现场增加、删除和修改程序。它有着非常精确的定时/并发模型,允许任意准确的控制。它为作曲家与研究人员而开发的编程工具兼具强大性能与灵活性,包括对复杂声音合成进行开发和调试,以及实时的交互控制。[4]

代码例子

下面是生成声音和音乐一个简单的ChucK程序:

 // our signal graph (patch) SinOsc f => dac; // set gain .3 => f.gain; // an array of pitch classes (in half steps) [ 0, 2, 4, 6, 9, 10 ] @=> int hi[]; // infinite loop while( true ) { // choose a note, shift registers, convert to frequency Std.mtof( 65 + Std.rand2(0,1) * 43 + hi[Std.rand2(0,hi.cap()-1)] ) => f.freq; // advance time by 120 ms 120::ms => now; } 

参考资料

  1. ^ Dean, R. T. . Oxford Handbooks in Music Series. Oxford University Press US. 2009: 57 [2021-02-22]. ISBN 0-19-533161-3. (原始内容存档于2020-07-29). 
  2. ^ . [2021-01-18]. (原始内容存档于2022-04-10). 
  3. ^ Ge Wang. A history of programming and music. Collins, Nicholas; Rincón, Julio d'Escrivan (编). The Cambridge companion to electronic music. Cambridge University Press. 2007: 69 [2013-11-22]. ISBN 0-521-86861-0. (原始内容于2014-01-03). 
  4. ^ . [2013-09-06]. (原始内容存档于2011-04-10). ...offers composers, researchers, and performers a powerful programming tool for building and experimenting with complex audio synthesis/analysis programs, and real-time interactive music. 

外部链接

chuck, 是一个并发和强调时间的音频编程语言, 主要用于实时声音合成, 作曲和表演, 可运行于os, linux, microsoft, windows和, 相比性能等其他因素的考虑, 它的设计更注重程序的可读性与编程灵活性, 它原生支持确定性并发和同时多重动态控制率, 另外一个关键的功能其对现场编程, 英语, live, coding, 的支持, 可以在程序不停止或重启的情况下, 现场增加, 删除和修改程序, 它有着非常精确的定时, 并发模型, 允许任意准确的控制, 它为作曲家与研究人员而开发的编程工具兼具强. ChucK 是一个并发和强调时间的音频编程语言 主要用于实时声音合成 作曲和表演 3 可运行于OS X Linux Microsoft Windows和 iOS 相比性能等其他因素的考虑 它的设计更注重程序的可读性与编程灵活性 它原生支持确定性并发和同时多重动态控制率 另外一个关键的功能其对现场编程 英语 Live coding 的支持 可以在程序不停止或重启的情况下 现场增加 删除和修改程序 它有着非常精确的定时 并发模型 允许任意准确的控制 它为作曲家与研究人员而开发的编程工具兼具强大性能与灵活性 包括对复杂声音合成进行开发和调试 以及实时的交互控制 4 ChucK编程范型多重编程范式設計者王戈发行时间2003年 20年前 2003 1 型態系統强类型作業系統跨平台 OS X Linux Windows許可證GNU通用公共许可证iOS 闭源软件網站http chuck cs princeton edu 代码例子 编辑下面是生成声音和音乐一个简单的ChucK程序 our signal graph patch SinOsc f gt dac set gain 3 gt f gain an array of pitch classes in half steps 0 2 4 6 9 10 gt int hi infinite loop while true choose a note shift registers convert to frequency Std mtof 65 Std rand2 0 1 43 hi Std rand2 0 hi cap 1 gt f freq advance time by 120 ms 120 ms gt now 参考资料 编辑 Dean R T The Oxford handbook of computer music Oxford Handbooks in Music Series Oxford University Press US 2009 57 2021 02 22 ISBN 0 19 533161 3 原始内容存档于2020 07 29 github com ccrma chuck 2021 01 18 原始内容存档于2022 04 10 Ge Wang A history of programming and music Collins Nicholas Rincon Julio d Escrivan 编 The Cambridge companion to electronic music Cambridge University Press 2007 69 2013 11 22 ISBN 0 521 86861 0 原始内容存档于2014 01 03 ChucK Strongly timed Concurrent and On the fly Music Programming Language 2013 09 06 原始内容存档于2011 04 10 offers composers researchers and performers a powerful programming tool for building and experimenting with complex audio synthesis analysis programs and real time interactive music 外部链接 编辑ChucK 页面存档备份 存于互联网档案馆 官方主页 Graham Coleman 有关ChucK的页面 Ge Wang 在斯坦福教授ChucK相关的课程 页面存档备份 存于互联网档案馆 取自 https zh wikipedia org w index php title ChucK amp oldid 71579340, 维基百科,wiki,书籍,书籍,图书馆,

文章

,阅读,下载,免费,免费下载,mp3,视频,mp4,3gp, jpg,jpeg,gif,png,图片,音乐,歌曲,电影,书籍,游戏,游戏。