Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
mp3... music lenghth
Forums
Active Threads
Search
Who's Online
Help
Print Thread
mp3... music lenghth
#
162573
20/10/06
04:07 AM
Joined:
Apr 2005
Posts: 1,009
Green Hill Zone
raZOR
OP
Hoopy frood
OP
raZOR
Hoopy frood
Joined:
Apr 2005
Posts: 1,009
Green Hill Zone
anyone care to write little alias how to get
music file lenghth of time and if possible explain what
each line does ?
IceCapped
Copy Link to Clipboard
Re: mp3... music lenghth
#
162574
20/10/06
04:28 AM
Joined:
Oct 2005
Posts: 1,741
G
genius_at_work
Hoopy frood
genius_at_work
Hoopy frood
G
Joined:
Oct 2005
Posts: 1,741
$sound(%filename).length
Explanation: Line 1, returns length of %filename
-genius_at_work
Copy Link to Clipboard
Re: mp3... music lenghth
#
162575
20/10/06
04:31 AM
Joined:
Apr 2005
Posts: 1,009
Green Hill Zone
raZOR
OP
Hoopy frood
OP
raZOR
Hoopy frood
Joined:
Apr 2005
Posts: 1,009
Green Hill Zone
heh uhm i get some weird number...
may i ask how to convert it to minutes:secs ?
IceCapped
Copy Link to Clipboard
Re: mp3... music lenghth
#
162576
20/10/06
04:48 AM
Joined:
Dec 2002
Posts: 1,245
California, doooood
M
MikeChat
Hoopy frood
MikeChat
Hoopy frood
M
Joined:
Dec 2002
Posts: 1,245
California, doooood
you mean $duration?
Copy Link to Clipboard
Re: mp3... music lenghth
#
162577
20/10/06
08:03 AM
Joined:
Aug 2004
Posts: 7,252
Ontario, Canada
R
RusselB
Hoopy frood
RusselB
Hoopy frood
R
Joined:
Aug 2004
Posts: 7,252
Ontario, Canada
that strange number isn't really strange, but rather the length measured in milliseconds, so to get a min:sec reference use
$asctime($calc($sound(%filename).length / 1000),nn:ss)
Copy Link to Clipboard
Re: mp3... music lenghth
#
162578
20/10/06
12:19 PM
Joined:
Apr 2005
Posts: 1,009
Green Hill Zone
raZOR
OP
Hoopy frood
OP
raZOR
Hoopy frood
Joined:
Apr 2005
Posts: 1,009
Green Hill Zone
thanks guys, i apreciate it.
IceCapped
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Website
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Website
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Website
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage