Is there any way to know or set the window size?

In order to make videos where I can easily edit scenes it would be nice if I could set VCV to a specific size and aspect ratio. That way I could get some amount of consistency from scene to scene. Is there a way to do this (in Windows)?

You can try
glfwSetWindowSize(APP->window->win, width, height)
Actually, I could make a module for it with some presets…

5 Likes

oh, code - that’s crazy talk! I see there are a few windows utilities that will do it… But now that you mention it, it would be easier to just do in code. tx!

2 Likes

I’d also love a plug-in for this. :+1:

Window-resizing-controlled accordion oscillator incoming

2 Likes

Merge it with this idea for a laptop accordion

Wow, laptop accordion is cool!

2 Likes

Could you please also make that module place the patch in the exact center of the window on patch load.

3 Likes

Hi there - did this ever become a module? Or could you describe how I can use the above code please?

I use Sizer (Sizer 4.0 by Brian Apps} for this purpose

see settings.json

  "windowMaximized": false,
  "windowSize": [
    1144.0,
    1351.0
  ],
  "windowPos": [
    1147.0,
    38.0
  ],
1 Like

easy peasy: no apps to install – just edit settings.json and restart.

1 Like

Unfortunately neither of these (Sizer or .json) will for my situation, because:

  • I am running VCV Rack in the MP Midi wrapper, which isn’t seen by Sizer as a regular “Window”
  • I need to resize VCV almost every time I open it, since I drag it from the MP Midi screen to my larger monitor for patch-building. Then back to the MP unit for performance. I’m looking to re-size the window right before I drag back to the MP Midi unit…

Ok, for cases where Rack is running as a plugin, you would need a Rack plugin.

Since Ben said he might write that module, you should let him know what your requirements are for the right windows size on the MP.

Ah yes, I guess that would be helpful! It looks like the closest standard size would be 1366 x 768, but I can imagine a bank of maybe 3 custom presets/buttons would be helpful to most people interested in this.

Would the ability to click or use a keyboard short cut to zoom to extents, so the patch fills the screen all centered at full screen fall into this category of module? This scrolling and zooming and panning nonsense is really getting old. :slight_smile:

Did you try “F4” ?

I tried it but nothing happened. F11 works, but F4 does nothing.

What version are you on ?

Or use stroke

2.5.2, so looks like I need to go ahead with the upgrade. Thanks for the help!

1 Like