Commit Graph

2661 Commits

Author SHA1 Message Date
Tobias Doerffel
903cf1f1e5 Added EditResourceLocationDialog
The EditResourceLocationDialog class provides a dialog for editing a
certain ResourceLocation.
2010-10-08 13:40:00 +02:00
Tobias Doerffel
4f1fbf9946 Added ResourceLocation class
The ResourceLocation class stores information about a location of
resources and creates according ResourceLocation instances.
2010-10-08 13:39:57 +02:00
Tobias Doerffel
59e472a7d9 Added UnknownResourceProvider class
The UnknownResourceProvider class is a dummy provider used as fallback
when an unknown ResourceProvider has been specified.
2010-10-08 13:38:43 +02:00
Tobias Doerffel
c05965117c InstrumentTrackView: use QMdiArea's window activation history
There's no need to implement an own (buggy) window activation history
for InstrumentTrackWindows. Use QMdiArea::subWindowList(...) instead.
Fixes buggy keyboard focus when switching between InstrumentTrackWindows.
2010-10-06 10:15:16 +02:00
Tobias Doerffel
fd40743772 Fixed alternating row color in QTreeView (Sf2 patch selector)
With Qt 4.7 the alternating row color in the Sf2 patch selector dialog
somehow was messed up. Fixed this by explicitely setting the alternating
row color in the style's CSS files.
2010-09-29 16:31:52 +02:00
Tobias Doerffel
830c2cb975 SampleTrack: do not hide EffectRackView forever when closing subwindow
Whenever closing the sample track effects window using its own close
button and trying to open it again there was only a really small window
without functionality. Fixed this by explicitely also showing subwindow
content in showEffects().

Closes #3075205.
2010-09-29 16:10:07 +02:00
Tobias Doerffel
01c91b6ce3 Merge branch 'calf-updates'
* calf-updates:
  LADSPA/CALF: removed unused file
  One table_edit_iface per table; start implementing a bridge class. (cherry picked from commit 2019ae2d8f9636b7d5cdb0c1fdd5f0d6f2b47e3d)
  Move the table_edit_iface out of plugin_metadata_iface, where it should have never been in first place. (cherry picked from commit 6907dc9670eae2313707b142c552a8d9e8b477b5)
  Fix organ crash in calfjackhost. (cherry picked from commit b2853103199b3f5f3a5d22271c5d89122514dd53)
  Remove the forgotten leftover references to the old extensions. (cherry picked from commit deb8b77bdb1e1648a38589b3be3d4d66175b4934)
  Replace string port/message context using persist extension. (cherry picked from commit b8e69ceb2ff7aca549efd939d04447e2f08ad5a8)
  Comment out the barfage when passing configure variables via message_run. (cherry picked from commit 1e767ff88578011c2f65466d5516953271e2cafd)
  Add a crude incomplete implementation of persist extension support. (cherry picked from commit 3ec11c04799fc08fd408c4ef2350df65f88ccfde)
  Add LV2 persist extension by paniq. (cherry picked from commit 1965282a28c6940164ffff7ebd106b27cafd7f2a)
  More refactoring of the VUs. The goal: to be able to add peak meters without major hassle. (cherry picked from commit 00ee132cc2ebe3b664c7d5760260d76dda37bf26)
  Fix handling of very short notes in Monosynth. (cherry picked from commit 5965d9922a0753e2dce4f743a23b9512be01a7ac)
