An open API service indexing awesome lists of open source software.

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. 🎶

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.