RSSAmplifier

Blog

little-scale

stuff about things

little-scale.blogspot.comRSS feed ↗25 posts

Latest posts

MPXV7002 as Breath Sensor

Breath sensor made from an MPXV7002 and a silicon tube. The tube has incisions added near the breathing end to allow air to flow through while still building pressure at the sensor end. Enough pressure is still built up within the tube to allow circular breathing if desired. The sensor sends note on / off and continuous control data. To improve this I might consider a wider tube that is coupled…

Tutorial: How to Vibe Code Max Externals with Claude Code

Generating a 360 Video from Still Image and 4ch Ambisonics File

Create a video from a still image. Combine the video created in the previous step with 4 channel audio. Inject the correct 360 metadata into the video created in the previous step. Requires ffmpg and spatial-media. Download example gradient here: https://universityofadelaide.box.com/s/q8g5f31kw5iabtishv4sg93zag2ltgzh Download short ambix wav file here:…

xNT Hand Implant to Webhook to Home Assistant Event Trigger

https://www.instagram.com/p/DKZQHQBi4Eq/ #include <WiFi.h> #include <HTTPClient.h> #include <SPI.h> #include <MFRC522.h> // === Wi-Fi credentials === const char * ssid = "SSID" ; const char * password = "password" ; // === Home Assistant Webhook endpoint === const char * webhook_url = "http://HA_IP_ADDRESS:8123/api/webhook/rfid_trigger" ; // === SPI Pin Assignments for Xiao === #define RST_PIN 3…

Teensy Basics: Distance Sensing with VL53L0X Laser Sensor

Overview The VL53L0X is a ranging sensor that uses time-of-flight of a laser to determine the distance to the next surface correct to the mm with a maximum of 2m. The sensor uses an i2c interface with a default address of 0x29. The xshut pin allows for address control and start up / shut down during setup. Hardware Setup Here are the pinouts for the Teensy 4.1 and the VL53L0X: Make the following…

Max Gen Filter Cookbook

256 tap manual finite response filter https://github.com/little-scale/littlescale-max-patches/blob/master/manual_fir_filter.maxpat Morphing-type biquad filter https://github.com/little-scale/littlescale-max-patches/blob/master/biquad_testing.maxpat https://github.com/little-scale/littlescale-max-patches/blob/master/biquad-full-basic.gendsp 12 stage biquad lowpass with outputs at 12, 48, 96 and 144…

Building Supercollider for Raspberry Pi Zero 2

Note - this process took about 40 minutes in real time. Links used in this video: https://supercollider.github.io/ https://www.raspberrypi.com/software/ https://www.raspberrypi.com/products/raspberry-pi-zero-2-w/ https://github.com/supercollider/supercollider/blob/develop/README_RASPBERRY_PI.md https://github.com/supercollider/supercollider/issues/6221

Pyramid Controller

View this post on Instagram A post shared by Sebastian Tomczak (@littlescale) My pyramid controller is almost identical to my sphere controller . The difference in shape means that each side feels a little like a preset, and its easier to have an intuition about rotation and orientation compared to a sphere. The code is slightly different as it doesn't adjust brightness; this looks better in my…

Tuned GPT Guides for Ableton, Max, Sibelius, ProTools and Arduino / Teensy

Teensy Guide: https://chat.openai.com/g/g-yO4mMkzpZ-teensy-guide Ableton Guide: https://chat.openai.com/g/g-Kq9jvY4EP-ableton-live-guide Sibelius Guide: https://chat.openai.com/g/g-qeHztCVqo-sibelius-guide ProTools Guide: https://chat.openai.com/g/g-Eg0hDUysG-protools-guide Max Guide: https://chat.openai.com/g/g-4JogjMsDG-max-guide

Printable Variable Miniskiff

I've added a variable miniskiff part studio to the Eurorack case document: https://cad.onshape.com/documents/1637ca71f6ccbf900471de5e/w/ba5b8495e9753650883d1cb0/e/c3f73f4b0fd00e64b5823644?renderMode=0&uiState=656884e93534192f492a1c3b This part studio has variables for many aspects of the case including the width in HP. 46 HP is the widest case that will print on a 25 cm 3 volume printer like the…

Tiptop Buchla Eurorack Case 3D Printed

So the @tiptopaudiofficial #eurorack #modular #buchla series modules are a total of 2HP too long to fit in a standard 104HP case. I designed and printed a 108HP case with space for a uZeus power supply module. The minimal design is the perfect shape for these modules, and due to the large size is printed in six sections. I've also included a 1HP blank to fill the space of the top row. Really happy…

Mediapipe Object Detection Solution to OSC

Download here: https://github.com/little-scale/mediapipe-object-osc Adds basic OSC output for the Mediapipe object detection solution By default, OSC will be sent to 127.0.0.1 localhost on port 3000 and with address /mediapipe/objects. This can be changed in utils.py Each OSC message contains: Category name, object detection instance within the frame, normalised x position, normalised y position…

ArUco2osc

Send ArUco marker detections as OSC messages Download here: https://github.com/little-scale/ArUco2osc Repo contains 50 4x4 markers To use: pip install opencv-contrib-python pip install python-osc python aruco2osc.py Args are: --input: camera to use; default 0 --address: OSC message address to use; default /aruco/marker --ip: OSC IP address to use; default 127.0.0.1 --port: OSC port to use; default…

Running labelimg Under Ventura

Download labelimg to desktop /usr/bin/python3 -m venv env source env/bin/activate pip install --upgrade pip pip install PyQt5 cd desktop/labelImg-master pip3 install pyqt5 lxml make qt5py3 python3 labelImg.py

Mediapipe Facemesh Landmarks Map

Mediapipe Holistic Solution to OSC

Taking the legacy Mediapipe holistic solution (face + pose + left hand + right hand) and sending all 543 landmarks via OSC to Max or other places. https://github.com/little-scale/mediapipe-holistic-osc

Mediapipe Hand Solution on Raspberry Pi to OSC to Modular CV / Gate

View this post on Instagram A post shared by Sebastian Tomczak (@littlescale) Setup: Set up a Raspberry Pi 4 with a clean install of Raspberry Pi OS: https://www.raspberrypi.com/software/ Install Mediapipe as per the instructions here: https://github.com/googlesamples/mediapipe/tree/main/examples/pose_landmarker/raspberry_pi Install Python OSC on the Raspberry Pi:…

YOLOv7 to OSC

YOLOv7 pose to OSC output including support for multiple pose detection: https://github.com/little-scale/yolov72osc/ Based on the Yolov7 implementation: https://github.com/WongKinYiu/yolov7 Add /p.py, replace /utils/plots.py and download the yolov7-w6-pose.pt model weights from https://github.com/WongKinYiu/yolov7/releases Default OSC address is /yolo7/pose, IP is localhost and port is 4500. These…

Media Pipe Facemesh OSC

GitHub: https://github.com/little-scale/facemeshosc

Musical Sphere Controllers

I made some musical sphere controllers. They use the Adafruit Feather Sense BLE nRF5284 board. Axis in six dimensions can be mapped to MIDI outputs via a Max patch. Details including code, patch and 3D files can be found in the github repo here: https://github.com/little-scale/Music-Sphere-Controller

Simple Cinemag CM-DBX Transformer DI

I wired up a simple DI for my synths as I wanted to balance the output as well as push the signal through a transformer. I used a Cinemag CM-DBX transformer. I connected the primary coil (yellow for positive and orange for negative) to the 6.5mm mono socket, as well as the chassis of the primary coil and shield of the transformer to 6.5mm ground. I connected the secondary coil (red for positive -…

Teensy 4.1 with QMC6310 Magnetometer to USB MIDI

Overview The QMC6310 magnetometer sensor outputs 16 bit for each axis X, Y and Z. The code uses the Wire library to communicate via the I2C protocol. This example prints the raw axis values to the serial monitor and also sends as a USB MIDI control change message (scaled to 0 - 127). The datasheet for this sensor can be found here . Hardware The following connections should be made between the…

Geophone as Infrasonic Microphone with Case and Magnet

An SM-24 geophone (Sparkfun part SEN-11744) with a rare earth magnet ( Jaycar part LM1626) to attach to metal surfaces. The pin on the geophone with the notch is the positive terminal. This should be wired to XLR pin 2. The other pin of the geophone is the negative terminal. This should be wired to XLR pin 1 and 3. Additionally, a 10k resistor should be wired between pins 1 and 2 of the XLR. Note…

Connecting an Encoder to Teensy 4.2

Overview An encoder is a digital input device that looks similar to a pot but can be rotated indefinitely and delta rotation in steps is measured by making or breaking contact between two pins and ground. The Teensy has an excellent and easy to use library for encoders. More than one encoder can be easily used. Hardware The encoder portion of an encoder usually has three pins, these may be…

Printing enclosures for breadboards

Thingiverse file here: https://www.thingiverse.com/thing:5945307