GithubHelp home page GithubHelp logo

melosic's People

Contributors

chrismanning avatar

Stargazers

 avatar

Watchers

 avatar

melosic's Issues

Create Track info framework

Track info source - always once per track

  • taglib
  • last.fm
  • raw file info
  • cue file reader

Track info sink - predicated based on various criteria (playback status/position, content, config)

  • playback widgets
  • last.fm scrobbling
  • taglib writer
  • cue file writer

Tracks should be AudioSpecs + std::multimap maybe with some convenience functions for common fields like title, artist, album, etc.

CUE sheet support

Add support for reading CUE sheets as playlists with separate tracks possibly pointing to a different part of a single file.

Multi-track files

Support files containing more than one track, eg. album images with external/embedded CUE sheets.

Tag editor: simple framework + UI

  • Add the ability to create and modify tag metadata in various formats on various file types.
  • Create basic GUI dialog for editing "standard" fields eg. Artist, Album, Title, TrackNumber, etc.
  • Expand on tag format specifiers to allow tagging from filenames, other fields, etc.

MP3 decoding

Create an MP3 plugin for decoding. Maybe using libmad

Player Redesign

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

  • Playing
  • Paused
  • Stopped
  • Error
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>);
};

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.