All Projects → iampawan → Flute Music Player

iampawan / Flute Music Player

Licence: apache-2.0
Flute Music Player - First Open Source Flutter based material design music player with audio plugin to play local music files.

Programming Languages

java
68154 projects - #9 most used programming language
dart
5743 projects

Projects that are alternatives of or similar to Flute Music Player

di-tui
A simple terminal UI player for di.fm
Stars: ✭ 33 (-88.5%)
Mutual labels:  music-player, audio-player
violin
🎵 Minimalistic music player for desktop devices.
Stars: ✭ 40 (-86.06%)
Mutual labels:  music-player, audio-player
pushtape-player.js
Customizable JS audio page player with global playback controls and autoscan (mutationobserver), built on Soundmanager2.
Stars: ✭ 27 (-90.59%)
Mutual labels:  music-player, audio-player
TonUINO
Alternative TonUINO Firmware
Stars: ✭ 112 (-60.98%)
Mutual labels:  music-player, audio-player
amplyfm
A free and open-source web app for streaming music.
Stars: ✭ 46 (-83.97%)
Mutual labels:  music-player, audio-player
audioStreamDemo
A music player created in swift using AVPlayer to stream audio from server.
Stars: ✭ 33 (-88.5%)
Mutual labels:  music-player, audio-player
MusicFolderPlayer
An elegant HTML5 web folder player for parties and/or private music collections, with playlist management that's just better.
Stars: ✭ 89 (-68.99%)
Mutual labels:  music-player, audio-player
Musikcube
a cross-platform, terminal-based music player, audio engine, metadata indexer, and server in c++
Stars: ✭ 2,663 (+827.87%)
Mutual labels:  music-player, audio-player
ANMP
multi-channel loopable video game music player for nerds and audiophiles
Stars: ✭ 16 (-94.43%)
Mutual labels:  music-player, audio-player
badtaste
🎵 Terminal player with filesystem, google music and vk.com support
Stars: ✭ 40 (-86.06%)
Mutual labels:  music-player, audio-player
minimal-player
This is a minimal, clean audio/music/mp3 player with spinning cover images, built with jQuery, TweenMax.js and SVG images.
Stars: ✭ 48 (-83.28%)
Mutual labels:  music-player, audio-player
react-aplayer
🍭 A React wrapper component of APlayer
Stars: ✭ 25 (-91.29%)
Mutual labels:  music-player, audio-player
Swift Radio Pro
Professional Radio Station App for iOS!
Stars: ✭ 2,644 (+821.25%)
Mutual labels:  music-player, audio-player
MusicSharp
MusicSharp is a lightweight, cross-platform TUI music player written in C#.
Stars: ✭ 41 (-85.71%)
Mutual labels:  music-player, audio-player
React H5 Audio Player
React audio player component with UI. It provides time indicator on both desktop and mobile devices.
Stars: ✭ 226 (-21.25%)
Mutual labels:  music-player, audio-player
JetTunes-Desktop-Music-Player
Material design music player made with javafx
Stars: ✭ 36 (-87.46%)
Mutual labels:  music-player, audio-player
Html Midi Player
🎹 Play and display MIDI files on the web
Stars: ✭ 158 (-44.95%)
Mutual labels:  music-player, audio-player
Audiomotion.js
High-resolution real-time spectrum analyzer and music player using Web Audio and Canvas APIs.
Stars: ✭ 177 (-38.33%)
Mutual labels:  music-player, audio-player
SwimplyPlayIndicator
Animated PlayIndicator written in SwiftUI. Inspired by Apple's Music Player.
Stars: ✭ 52 (-81.88%)
Mutual labels:  music-player, audio-player
SwiftAudioPlayer
[WIP] Simple music player for macOS written in Swift
Stars: ✭ 33 (-88.5%)
Mutual labels:  music-player, audio-player

Flute Music Player Plugin Only

Updated to androidx First Open Source Flutter based material design music player with audio plugin to play local music files.(Online Radio will be added soon.)

Features

  • [x] Android (iOS Coming Soon)

    • [x] Fetch local songs (Inbuilt Permission)
    • [x] Beautiful UI with multiple themes(Coming Soon)
    • [x] Animation
    • [x] Full Fledged Example
    • [x] play (local files)
    • [x] stop
    • [x] pause
    • [x] seek
    • [x] shuffle
    • [x] Album Art
    • [x] onComplete
    • [x] onDuration / onCurrentPosition
  • Supported formats

Show some ❤️ and star the repo to support the project

  • Please note this is a plugin only. Actual project's link is below

Music Player Development Project

Flutter Beautiful Music Player

Screenshots

Usage

Example

To use this plugin :

  dependencies:
    flutter:
      sdk: flutter
    flute_music_player:
  • instantiate an Music Finder instance
//...
MusicFinder audioPlayer = new MusicFinder();
//...

Fetch Songs

//...
var songs = MusicFinder.allSongs();
//...

play, pause , stop, seek

play() async {
  final result = await audioPlayer.play(kUrl);
  if (result == 1) setState(() => playerState = PlayerState.playing);
}

// add a isLocal parameter to play a local file
playLocal() async {
  final result = await audioPlayer.play(kUrl);
  if (result == 1) setState(() => playerState = PlayerState.playing);
}


pause() async {
  final result = await audioPlayer.pause();
  if (result == 1) setState(() => playerState = PlayerState.paused);
}

stop() async {
  final result = await audioPlayer.stop();
  if (result == 1) setState(() => playerState = PlayerState.stopped);
}

// seek 5 seconds from the beginning
audioPlayer.seek(5.0);

duration, position, complete, error (temporary api)

The Dart part of the plugin listen for platform calls :

//...
audioPlayer.setDurationHandler((Duration d) => setState(() {
  duration = d;
}));

audioPlayer.setPositionHandler((Duration  p) => setState(() {
  position = p;
}));

audioPlayer.setCompletionHandler(() {
  onComplete();
  setState(() {
    position = duration;
  });
});

audioPlayer.setErrorHandler((msg) {
  print('audioPlayer error : $msg');
  setState(() {
    playerState = PlayerState.stopped;
    duration = new Duration(seconds: 0);
    position = new Duration(seconds: 0);
  });
});

##Credit for audioplayer plugin Erick Ghaumez Detailed Example for AudioPlayer

iOS

Alert: iOS implementation

This project is not implemented for ios yet.So wait for it or if you can contribute then please do help.

Pull Requests

I welcome and encourage all pull requests. It usually will take me within 24-48 hours to respond to any issue or request. Here are some basic rules to follow to ensure timely addition of your request:

  1. Match coding style (braces, spacing, etc.) This is best achieved using Reformat Code feature of Android Studio CMD+Option+L on Mac and CTRL + ALT + L on Linux + Windows .
  2. If its a feature, bugfix, or anything please only change code to what you specify.
  3. Please keep PR titles easy to read and descriptive of changes, this will make them easier to merge :)
  4. Pull requests must be made against develop branch. Any other branch (unless specified by the maintainers) will get rejected.
  5. Check for existing issues first, before filing an issue.
  6. Make sure you follow the set standard as all other projects in this repo do
  7. Have fun!

Created & Maintained By

Pawan Kumar (@imthepk) (Youtube) (Insta)

If you found this project helpful or you learned something from the source code and want to thank me, consider buying me a cup of ☕️

License

Copyright 2018 Pawan Kumar

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Getting Started

For help getting started with Flutter, view our online documentation.

For help on editing plugin code, view the documentation.

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