POV-Ray : Newsgroups : povray.binaries.animations : Re: Music sync test (mpeg, ~1MBbu, really poor quality) : Re: Music sync test (mpeg, ~1MBbu, really poor quality) Server Time
20 Jul 2024 03:21:35 EDT (-0400)
  Re: Music sync test (mpeg, ~1MBbu, really poor quality)  
From: Warp
Date: 26 Oct 2001 13:29:26
Message: <3bd99d76@news.povray.org>
Greg M. Johnson <"gregj56590[:-0]"@aol.com> wrote:
: Pretty neat. Was it mere trial and error or did you figure out a was to "see the
: beats?"

  Just simple math. The music has 20 measures, that is, 80 beats. I just had
to make the isosurface pulse 80 times during the animation and make the
animation exactly as long as the music (32 seconds at 25 fps = 800 frames).

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.