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

implement synchronization with endorphines #202

Open
robertoostenveld opened this issue Jan 20, 2018 · 5 comments
Open

implement synchronization with endorphines #202

robertoostenveld opened this issue Jan 20, 2018 · 5 comments

Comments

@robertoostenveld
Copy link
Member

see issue #197 and the valuable documentation there

@stephenwhitmarsh
Copy link
Member

Using the clock signal works wonderfully with the Endorphines Shuttle Control. However, it needs a MIDI start message to start. This is similar to the Doepfer Dark Time, but there I could just press the start button. For now, I just added in line 214 of generateclock.py (not committed):

        # MIDI start message
        msg = mido.Message('start')
        midiport.send(msg)

There are several non-exclusive options for a better implementation:

  1. define (launchcontrol) event/pushbutton for MIDI-start and one for MIDI-stop. Could also be implemented in the outputmidi module
  2. MIDI-start at start of module, MIDI-stop at closing (keyboard interrupt)

Suggestion: Add a start and stop value in the [midi] field. If boolean just start/stop automatically, else respond to redis pubsub event. Also add to outputmidi.

@robertoostenveld
Copy link
Member Author

I think that the current "enable" option in the ini should be renamed to "play" (for consistency with other EEGsynth modules). When connected to a launchcontrol button (=midi note), it should not only enable the thread but also send the start message. Idem for stop.

@robertoostenveld
Copy link
Member Author

e.g.

[midi]
device=xxx
ppqn=24
play=launchcontrol.note021  ; instead of the general "midi" item

upon play it sends "start", when play goes to 0 it sends "stop"

@stephenwhitmarsh
Copy link
Member

If I remember corrected, this is now implemented, right?

@robertoostenveld
Copy link
Member Author

this does not seem to be implemented, it is not in endorphines.py

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

No branches or pull requests

2 participants