ohli / ardroid-export

simple OSC control for Ardour/Mixbus. Ardroid-export is an Ardroid clone based on Lincoln Spiteri's "Ardroid"
GNU General Public License v2.0
0 stars 1 forks source link

Change OSC paths to new Ardour 5.6 scheme. #1

Open ohli opened 7 years ago

ohli commented 7 years ago

"Editor/" changed to "Common/"

Affected Actions

alternate-jump-forward-to-mark
alternate-jump-backward-to-mark
set-session-start-from-playhead
set-session-end-from-playhead
toggle-location-at-playhead
add-location-from-playhead
alternate-add-location-from-playhead
remove-location-from-playhead
alternate-remove-location-from-playhead
nudge-next-forward
nudge-next-backward
nudge-playhead-forward
nudge-playhead-backward
playhead-forward-to-grid
playhead-backward-to-grid
start-range-from-playhead
finish-range-from-playhead
start-range
finish-range
start-punch-range
finish-punch-range
start-loop-range
finish-loop-range
alt-start-range
alt-finish-range
wvengen commented 7 years ago

Is this about Ardour 5 compatibility, or something else? I'm trying to get this app working with Ardour 5.8 based on these docs - see this branch, which is partly working.

ohli commented 7 years ago

Hey! Thanks for your help. Yes, it is about ardour5 compatibility. The new OSC commands have been introduced in ardour5.6, but they stay the same for ardour 5.8. I'll have a look at your branch. Looks good so far, will test this today.

wvengen commented 7 years ago

Cool. I'm still having issues, it seems that when strip buttons are pressed in Ardroid, they don't update in its UI (but they do in Ardour). The OSC message coming back from Ardour seems to return always 0. Is the parsing as float correct? Also faders do not have an initial value (don't know how to get this, listing strips does not return this info).

Shall we leave this issue open until it is fully solved? Gives other users an idea about the state.

ohli commented 7 years ago

Yes, you're right. This is far from done, so I reopened this. All the stuff in the static part of the UI (Play/Pause/Record and the markers) work, it's all about the track list view... I'm also experimenting with possible return values of ardour, but the default is 0. Until now I didn't managed it to get a proper return value of the /locate cmd, I think that's why the upper view isn't there.

Go on in your ardour5-branch, I'll send an PR if I found sth. new.

Keep up the good work, and Thanks

wvengen commented 7 years ago

I've found a way to see sensible updates:

  1. Start Ardour, enable OSC, set manual port, and in Default Feedback, enable both Strip Buttons and Strip Controls.
  2. Run oscdump osc.udp://:8000 on a console (from liblo)
  3. Start Ardroid. It won't react to any updates because of the manual port.

This will show something like the following when Ardroid starts:

#reply ssiiiiii "AT" "Audio" 1 2 0 0 1 0
#reply shh "end_route_list" 48000 0

Now when enabling Strip buttons and Strip controls in Ardour's OSC Default feedback protocol settings, one can see more (you may need to Clear OSC Devices first).

/strip/name is 1 "Audio"
/strip/mute if 1 0.000000
/strip/solo if 1 0.000000
/strip/monitor_input ii 1 0
/strip/monitor_disk ii 1 0
/strip/recenable if 1 0.000000
/strip/record_safe if 1 0.000000
/strip/select if 1 0.000000
/strip/gain if 1 0.000000
/strip/trimdB if 1 0.000000
/strip/pan_stereo_position if 1 0.500000
#reply ssiiiiii "AT" "Audio" 1 2 0 0 1 0
#reply shh "end_route_list" 48000 0

Turning mute on and off (in Ardour) shows this

/strip/mute if 1 1.000000
/strip/mute if 1 0.000000

And also the gain is communicated (in dB here):

/strip/gain if 1 -0.214755
/strip/gain if 1 -0.214755

So what would be needed to handle this in Ardroid?