All Projects â†’ alexmercerind â†’ flutter_audio_desktop

alexmercerind / flutter_audio_desktop

Licence: MIT License
[WIP] An 🎵 audio playback library for Flutter Desktop. Supports Windows & Linux. Based on miniaudio.

Programming Languages

C++
36643 projects - #6 most used programming language
dart
5743 projects
CMake
9771 projects
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to flutter audio desktop

Libnyquist
🎤 Cross platform C++11 library for decoding audio (mp3, wav, ogg, opus, flac, etc)
Stars: ✭ 311 (+640.48%)
Mutual labels:  mp3, wav, flac, audio-library
Miniaudio
Single file audio playback and capture library written in C.
Stars: ✭ 1,889 (+4397.62%)
Mutual labels:  mp3, wav, flac, audio-library
Ni Media
NI Media is a C++ library for reading and writing audio streams.
Stars: ✭ 158 (+276.19%)
Mutual labels:  mp3, wav, flac
Audioplayer
Audio Player for Nextcloud and ownCloud
Stars: ✭ 179 (+326.19%)
Mutual labels:  mp3, wav, flac
audio-metadata
A library for reading and, in the future, writing audio metadata. https://audio-metadata.readthedocs.io/
Stars: ✭ 41 (-2.38%)
Mutual labels:  mp3, wav, flac
sox.js
📢 NodeJS wrapper for the SoX audio tool
Stars: ✭ 18 (-57.14%)
Mutual labels:  mp3, wav, flac
Mediafile
A unified reader of metadata from audio & video files.
Stars: ✭ 138 (+228.57%)
Mutual labels:  mp3, wav, flac
loudgain
ReplayGain 2.0 loudness normalizer based on the EBU R128/ITU BS.1770 standard (-18 LUFS, FLAC, Ogg, MP2, MP3, MP4, M4A, AAC, ALAC, Opus, ASF, WMA, WAV, AIFF, WavPack, APE)
Stars: ✭ 127 (+202.38%)
Mutual labels:  mp3, wav, flac
Format parser
file metadata parsing, done cheap
Stars: ✭ 46 (+9.52%)
Mutual labels:  mp3, wav, flac
Youtube-DL-GUI
Graphical User Interace built around youtube-dl CLI
Stars: ✭ 38 (-9.52%)
Mutual labels:  mp3, wav, flac
Flacon
Audio File Encoder. Extracts audio tracks from an audio CD image to separate tracks.
Stars: ✭ 252 (+500%)
Mutual labels:  mp3, wav, flac
java-stream-player
🌌Java Advanced Audio Controller Library (WAV, AU, AIFF, MP3, OGG VORBIS, FLAC, MONKEY's AUDIO and SPEEX audio formats )
Stars: ✭ 112 (+166.67%)
Mutual labels:  mp3, wav, flac
Music Metadata Browser
Browser version of music-metadata parser Supporting a wide range of audio and tag formats.
Stars: ✭ 105 (+150%)
Mutual labels:  mp3, wav, flac
Audio Steganography Algorithms
A Library of Audio Steganography & Watermarking Algorithms
Stars: ✭ 146 (+247.62%)
Mutual labels:  mp3, wav, flac
Av Converter
[av-converter.com] Audio and Video Converter, and YouTube downloader. Convert to MP3, MP4, AAC, FLAC, AC3, WAV, etc.
Stars: ✭ 97 (+130.95%)
Mutual labels:  mp3, wav, flac
Atldotnet
Fully managed, portable and easy-to-use C# library to read and edit audio data and metadata (tags) from various audio formats, playlists and CUE sheets
Stars: ✭ 180 (+328.57%)
Mutual labels:  mp3, wav, flac
uos
United Open-libraries of Sound. United procedures for open-source audio libraries. For FPC/Lazarus/fpGUI/MSEgui.
Stars: ✭ 112 (+166.67%)
Mutual labels:  mp3, wav, flac
Esp8266audio
Arduino library to play MOD, WAV, FLAC, MIDI, RTTTL, MP3, and AAC files on I2S DACs or with a software emulated delta-sigma DAC on the ESP8266 and ESP32
Stars: ✭ 972 (+2214.29%)
Mutual labels:  mp3, wav, flac
Gogglesmm
Goggles Music Manager
Stars: ✭ 41 (-2.38%)
Mutual labels:  mp3, audio-player, flac
Symphonia
Pure Rust multimedia format demuxing, tag reading, and audio decoding library
Stars: ✭ 191 (+354.76%)
Mutual labels:  mp3, wav, flac

✒ libwinmedia is sequel to this project.

It provides network playback, better format support, control & features.















An audio playback library for Flutter Desktop.

Feel free to open issue anytime.

Installing

Mention in your pubspec.yaml:

dependencies:
  ...
  flutter_audio_desktop: ^0.1.0

Using

// Create new instance.
var audioPlayer = new AudioPlayer(id: 0)
..stream.listen(
  (Audio audio) {
    // Listen to playback events.
  },
);
// Load audio source
audioPlayer.load(
  new AudioSource.fromFile(
    new File('/home/alexmercerind/music.mp3'),
  ),
);
// Start playback.
audioPlayer.play();
// Get audio duration.
audioPlayer.audio.duration;
// Change playback volume.
audioPlayer.setVolume(0.5);
// Change playback position.
audioPlayer.setPosition(Duration(seconds: 10));
// Get playback position.
audioPlayer.audio.position;
Timer(Duration(seconds: 10), () {
    // Pause playback.
    audioPlayer.pause();
}
// Few other things.
audioPlayer.audio.file;
audioPlayer.audio.isPlaying;
audioPlayer.audio.isCompleted;
audioPlayer.audio.isStopped;

Other classes & methods are documented in their docstrings very well.

See this example for a better overview.

Windows

Linux

Support

If you want to be kind to me, then consider buying me a coffee.

Thankyou!

Progress

Platform Status
Linux Working
Microsoft Windows Working
MacOS Learn More

License

I don't want to put any restrictions on how you distribute your Flutter Desktop apps, so this library comes under very permissive software, MIT license.

Since, other libraries like libvlcpp or libvlc come under GPL & LGPL licenses respectively, so there will be many restrictions if I plan to use them.

Thus, this project uses miniaudio and miniaudio_engine from David Reid under MIT license.

Acknowledgments

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].