POV-Ray : Newsgroups : povray.newusers : sound-/sine wave in povray : Re: sound-/sine wave in povray Server Time
4 Jul 2024 14:13:21 EDT (-0400)
  Re: sound-/sine wave in povray  
From: Marco
Date: 17 Sep 2010 05:45:01
Message: <web.4c933804613bfb9e6731f09e0@news.povray.org>
"omniverse" <omn### [at] charternet> wrote:
> Christian Froeschlin <chr### [at] chrfrde> wrote:
> > Marco wrote:
> I want to make a sine-wave in 3D, with a
> > > look like a b_spline (as in: rounded edges, to give it a proper 3D-look), like
> > > the representation of a sound wave in Audacity.
> >
> > I'm not sure how it looks in Audacity but you might try a sphere_sweep.
>
> I recently bought a turntable with USB connection so I could put old vinyl
> records onto CD and it comes with Audacity. To see anything like a sine wave I
> must magnify the view to the extreme, otherwise mostly see chaotic waveforms not
> simple sine waves from music. Guess that's beside the point.  ;)
>
> Not sure sphere_sweep is going to be good for this since it requires a known
> number of points. I could just be thinking wrong but stringing spheres together
> might be easiest to work math in for variations on waveform.
> Simple example here (because it's all I could do), not intended as THE solution:
>
> /* sine or sound wave */
> ...
> /* end sine or sound wave */

Thank you very much! That looks beautiful, I'll just try and modify this sample,
maybe change the coloring of the spheres, maybe try to create the look of a
single thread (and not a string of spheres), and perhaps if I could create some
"cartoony" randomness to the peaks of the wave forms, that would really look
great.

Oh, and your records must be in pretty bad shape if you can't see the sine wave
(or maybe I always zoom in very far with Audacity), enjoy anyway! Oh, and make
sure you record to 44k1Hz, and not 22050Hz, or if you burn it to CD it will come
out like the Smurfs (because the CDplayer will play back at 44k1 regardless)! (I
had that once, very funny, but not what I wanted at all)


Post a reply to this message

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