Commit Graph

808 Commits

Author SHA1 Message Date
André Hentschel
399cafe894 vst_base: Fix winelib build on x86-64 2010-11-04 16:35:31 -04:00
Krzysztof Foltman
52bccb8702 Make meters in compressor/EQ/distortion modules sample-rate-dependent.
(cherry picked from commit 47a87c696223625d31cf106e12ed08cd3293be14)
2010-10-17 18:16:19 +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
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
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
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
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
Paul Nasca
ab2e117ed8 Bugfix extra "for" in adsynth
(cherry picked from commit e6bc35ff98e3f430a4d091aae8f059b7925179f3)
2010-08-31 11:45:59 +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
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
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
9b280ffb3e Renamed all automation related files and classes to match new coding style
All automation-related files and classes have been renamed to match the
new coding style.
2010-08-16 20:21:18 +02:00
Tobias Doerffel
f4b84a6058 VstPlugin: use guarded pointer for pluginWidget
The pluginWidget of a VstPlugin (i.e. the VST editor) might be destroyed
outside VstPlugin's control resulting in a dangling pointer. This leads
to crashes for example when changing the model of an EffectView where a
VST plugin is attached, i.e. when re-opening a InstrumentTrackWindow of
an InstrumentTrack with a VST effect inside.

This can be fixed easily by using QPointer.

Closes #3045102.
2010-08-15 12:34:10 +02:00
Tobias Doerffel
534c4debb5 ZynAddSubFX: save and restore settings of new knobs
When adding the new knobs for automatable parameters of ZynAddSubFX,
I forgot to include them in the save/load routines.
2010-08-11 00:45:55 +02:00
Tobias Doerffel
7b85371a38 More MinGW64 fixes
Some more trivial fixes for successfully compiling for Win64.
2010-07-28 21:26:21 +02:00
Tobias Doerffel
7a4f110af3 ZynAddSubFX: added knobs for MIDI controls
Added knobs for some MIDI controls that are recognized by ZynAddSubFX.
This allows to automate some basic parameters of ZynAddSubFX inside LMMS.
2010-07-28 19:57:58 +02:00
Tobias Doerffel
730798317d FLTK/CMakeLists.txt: fix CMAKE_MODULE_PATH, don't use 3rdparty code
Fix setting CMAKE_MODULE_PATH to respect the previous content of this
variable. Furthermore do not process subdirectories with 3rdparty code
even if no libjpeg, libpng or libz was found on the target system.
2010-07-26 15:12:17 +02:00
Tobias Doerffel
f730ed7acb Merge branch 'master' into zynaddsubfx-master
Conflicts:
	plugins/zynaddsubfx/CMakeLists.txt
