Stream Deck - Wie würdet ihr es nutzen / Feature-Prioritäten

@worka, @Joram Im Prinzip ist mit dem Stand der Alpha genau das schon möglich, da ich mich genau darauf fokusiert habe.
Das Laden des Soundboards löst diverse OSC Kommandos aus, die das Plugin mitbekommt und somit auch deine beiden oder mehr individuellen Player mit Namen anzeigen. Du müsstest dazu dann nur so viele Buttons ins Stream Deck legen, dass du alle Player abdeckst.

Dazu müsstest du so vorgehen:
Dupliziere dir die Action (Mac: Alt+,) mit dem Namen „Script: ULTRASCHALL: Insert edit marker*“.
Hier steckt der komplette Code dahinter, der eine rote Edit-Marke einfügt.

Den Code kannst du dir dann als neue eigene Action anlegen und z.B. so abändern:

--[[
################################################################################
# 
# Copyright (c) 2014-2017 Ultraschall (http://ultraschall.fm)
# 
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
# 
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
# 
################################################################################
]]

dofile(reaper.GetResourcePath().."/UserPlugins/ultraschall_api.lua")

A=ultraschall.GetUSExternalState("ultraschall_follow", "state")

if reaper.GetPlayState() == 0 or reaper.GetPlayState() == 2 then -- 0 = Stop, 2 = Pause
	current_position = reaper.GetCursorPosition() -- Position of edit-cursor
else
    if A=="1" or A=="-1" then -- follow mode is active
		current_position = reaper.GetPlayPosition() -- Position of play-cursor
--     elseif reaper.GetPlayState()~=0 then
--          current_position = reaper.GetPlayPosition() -- Position of play-cursor
	else
		current_position = reaper.GetCursorPosition() -- Position of edit-cursor
	end
end

runcommand("_Ultraschall_Center_Arrangeview_To_Cursor") -- scroll to cursor if not visible

color = ultraschall.ConvertColor(255,255,0) -- set color of mute marker to yellow
reaper.AddProjectMarker2(0, false, current_position, 0, "_Mute", 0, color) -- set yellow mute marker

oder

[...]
color = ultraschall.ConvertColor(0,0,255) -- set color of censor marker to blue
reaper.AddProjectMarker2(0, false, current_position, 0, "_Censor", 0, color) -- set blue censor marker

Farbwerte sind als normale dezimale Zahlen angegeben (RGB-Format = Rot, Grün, Blau) jweils im Wertebereich von 0-255

  • 0,0,0 = Schwarz,
  • 255,0,0 = volles Rot
  • 128,0,0 = mittleres Rot
  • etc.

Diese Aktionen könntest du dann jetzt schon an Tastenkombinationen oder Midis koppeln.
Das Stream Deck Plugin wird „Custom Actions“ unterstützen, bei dem du dann die Command ID, die ausgelöst werden soll mit definierst. Die kannst du ganz einfach mit Rechtsklick → „Copy selected action command id“ in die Zwischenablage hinterlegen.

Im Auslieferungszustand wird wohl weder Ultraschall noch das Stream Deck Plugin solche Bedürfnisse ohne Anpassungen / Konfiguration abdecken können, da sich dann jeder andere Labels und Farben wünschen wird :wink:

1 „Gefällt mir“