GithubHelp home page GithubHelp logo

deckerego / macropad_4chord_midi Goto Github PK

View Code? Open in Web Editor NEW
41.0 4.0 3.0 3.84 MB

A take on the 4chord MIDI project with the Adafruit Macropad

License: Mozilla Public License 2.0

Python 100.00%
macropad circuitpython music-theory music-player midi midi-controller rp2040 neopixel adafruit

macropad_4chord_midi's People

Contributors

deckerego avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

macropad_4chord_midi's Issues

Upgrade to CircuitPython 8.x

  • Upgrade to latest version of CircuitPython
  • Upgrade to latest version of Adafruit libraries
  • Remove temporary constants from controls.py

Support for 7th chords

Somehow support 7th chords (and optionally augmented & diminished chords) even tho we only have three keys per note

Notes out of order for 7th chord played autochord mode within Hookpad

On maybe the 10th measure of a short melody in Hookpad, attempted to send a 7th chord to Hookpad as notes for the melody line. Rather than being recorded in octave order they were recorded randomly (a different sequence after repeated attempts).

No arpeggio delay was configured.

Set MIDI channel

Add a setting for the MIDI channel (possibly set in the control menu)

Support alternate modes

Currently we only support the major (ionian) mode. We should support the other modes, possibly by rotating the "CHROMATIC_SCALE_NAMES" constant to instead be a "diatonic scale" that is a rotation of C D E F G A B. From https://hellomusictheory.com/learn/mixolydian-mode/:

Modal scales Notes of the mode
C Ionian mode C – D – E – F – G – A – B
D Dorian mode D – E – F – G – A – B – C
E Phrygian mode E – F – G – A – B – C – D
F Lydian mode F – G – A – B – C – D – E
G Mixolydian mode G – A – B – C – D – E – F
A Aeolian mode A – B – C – D – E – F – G
B Locrian mode B – C – D – E – F – G – A

See also https://guitardashboard.com/ as a good way to validate that the additional modes provide the correct progressions.

Macropad Keyboard Interrupt

Love the macropad code, but I have a rather infuriating issue - mine only runs for a few seconds!

I have updated the macropad to CircuitPython 8.0.5, and copied every file from the Macropad.4chord.MIDI.v2.3.0.zip onto the pad without issues, and it fires up perfectly. However after a couple of seconds I get the message:
(snake emoji)[email protected] Keyboard
KeyboardInterrupt:

Code done running.

then:
(snake emoji)Done | 8.0.5
Press any key to ente
r the REPL. Use CTRL-
D to reload.

then:
(snake emoji)REPL | 8.0.5
n 8.0.5 on 2023-03-31
; Adafruit Macropad R
P2040 with rp2040

M105

The M105 continues repeating indefinitely

The only differences between the contents of my Macropad and your zip file is the presence of a file called settings.toml in addition to the settings.py, plus a bootout.txt containing:

Adafruit CircuitPython 8.0.5 on 2023-03-31; Adafruit Macropad RP2040 with rp2040
Board ID:adafruit_macropad_rp2040
UID:DF60BCA0036F5434
boot.py output:
Mounting Read-Only

I am a total noob blindly following instructions with zero knowledge of code or what I'm doing, so apologies if this is an obvious thing that anyone with any clue should know how to resolve!

Many thanks :)

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.