• Stars
    star
    101
  • Rank 338,166 (Top 7 %)
  • Language
    C
  • Created over 7 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Midimutant

This repo currently contains a circuit based on this design posted on Silicon Stuff for using the Raspberry Pi built in uart as a midi output.

Setting up midi on the Raspberry Pi

The files in boot need to go in /boot (probably good idea to compare with existing rather than copying them over). The relevant part of config.txt is:

lcd_rotate=2
dtoverlay=pi3-miniuart-bt
init_uart_clock=39062500
init_uart_baud=38400
dtparam=uart0_clkrate=48000000

Build and install ttymidi - this is adapted to allow sysex messages to pass through correctly.

$ cd pi/ttymidi
$ make
$ sudo make install

Autostarting Midimutant on Raspberry Pi

Based on LXDE window manager

  1. Copy midimutant.desktop to /home/pi/Desktop

This tells the window manager how to start the application.

  1. Create a local startup for the pi user by copying contents of dot-config to .config in /home/pi

This autostarts the application and a terminal in the background so you can still plug in a keyboard and alt-tab to it to escape the fullscreen app.

  1. Copy midimutant.sh to /home/pi

This is the shell script that starts ttymidi, connects it to the output alsa midi device and starts midimutant.

To make the application fullscreen with no window decoration, add this to /home/pi/.config/openbox/lxde-pi-rc.xml in the section:

<application name="midimutant">
 <decor>no</decor>
 <shade>no</shade>
 <focus>yes</focus>
 <fullscreen>yes</fullscreen>
 <maximized>true</maximized>
</application>
  1. Turn off the mouse pointer

Doing the properly for touchscreen was tricky to figure out (unclutter etc show the mouse when it moves). Edit /etc/lightdm/lightdm.conf search for the xserver-command option and uncomment it to be this:

xserver-command=X -nocursor

More Repositories

1

sonic-kayaks

Code and stuff for the sonic kayaks installation with Kaffe Matthews
Python
8
star
2

penelopean-robotics

Penelopean robot swarms for weaving ancient Greek looms and maypole dancing.
JavaScript
7
star
3

foam-kernow

Company formation
7
star
4

patternmatrix2

A tangible programming language for the Raspberry Pi, built for the Penelope project
Python
5
star
5

toxic-butterflies

evolution of mimicry butterfly game
Scheme
5
star
6

flx

FoAM Kernow's production WebGL 3D game engine: Scheme based, functional, roughly based on fluxus
Scheme
4
star
7

viruscraft

A citizen science project using visual programming, craft, tangible interfaces and games to explore virus host shifts – where a virus jumps from one host species to another.
G-code
3
star
8

iAllotment-app

Walkthroughs for working out your soil type and rainfall level, and how to make good compost. Once these experiments are completed, the system will be able to make suggestions for the best crops and companion plants, compost application rates and timings, and rotations.
JavaScript
3
star
9

tabletloom

a next-generation tablet weaving simulation
JavaScript
2
star
10

penelope-stitchviz

A language and modelling system for textiles, taking a "thread" centric perspective.
Scheme
2
star
11

wasp-love

#WASPLOVE: a game for Seirian Sumner
Scheme
2
star
12

mongoose-2000

Tools for behavioural research in the wild.
C
2
star
13

crapapppro

Helping to reduce fertiliser use by calculating organic manure nutrients values
C
1
star
14

hex-protoboard

AVR based prototyping PCBs
1
star
15

MongooseDatabaseDotNet

A new database schema and importer program for the Mongoose2000 project.
C#
1
star
16

penelope-warpweighted-2.0

An online version of the Penelope warp weighted loom simulation to replace the previous Raspberry Pi version.
Scheme
1
star
17

foam-kernow-nomadic-hacklab

An ad-hoc nomadic electronics faculty
C++
1
star
18

OrangServ

Open Data Kit surveys to track Orangutan
Batchfile
1
star
19

nhm-nightjar

A nightjar hunting game for the Natural History Museum
Scheme
1
star