Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring MIDI, Shortcut is broken? #109

Open
jbland95 opened this issue Dec 16, 2019 · 2 comments
Open

Configuring MIDI, Shortcut is broken? #109

jbland95 opened this issue Dec 16, 2019 · 2 comments
Assignees

Comments

@jbland95
Copy link

Hello there.
This has been extremely useful, and thank you for making it. I do have an issue.
The shortcuts for configuring MIDI seem to be broken, and I don't know whether my controllers are being read at all. After peeking into the controller configurations and modifying them, they don't seem to be recognized.

With that in mind

  1. is there a way to create a non-root directory for storing configurations like adding new media to the library? My distro's file manager doesn't let me run it as root to do so.

  2. how can I create new mappings for my controllers? I'm currently debugging the controllers for finding out where everything is mapped, but I'm lost in how to map them in a similar configuration file.

@zbanks
Copy link
Owner

zbanks commented Dec 22, 2019

Hey, sorry about the delay getting back to you.

What platform are you running on, and how did you install Radiance?

For adding new media to the library, there is the "system" library path (e.g. /usr/share/radiance/library) and the "user" library path., The user library path should be...

  • ~/.local/share/Radiance/Radiance/library/ on Linux
  • ~/Library/Application Support/Radiance/library on Mac
  • C:/Users/<USER>/AppData/Roaming/Radiance/library on Windows
    (Let me know if this isn't correct for you)

MIDI controller support is a little rough right now -- it's not really a configuration file, instead you have to write Javascript callbacks to make the mapping.

The controllers are mapped in these .qml files:
https://github.com/zbanks/radiance/tree/master/resources/qml/MidiMappings
(Unfortunately you'll have to install yours to the system path, there isn't a "user" equivalent like there is for the library.)

The https://github.com/zbanks/radiance/blob/master/resources/qml/MidiMappings/SamsonGraphiteMF8.qml is a good place to start. If you change the deviceName: "..." line to match your controller, or set it to "", then if you run Radiance in a terminal and enable the controller you should get messages like on/off/cc which will let you determine the channel, note, and control values for each button/knob. DJControlCompact.qml then has more buttons mapped.

@zbanks zbanks self-assigned this Dec 22, 2019
@jbland95
Copy link
Author

Thank you for getting back to me.

I'm running Radiance on Manjaro 18.04 (with KDE Plasma), and installed Radiance from the package manager, pamac-manager. It seemed to be the latest there. (Also didn't know I could build for Windows! Cool beans.)

Anywho, I know how to move files to both the user & system libraries, so I'm good there. Plasma doesn't let users use sudo with most of its default programs in the distro (file managers, text editors, etc.) but will let you run terminal equivalent programs to provide the same functions; it's kind of tedious to open those files there to me, and I'll install a different file manager when I have access to my Manjaro machine again and start there.

Thank you again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants