Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

raspi-music-button

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raspi-music-button

A simple package for Raspberry Pi to play music and trigger music by buttons over the gpio.

  • 0.1.0
  • PyPI
  • Socket score

Maintainers
1

Raspi-Music-Button

PyPI - License Current version on PyPI Teststatus

Raspi-Music-Button is a small python based package that interacts with linux packages on the Raspberry Pi to play music. Moreover it can be used to trigger music by a button connect to one of the Raspberry Pi gpio.

Requirements

The following linux packages need to be installed on the opreation system:

  • aplay
  • amixer
  • mpg321

Installation

$ pip install -U raspi-music-button

Quick Start

The package is available under the command raspi-music. The command line help can be called with

raspi-music --help

To play just a simple song run

raspi-music play song my-song.mp3

To play a whole folder filled with mp3 run

raspi-music play folder /my/folder

Use the following commands to do the same but start playing only when the button is triggered.

raspi-music button song my-song.mp3

raspi-music button folder /my/folder

License

This project is licensed under the MIT License (see the LICENSE file for details).

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc