Giter Club home page Giter Club logo

midiapps's Introduction

What is this?

MIDI Monitor is a Mac OS X application for monitoring MIDI data as it goes in and out of the computer.

SysEx Librarian is a Mac OS X application for sending and receiving MIDI system exclusive (aka sysex) messages.

This is the source code for the two applications. You do not need any of this if you just want to use the apps. You need the source if you want to play with the code, customize the application, or use parts of the code in your own project.

The source code is Open Source under the BSD license. See LICENSE for the legal details.

How to build

  1. Open MIDIApps.xcworkspace with Xcode 4.
  2. In the "Scheme" popup menu in the toolbar, select either MIDI Monitor or SysEx Librarian.
  3. Build and run!

The projects enclosed should also work in Xcode 3.2.x. (You may be able to use the projects in earlier versions of Xcode, but no guarantees.)

For final builds: The shell scripts in Scripts/BuildMIDIMonitor and Scripts/BuildSysExLibrarian build the apps and package them in disk images. If you just run the script, you should end up with a MIDIMonitorBuild or SysExLibrarianBuild directory in your home directory, with an "InstalledProducts" directory inside containing the built application. Pass the flag "-image" to the script to make it create a disk image too.

What's inside

Your source tree should look like this:

  • Applications
    • MIDIMonitor
    • SysExLibrarian
  • Configurations
  • Frameworks
    • SnoizeMIDI
    • SnoizeMIDISpy
    • DisclosableView
  • Scripts

Applications/MIDIMonitor Applications/SysExLibrarian

The source for the two apps. The project files are MIDIMonitor.xcodeproj and SysExLibrarian.xcodeproj; open them with Xcode.

Both apps are Cocoa and are written in Objective-C.

The apps rely on the other frameworks, described below.

Frameworks/SnoizeMIDI

A framework containing code for dealing with CoreMIDI in a Cocoa app:

  • Finding MIDI devices, sources, and destinations
  • Creating "streams" of input and output data
  • Hooking them up to inputs and outputs
  • Parsing incoming MIDI data into separate messages

This framework is used by both apps. You can use it in your own apps as well.

The code is mainly Objective-C, with one ordinary C file.

Frameworks/SnoizeMIDISpy

This project builds two things: A CoreMIDI driver, and a framework.

The CoreMIDI driver can "spy" on the MIDI sent to any destination in the system by any app. (See the MIDIDriverEnableMonitoring() function in CoreMIDIServer/MIDIDriver.h for more details.) The driver can then pass the MIDI data to another application.

The framework is used by apps that want to spy. It manages the communication between the app and the driver, and provides the app with an easy way to install the CoreMIDI driver when necessary.

This code is currently only used by MIDI Monitor, but it could be useful in other contexts. MIDI Monitor contains some code to channel the "spy" MIDI data into the rest of the SnoizeMIDI stream system, so it acts just like any other MIDI source.

The driver is written in C++, and the framework is plain C code. You should be able to easily use the code from a Cocoa or Carbon application

Frameworks/DisclosableView

A framework containing a Cocoa "disclosable" view -- one that can be shown and hidden by the user on demand.

Configurations

Contains .xcconfig files used to coordinate build settings across all the Xcode projects.

Scripts

Contains scripts to build the final ("install") version of the apps.

Questions?

Please contact Kurt Revis [email protected] with any questions.

midiapps's People

Contributors

krevis avatar douglasheriot avatar

Watchers

Daniel Moore avatar James Cloos 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.