2010-09-28 23:40:23 +02:00
Tobias Doerffel
cb05af03f7 LADSPA/CALF: removed unused file
We do not need lv2_persist.h for building the LADSPA version of CALF,
therefore remove it.
2010-09-28 23:39:28 +02:00
Krzysztof Foltman
a572acb35f One table_edit_iface per table; start implementing a bridge class.
(cherry picked from commit 2019ae2d8f9636b7d5cdb0c1fdd5f0d6f2b47e3d)
2010-09-28 23:32:59 +02:00
Krzysztof Foltman
16f24125fd Move the table_edit_iface out of plugin_metadata_iface, where it should have never been in first place.
(cherry picked from commit 6907dc9670eae2313707b142c552a8d9e8b477b5)
2010-09-28 23:31:37 +02:00
Krzysztof Foltman
2ff3c32d7b Fix organ crash in calfjackhost.
(cherry picked from commit b2853103199b3f5f3a5d22271c5d89122514dd53)
2010-09-28 23:30:58 +02:00
Krzysztof Foltman
8ff5a37584 Remove the forgotten leftover references to the old extensions.
(cherry picked from commit deb8b77bdb1e1648a38589b3be3d4d66175b4934)
2010-09-28 23:30:21 +02:00
Krzysztof Foltman
9179bf41ee Replace string port/message context using persist extension.
(cherry picked from commit b8e69ceb2ff7aca549efd939d04447e2f08ad5a8)
2010-09-28 23:25:59 +02:00
Krzysztof Foltman
f40e2c85bc Comment out the barfage when passing configure variables via message_run.
(cherry picked from commit 1e767ff88578011c2f65466d5516953271e2cafd)
2010-09-28 23:23:12 +02:00
Krzysztof Foltman
fbc364e68e Add a crude incomplete implementation of persist extension support.
(cherry picked from commit 3ec11c04799fc08fd408c4ef2350df65f88ccfde)
2010-09-28 23:22:46 +02:00
Krzysztof Foltman
48f9008f42 Add LV2 persist extension by paniq.
(cherry picked from commit 1965282a28c6940164ffff7ebd106b27cafd7f2a)
2010-09-28 23:22:28 +02:00
Krzysztof Foltman
2831eb8c59 More refactoring of the VUs. The goal: to be able to add peak meters without major hassle.
(cherry picked from commit 00ee132cc2ebe3b664c7d5760260d76dda37bf26)
2010-09-28 23:19:29 +02:00
Krzysztof Foltman
4b92af788b Fix handling of very short notes in Monosynth.
(cherry picked from commit 5965d9922a0753e2dce4f743a23b9512be01a7ac)
2010-09-28 23:17:23 +02:00
Tobias Doerffel
342ea2ba05 VstEffectControlDialog: fixed preprocessor macro logic
Fixed preprocessor macro logic that was messed up in commit
fa9e0f762c.
2010-09-02 23:48:10 +02:00
Tobias Doerffel
fa9e0f762c VstEffectControlDialog: workaround for invisible GUI on Linux
For some reaons with recent versions of Qt we can't embed the VST FX
GUI into an existing EffectControlDialog anymore. As a workaround, embed
it into a new subwindow and added an additional show/hide button.

Closes #3028717.
2010-09-02 17:33:48 +02:00
Tobias Doerffel
f05c510f4d ZynAddSubFX: only re-instantiate ZASF if m_hasGUI has changed
Do not re-instantiate ZynAddSubFX if m_hasGUI is different from the
value of the according push button.
2010-09-02 17:19:52 +02:00
Tobias Doerffel
b2cc802528 ZynAddSubFX: save which controllers were modified and restore them
We must not only restore the controller knobs but also send updates
to ZynAddSubFX. However this only applies to knobs that were modified.
Therefore save and remember which knobs this applies for.
2010-09-02 17:12:50 +02:00
Tobias Doerffel
1546b7cec0 ZynAddSubFX: fixed identifier for filter resonance controller
The filter resonance controller erroneously was labeled with something
like "cutoff" which is definitely wrong. Use "resonance" instead.
2010-09-02 16:22:32 +02:00
Tobias Doerffel
f8e73c5293 PianoView: send NoteOff MIDI events for all keys on focus out
Commit 491910357b was a first try to fix
bug #3052228 but it broke InstrumentPlayHandle-driven instruments.
When losing focus now simply send NoteOff MIDI events for all keys
regardless of the state indicated by Piano::m_pressedKeys.

Closes #3052228.
2010-09-02 01:53:31 +02:00
Tobias Doerffel
dd4e7c8aaf Revert "PianoView: call InstrumentTrack::silenceAllNotes() on focus out"
This reverts commit 2f921303eb.
2010-09-02 01:53:25 +02:00
Tobias Doerffel
eb673c0ad5 SID: improved artwork+logo once more
The first version of mikobuntu's logo had a white semitransparent
background. This has been fixed. Additionally the background artwork
of the SID plugin has been changed as well to include the new logo.
Thanks to pgib for preparing this.
2010-09-02 00:05:33 +02:00
Tobias Doerffel
2f921303eb PianoView: call InstrumentTrack::silenceAllNotes() on focus out
If we lose focus, call InstrumentTrack::silenceAllNotes() after
explicitely sending NoteOff MIDI events for all keys for which presses
were recorded. In case the arpeggiator is enabled this is not
sufficient. Fixes hanging notes when switching active subwindow while
pressing keys in an instrument track window with arpeggiator enabled.

Closes #3052228.
2010-09-01 23:51:43 +02:00
Tobias Doerffel
4e695a4ea8 ZynAddSubFX: properly load preset data if knobs are automated/controlled
Commit 534c4debb5 introduced a regression.
If knobs have a song-global automation or controllers attached, they
save these settings in a sub XML node which confused the ZASF preset
loader which assumed the first child node would always be the ZASF
preset data. Fix this by explicitely searching for an XML element named
"ZynAddSubFX-data".

Closes #3057275.
2010-09-01 23:23:13 +02:00
Tobias Doerffel
56ee4db565 SID: added new logo by mikobuntu
Added a logo remake by mikobuntu. Thanks!
2010-09-01 22:26:12 +02:00
Tobias Doerffel
4763da4daa Mirror Commodore logo on SID instrument (v2)
This is an attempt to improve commit c17bb3ba18. The logo has
been mirrored using ImageMagick which doesn't seem to mess up the 8 bit
alpha channel.
2010-09-01 00:25:04 +02:00
Tobias Doerffel
c560ae4207 Revert "Mirror Commodore logo on SID instrument"
This reverts commit c17bb3ba18.
2010-09-01 00:09:37 +02:00
Paul Giblock
c17bb3ba18 Mirror Commodore logo on SID instrument
Try to stay out of legal trouble.  Not the *best* GIMP work ever, but it
looks pretty good.
2010-08-31 14:09:31 -04:00
Tobias Doerffel
1b84b360f4 CMakeLists.txt: explicitely search for pthread and link against it
On Linux and OS X search for pthread library and link against it
explicitely. This fixes link problems on recent Linux distributions
where indirect linking (by dependencies) is disabled. Thanks to thm
for pointing out this issue.
2010-08-31 19:18:09 +02:00
Tobias Doerffel
0b7e37ca6a ZynAddSubFX: added LED checkbox to disable forwarding of MIDI CC events
After introducing the control knobs it's not always desired to forward
all MIDI Control Change events to ZynAddSubFX. Therefore added an LED
checkbox which allows to disable forwarding of such events.

Closes #3055332.
2010-08-31 16:40:15 +02:00
Tobias Doerffel
39918f8835 ZynAddSubFX: forward all MIDI events but NoteOn if muted
There's no reason for not forwarding MIDI events such as NoteOff,
ControlChange etc. when muted. Therefore only do not forward NoteOn
when muted.
2010-08-31 15:22:55 +02:00
Tobias Doerffel
1d5b62d61a MidiEvent: added read method for type property
Even if the type property of the MidiEvent class is still public, there
should be a method for reading it.
2010-08-31 15:20:51 +02:00
Paul Nasca
ab2e117ed8 Bugfix extra "for" in adsynth
(cherry picked from commit e6bc35ff98e3f430a4d091aae8f059b7925179f3)
2010-08-31 11:45:59 +02:00
Tobias Doerffel
cb52114261 Merge branch 'calf-updates'
* calf-updates:
  Use generic single VU meter in some dynamics plugins as well. (cherry picked from commit 50505a2d304555bb3b766c43af5cd1a27de331e2)
  Refactor metering code out of distortion plugins. (cherry picked from commit 84d873861da7b4ad205061b00fcc9f73c47140b6)
  More variable initialisation. (cherry picked from commit 40bbe048f27fc7190001383f93097127119ee667)
  Initialise old-state variables to prevent "stuck" graphs. (cherry picked from commit 2a795084ee9e73712a4b690b84158cc745ff1d30)
2010-08-31 11:40:52 +02:00
Krzysztof Foltman
1d759dc239 Use generic single VU meter in some dynamics plugins as well.
(cherry picked from commit 50505a2d304555bb3b766c43af5cd1a27de331e2)
2010-08-31 11:40:41 +02:00
Krzysztof Foltman
d22dbc7d70 Refactor metering code out of distortion plugins.
(cherry picked from commit 84d873861da7b4ad205061b00fcc9f73c47140b6)
2010-08-31 11:39:53 +02:00
Krzysztof Foltman
017e382b35 More variable initialisation.
(cherry picked from commit 40bbe048f27fc7190001383f93097127119ee667)
2010-08-31 11:31:16 +02:00
Krzysztof Foltman
9845de9d94 Initialise old-state variables to prevent "stuck" graphs.
(cherry picked from commit 2a795084ee9e73712a4b690b84158cc745ff1d30)
2010-08-31 11:31:06 +02:00
Tobias Doerffel
b38eab0075 FxMixer: rewrote processing of FX channels
Rewrote the way FX channels (FX lines) are processed, i.e. the
calculation when to process which channel. This patch based on a patch
by Stefan Fendt but includes further improvements regarding
multithreading.
2010-08-30 17:32:19 +02:00
Tobias Doerffel
efee8ab147 PianoRoll: fix last commit
Commit 28eb7e00bf was based on a patch
created for the stable-0.4 branch. It therefore used note::selected()
instead of note::isSelected().
2010-08-25 00:35:07 +02:00
Tobias Doerffel
28eb7e00bf PianoRoll: respect stacking order of notes
Notes are always drawn on-top of each other starting from the left
to the right. However the behaviour when clicking notes was reverse,
which made it quite hard to edit notes sometimes. Now the top most
note is edited/selected/moved/resized if notes overlay.

Closes #2808603.
2010-08-24 18:42:49 +02:00
Tobias Doerffel
80a1b6b8e8 Merge branch 'calf-updates'
* calf-updates:
  Add Sidechain Gate, rename Gate to Expander, cleanups etc.
2010-08-24 09:33:22 +02:00
Markus Schmidt
62ba7d676b Add Sidechain Gate, rename Gate to Expander, cleanups etc.
(cherry picked from commit fd70348c38a139e6f90a7a20f833b5eb2b926694)
2010-08-24 09:28:50 +02:00
Tobias Doerffel
6e64bcfc42 SampleBuffer: for OGG files try with OGG Vorbis decoder first
This is workaround for a bug in libsndfile or our libsndfile decoder
causing some OGG files to be distorted. Therefore try the OGG Vorbis
decoder first if filename extension matches "ogg".

Closes #2957937.
2010-08-22 02:18:34 +02:00
Tobias Doerffel
32dbda5b33 ZynAddSubFX/QtXmlWrapper: fixed loading of oddly formatted presets
Some ZynAddSubFX presets have one or more leading blank lines which
confuses the QtXml module. Therefore dynamically remove characters from
the beginning of the data until we encounter a '<' character.

Closes #3047560.
2010-08-22 01:00:24 +02:00
Tobias Doerffel
8286c1031d PianoRoll: allow chaning volume and panning of step notes
There's no reason to not allow changing volume and panning of step notes
in PianoRoll. Therefore simply check whether the length is not equal to
zero (which might be disabled step notes) instead of checking for length
being greater than zero.

Closes #2836799.
2010-08-19 00:14:19 +02:00