Phone MIDI: convierte tu teléfono en un controlador MIDI para Cubase – La guía completa paso a paso
Esto es una descarga gratuita para tu ordenador, no una herramienta que se ejecuta en el sitio web: descarga el ZIP, ejecútalo en tu PC y luego abre la herramienta en el navegador de tu teléfono.
Contenido
- La idea en resumen
- Lo que necesitarás
- Etapa 1: Prepara el ordenador (solo una vez)
- Etapa 2: Ejecuta el servidor
- Etapa 3: Abre la herramienta en tu teléfono
- Etapa 4: Configura Cubase
- La interfaz explicada
- Actualizar la herramienta tras editar el código
- Reducir la latencia
- La versión exe (sin Python)
- Problemas que encontramos y sus soluciones
- Rutina diaria (6 pasos)
- Configuración del servidor (server.py)
- Archivos y enlaces
- Chuleta de comandos y enlaces (copiar y pegar)
La idea en resumen
Esta herramienta convierte tu teléfono (Android o iPhone) en un controlador MIDI: un teclado, pads y faders que tocas en la pantalla, mientras el sonido sale de tu software de música (como Cubase) en el ordenador. El teléfono en sí no produce sonido. Solo envía comandos: "se pulsó una nota", "se movió un fader". Y no es una aplicación que instalas. Es una página web que abres en el navegador de tu teléfono. Todo el recorrido tiene 4 paradas:
Una página web en el teléfono (
index.html): muestra el teclado y envía tus toques al instante.Un script de Python en el ordenador (
server.py): recibe los toques y los convierte en mensajes MIDI.Un puerto MIDI virtual llamado Phone MIDI (del programa loopMIDI): conecta el script con Cubase.
Cubase: recibe del puerto y reproduce el sonido a través de un VST.
If Windows warns you (SmartScreen) because the file isn't signed, click More info, then Run anyway.
Lo que necesitarás
Un ordenador con Windows y un teléfono en la misma red, además de programas gratuitos, la mayoría de los cuales instalas solo una vez.
| Programa | Qué hace | Enlace |
|---|---|---|
| Python | Ejecuta el script (usamos la 3.14) | https://www.python.org/downloads/ |
| loopMIDI | Crea un puerto MIDI virtual en Windows | https://www.tobias-erichsen.de/software/loopmidi.html |
| Cubase | Recibe MIDI y produce el sonido (o cualquier otro software de música) | Ya lo tienes |
| VST | El instrumento que produce el sonido | Incluido en Cubase o ya instalado |
| Phone browser | Chrome o Brave en Android, Safari en iPhone | Ya está en tu teléfono |
Etapa 1: Prepara el ordenador (solo una vez)
- Install Python. Download it from python.org and install it. On the first installer screen, tick Add Python to PATH. Without it the
pythoncommand won't work. - Install loopMIDI. Open it, type
Phone MIDIexactly in the port name box, and click the + sign. - Create a folder for the tool. Create a folder named
midion your desktop and putserver.pyandindex.htmlin it. - Open a terminal inside the folder. Right-click inside the folder and choose Open in Terminal.
- Install the only required library:
pip install aiohttp
Etapa 2: Ejecuta el servidor
- Make sure loopMIDI is running and has a
Phone MIDIport. - In the terminal (inside the
midifolder) typepython server.pyand press Enter. - It prints a line saying the port was opened ("Phone MIDI"), followed by an address like
http://192.168.1.149:8000.
Etapa 3: Abre la herramienta en tu teléfono
- Conecta el teléfono a la misma red Wi-Fi que el ordenador.
- Open the browser and type the address the server printed into the address bar at the top (e.g.
http://192.168.1.149:8000). - Look at the small circle in the top bar: green means connected to the server.
Etapa 4: Configura Cubase
- Go to Devices > Device Setup > MIDI > MIDI Port Setup. Make sure
Phone MIDIis Active. - Go to Project > Add Track > Instrument, choose a VST (e.g. HALion One or Sylenth1), and click Add Track.
- Set Track Input to
All MIDI InputsorPhone MIDI. Set Output to your VST.
La interfaz explicada
The interface includes Keys, Pads and Faders tabs. It supports multi-touch, glide, and pitch bend by dragging vertically on keys.
Actualizar la herramienta tras editar el código
Save index.html, restart server.py, and refresh the page on your phone browser (use private mode or /?v=2 if cached).
Reducir la latencia
Use 5 GHz Wi-Fi or USB connection via ADB reverse (adb reverse tcp:8000 tcp:8000), and switch Cubase audio driver to ASIO4ALL with low buffer size.
La versión exe (sin Python)
Run build_exe.bat to generate a single dist\PhoneMIDI.exe file that runs without installing Python.
Problemas que encontramos y sus soluciones
If you get WinError 10048, kill existing python tasks using taskkill /IM python.exe /F and restart server.py.
Rutina diaria (6 pasos)
- Start loopMIDI and verify
Phone MIDIport exists. - Run
python server.pyin terminal. - Conecta el cable ADB si usas USB.
- Abre Cubase y activa Monitor.
- Abre la dirección en el navegador del teléfono.
- ¡A tocar!
Configuración del servidor (server.py)
You can configure PORT = 8000 and PORT_NAME = "Phone MIDI" at the top of server.py.
Archivos y enlaces
El zip contiene server.py, index.html, README.md y build_exe.bat.
Chuleta de comandos y enlaces (copiar y pegar)
pip install aiohttp
python server.py
taskkill /IM python.exe /F