2010-07-26 15:12:06 +02:00
Tobias Doerffel
c105c2e606 ZynAddSubFX/FLTK: updated to SVN revision 7680
Updated FLTK to SVN revision 7680 of branch-1.3:

    - Fixed X11/XDBE double buffering (STR #2152, #2197)
    - Added new label and image alignments (STR #2269)
    - Added documentation for event delivery (STR #1983)
    - Fixed menu and tooltip window animation bug under X11 (compiz)
      by setting an appropriate window type (STR #2082)
    - redesigned CMake files (STR #2317).
    - Fixed max. fd calculation, if USE_POLL is enabled (STR #2324)
    - Fixed clipping for offscreen rendering (OSX, STR #2330)
    - Added printing support (Fl_Printer class and friends) for native
      printing on Windows and Mac OS X, PostScript printing on X11
      with CUPS or lp, and PostScript file output on all platforms
    - Added basic Fl_Device abstraction layer for all drawing functions
    - Fixed possibility of wrong flags() in Fl_Window::iconlabel()
      (STR #2161)
    - Fixed Scrollbar events when max is less than min (STR #2283)
    - Added argument-less constructor in Fuid Widget Class
    - Fixed menu item counting issue in Fluid (STR #2322)
    - Added Fl_Menu_::find_item by callback
    - Removed redundant Fl_Group casts
    - Added indexing to Fl_Preferences
    - Integrated default menu into Demo test app
    - Added automated Xcode IDE file generation to Fluid
    - Fixed lost top item in Fluid's tree browser (STR #2233)
    - Fixed crash in test/Editor when freeing buffer
      too soon (STR #2294)
    - Fixed Fl_Preferences Cygwin wide character bug (STR #2164)
    - Fixed sorting in Fl_Browser - last item would not
      be sorted (STR #2300)
    - Fixed window levels in OS X Cocoa (STR #2316)
    - Added jpeg support to Fluid image() element
    - Added loading jpeg images from memory
    - Added binary data type to Fluid
    - File chosser preview would hang if a device was choosen
    - Replaced _WIN32 symbols that had come with UTF-8 and the
      new Fl_Table widget with WIN32
    - Fixed a buffer overflow in fl_utf8from_mb() (STR #2279)
    - Fixed a Windows GDI leak when testing alpha blending capabilities
    - Fixed a name conflict with new (VS 2008 Express) winsock2.h
      versions and another conflict that produced compile errors
      with VS 2008 Express (STR #2301)
    - Widgets now remove stale entries from the default callback
      queue when they are deleted (STR #2302)
        - Moved OS X code base to the more moder Cocoa toolkit thanks
          to the awesome work of Manolo Gouy (STR #2221)
        - Added template to generate new projects with Xcode.
    - New widgets: Fl_Tree, Fl_Table, Fl_Native_File_Chooser
    - added Fl_Menu_ methods: insert(), find_index(), clear_submenu()
    - Bug reports/enhancements now refer to the STR form http://www.fltk.org/str.php
2010-07-26 15:11:11 +02:00
Tobias Doerffel
4ea8b9d9c2 Merge branch 'mingw64-compat-fixes'
* mingw64-compat-fixes:
  CMakeLists.txt: install libFLAC-8.dll for win32 build
  Improved support for MinGW cross compile builds
2010-07-26 15:04:00 +02:00
Tobias Doerffel
eaebe3cb84 ZynAddSubFX: check whether QDomDocument::setContent() succeeded
When saving settings in ZynAddSubFxInstrument::saveSettings() check
whether the call to QDomDocument::setContent() succeeded. Otherwise
LMMS crashes when calling QDomDocument::importNode() later due to a bug
in QtXml.

Fixes crash in the unlikely situation that transmission of XML data from
the ZynAddSubFX plugin to LMMS somehow failed.
2010-07-25 20:47:04 +02:00
Tobias Doerffel
c6640ffd37 ZynAddSubFX: completely reinitialize config after changing working dir
Custom changes made to the config after first initialization got lost
after setting work directory. Therefore moved custom initialization into
a separate function which is called after setting work directory.
2010-07-25 20:42:26 +02:00
Tobias Doerffel
79abf9ca85 ZynAddSubFX: set working directory before setting preset directory
Set working directory before setting preset directory as otherwise
the changes made by LocalZynAddSubFx::setPresetDir() will get lost.
2010-07-25 20:14:20 +02:00
Tobias Doerffel
9984e47b60 Merge branch 'master' into zynaddsubfx-master 2010-07-25 20:13:59 +02:00
Tobias Doerffel
89451dcd3b ZynAddSubFX/CMakeLists.txt: use global binary dir as last include dir
The local binary directory should be more prioritized regarding
file inclusions. Otherwise for example the global embedded_resources.h
gets included instead of the plugin-specific one.
2010-07-25 20:09:41 +02:00
Tobias Doerffel
ac1a286dff ZynAddSubFX/CMakeLists.txt: remove accidently added subdirectory
The src/Tests/ directory was not copied from upstream, therefore do not
reference it in CMakeLists.txt.
2010-07-25 19:37:05 +02:00
Tobias Doerffel
000f67d01d ZynAddSubFX: save configuration file in LMMS working directory
On non-Linux platforms configuration file was saved in the application
path which definitely is not desired and also will not work in many
situations. Therefore always save ZynAddSubFX configuration file in
LMMS working directory.
2010-07-25 19:16:52 +02:00
Tobias Doerffel
c7372240c9 ZynAddSubFX: resynced with upstream (version 2.4.1)
There have been some major updates with ZynAddSubFX. Completely resynced
whole source tree up to version 2.4.1.
2010-07-25 18:31:49 +02:00
Tobias Doerffel
63f7846cf2 Merge branch 'master' into zynaddsubfx-master 2010-07-25 17:28:26 +02:00
Tobias Doerffel
30060e41b7 ZynAddSubFX: added window icon (win32 version only)
Added a window icon to ZynAddSubFX windows for better appearance.
This is currently only possible for the win32 version a lot more hacks
are required to achieve this for X as well :-(
2010-07-25 17:02:27 +02:00