Coder Social home page Coder Social logo

tripulse / opusplayer Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 0.0 2.05 MB

A simplistic and minimal OggOPUS player

License: GNU General Public License v2.0

Makefile 13.68% C 86.32%
opus opus-codec opusfile lightweight simple audio-player example opus-files portaudio playback-audio

opusplayer's Introduction

opusplayer 🎡

Simple and lightweight application written in C++ for playing Ogg OPUS files. This is only can parse OGG Opus files, in future it may read OPUS codec data from other formats too (e.g mka).


C/C++ CI Build Status License Madewith

Dependency Tree πŸ“œ

Make sure that these dependencies are avialable in the environment you’re going to compile it, on GNU/Linux it’s quite easy to install using a package manager. win32 branch already includes a complete setup. On, MinGW/Cygwin you need to do this manually.

Key features 🌟

  • Cross platform (with PortAudio).
  • File globbing (only on UNIX).
    queue multiple files at once for playback, like a playlist (e.g *.opus selects all of the OPUS files in the current directory).
  • Very very lightweight.

Installation

This is the *nix style of building the application from the source. If you're looking for the Windows way to build this, head to the win32 branch for that (MSVC toolchain and Visual Studio are required).

All the libraries and DLLs are prebuilt for windows for the Win32 target (works for most processors supported by Windows), this reduces the fuss of linking libraries and DLLs. All the binaries and DLLs go to the bin directory.

This is the most traditional way to build up from source in *NIX based systems:

make build
sudo make install
make clean # optional: cleanup isn't required unless cleaning mess

Usage

Play a file from the examples/ directory in the repository.

$ opusplayer 'examples/tetris.opus'
...
* examples/tetris.opus [83.61s]

Play multiple files from the examples/ directory.

$ opusplayer 'examples/*.opus'
* examples/sine.opus [5.00s]
* examples/tetris.opus [83.61]

opusplayer's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

opusplayer's Issues

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.