Thread: [Nyquist-users] Fedora compilation report
Nyquist is a language for sound synthesis and music composition.
Brought to you by:
rbd
From: Roger D. <rb...@cs...> - 2008-01-06 22:36:38
|
Steven, Thanks for the report. I found a comment about readline in sys/unix/linux/Makefile that says take out -lreadline to disable command line editing. There's also a -DREADLINE switch that's not used. The story here is that XLisp has the ability to break a running computation so you can look at the stack and see what's going on, then resume. But XLisp does not have very nice line editing. You can hack the line editing problem by linking with the readline library, but that disables the runtime control because it buffers control characters. I'll try to document some readline configuration options later when I'm able to test them. You asked about Common Music. (And thanks for getting the name right -- I slipped and referred to it as Common Lisp Music, which is not what I meant). The short answer is no, there's not currently any way to target Nyquist from CM. Nyquist now has patterns that are similar to those in CM, but since XLisp has a different object system, programs in CM are not compatible with Xlisp/Nyquist. CM has the ability to generate MIDI in real time (modulo garbage collection delays) and introduces a process construct. In contrast, Nyquist has a very different approach to concurrency based on lazy evaluation, so again, there are some fundamental incompatibilities. The best way to connect CM to Nyquist would be to get CM to write score files and translate them to Nyquist score files, or work with MIDI files, which both CM and Nyquist can read and write. -Roger |