Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
$sound(file.mp3).length not reporting right
Forums
Active Threads
Search
Who's Online
Help
Print Thread
Re: $sound(file.mp3).length not reporting right
_entropy
#
259913
10/02/17
02:11 PM
Joined:
Aug 2016
Posts: 36
West Oz
ruprecht
Ameglian cow
ruprecht
Ameglian cow
Joined:
Aug 2016
Posts: 36
West Oz
Yes, as the boss says, length in miliseconds... divide by 1000 to get the correct result.
Code:
%msl = $sound(file.mp3).length %len = $duration($calc(%msl/1000))
Returns 5mins 53secs for your example.
Copy Link to Clipboard
Entire Thread
Subject
Posted By
Posted
$sound(file.mp3).length not reporting right
_entropy
05/02/17
07:49 PM
Re: $sound(file.mp3).length not reporting right
Khaled
05/02/17
11:39 PM
Re: $sound(file.mp3).length not reporting right
ruprecht
10/02/17
02:11 PM
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 Flat Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage