Code Monkey home page Code Monkey logo

mfp's Introduction

mfp: music for programming

Crate GitHub release (latest by date)

A command-line utility for playing music mixes for programming & focus (from musicforprogramming.net), unlocking the flow state!

Screenshot

Installation

Using Cargo ๐Ÿ“ฆ:

cargo install mfp

Or download pre-built binary from GitHub release page.

After installation, run mfp in command line to start. Plays a random track if not specified with -t flag.

Usage

mfp [OPTIONS]

Options:
  -t, --track-number <TRACK_NUMBER>  Track Number, between 1 and ~68
  -v, --volume <VOLUME>              Volume, between 0 and 9 [default: 9]
  -h, --help                         Print help
  -V, --version                      Print version

e.g. mfp -t 1 -v 7

Acknowledgements

Inspired from code radio cli and music for programming (currently not functional)

Mixes streams from musicforprogramming.net ๐ŸŽต

Contributing

Feel free to make a pull request! :octocat:

mfp's People

Contributors

guptarohit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

baykovr

mfp's Issues

songs do not finish

Hey, this project was highlighted in the Linux Magazine, issue 275. I am giving it a shot on my Macbook. It is pretty great for quick focus music.

One issue is the track lengths usually look like about an hour long, but the tracks always seem to cut off and end early.

maybe its something in the custom impl here? https://github.com/guptarohit/mfp/blob/main/src/mp3_stream_decoder.rs

no PR but just raising the issue I see.

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.