How to Set the Default Height of Mixer Volume Meter and Fader?
Hello
I spent hours but I couldn't find a way to do this. You can control the height of mixer volume meter and fader with mouse drag/drop. However, the default height is not saved. Not even in the project template. Every time I have to readjust the height of the mixer volume meter and fader.
The only way seems to be editing the layout rtconfig.txt file.
However, it seems too complex to me.
What I want to achieve is make the track 2's volume/fader height in the following picture be the default height for all created tracks in a new starting project.
I tried it. It is not saved (not in Windows tab, nor in Track views tab). I wrote in the original post that it's "in a new starting project." I save the screenset/layout and then start a new project and load the screenset/layout, it does not change.
Track views is what you might be looking @.
Not sure if this is saved globally by defaults though tbh,but like most things it could be persuaded to do that.
Not only it is applied per track, and not globally, but also the data is gone as soon as the related track is deleted.
Yet, you say it is possible to save globally; how do you persuade to do that? I've watched the video but there seems to be nothing related to do in it.
Quote:
Originally Posted by Bri1
Track views is what you might be looking @.
Not sure if this is saved globally by defaults though tbh,but like most things it could be persuaded to do that.
Yeah, leaving one empty track in it set at my favorite height would be a roundabout solution. But it's simple. Thanks.
Quote:
Originally Posted by doppelganger
i made my default height for all tracks by making default project template.
When reaper starts , it opens automatically default project with 1 empty track in it, all new created tracks align to this first track.
By the way you can always align tracks to the same size in mixer by ctrl+leftdrag and alt+leftdrag
This is how I solve it finally. It is a Lua script.
It is a roundabout way but it solves the problem.
Code:
nt=reaper.GetNumTracks();
for i=0,nt-1 do
t=reaper.GetTrack(0,i);
reaper.SetMediaTrackInfo_Value(t,"F_MCP_FXSEND_SCALE",0.15);
end
Quote:
Originally Posted by cjunekim
Hello
I spent hours but I couldn't find a way to do this. You can control the height of mixer volume meter and fader with mouse drag/drop. However, the default height is not saved. Not even in the project template. Every time I have to readjust the height of the mixer volume meter and fader.
The only way seems to be editing the layout rtconfig.txt file.
However, it seems too complex to me.
What I want to achieve is make the track 2's volume/fader height in the following picture be the default height for all created tracks in a new starting project.
MT_SCALE=0.333
T_SCALE=0.15
p,fn=reaper.EnumProjects(-1,"");
mt=reaper.GetMasterTrack(p);
reaper.SetMediaTrackInfo_Value(mt,"F_MCP_FXSEND_SCALE",MT_SCALE);
nt=reaper.GetNumTracks();
for i=0,nt-1 do
t=reaper.GetTrack(0,i);
reaper.SetMediaTrackInfo_Value(t,"F_MCP_FXSEND_SCALE",T_SCALE);
end
Quote:
Originally Posted by Edgemeal
How about the master track in the mixer, is there a way to set the height using an action/script also?
Hallo,
thank you very much, for writing this script.
Unfortunately, this script does not work in the Startupaction.
So I had the idea to call this with an Actionbutton.
I have created two icons.
One, to make all mcp smaller (to see the channelstrip)
And another one, to show the tracks fullsize.
But I need to Buttons.
Is it very impudent of me to ask you, to write a lua, with which I can toggle between fullsize and smaller (channelstrip). An need only one Button?
If it should be possible, many 1000 thanks in advance
I think I can do that. What you want is a single button in the toolbar so that toggling on/off makes the volume meter/fader switch between small and big?
Quote:
Originally Posted by Vollgerd
Hallo,
thank you very much, for writing this script.
Unfortunately, this script does not work in the Startupaction.
So I had the idea to call this with an Actionbutton.
I have created two icons.
One, to make all mcp smaller (to see the channelstrip)
And another one, to show the tracks fullsize.
But I need to Buttons.
Is it very impudent of me to ask you, to write a lua, with which I can toggle between fullsize and smaller (channelstrip). An need only one Button?
If it should be possible, many 1000 thanks in advance
Using track templates also works. But I don't think there is a default track template for new inserted tracks without adding them with a track template. I'm going to add this feature to Track Inspector script
I think I can do that. What you want is a single button in the toolbar so that toggling on/off makes the volume meter/fader switch between small and big?
Yes, that is exactly what I want.
I docked the MIxer on the left side.
There I don't need the channelstrip (FX,FX-parm, Sends).
If the Mixer ist not docked, I need all MCP with channelstrip.
The switching I realized with your script and some actions in a Cycle-action.
If I nevertheless need teh channelstrip on the docked mixer,I would like to turn this on and off.
MT_SCALE={0.0,0.666} --master track on/off state scales
T_SCALE={0.0,0.666} --ordinary track on/off state scales
function SetMCPHeight(mt_scale,t_scale)
p,fn=reaper.EnumProjects(-1,"")
mt=reaper.GetMasterTrack(p)
reaper.SetMediaTrackInfo_Value(mt,"F_MCP_FXSEND_SCALE",mt_scale)
nt=reaper.GetNumTracks()
for i=0,nt-1 do
t=reaper.GetTrack(0,i)
reaper.SetMediaTrackInfo_Value(t,"F_MCP_FXSEND_SCALE",t_scale)
end
end
function GetToggleCommandState()
is_new_value, filename, sec, cmd, mode, resolution, val = reaper.get_action_context()
state = reaper.GetToggleCommandStateEx( sec, cmd )
if (state==-1) then state=0 end --initial state
return sec,cmd,state
end
function SetButton(isOn) -- isOn: 0/1
sec,cmd,_=GetToggleCommandState()
reaper.SetToggleCommandState( sec, cmd, isOn)
reaper.RefreshToolbar2( sec, cmd )
end
sec,cmd,isOn=GetToggleCommandState()
SetMCPHeight(MT_SCALE[isOn+1],T_SCALE[isOn+1])
SetButton((isOn+1)%2) --toggle
Quote:
Originally Posted by Vollgerd
Hallo cjunekim,
Yes, that is exactly what I want.
I docked the MIxer on the left side.
There I don't need the channelstrip (FX,FX-parm, Sends).
If the Mixer ist not docked, I need all MCP with channelstrip.
The switching I realized with your script and some actions in a Cycle-action.
If I nevertheless need teh channelstrip on the docked mixer,I would like to turn this on and off.
many thanks for your effort
I've testet it and it works great.
some small modifications I can make for myself.
I think I have to learn writing scripts
you made my day
MT_SCALE={0.0,0.666} --master track on/off state scales
T_SCALE={0.0,0.666} --ordinary track on/off state scales
function SetMCPHeight(mt_scale,t_scale)
p,fn=reaper.EnumProjects(-1,"")
mt=reaper.GetMasterTrack(p)
reaper.SetMediaTrackInfo_Value(mt,"F_MCP_FXSEND_SCALE",mt_scale)
nt=reaper.GetNumTracks()
for i=0,nt-1 do
t=reaper.GetTrack(0,i)
reaper.SetMediaTrackInfo_Value(t,"F_MCP_FXSEND_SCALE",t_scale)
end
end
function GetToggleCommandState()
is_new_value, filename, sec, cmd, mode, resolution, val = reaper.get_action_context()
state = reaper.GetToggleCommandStateEx( sec, cmd )
if (state==-1) then state=0 end --initial state
return sec,cmd,state
end
function SetButton(isOn) -- isOn: 0/1
sec,cmd,_=GetToggleCommandState()
reaper.SetToggleCommandState( sec, cmd, isOn)
reaper.RefreshToolbar2( sec, cmd )
end
sec,cmd,isOn=GetToggleCommandState()
SetMCPHeight(MT_SCALE[isOn+1],T_SCALE[isOn+1])
SetButton((isOn+1)%2) --toggle
Old thread but just the script I was looking for :-)
Thanks cjunekim!
Same as uncleswede :
Old thread but exactly the script I was searching for ! (And which allow to set also the height of the Master track, and toggle between two values !)