falkTX
6cdfc2e9cd
Start of mixed C++ and Python for frontend, jack-app dialog first
2 years ago
falkTX
5db10df8be
Start moving files around
2 years ago
falkTX
121d7f617b
Start python level automated tests, WIP
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
Stefans Mezulis
911ecff73d
Cast QDial value parameter to prevent type error
Fixes this error, which would occur after `setPrecision` had been called
with a non-integer value.
```
Traceback (most recent call last):
File "/usr/share/carla/carla_host.py", line 1442, in slot_handlePluginAddedCallback
pitem = self.ui.listWidget.createItem(pluginId, self.fSavedSettings[CARLA_KEY_MAIN_CLASSIC_SKIN])
File "/usr/share/carla/widgets/racklistwidget.py", line 241, in createItem
return RackListItem(self, pluginId, useClassicSkin)
File "/usr/share/carla/widgets/racklistwidget.py", line 86, in __init__
self.recreateWidget(firstInit = True)
File "/usr/share/carla/widgets/racklistwidget.py", line 176, in recreateWidget
self.fWidget = createPluginSlot(self.fParent, self.host, self.fPluginId, self.fOptions)
File "/usr/share/carla/carla_skin.py", line 2090, in createPluginSlot
return PluginSlot_Default(parent, host, pluginId, skinColor, skinStyle)
File "/usr/share/carla/carla_skin.py", line 1766, in __init__
self.ready()
File "/usr/share/carla/carla_skin.py", line 642, in ready
paramWidget.setValue(self.host.get_internal_parameter_value(self.fPluginId, paramIndex))
File "/usr/share/carla/widgets/scalabledial.py", line 282, in setValue
QDial.setValue(self, qtValue)
TypeError: setValue(self, int): argument 2 has unexpected type 'float'
Error mapping plugin to canvas client: 16 Step Sequencer
```
2 years ago
Oliver Sahr
91720f6ddc
Fixed unexpected type errors
2 years ago
Hans-J. Schmid
3316618aa5
explicit casting start
3 years ago
falkTX
8907e1143b
Add option to use classic skin by default
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
e2430861ed
Make some macOS dialogs modal, hack around edit dialog on top
3 years ago
falkTX
a17f139321
midipattern: use Esc key to close UI
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
747087ab23
Cleanup midi pattern UI event handling, 2/2
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
c4f4b288fc
Cleanup midi pattern UI event handling, 1/2
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
1e919cf4f5
pianoroll: set cursor depending on hover action
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
6fdc4d36fd
Add .kdev_include_paths files
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
572c2aa54d
Fix drag&drop of VST2 plugins under macOS
3 years ago
falkTX
eb78e41ed9
Allow to use canvas cut operations without prior window focus
Fixes #1176
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
3a4a81eaf4
Ignore mouse wheel events when dragging canvas around
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
9c1e07c047
XYController fixup, params work now
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
29413dbff0
ScalableDial: Use PNG file for image 2
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
c18a8817f7
Fix typo
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
cb8477cf1c
midi pattern: Do not delete notes when changing number of measures
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
8301366ae1
midi pattern: quick&dirty note audition, fix octave offset
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
8169fe32a3
Fixup RackListWidget::dragLeaveEvent
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
7eeefdd7c6
One more pylint fix
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
eb12242976
Fix frontend a bit for late messages just before closing
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
babda1dd24
print warning when loading legacy canvas group pos file; fix lint
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
30d8712beb
Load old canvas group pos file when project is imported (as needed)
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
dc0c1df47e
More pylint corrections
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
9c710e50b3
Rename cursors; Cleanup CanvasPreviewFrame class
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
b63bb4ffc8
Fixup ScalableDial to be compatible with old pixmaps
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
c093190584
Make LEDButton compatible with old pixmaps
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
8d9c63bfbe
Make ScalableButton compatible with old pixmaps
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
Térence Clastres
26775a225a
Fix wrong custom dial arcs value and add fix from #1126
4 years ago
Térence Clastres
f3928a5482
Fully Scalable UI Part 1
Code preparation for scalable LEDs, Dials and Buttons
4 years ago
Térence Clastres
1f0238411f
VST2: Fix creation of a rack when one of the parameters is a NaN
On some quirky Windows VST2 (old SWAM instruments) or old Linux ones (InsertPizHere plugins), a NaN parameter value would be sent.
This throws an error in the frontend code and prevent carla from creating the corresponding rack.
We workaround that by just returning early from PixmapDialsetValue() if the value is a NaN
Fixes #1143
4 years ago
falkTX
55e2acb560
Make pixmapkeyboard right-click menu a bit better
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
62b91cbe9a
Make canvas ports and groups ignore middle mouse clicks
Fixes #1085
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
cfa1bf23e4
Allow drag&drop in canvas area
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
c986c86860
Add "Find plugin in patchbay" right-click option
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
82bea67fe9
Allow to drag&drop vst3 folders for any OS
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
a511bb259e
Try to prevent flooding logs with nan warning
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
7ced536c88
Try to catch NaN values in gui
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
7703a681c6
Allow user to set ranges; Better render of "set value" dialog text
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
20d450554a
Bunch more c++ stuff, WIP
4 years ago
falkTX
1b88881875
Continue C++ ideas
4 years ago
falkTX
3cfd7d09fd
Use QSafeSettings in a few more places
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
b1a04d7f76
Start fixing up midi pattern plugin, WIP
5 years ago
falkTX
d997f2976f
Fix pianoroll.py snap when value is zero
5 years ago
falkTX
cae121d99f
Tweak look of parameter groups
5 years ago
falkTX
36e98b942a
Set parameter tooltip based on lv2 control comment
5 years ago
falkTX
ba07ac4e6f
Fix lv2 parameter groups for a few more plugins
5 years ago