Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^4: Win32::Sound with text

by sulfericacid (Deacon)
on Oct 15, 2005 at 17:37 UTC ( [id://500468]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Win32::Sound with text
in thread Win32::Sound with text

Not sure what's up with Anony Monk but I sure do appreciate the help :) Thanks for the help everyone.

It's not necissarily a bug but something I noticed that there's really not going to be a workaround for.. I am playing a song and for the last 10 seconds I am having it fade out by knocking off a few percentage points from the volume. Since it does it so suddenly, it almost sounds like the song jerks itself to the next level as opposed to it being a gradual non-intefering volume control.

Anyone else experience this? It's okay, I'm definitely not complaining :) It works great.

Again, thanks for everyone's help.



"Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"

sulfericacid

Replies are listed 'Best First'.
Re^5: Win32::Sound with text
by GrandFather (Saint) on Oct 15, 2005 at 21:10 UTC

    Have a look at Audio::Wav. It allows you to read and write .wav files so you can read in you .wav filen then do a smooth taper of the volume to 0 over the last 10 seconds by multiplying successive samples by a number that ranges from 1 to 0 over a 10 second span, then write it back out. Then when you play the altered wave file back it fades nicely without any further need for script support.

    There are probably audio editing tools around that will let you do the same thing, but I don't know what to recommend.


    Perl is Huffman encoded by design.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://500468]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2024-04-26 02:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found