Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rbino/gotar-hero
Send MIDI signals with your Guitar Hero controller
https://github.com/rbino/gotar-hero
Last synced: 24 days ago
JSON representation
Send MIDI signals with your Guitar Hero controller
- Host: GitHub
- URL: https://github.com/rbino/gotar-hero
- Owner: rbino
- License: other
- Created: 2015-11-26T03:28:13.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-12T15:55:17.000Z (about 9 years ago)
- Last Synced: 2024-10-15T02:35:12.428Z (2 months ago)
- Language: Go
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gotar Hero
This is a simple program that converts Guitar Hero PS2 controller events to MIDI notes.
## Dependencies
```
go get github.com/gvalkov/golang-evdev
go get github.com/rakyll/portmidi
```Be aware that some distributions (for example Debian Testing) have an old version of libportmidi-dev, so you have to compile it to install the Go bindings.
## Usage
Run `gotar-hero -h` for the command line parameters.The program was tested with a PS2 controller using a PS2 Port to USB adapter on Linux.
The current note mapping is defined as a basenote + offset, where offset is the number obtained taking the five Fret Buttons as bits (Green is the LSB, Orange is the MSB).
The Select button toggles hold-mode.
If the guitar is not in hold-mode, the Strum Bar sends a Note On when it's up or down and a Note Off when it's in neutral position.
In hold-mode, only Note On is sent while strumming (useful if you want to use the other hand to control something else).
In both modes a change in the Fret Buttons while playing a note will send a Note On with the new note followed by a Note Off for the old note (the program is written with monophonic synths in mind).