Skip to content

Commit

Permalink
Merge pull request #8 from togrupe/introduce-ui-element-for-midi-port…
Browse files Browse the repository at this point in the history
…-change

Introduce UI element for midi port change
  • Loading branch information
togrupe authored Oct 18, 2022
2 parents 5eeb2da + 06054b2 commit aafce3b
Show file tree
Hide file tree
Showing 5 changed files with 298 additions and 261 deletions.
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,13 @@ The following colors are allowed:
blue, red, light blue, purple, green, yellow, black, white

## Settings on the dlive console
The Midi Channel setting on dlive under `Utils/Shows -> Control -> Midi` has to be: `12 to 16`, which is default.
The Midi Channel setting on dlive under `Utils/Shows -> Control -> Midi` should be be set to : `12 to 16`, which is default.

If you want to change the preconfigured Midi port, you can set the field: `midi_channel_number`
in the file: dliveConstants.py according to your dlive settings.
If you want to change the preconfigured Midi port, you can change it in the Graphical User Interface according to your dlive settings.

## Default ip and port
The default dlive mixrack ip address is: 192.168.1.70. This IP-Address is preconfigured in the scripts. If you want to
change it, you can edit the field `ip` in the file: dliveConstants.py or during runtime within the GUI.
change it, you can edit the field `ip` in the file: dliveConstants.py or during runtime within the Graphical User Interface.

Please make sure that your ethernet or Wi-Fi interface has an ip address in the same subnet. e.g. 192.168.1.10

Expand All @@ -53,11 +52,17 @@ Prerequisites:

`python3 main.py`

Afterwards the following GUI should appear.
Afterwards the following window appears.

![Gui](gui.png)

Select the columns you want to write, then click the button "Open Excel Sheet and Trigger Writing Process" to select your custom Excel sheet. Afterwards the selected action(s) start automatically.
1. Check the Mixrack IP and Midi Port.

2. Select the columns you want to write,

3. then click the button "Open Excel Sheet and Trigger Writing Process" to select your custom Excel sheet. Afterwards the selected action(s) start automatically.

4. If something goes wrong, please check the console.

If you find any issues, please let me know.

Expand Down
3 changes: 3 additions & 0 deletions createExe.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pip install pyinstaller

pyinstaller.exe --onefile -w main.py
3 changes: 0 additions & 3 deletions dliveConstants.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,3 @@
# dlive Mixrack ip and port for midi/tcp
ip = '192.168.1.70'
port = 51325

# MIDI channel number - MIDI channel 1 to 12
midi_channel_number = 12
Binary file modified gui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit aafce3b

Please sign in to comment.