Skip to content

Instantly share code, notes, and snippets.

View luigipacheco's full-sized avatar

Luis Arturo Pacheco luigipacheco

View GitHub Profile
@madelinegannon
madelinegannon / arturia_microfreak_touchosc.md
Created March 13, 2023 21:56
Arturia MicroFreak MIDI to OSC in TouchOSC

This template file broadcasts MIDI signal from the Arturia MicroFreak over OSC via TouchOSC.

Use this template to have a DAW-less interface between the MicroFreak and any other software or hardware that receives OSC.

touchosc_microfreak_template

Here's a link to download the touchosc file: arturia_microfreak.tosc

from pygame.locals import KEYDOWN, K_ESCAPE, K_q
import pygame
import cv2
import sys
camera = cv2.VideoCapture(1)
pygame.init()
pygame.display.set_caption("OpenCV camera stream on Pygame")
screen = pygame.display.set_mode([1280, 720])