<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>hi ludi!</div><div><br></div>try passing nrev &nbsp; not ‘nrev &nbsp;(because scheme uses variables to hold functions...)<div><br></div><div>for example this works for me in a lisp buffer :<div><br></div><div><div>(load "nrev.scm")</div><div>(load "v.scm")</div><div><br></div><div>(with-sound (:statistics #t :scaled-to 0.95&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:output "test.aiff" :reverb nrev)</div><div>&nbsp; (fm-violin 0 1 440 .1 :reverb-amount 0.1))</div></div><div><br></div><div><br></div><div><div><br></div><div>On fomus, when I built the app I wasnt sure if it legal for me to link to it on the app store (im checking…)</div><div>regardless &nbsp;you can build the system from sources very easily and include fomus there without any problem, i know it works because thats what I used to teach last semesters</div><div><br></div><div>hope all is well with you!</div><div>—rick</div><div><br></div><div><br></div><div><br></div><div><br><div><div>On Jul 2, 2014, at 10:54 AM, ludger brümmer &lt;<a href="mailto:lb@zkm.de">lb@zkm.de</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Hi all,&nbsp;</div><div><br></div><div>I tried to use a reverb and I think there seems to be something wrong in the way how the function nrev is called. Is it due to different quoting?</div><div>I checked with "with-sound" and through a CM process both with a similar result.</div><div><br></div><div>all the best</div><div>Ludger</div><div><br></div><div><br></div><div>(with-sound (:statistics #t :scaled-to 0.95 :output "test.aiff" :reverb 'nrev) (fm 0 1 440 .1 :reverb 0.1))</div><div><br></div><div>(define (simpwav n r lb ub)</div><div>&nbsp; (process repeat n</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;for i from 0</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;for k = (between lb ub)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;do</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(fm i 1.5 k .1 :reverb .01)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(wait r)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;))</div><div><br></div><div>(sprout (simpwav 10 .2 440 881) "test.wav" :scaled-to 0.95 :reverb 'nrev)</div><div><br></div><div><div>&gt;&gt;&gt; Error: attempt to apply the symbol nrev to ()?</div><div>finish-with-sound: (apply reverb reverb-data) &nbsp; &nbsp; ; reverb: nrev</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; reverb-data: ()</div><div>finish-with-sound: ((mus-close *reverb*)) &nbsp; &nbsp; &nbsp; &nbsp;</div><div>finish-with-sound: ((if (mus-output? *output*)... ; old-srate: 44100</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; output: "/Users/ludil/test.wav"</div><div>snd:close-output-file: ((do ((tail *sfdat* (cd... ; wsdat: (with-sound-data "/Users/l...</div><div>snd:close-output-file: ((void)) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div>(snd:close-output-file) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div></div><div><br></div><div><br></div><div><br></div><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Prof. Ludger Brümmer</div><div>Head of ZKM|Institute for Music and Acoustics</div><div>Lorenzstr. 19</div><div>76135 Karlsruhe&nbsp;</div><div>tel.: +49 721 8100 1600</div></div></span></div></span></div></span></div></span></span>
</div>
<br><div><div>Am 28 May 2014 um 13:49 schrieb Heinrich Taube &lt;<a href="mailto:taube@illinois.edu">taube@illinois.edu</a>&gt;:</div><br class="Apple-interchange-newline"><blockquote type="cite"><blockquote type="cite">Not the case on the Mac. Every time I rerun Grace, and display the working directory, it is set to "".<br></blockquote><br>thanks, Ill try to fix this soon, its not misbehaving on my mac so Ill have to try a machine that doesn't have grace running on it. &nbsp;<br><br><blockquote type="cite"><br>This page <a href="https://ccrma.stanford.edu/software/snd/snd/sndscm.html#withsound">https://ccrma.stanford.edu/software/snd/snd/sndscm.html#withsound</a> shows all sort of sound manipulations with Snd. I wonder if it is possible to run Snd from Grace or if it is an independant application.<br><br></blockquote><br>Snd is a different app than Grace.YOu could probably start the Snd app running while inside Grace (shell "/usr/local/snd") or whatever, but it would run in an entirely different process than Grace.<br><br>but your link was pointing to with-sound , which is a scheme macro for generating sound in clm &nbsp;if you are asking about using with-sound in Grace then the answer is yes, its built into Grace:<br><br>(load "v.scm")<br><br>(with-sound () <br>(loop for i to 10<br> &nbsp;&nbsp;&nbsp;do<br> &nbsp;&nbsp;&nbsp;(fm-violin (* .5 i) .75 (between 110 880) .2 ))<br><br>I hope Im answering your Question!<br><br><br><br><br><br><br>_______________________________________________<br>Cmdist mailing list<br><a href="mailto:Cmdist@ccrma.stanford.edu">Cmdist@ccrma.stanford.edu</a><br><a href="http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist">http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist</a><br></blockquote></div><br></div>_______________________________________________<br>Cmdist mailing list<br><a href="mailto:Cmdist@ccrma.stanford.edu">Cmdist@ccrma.stanford.edu</a><br>http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist<br></blockquote></div><br></div></div></div></body></html>