chrismanning / melosic Goto Github PK
View Code? Open in Web Editor NEWMusic player
License: GNU General Public License v3.0
Music player
License: GNU General Public License v3.0
May need better support for UI extensions in core.
Because of the awkward way output devices were implemented this will be annoying.
Track info source - always once per track
Track info sink - predicated based on various criteria (playback status/position, content, config)
Tracks should be AudioSpecs + std::multimap maybe with some convenience functions for common fields like title, artist, album, etc.
Add support for reading CUE sheets as playlists with separate tracks possibly pointing to a different part of a single file.
Support files containing more than one track, eg. album images with external/embedded CUE sheets.
Create an MP3 plugin for decoding. Maybe using libmad
Default layout should be functional and informative.
Player needs less state.
It should do nothing other than take bytes from a pcm data source and push into an output sink. It should not handle playlists, track skipping, seeking etc.
State machine should distinguish between states and transitions better.
Current config can move to a new class representing the streaming pcm data source which can handle tracks & playlists.
A new Player can be created every time it's requested to start playing from a new source. This Player should be initialised with a prepared output device and a pcm data source. Player can yield control when either the data source ends (Stopped) or the audio specs change (Error?).
States
class Player {
std::unique_ptr<std::basic_istream<char>> pcm_data_stream;
std::unique_ptr<output::device> output_device;
Player(std::unique_ptr<std::basic_istream<char>>, std::unique_ptr<output::device>);
};
Implement provider-y stuff for config
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.