Hi people! - I want to share a GitHub site with “a Python repositorie” developed by me, which offer the ability to “create MIDI files in an unconventional way”, to open in SuperCollider and create on it.
Oxxo - Colombia.
Colombia is Science and Technology.
PS:
One easy way is to install Thonny IDE for Python, in Linux or Windows, it will ask you to install the packages for the code to run and you will see a code for creation of MIDI with the detection of your fingers with the web-cam; and in the other hand; when you make a summatory in the calculator it creates a little Algorithmic composition in MIDI format. You can use the MIDI to compose in SC or any MIDI software.
If Thonny creates an error because “you don’t have the packages installed”, you can ask a Python text which packages to install. Or try:
import cv2
import mediapipe as mp
import time
import tkinter as tk
import random
import threading
from mido import MidiFile, MidiTrack, Message