<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">what about this:<div><br></div><div><div>(define (thump knum at)</div><div>&nbsp; (mp:midi :time at&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:key (- knum 18)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:dur .05 :amp .5)</div><div>&nbsp; &nbsp; &nbsp; (mp:midi :time at&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:key (- knum 23)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:dur .05 :amp .4))</div><div><br></div><div>(thump 72 0.5)</div><div><br></div><div><br></div><div><br></div><div><br></div><div><div>Am 03.03.2016 um 18:08 schrieb Rob Howiler:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Closer. &nbsp;The mp:midi got me away from the unbound variable problem. &nbsp;I’m getting sound now, but a beep at the console listener window alerts me to this:<br><br><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Error: (#&lt;unspecified&gt; #&lt;unspecified&gt;) is not a process<br></blockquote></blockquote></blockquote>sprout: (error "~S is not a process" proc) &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;; proc: (#&lt;unspecified&gt; #&lt;unspecif...<br>sprout: (((tail proc (cdr tail))) ((null? tail...<br>sprout: ((error "~S is not a process" proc)) &nbsp;&nbsp;&nbsp;&nbsp;<br>sprout: ((do ((tail args (cdr tail)) (keyw #f)... ; args: (), file: #f, start: 0<br> &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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;; id: 0<br> &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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;; startBeat: 0<br>(sprout (thump 60 2)) <br><br>Thanks again for the help.<br>Rob<br><blockquote type="cite">On Mar 3, 2016, at 12:02 PM, Johannes Quint &lt;<a href="mailto:johannes.quint@web.de">johannes.quint@web.de</a>&gt; wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">maybe this way:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">(define (thump knum at)<br></blockquote><blockquote type="cite"> ;;make two percussive events below knum)<br></blockquote><blockquote type="cite"> (list (mp:midi :time at <br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:key (- knum 18)<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:dur .05 :amp .5)<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(mp:midi :time at <br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:key (- knum 23)<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:dur .05 :amp .4)))<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">best<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Am 03.03.2016 um 17:57 schrieb Rob Howiler:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">Hi <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I am trying to make something work, but I am using old syntax I am sure. &nbsp;Below is what I am trying to do. &nbsp;Can anyone help me with the proper syntax?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Thanks<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Rob<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">(define (thump knum at)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> ;;make two percussive events below knum)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> (list (new midi :time at <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:key (- knum 18)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:dur .05 :amp .5)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(new midi :time at <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:key (- knum 23)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:dur .05 :amp .4)))<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I’m getting an “unbound variable” error message for “new"<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">------------------------------------------------------<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Dr. Rob Howiler<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Academic Computing Services Coordinator<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Assistant Professor of Music<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="mailto:rhowiler@presby.edu">rhowiler@presby.edu</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">(864) 833-8324<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">------------------------------------------------------<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">-- <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">------------------------------<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;<a href="http://www.presby.edu">http://www.presby.edu</a>&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Cmdist mailing list<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="mailto:Cmdist@ccrma.stanford.edu">Cmdist@ccrma.stanford.edu</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="https://cm-mail.stanford.edu/mailman/listinfo/cmdist">https://cm-mail.stanford.edu/mailman/listinfo/cmdist</a><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Johannes Quint<br></blockquote><blockquote type="cite"><a href="http://www.johannes-quint.de">www.johannes-quint.de</a><br></blockquote><blockquote type="cite"><br></blockquote><br>------------------------------------------------------<br>Dr. Rob Howiler<br>Academic Computing Services Coordinator<br>Assistant Professor of Music<br><a href="mailto:rhowiler@presby.edu">rhowiler@presby.edu</a><br>(864) 833-8324<br>------------------------------------------------------<br><br><br>-- <br><br>------------------------------<br>&lt;http://www.presby.edu&gt;<br><br>_______________________________________________<br>Cmdist mailing list<br>Cmdist@ccrma.stanford.edu<br>https://cm-mail.stanford.edu/mailman/listinfo/cmdist<br><br></div></blockquote></div><br><div>
<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; color: rgb(0, 0, 0); font-variant: 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; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -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; color: rgb(0, 0, 0); font-variant: 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; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="font-weight: normal; font-style: normal; margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p>&nbsp;</o:p></span></div><div style="font-family: 'Andale Mono'; font-size: medium; font-weight: normal; font-style: normal; "><div style="border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-top-style: solid; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding-top: 3pt; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; "></div></div></div></span></div></span></div><font class="Apple-style-span" face="Helvetica-Light"><span class="Apple-style-span" style="font-size: 12px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><font class="Apple-style-span" face="Helvetica-Light"><span class="Apple-style-span" style="font-size: 12px; "><br></span></font></div></span></font><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Helvetica Neue'; 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; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><font class="Apple-style-span" face="HelveticaNeue-Light"><span class="Apple-style-span" style="font-size: 12px; ">Johannes Quint<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-variant: 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; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -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; color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><a href="http://www.johannes-quint.de">www.johannes-quint.de</a></div></div></span></div></span></span></font></div></span>
</div>
<br></div></body></html>