Coder Social home page Coder Social logo

pedrolcl / sc88sysex Goto Github PK

View Code? Open in Web Editor NEW
10.0 3.0 1.0 21 KB

Roland SC-88 System Exclusive Librarian, written as a Bash script for Linux

License: GNU General Public License v3.0

Shell 65.08% Roff 34.92%
midi system-exclusive librarian linux alsa-rawmidi roland sc88 sysex

sc88sysex's Introduction

sc88sysex

sc88sysex is a Roland SC-88 System Exclusive Librarian, written as a Bash script for Linux.

Edit and run the provided script install.sh to install it. This script needs bash, amidi (from the ALSA utilities) and a few other command line utilities.

Usage:

   sc88sysex [-v] [-h] [-p PORT] [-d DEVICEID] [-t TIMEOUT] {-a ADDRESS -z SIZE | -c COMMAND} [-r|-s FILENAME]

OPTIONS

   -h     Prints a help message.

   -v     Prints more verbose messages.

   -p PORT
          Sets the raw MIDI port to which receive and send SYSEX messages.

   -d DEVICEID
          Sets the device number assigned to the SC-88 in the MIDI network.

   -t TIMEOUT
          Sets the number of seconds to wait for data before closing the receiving session.

   -a ADDRESS
          Sets the address of the system exclusive data to be transferred.  It can be a symbolic name or three hex constants. List of the predefined symbolic addresses: 
                BULKDUMP INTDRINST INTDRMLST INTSNDLST

   -z SIZE
          Sets  the  size  of  the  system exclusive transfer. It can be a symbolic name or three hex constants. List of the predefined symbolic sizes:
                ALL ALL1 ALL2 DRUMSET64 DRUMSET65 DRUMSETS GS1 GS2 SC55 SC88 
                TONEBANK64 TONEBANK65 TONEBANKS

   -c COMMAND
          Sets a command to be sent to the SC-88 as a system exclusive message.  It can be a symbolic name or three hex constants. List  of  the predefined commands:
                GMRESET GSRESET MODE1 MODE2

   -r FILE
          Save the receive data under this file name (optional).  If not specified, the file name is built upon the given address and size arguments.

   -s FILE
          Sends the contents of this file name.

FILES

    ~/.sc88sysexrc 
        personal configuration

    /etc/sc88sysexrc 
        system wide configuration

    You  can  set  your preferred default options in a config file either in your home directory or as a global configuration file in /etc. The format is simply a set of lines
    having a expression of VARIABLE=value type. You can add more symbolic addresses, sizes and commands here.

    If you don't provide one, the following default options take effect:
        
    MIDIPORT="hw:0"    (MIDI Port: hw:0)
    DEVICEID=10        (Device ID: 10)
    TIMEOUT=3          (Timeout: 3 seconds)
    LIBDIR=~/SC88LIB   (Library directory: $HOME/SC88LIB)

Examples:

    sc88sysex -a BULKDUMP -z ALL
        Sends a bulk dump request using the default  MIDI  port  to  the 
        SC-88,  and stores the received data in a file named 
        "sc88_bulkdump_all.syx"

    sc88sysex -c GSRESET
        Sends a GS reset command to the SC-88

    sc88sysex -s dump.syx
        Sends a data file "dump.syx" to the SC-88.

    sc88sysex -a '40 00 00' -z '00 00 04' -r deftune.syx
        Gets the master tune parameter from the SC-88  saving  it  on  a
        file named "deftune.syx"

sc88sysex's People

Contributors

pedrolcl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

drkzrg

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.