Coder Social home page Coder Social logo

midi-okular-pageturner's Introduction

midi-okular-pageturner

Music sheet page-turner for Linux. Remote control your Okular PDF reader using MIDI pedals!

Build

  1. Make sure alsa-lib and pkgconfig is installed
  2. Install Haskell (GHC) and cabal-install
  3. cabal build

Usage

Command line arguments:

$ midi-okular-pageturner CLIENT_ID PORT_ID --next PEDAL_ID --prev PEDAL_ID

CLIENT_ID and PORT_ID is mandatory. You can find your MIDI device's client ID and port ID by aconnect -i (provided by alsa-utils).

Use --next and --prev to specify the MIDI CC number for your pedal of choice.

For example,

$ midi-okular-pageturner 28 0 --next 67 --prev 66

Here, 66 stands for Sostenuto pedal and 67 for Soft Pedal.

Changing the target document

When midi-okular-pageturner is launched, it searches all open okular documents. If more than one document is found, it will ask to select one document you want to control.

You can always press Enter to redetect and choose another document.

midi-okular-pageturner's People

Contributors

wakira avatar

Watchers

 avatar  avatar

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.