vrml-file | [Class] |
An event stream class implementing VRML files. This class is automatcally chosen when you specify a file with a .wrl or .ivextension.
vrml-file declares the following slots:
Example:
(defun layer (n tim nte rhy chan) (algorithm nil midi-note (start tim length 3 note nte rhythm rhy duration rhy channel chan) (setf note (item (intervals 0 11 7 from nte))) (when (> n 1) (sprout (layer (1- n) time note (/ rhythm length) (1+ channel)))))) (mute sierpinsky (length 1 rhythm 0) (sprout (layer 5 time 40 12 0))) Stella [Top-Level]: open /tmp/foo.wrl timescale 2 Stream: #<Vrml-File: "/tmp/foo.wrl">
Once the stream has been opened, the following command instructs the configured VRML browser to display the generated VRML file:
Stella [Top-Level]: mix sierpinsky 0 Starting: /tmp/foo.wrl [1] 7849 ; VRML-Browser launches in the background Stella [Top-Level]:
See Also: