Commit graph

41358 commits

Author SHA1 Message Date
Robin Gareus
e539cabc00
Allow to re-allocate (ensure) buffers after clearing them
This fixes a crash when removing and re-adding regionFX.

Removing all FX clears the _readcache BufferSet
(see AudioRegion::remove_plugin).

BufferSet::clear() calls _buffers.clear(); leading to a assert/crash
when adding a new regionFX plugin which calls BufferSet::ensure_buffers.
2025-09-23 17:46:15 +02:00
Robin Gareus
afd0172c63
Fix jump in gain when deactivating aux-send with non-unity gain 2025-09-23 02:14:51 +02:00
Robin Gareus
36ed5bbf37
Fix edge case when region start is after the source' end
This fixes an edge case where an audio-region was split near
its end using music-time.

see also 7ded62c37f
2025-09-21 17:52:49 +02:00
Edgar Aichinger
72eda5e98f
update german translation to current 2025-09-18 21:10:22 +02:00
Robin Gareus
64613cbeb0
Stopgap solution to speed up MIDI region selection
Filling the CC dropdown menus of the editor's pianroll
bottom attachment can take ages.. So only do that when
the bottom pane is actually visible.

This will need more work, since it's still slow, and the
menu is also not correctly using sub-menus.
2025-09-18 00:09:06 +02:00
Robin Gareus
614472bc4c
Skip idempotent calls to Pianoroll::set_track
Since this function is expensive (see comments). This
halves the time spent when changing MIDI region selection.
2025-09-17 17:50:06 +02:00
Robin Gareus
95f63a9a4e
Improve Library manager UI
* Only show progress bar when downloading/installing
* Don't allow re-install
* Scale progress bar width with UI
* make sure target clip library folder exists
2025-09-16 20:25:13 +02:00
Paul Davis
3cd7bd661c also save mouse mode, x-origin and snap mode in RegionUISettings 2025-09-15 22:14:27 -06:00
Paul Davis
a6295e4d3f cue editors: add zoom focus to saved state 2025-09-15 22:07:28 -06:00
Paul Davis
d9d45f11e9 delete commented line that refers to non-existent variable 2025-09-15 09:43:25 -06:00
Paul Davis
521f01984b refactor code associated with cut/copy/clear so that pianoroll ops will affect automation points there 2025-09-14 13:49:26 -06:00
Paul Davis
b65a70e580 fix thinko-delete in 9f4d84dcb4 that broke step entry (and maybe other things too) 2025-09-14 13:49:26 -06:00
Robin Gareus
07c86bb472
Fix user-facing and non-user-facing typos
Found via `codespell -q 3 -S "*.pdf,*.po,./.git,*.tosc,./waf,./share/patchfiles,./libs,./msvc_extra_headers,./share/web_surfaces,*.patch" -L acount,addin,ane,ba,buss,busses,caf,capela,devine,disconnectin,discreet,doubleclick,envolution,filetest,fo,ghandi,homs,hsi,layed,maschine,mis,nd,ontop,pass-thru,removeable,retrn,ro,scrollin,sectionin,seh,siz,sord,sur,te,trough,ue,vie,wth`
2025-09-13 14:01:59 +02:00
chousemp3
9dafed2d76
Fix potential buffer overflow when playing 10^18 beats :) 2025-09-12 19:04:25 +02:00
chousemp3
2ba290e904
NO-OP: whitespace and comment clarification 2025-09-12 19:03:00 +02:00
chousemp3
a9e7ce15db
Add MIDI note strumming feature 2025-09-12 19:02:07 +02:00
chousemp3
0581f29f5f
Add MIDI note strumming operator
- Implement strum_notes functionality to apply progressive
  timing offsets to selected MIDI notes
- Provides guitar-style strumming for creating realistic
  note sequences

