POV-Ray : Newsgroups : povray.binaries.animations : Music Video Project Server Time
31 Oct 2024 14:09:39 EDT (-0400)
  Music Video Project (Message 21 to 30 of 36)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 6 Messages >>>
From: m@b
Subject: Re: Music Video Project
Date: 13 Apr 2021 02:42:51
Message: <60753d6b$1@news.povray.org>
On 13/04/2021 6:32 am, Dave Blandston wrote:
> Here's a short test to show the use of the "spectral" display to locate beat
> times. It appears to be right on. (Note that not all beats are used, but when a
> visual transition does occur it coincides with a beat.) It's great that Audacity
> includes this functionality!
> 
> https://www.youtube.com/watch?v=RifdL-c0QMM
> 
> Kind regards,
> Dave Blandston
> 

Looking good :-)


Post a reply to this message

From: Dave Blandston
Subject: Re: Music Video Project
Date: 13 Apr 2021 03:10:00
Message: <web.607542a3432b07e179416a1f9334df62@news.povray.org>
"m@b" <sai### [at] googlemailcom> wrote:
> Further - frame numbers are better if you are including video frames in
> an animation. Using clock derived functions results in dropped or
> doubled frames from time to time.

Precision errors can be an issue in situations like this and they're more common
than some folks might realize. You would never know the difference if some
object is positioned at 43.9999999 instead of 44 POV units and the difference is
one billionth the width of a pixel and has zero effect on the final image
values, but you will certainly notice if FRAME #43 is displayed instead of FRAME
#44!

#local FrameNumber = int (EventClock * (NumberOfFrames - 1) + .1); //Correct for
precision errors
#local Padding = strlen (str (NumberOfFrames - 1, 0, 0));
#local SourceImageFileName = concat ("VideoFrame_", str (FrameNumber, -Padding,
0), ".png")

Just something to keep in mind...

Kind regards,
Dave Blandston


Post a reply to this message

From: jr
Subject: Re: Music Video Project
Date: 13 Apr 2021 03:30:00
Message: <web.6075486f432b07e179819d986cde94f1@news.povray.org>
hi,

"Dave Blandston" <nomail@nomail> wrote:
> "jr" <cre### [at] gmailcom> wrote:
> > hi,
> >
> > run it, right-click to start, left-click or 'b' key each beat, then
> > right-click again to stop; 'q' at any time to abandon.
>
> This sounds intriguing - I've never heard of Tcl/Tk so I'm not sure what you
> mean - should I run this script then play the song and press the "b" key every
> time I hear a beat, and the script will record the timing of the keypresses?

yes.

> If
> so then I must admit that I have no musical talent whatsoever of my own and my
> ability to keep a beat is nearly non-existent. If you saw me TRY to dance you
> would immediately agree that I would fail terribly at this!

no worries, the "white men can't jump" syndrome.  :-)

<https://www.youtube.com/watch?v=-FvsgGp8rSE>


regards, jr.


Post a reply to this message

From: Dave Blandston
Subject: Re: Music Video Project
Date: 13 Apr 2021 04:10:00
Message: <web.607551c9432b07e179416a1f9334df62@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> hi,
> no worries, the "white men can't jump" syndrome.  :-)
>
> <https://www.youtube.com/watch?v=-FvsgGp8rSE>
>
>
> regards, jr.

Yep, that's me!


Post a reply to this message

From: jr
Subject: Re: Music Video Project
Date: 13 Apr 2021 06:40:00
Message: <web.607573f9432b07e179819d986cde94f1@news.povray.org>
hi,

(this has been nagging me since I posted, sorry)

"jr" <cre### [at] gmailcom> wrote:
> "Dave Blandston" <nomail@nomail> wrote:
> > "jr" <cre### [at] gmailcom> wrote:
> > > run it, right-click to start, left-click or 'b' key each beat, then
> > > right-click again to stop; 'q' at any time to abandon.
> >
> > This sounds intriguing - I've never heard of Tcl/Tk so I'm not sure what you
> > mean - should I run this script then play the song and press the "b" key every
> > time I hear a beat, and the script will record the timing of the keypresses?
>
> yes.

the presumption was/is that you are comfortable with the idea of "programming"
since you use (at least) the POV-Ray SDL.  there's nothing special about the
language, almost any scripting/compiled language will do.  I wrote the code to
illustrate that you can make a simple tool to take some of the drudge out of the
job and take (human) fallibility out of the equation, with little effort -- make
your computer earn its electricity.  (besides, it also delivered a pleasure
"kick" similar to solving a good crossword. :-))


regards, jr.


Post a reply to this message

From: Dave Blandston
Subject: Re: Music Video Project
Date: 13 Apr 2021 08:55:00
Message: <web.60759368432b07e179416a1f9334df62@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> the presumption was/is that you are comfortable with the idea of "programming"
> since you use (at least) the POV-Ray SDL.  there's nothing special about the
> language, almost any scripting/compiled language will do.  I wrote the code to
> illustrate that you can make a simple tool to take some of the drudge out of the
> job and take (human) fallibility out of the equation, with little effort -- make
> your computer earn its electricity.  (besides, it also delivered a pleasure
> "kick" similar to solving a good crossword. :-))
>
>
> regards, jr.

