Giter Site home page Giter Site logo

drkzrg / ac7maker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from michgz/ac7maker

0.0 0.0 0.0 3.78 MB

Tools for creating AC7 rhythm files for Casio keyboards (especially CT-X keyboards)

License: GNU General Public License v3.0

Python 90.37% HTML 9.63%

ac7maker's Introduction

ac7maker

Tools for creating AC7 rhythm files for Casio keyboards (especially CT-X keyboards)

ac7maker.py

This is a python script which takes a JSON file defining a rhythm pattern as input, reads standard MIDI files containing the music data for each element of the rhythm, and outputs a Casio-format AC7 file to the standard output.

sysex_comms.py

A python script which reads a AC7 rhythm from the standard input and uploads it to a Casio CT-X keyboard over a MIDI connection. This is Linux-only and assumes that the keyboard is the first enumerated MIDI connection (that is, it is on device /dev/midi1). On Windows, the "CTX Data Manager" program from Casio is a good alternative.

Help.html

An interactive HTML file which defines the JSON format expected by ac7maker.py. Opens in any browser.

examples/

A directory with example rhythms ready to be made with ac7maker.py. The following commands will create files ex01.AC7 and ex02.AC7 which can be copied to a USB stick and saved to the keyboard:

(On Linux:)

  python ac7maker.py examples/example-1.json > ex01.AC7
  python ac7maker.py examples/example-2.json > ex02.AC7

(On Windows:)

  python ac7maker.py examples\example-1.json > ex01.AC7
  python ac7maker.py examples\example-2.json > ex02.AC7

On a Linux system with a MIDI connection to the keyboard, the following will upload the rhythms without need for a USB stick:

  python ac7maker.py examples/example-1.json > ex01.AC7 ; python sysex_comms.py 294 < ex01.AC7
  python ac7maker.py examples/example-2.json > ex02.AC7 ; python sysex_comms.py 295 < ex02.AC7

Prerequisites

Python 3 should be installed, ideally version 3.7 or newer. Beyond that, no special libraries are needed.

ac7maker's People

Contributors

michgz 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.