The feature applies 1/32 beat timing offsets progressively
to selected notes, creating a strummed effect where notes
play in sequence rather than simultaneously.
2025-09-12 18:58:05 +02:00
Paul Davis
4dbacf0cb6 do not alter visible note range of MidiView if data range did not change 2025-09-12 10:32:08 -06:00
Paul Davis
b41ab993ec add API to MidiViewBackground to get access to its data note range 2025-09-12 10:32:08 -06:00
Robin Gareus
726295c4ce
Ditto for UI configuration, only save modified settings 2025-09-11 23:30:22 +02:00
Robin Gareus
52bd416845
Only save modified configuration variable to user config
This allows to change default values when necessary.
2025-09-11 23:30:22 +02:00
Paul Davis
4e71a78bc7 simplify Pianoroll::snap_to_internal()
Since we have only 1 type of snap (the grid, which is BBT based always), this
method doesn't need as much of the baggage as the equivalent Editor method
2025-09-11 15:14:14 -06:00
Paul Davis
e7bc6624d9 ensure that GDK events arriving in a PianorollMidiView use a local tempo scope if appropriate 2025-09-11 15:14:14 -06:00
Paul Davis
77bc293aee add a variation on the EC_LOCAL_TEMPO_SCOPE macro 2025-09-11 15:14:14 -06:00
Franke Burgarino
0122f5072f Fix typos in RTA tooltips 2025-09-11 09:28:24 -05:00
Paul Davis
1426573707 do not disconnect from history changed signal when resetting a region in a cue editor
The history is cleared separately, we can remain connected to the signal. Nothing will happen to it that
we don't control, since we own the UndoHistory object
2025-09-10 15:09:07 -06:00
Robin Gareus
7a5dec92c7
Add common selection modifiers for VCA strips 2025-09-10 17:03:19 +02:00
Robin Gareus
b0a3c2efbd
Allow to select VCAs in the mixer window 2025-09-10 16:59:18 +02:00
Robin Gareus
7b7ed820ed
M: expose Track/Bus auto-connect preference 2025-09-10 09:33:29 +02:00
Robin Gareus
ab2f22dcaa
Amend 74133432d3 fix editor sidebar visibility 2025-09-10 01:46:11 +02:00
Robin Gareus
5d9d367cde
Don't unset CueEditor:_track when changing regions.
CueEditor::catch_pending_show_region() calls ::set_region
which calls CueEditor::unset(false). This reset _track.

Also PianorollWindow::set() calls set_track() before set_region(),
the latter also reset CueEditor::_track.

This fixes the Solo button in the Pianoroll window, and
probably some other things, too.
2025-09-09 01:25:33 +02:00
Robin Gareus
c32106600a
Don't show trigger selection in Editor's bottom pane 2025-09-09 00:21:13 +02:00
Robin Gareus
e4ef7fca8f
Don't clear selection during session load
Mouse-mode is set after the the session sets CoreSelection
in the backend, and can clear valid selection.

Note: Region Selection (if any) is saved in instant.xml
and set during first_idle, which usually still happens
from `load_session_stage_two() -> flush_pending()`.
2025-09-08 23:30:06 +02:00
Robin Gareus
74133432d3
Correctly hide attachment content at application start 2025-09-08 20:27:51 +02:00
Robin Gareus
604964dc57
Explicitly show attachment contents 2025-09-08 20:16:02 +02:00
Robin Gareus
3124c8a61c
Fix initial solo indicator (required for no-strobe) 2025-09-08 15:29:51 +02:00
Robin Gareus
8f81f77fa3
Fix meter_change signal (amend b14ce31372) 2025-09-05 01:03:25 +02:00
Robin Gareus
9e6d077f64
Add/update VBM specific enum (amend 59989eed3) 2025-09-04 01:43:48 +02:00
chmaha
afc721e7ed
Add pitch option to dialog 2025-09-03 18:47:13 +02:00
Robin Gareus
f914eaa600
Remove accidentally comitted file 2025-09-03 18:42:18 +02:00
Robin Gareus
628d7491a8
VST3: amend previous commit (fix setting color) 2025-09-03 17:14:14 +02:00
Robin Gareus
5c8458e377
VST3: PSL extension color format 2025-09-03 14:04:18 +02:00
Robin Gareus
02b1ca4705
Add tooltips to RTA Window controls 2025-09-02 22:12:10 +02:00
Paul Davis
bca71d0cc4 fix error in position of notes drawn in percussive mode 2025-09-02 13:56:00 -06:00
Paul Davis
603f8a2c6b auto-ify a loop in the canvas ruler rendering code 2025-09-02 11:10:11 -06:00
Paul Davis
2e33194ed5 virtualize some CueEditor methods to allow audio clip editor to do the right thing 2025-09-02 11:09:37 -06:00
Paul Davis
3850dbc8d0 remove debug output 2025-09-02 11:08:40 -06:00
Paul Davis
0398836dfe remove unused local variable 2025-09-02 11:08:29 -06:00
Paul Davis
6d38195da0 remove unused local variable 2025-09-02 11:08:20 -06:00
Paul Davis
3c5b4ce1b0 NO-OP: move source file location of ~AudioClipEditor 2025-09-02 11:07:50 -06:00