กลับไปหน้ารวมไฟล์
cantor-organ-conversion-to-midi-controler-for-vpo-grandorgu-e94aa6-en.md

Cantor analog electronuc organ in chapell

The Cantor analog organ had a serious breakdown some time ago and was converted into a MIDI console for controlling software like VPO (virtual pipe organ). Then, however, only the manual keyboards (manuals) and the pedal keyboard were connected through two interfaces constructed on the ATMEL89S52 chip connected to two separate MIDI outputs, one on the right and one left under the keyboards. It was a cost effective solution, but quite a hassle to connect a computer with GrandOrgue (aka Hauptwerk).

You had to use two cables and two MIDI-USB interfaces or one double.

In addition, the board with the main registers and group registers were not connected at all. Organ voices had to be changed on the monitor screen. The computer and monitor with GO had to be placed outside the organ, which also reduced the comfort of the playing and took up space.

I decided to connect the registration switches and group registries, and hide the computer inside the wooden casing of the organ. If it were possible to enable voices with registers and the GO was started from autostart, the screen monitor would be redundant and could be dispensed with. Ultimately, connect it only when changing the software configuration.

I decided to use the Arduino Nano to connect the registers. I wrote the program in the Arduino IDE using the Surface_Controll library (https://github.com/tttapa/Control-Surface). In order to connect 39 switches to a limited number of Arduino Nano pins, I needed to create a matrix with diodes. In this case, it was relatively easy to construct the matrix in the organization of 4 columns on the 14th row (3 panels of register switches plus switches for ten group registers).

Action test. Arduino programmed and connected.

The matrix columns were attached to the pins 13, A5, 3, 2 and lines up to 4, 5, 6, 7, 8, 9, 10, 11, 12, A0, A1, A2, A3, A4. In order for pin 13 to work in matrix mode, you had to desolder the LED that is standard in the Arduino Nano on this pin.

Diagram of the 4x14 diode matrix and its connection to the Arduino Nano

Cooperation with GrandOrgue

TX and RX arduino pins are respectively the output and input of the MIDI signal on the TTL level. Arduino forwards received MIDI messages from pin RX to TX. To the RX pin I connected the MIDI output from the 89S52 chip that supports the pedal keyboard, and the TX pin was connected via a 220 Ohm resistor to the first MIDI-In MERGER. The second MIDI-In MERGER has been connected to the MIDI output from the second 89S52 chip that supports two manuals (handheld keyboards). I connected the Merger's MIDI output to the MIDI-USB interface made on the basis of the reprogrammed Arduino UNO. https://doremifasollasi.wordpress.com/jak-przerobic-arduino-uno-w-interface-midi-usb/

The ATMega328p processor on board the Arduino UNO has the TX tip disconnected by bending it upwards, so that there is no conflict with the MIDI signal from MERGERA which affects pin 1 (TX) of the Arduino UNO. I programmed this ATMega328p as a MIDI message decoder. It receives noteON and noteOFF messages on channel 13 and turns the appropriate output LEDs on or off. The LED on pin 13 lights the noteON message with a value of 71. This is sent by the GrandOrgue program after loading the samples and highlighting the Noise Motor register. A glowing LED connected to pin 13 of the Arduino UNO signals the completion of loading the samples and the GrandOrgue is ready to work.

During assembly

Lenowo computer (i3 / 8GB RAM) with openSuse Linux and VPO - GrandOrgue software was taken out of its tin casing and mounted in parts in a wooden Cantor organ cabinet.

I connected the computer's audio output to an existing original amplifier that works with 4 speakers mounted in the organ cabinet.

EXPANDED TECHNICAL DETAILS

MIDI Retrofit for Pipe Organs

This project breathes new life into vintage Cantor organs by converting their mechanical keys and stops into MIDI signals for Virtual Pipe Organ (VPO) software like GrandOrgue.

  • Keyboard Scanning: The Arduino implements a matrix scanner for the organ's multiple manuals (keyboards) and pedals. It uses shift registers (74HC165) to handle the hundreds of digital inputs required.
  • Precision Timing: The firmware is optimized for zero latency, sending MIDI Note-ON/OFF messages at lightning speed to ensure the feeling of a real instrument.

Software Integration

  • DAW Connectivity: Connected via USB (MIDI-class compliant) to a computer running Linux or Windows.
  • Stop Control: The organ's "Stops" are also encoded as MIDI CC messages, allowing the player to pull physical stops on the console to change the digital ranks in GrandOrgue, providing an authentic concert hall experience at home.

ข้อมูล Frontmatter ดั้งเดิม

title: "Cantor organ conversion to MIDI-controler for VPO (GrandOrgu"
description: "Cantor analog organ conversion to MIDI-controler for Virtual Pipe Organ (GrandOrgue, Hauptwerk)"
author: "Romekmil"
category: ""
tags:
  - "midi"
  - "small midi dekoder"
  - "deoder midi"
  - "hauptwerk"
  - "grandorgue"
  - "music"
  - "organ"
views: 1841
likes: 0
price: 1499
difficulty: "Intermediate"
components:
  - "1x Wire Stripper & Cutter, 18-10 AWG / 0.75-4mm² Capacity Wires"
  - "1x Solder Wire, Lead Free"
  - "1x Arduino UNO"
  - "1x Soldering iron (generic)"
  - "1x Arduino Nano R3"
tools: []
apps:
  - "1x Windows 10"
  - "1x Funtoo Linux for Beaglebone AI and Beagleboard X15"
  - "1x Arduino IDE"
downloadableFiles: []
documentationLinks: []
passwordHash: "9a235868139188f4272a3ecbcaea4fb49085987f8da02ac67595fdf16696a1af"
encryptedPayload: "U2FsdGVkX1/GW5+I8S1jTME1gIWEVUK1eR6yB1VvHDErfF9u0U7LV6mi0mWUyPnJ182wkuilfLfZLPnEKXTDufk7HxHPDn3stqnbM2I1XiBgV5Sqspfp1UE4aRWuZXaAW9Vu8Qqvho38BtJVTJxqn6SObeYvKfzzOJs3v1aYfkDUJEgGiYi6rbX2DpNx9HUA"
seoDescription: "Convert a Cantor analog organ into a MIDI-controler for Virtual Pipe Organ software like GrandOrgue and Hauptwerk."
videoLinks:
  - "https://www.youtube.com/embed/xDaVtncXtuw"
  - "https://www.youtube.com/embed/WrvcczLXj5A"
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/cantor-organ-conversion-to-midi-controler-for-vpo-grandorgu-e94aa6_cover.jpg"
lang: "en"