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;"> :reverb nrev :Printing nil)</span><br style="font-weight: bold;"><span style="font-weight: bold;"> (move-it (:channels 2 </span><br style="font-weight: bold;">
<span style="font-weight: bold;"> :paths (list (make-path '((-10 10)(0.1 0.1)(10 -10)))</span><br style="font-weight: bold;"><span style="font-weight: bold;"> (make-spiral-path :turns 2)))
</span><br style="font-weight: bold;"><span style="font-weight: bold;"> </span><br style="font-weight: bold;"><span style="font-weight: bold;"> (samp2 "eastern_guitar.aif" 0)))</span><br><br>i am also getting these type of warnings:
<br><br>"WARNING:<br> supersonic radial movement at [2.3851562,-2.2046876,0.0, 0.61474013], speed=28.252476"<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> <<a href="mailto:nando@ccrma.stanford.edu">nando@ccrma.stanford.edu</a>> 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>> Hi Fernando,<br>> in taking a look at
dlocsig.html, I found what seems to be a way to<br>> generate spiralling sound spatialization using Geometric Paths<br>> (dlocsig.html#geometric-paths):<br>> make-spiral-path<br>> &optional-key<br>><br>
><br>> (start-angle 0d0)<br>> (total-angle nil)<br>> (step-angle (/ dlocsig-one-turn<br>> 100))<br>> (turns nil)<br>> (distance '(0 10 1 10))<br>> (height '(0 0 1 0))<br>> (velocity '(0 1 1 1))
<br>><br>> But i'm not sure where in my CLM composition's code I would insert<br>> this spiral path info to actually apply this spatialization to my<br>> output track.<br>> For my performance the audience will be surrounded by 9 speakers ( 4
<br>> on the floor, 4 at slightly above ear level when sitting + one speaker<br>> above) , so basically a cube of about 25x 25 x 5 feet with a speaker<br>> at each corner and a tweeter tree overhead. I'm trying to figure out
<br>> two things in this email:<br>><br>><br>> 1) What arguments do i give the make-spiral-path function to generate<br>> a logarithmic spiral which goes upward into a cone which would come to<br>> its apex at the height of the audience's ears (about 5 feet 5 inches)
<br>> with a total angle of 23.5 degrees ?<br><br>You can (should) be able to use "distance" and "height" to do what you<br>need to. "distance" is the distance between the listener and the moving
<br>object - it can be a 3d list provided that path-3d is "t", such as '(0 1<br>0)(0 2 3)), etc, where each sublist is an x/y/z triple. Same for<br>height.<br><br>> Basically i am trying to mimic the spiral created by the Earth's
<br>> precessional cycle on a small scale for my final performance. This<br>> might be easier with a visual aid. Check this movie out:<br>> <a href="http://www.lunarplanner.com/HCmovies/HCmovie300Frame.html">http://www.lunarplanner.com/HCmovies/HCmovie300Frame.html
</a>. So using<br>> this movie as a model, the height of the spiral at its apex (and at<br>> the climax point of the composition) would be, figuratively, in the<br>> center of the earth where the two cones formed by earth's
23.5 degree<br>> wobble on its axis come together at one point. Does that make sense ?<br>><br>><br>> 2) What arguments do I give the arrange-speaker functions to, i.e. how<br>> would I map this speaker arrangement ?
<br><br>I think this is still valid, there's some details there (and I think<br>there's a dlocsig.html file in the clm distro as well):<br><br> <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>> What were your results in testing these spiral paths on a
<br>> multi-speaker system ? Did you use gnuplot to generate your spiral<br>> coordinates or can you fairly easily plug them into the<br>> 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's some functions in the code to drive gnuplot<br>but I have not tested the whole thing in a long time, I don't know if
<br>all that code still works.<br><br>> Also, would i also need to render my final output as an Ambisonics<br>> 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 "listening time" for any array<br>of speakers with the proper decoder.<br><br>> Sorry for the heavy question-load, but I'm getting a little lost in
<br>> all this 3-d spatialization stuff.<br><br>It is complicated...<br>-- Fernando<br><br><br></blockquote></div><br>