I have begun the arduous task of logging the beat marks by hand. I ended up
using a program called RX 8 by Izotope to display the "spectral" music view
since it shows a little more clarity than Audacity and it displays the exact
time where the cursor is so it's easy to get the info. In many instances there
are several beats per second, for example:

23.116
23.242
23.393
23.549
23.675
23.829
23.961

Also this particular song does not have a regular, constant beat - it changes
continually. It took well over an hour, probably closer to two hours just to get
to the 44 second mark but it is possible. I wish I could use your script but I
think it would be impossible to get accurate results, at least for this song. If
you haven't heard it check it out and you'll see what I mean...

https://www.youtube.com/watch?v=6rNELTZO0QQ

Plus listening to it will make your day better!


Post a reply to this message

From: Kenneth
Subject: Re: Music Video Project
Date: 13 Apr 2021 09:45:00
Message: <web.60759fa1432b07e1d98418916e066e29@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> "Kenneth" <kdw### [at] gmailcom> wrote:
>
> > ...but I'm thinking now of extending the length of
> > the entire animation with some new action at the end, maybe by 25%, but
> > without messing up all of the clock-specified events and timings that are
> > already there.
>
> Those ought to stay exactly the same.
> If you're just increasing the number of frames, then everything should
> stay the same as well.
>
> If you are _appending_ more things to the animation, then maybe just declare a
> Clock2 variable that is
> #declare Clock2 = max (1, 2-clock);
> Then when the 0-1 clock "runs out", you get a second 0-1 clock variable
> to use.
> You can also just search-replace all of your "clock" instances with "Clock"
> #declare Clock = min (1, clock);
> so that it stops at 1.
>

Yes, I've used constructs similar to those as well (although the use of min/max
is a new twist that I didn't think of; thanks.)

For me though, it really boils down to 'clarity of code'. In other words, if I
use frame_number to start an event, I'll 'know' immediately what I intended, and
where the event happens in the animation. With something like max(1,2-clock), I
have to actually think about it-- ouch! :-P Especially if I come across this
piece of code years from now, not remembering why I did it this way. Unless I'm
smart and add a nice little comment to *tell* me why, ha.

But there ARE other instances where I'll 'mix and match' clock and frame_number.
Dave B's waving flag is a good example: something like sin(19*pi*clock) is
perfectly fine for such 'continuous' animation, regardless of if I change the
running length of my animation later (where clock would go past 1.0). Using
frame_number there instead would be an unnecessary complication.


Post a reply to this message

From: jr
Subject: Re: Music Video Project
Date: 13 Apr 2021 11:00:00
Message: <web.6075b0ca432b07e179819d986cde94f1@news.povray.org>
hi,

"Dave Blandston" <nomail@nomail> wrote:
> "jr" <cre### [at] gmailcom> wrote:
> ...
> 23.116
> 23.242
> 23.393
> 23.549
> 23.675
> 23.829
> 23.961

:-)


> Also this particular song does not have a regular, constant beat - it changes
> continually. It took well over an hour, probably closer to two hours just to get
> to the 44 second mark but it is possible. I wish I could use your script but I
> think it would be impossible to get accurate results, at least for this song.

would need .. nimble fingers.


> If you haven't heard it check it out and you'll see what I mean...
> {...}
> Plus listening to it will make your day better!

it did.  :-)

I often find cover versions the equal of, or better than, the originals, eg:
<https://www.youtube.com/watch?v=BoZx9TGdWEA>


regards, jr.


Post a reply to this message

From: Dave Blandston
Subject: Re: Music Video Project
Date: 13 Apr 2021 18:35:00
Message: <web.60761b66432b07e179416a1f9334df62@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> I often find cover versions the equal of, or better than, the originals, eg:
> <https://www.youtube.com/watch?v=BoZx9TGdWEA>
>
>
> regards, jr.

If you like Metallica remakes then here are two of my favorites, both unique in
their own way:

https://www.youtube.com/watch?v=INouvLl1JiQ (Enter Sandman performed by
extremely talented youngsters)

https://odysee.com/@mediabear:5/safetyland:a (Enter Sandman parody)

Cheers!


Post a reply to this message

From: jr
Subject: Re: Music Video Project
Date: 14 Apr 2021 03:45:00
Message: <web.60769c5a432b07e179819d986cde94f1@news.povray.org>
hi,

(I know I _always_ get into .. deep water when I make "forthright" comments,
nevertheless..)

"Dave Blandston" <nomail@nomail> wrote:
> "jr" <cre### [at] gmailcom> wrote:
> > I often find cover versions the equal of, or better than, the originals, eg:
> > <https://www.youtube.com/watch?v=BoZx9TGdWEA>
> >
> >
> > regards, jr.
>
> If you like Metallica remakes then here are two of my favorites, both unique in
> their own way:
> INouvLl1JiQ (Enter Sandman performed by extremely talented youngsters)

but where's the "kick"?  they _could_[*] have been miming to a backing track,
there's so little difference.
[*] but didn't.

google 'Hayseed Dixie Enter Sandman' for one I like as well as the original.
:-)


> odysee.com/@mediabear:5/safetyland:a (Enter Sandman parody)

didn't check this, the url looks like something I'd never click on.  (sorry, old
fool being (somewhat) paranoid)


regards, jr.


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 6 Messages >>>

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