https://github.com/igorskyflyer/.net-core-mp3size
📊 Calculates an estimated file size of Mp3 files. 🎶
https://github.com/igorskyflyer/.net-core-mp3size
audio back-end bitrate cli console cs csharp igorskyflyer mp3 music net netcore port
Last synced: about 1 year ago
JSON representation
📊 Calculates an estimated file size of Mp3 files. 🎶
- Host: GitHub
- URL: https://github.com/igorskyflyer/.net-core-mp3size
- Owner: igorskyflyer
- License: mit
- Created: 2020-05-17T15:23:16.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-03T23:32:37.000Z (about 3 years ago)
- Last Synced: 2025-04-12T15:07:01.918Z (about 1 year ago)
- Topics: audio, back-end, bitrate, cli, console, cs, csharp, igorskyflyer, mp3, music, net, netcore, port
- Language: C#
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
README
# mp3size for .NET Core
Calculates an estimated file size of Mp3 files.
> Port of this.
### Usage
`getFileSize(string time, int rate = 160): int`
> Gets the estimated size of the Mp3 file based on the audio time and bitrate.
- time: string, time the length of the Mp3 file, expects either HH:MM:ss or MM:ss format
- rate: int, the bitrate of the file, defaults to 160
returns a number, the estimated Mp3 file size or -1 in case of an error
If you like this project please consider donating to keep it alive, see this and click on the Sponsor button at the top.