hi fernando,<br>I am getting repetitive clicking noises from the speakers when I put the following code into CLM using a 4 speaker arrangement. The sample file is mono.<br><br><span style="font-weight: bold;">(with-sound (:channels 4 :Scaled-to .99 :Srate 44100 :statistics t 
</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :reverb nrev :Printing nil)</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp; (move-it (:channels 2 </span><br style="font-weight: bold;">
<span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :paths (list (make-path &#39;((-10 10)(0.1 0.1)(10 -10)))</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (make-spiral-path :turns 2)))
</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (samp2 &quot;eastern_guitar.aif&quot; 0)))</span><br><br>i am also getting these type of warnings:&nbsp; 
<br><br>&quot;WARNING:<br>&nbsp;&nbsp; supersonic radial movement at [2.3851562,-2.2046876,0.0, 0.61474013], speed=28.252476&quot;<br><br>The sound spirals around the speakers nicely, except for the clicks.<br>What am I doing wrong here ? 
<br><br>Thanks,<br>JHD<br><br><br><br><br><div><span class="gmail_quote">On 8/2/07, <b class="gmail_sendername">Fernando Lopez-Lezcano</b> &lt;<a href="mailto:nando@ccrma.stanford.edu">nando@ccrma.stanford.edu</a>&gt; wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Wed, 2007-08-01 at 23:49 +0100, john henry dale wrote:<br>&gt; Hi Fernando,<br>&gt; in taking a look at 
dlocsig.html, I found what seems to be a way to<br>&gt; generate spiralling sound spatialization using Geometric Paths<br>&gt; (dlocsig.html#geometric-paths):<br>&gt; make-spiral-path<br>&gt; &amp;optional-key<br>&gt;<br>
&gt;<br>&gt; (start-angle 0d0)<br>&gt; (total-angle nil)<br>&gt; (step-angle (/ dlocsig-one-turn<br>&gt; 100))<br>&gt; (turns nil)<br>&gt; (distance &#39;(0 10 1 10))<br>&gt; (height &#39;(0 0 1 0))<br>&gt; (velocity &#39;(0 1 1 1))
<br>&gt;<br>&gt; But i&#39;m not sure where in my CLM composition&#39;s code I would insert<br>&gt; this spiral path info to actually apply this spatialization to my<br>&gt; output track.<br>&gt; For my performance the audience will be surrounded by 9 speakers ( 4
<br>&gt; on the floor, 4 at slightly above ear level when sitting + one speaker<br>&gt; above) , so basically a cube of about 25x 25 x 5 feet&nbsp;&nbsp;with a speaker<br>&gt; at each corner and a tweeter tree overhead. I&#39;m trying to figure out
<br>&gt; two things in this email:<br>&gt;<br>&gt;<br>&gt; 1) What arguments do i give the make-spiral-path function to generate<br>&gt; a logarithmic spiral which goes upward into a cone which would come to<br>&gt; its apex at the height of the audience&#39;s ears (about 5 feet 5 inches)
<br>&gt; with a total angle of 23.5 degrees ?<br><br>You can (should) be able to use &quot;distance&quot; and &quot;height&quot; to do what you<br>need to. &quot;distance&quot; is the distance between the listener and the moving
<br>object - it can be a 3d list provided that path-3d is &quot;t&quot;, such as &#39;(0 1<br>0)(0 2 3)), etc, where each sublist is an x/y/z triple. Same for<br>height.<br><br>&gt; Basically i am trying to mimic the spiral created by the Earth&#39;s
<br>&gt; precessional cycle on a small scale for my final performance. This<br>&gt; might be easier with a visual aid. Check this movie out:<br>&gt; <a href="http://www.lunarplanner.com/HCmovies/HCmovie300Frame.html">http://www.lunarplanner.com/HCmovies/HCmovie300Frame.html
</a>. So using<br>&gt; this movie as a model, the height of the spiral at its apex (and at<br>&gt; the climax point of the composition) would be, figuratively, in the<br>&gt; center of the earth where the two cones formed by earth&#39;s 
23.5 degree<br>&gt; wobble on its axis come together at one point. Does that make sense ?<br>&gt;<br>&gt;<br>&gt; 2) What arguments do I give the arrange-speaker functions to, i.e. how<br>&gt; would I map this speaker arrangement ?
<br><br>I think this is still valid, there&#39;s some details there (and I think<br>there&#39;s a dlocsig.html file in the clm distro as well):<br><br>&nbsp;&nbsp;<a href="http://ccrma.stanford.edu/~nando/clm/dlocsig/">http://ccrma.stanford.edu/~nando/clm/dlocsig/
</a><br><br>Basically you specify angles (azimut and elevation) for the speakers and<br>then you have to group them in triads for 3d (ie: you have to<br>tesselate(sp?) space so that it is covered with three adjacent speaker
<br>groups - I gave up on finding lisp code that would do that<br>automatically). There are some default configurations in the source file<br>that should provide a guide.<br><br>&gt; What were your results in testing these spiral paths on a
<br>&gt; multi-speaker system ? Did you use gnuplot to generate your spiral<br>&gt; coordinates or can you fairly easily plug them into the<br>&gt; make-spiral-path argument ?<br><br>They sounded, well, like spiral paths :-) That does not necessarily mean
<br>they make good musical sense, of course... Sometimes I did use gnuplot<br>to visualize them, there&#39;s some functions in the code to drive gnuplot<br>but I have not tested the whole thing in a long time, I don&#39;t know if
<br>all that code still works.<br><br>&gt;&nbsp;&nbsp;Also,&nbsp;&nbsp;would i also need to render my final output as an Ambisonics<br>&gt; file for 9 speakers to accomplish something like this ?<br><br>You choose your rendering model. No need to use Ambisonics. The
<br>advantage of it being that you could render to an Ambisonics B format 4<br>channel soundfile and then decode that at &quot;listening time&quot; for any array<br>of speakers with the proper decoder.<br><br>&gt; Sorry for the heavy question-load, but I&#39;m getting a little lost in
<br>&gt; all this 3-d spatialization stuff.<br><br>It is complicated...<br>-- Fernando<br><br><br></blockquote></div><br>