Skip to content

🎶 Mp3Size - calculates an estimated file size of Mp3 files, now in Dart! 🎯

Notifications You must be signed in to change notification settings

igorskyflyer/dart-mp3size

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎶 Mp3Size now in Dart 🎯

🧮 Calculates an estimated file size of Mp3 files. 🎶


Usage

A simple usage example:

import 'package:mp3size/mp3size.dart';

main() {
  print('mp3size: ${getFileSize('03:30')}'); // returns 4200
  print('mp3size: ${getFileSize('03:18', rate: 320)}'); // returns 7920
  print('mp3size: ${getAudioDuration(6474, 306)}'); // returns 00:02:49
  print('mp3size: ${getAudioBitrate('03:42', 5346)}'); // returns 192
}

About

🎶 Mp3Size - calculates an estimated file size of Mp3 files, now in Dart! 🎯

Topics

Resources

Stars

Watchers

Forks

Languages