Commit Graph

675 Commits

Author SHA1 Message Date
Tobias Doerffel
4b8ddcc14f VstPlugin: flush temporary data exchange file
VstPlugin creates a temporary file for exchanging data chunks of VST
plugins with the remote process. After calling QFile::write(...) data
has not neccessarily been written due to QFile's internal write buffer.
Therefore explicitely call QFile::flush() so all data is guaranteed
to be written.

Fixes problems with plugins which save small data chunks.
2009-10-29 23:12:27 +01:00
Tobias Doerffel
17b388d482 ZynAddSubFX: flush temporary data exchange file
LMMS' ZynAddSubFX plugin creates a temporary file for exchanging XML
data with the remote process. After calling QFile::write(...) data
has not neccessarily been written due to QFile's internal write buffer.
Therefore explicitely call QFile::flush() so all data is guaranteed
to be written.

Closes #2877916.
2009-10-29 23:11:44 +01:00
Tobias Doerffel
1633cf2593 Removed usage of ASCII C strings in several places
Still QString::toAscii() & friends were used in several places causing
problems such as failed access to files with non-ASCII characters in
name.

Closes #2884115.
2009-10-27 17:54:40 +01:00
Tobias Doerffel
7aa426f701 ZynAddSubFX: explicitely link RemoteZynAddSubFx.exe against Core library
For some reason CMake constructs a strange linker command line when
building RemoteZynAddSubFx.exe (win32) resulting in tons of undefined
and duplicate symbols.

The issue can be fixed by explicitely adding -lZynAddSubFxCore to
the library list and add an according dependency.
2009-10-26 01:34:57 +01:00
Tobias Doerffel
41d7c7f126 Merge branch 'master' into zynaddsubfx-master 2009-10-26 01:04:40 +01:00
Tobias Doerffel
f2f22e9f98 Revert "ZynAddSubFX/FLTK: updated to SVN revision 6909"
I mistakenly updated FLTK in master branch too so everything's a mess
when merging in master. Reverting bbe967e3a0
allows easy merge of master branch later.
2009-10-26 01:02:57 +01:00
Tobias Doerffel
c734023be2 ZynAddSubFX/FLTK: updated to SVN revision 6921
Updated FLTK to SVN revision 6921 of branch-1.3:

  - Managing all Widget flags in a single location now (STR #2161)
  - Fixed all color related call to Fl_Color type (STR #2208)
  - File chooser preview now recognizes utf8 encoded
    text files (STR #2218)
  - Empty functions in Fluid no longer create an
    implementation (STR #2259)
  - Fixed Fluid dependency on X11 (STR #2261)
  - Updated the bundled libpng to v1.2.40 (released Sep. 10, 2009)
  - Fixed Fl_Choice contrast with light-on-dark settings (STR #2219)
  - Fixed X server "lock", if a modal dialog window is opened
    while a menu is active (STR #1986)
  - Updated mirror sites in documentation (STR #2220)
  - Setting a default font for Xft (STR #2216)
  - Temporarily limited builds to 32-bit on OX S to stay
    compatible to Snow Leopard
  - Fixed Windows compile bug with "#define USE_COLORMAP 0"
    (STR #2241)
2009-10-26 00:52:27 +01:00
Tobias Doerffel
01ae99d6aa Build system: another stupid compiler flag fix for OS X
All versions of OS X except Snow Leopard ship GCC 4.0 which does not
understand the "-finline-functions-called-once" flag. Therefore do not
use this flag when building for OS X.
2009-10-17 23:53:48 +02:00
Krzysztof Foltman
b60527e699 + DSP primitives: fix a rather stupid bug in clamping functions
(cherry picked from commit d55bbe5f163d3e32f3428c0a1f2643d4fe999a1b)
2009-10-13 09:37:23 +02:00
Krzysztof Foltman
f8c6833e9f + Monosynth: fix type bug that made it impossible to compile with g++ 4.2
(cherry picked from commit f2cd6987deba9f82a9824529bad6de2ab89e0bc6)
2009-10-13 09:36:26 +02:00
Krzysztof Foltman
9b29e3a2a6 + AutoHell: update AUTHORS file
(cherry picked from commit 3897c98a85401ee3a99b0adde4a2428adb6e9b53)
2009-10-11 00:18:42 +02:00
Krzysztof Foltman
b89707c6da + GUI, Multiband Compressor, Toggle button: apply more fixes and additions by Markus Schmidt
(cherry picked from commit 6717c99440d6bef04a16447145d8beb2b0b3f16e)
2009-10-11 00:18:42 +02:00
Krzysztof Foltman
86212e2691 + Multiband Compressor: better metadata
(cherry picked from commit 5763a3ca62a1c6de51b4ed1a886cb85fa99694f2)
2009-10-11 00:18:42 +02:00
Krzysztof Foltman
5fd28cb5f3 + Multiband Compressor: new module (first version, by Markus Schmidt, based on code by me and Thor) plus associated refactoring and graph colour scheme update
(cherry picked from commit 9912931955299424aac7f32685d1a04003765995)
2009-10-11 00:18:42 +02:00
fundamental
7572164d76 Style: Restylized entire codebase
Restylized entire codebase to deal with inconsistencies.
This was done with an automated run of uncrustify, so there may be some odd
formatting for now.
The guidelines for formatting are in place at the sourceforge website and all
known changes appear to fully match them.
(cherry picked from commit 09ae8d044ad3352bec24f9bc3da5d35c3a3ba773)
2009-10-10 23:45:41 +02:00
fundamental
386a5e1539 SUBnote: integrated memcpy/memset
(cherry picked from commit 6ddc5ff44be31aef98d5dca1bc48c1a1fa065b15)
2009-10-10 23:40:56 +02:00
fundamental
9996483dc3 ADnote: started to use memset/memcpy
Started to use memset/memcpy based upon suggestion by Alan Calvert
(cherry picked from commit 0adbb0532845d8f10d3b4636a95c59b301d10d2c)
2009-10-10 23:40:04 +02:00
fundamental
2a121fda50 ADnote: Documented/added const usage
(cherry picked from commit 3b8e3f871fda2f995adf66d436e68addf393af39)
2009-10-10 23:39:12 +02:00
Krzysztof Foltman
1294ff62ee + Organ, Framework: use std::vector::front() instead of std::vector::data() (may possibly fix the MacOS X compilation problem reported by Daniel Klaffenbach and Tobias Doerffel)
(cherry picked from commit 628eb1543591f5137e6001abad439d01942ffd4a)
2009-10-05 23:47:38 +02:00
Tobias Doerffel
68bd237061 Revert "CALF: removed usage of non-standard std::vector::data()"
This reverts commit dd260245ec.

The commit fixed the compilation problem but according to upstream
causes new problems because of the huge data structures on the stack.

Upstream provided a better patch which will be applied next.
2009-10-05 23:44:53 +02:00
fundamental
2fa39bdf7a OSS: Added failsafe based upon Jrmie Andri patch
See Also:
https://sf.net/tracker/index.php?func=detail&aid=1781574&group_id=62934&atid=502312
(cherry picked from commit 42a066a7d7e3c9631bde7187269acd7e9234ccf6)
2009-10-03 01:18:02 +02:00
Tobias Doerffel
dd260245ec CALF: removed usage of non-standard std::vector::data()
The std::vector::data() method is a special feature of GCC and
therefore not portable. This causes a compile failure of CALF plugin
on OS X. Therefore I replaced the code with standard arrays
allocated on stack.

Upstream needs to be informed about this patch.

Thanks to Daniel Klaffenbach for pointing out this issue.
2009-10-03 01:16:05 +02:00
Krzysztof Foltman
66a5ae5066 + Monosynth: code cleanup (move more things to .cpp file, ignore the negligible performance hit)
(cherry picked from commit 24f4661a73fe39e70db8e74b9a5c1279859b6fb3)
2009-10-03 00:27:57 +02:00
Tobias Doerffel
b8d339e196 CALF: moved some files to allow easy cherry-picking from CALF Git
Source directory structure of the CALF plugin shipped with LMMS was
not equal with original one which makes cherry-picking commits from
CALF Git impossible.
2009-10-03 00:23:18 +02:00
Paul
c8c6ed648c Unison improvements
(cherry picked from commit 35418bd30b28a1eb5bd842f277a4cc0bfeeb44d5)
2009-10-02 23:53:49 +02:00
Tobias Doerffel
5eac2629bb Merge branch 'master' into zynaddsubfx-master 2009-10-01 14:12:49 +02:00
Andrew Kelley
f6507b52ee fixes segfault when importing a midi file
pitanga's patch - fixes a segfault when trying
to import a midi file without a default soundfont set.
2009-09-30 07:49:01 -07:00
Paul
765975283f Bandwidth effect on Reverb
(cherry picked from commit cefe2b53d04b1d5de3b51e0f977abcd5d8528619)
2009-09-30 00:52:05 +02:00
Paul
e39d7b429c Started to rewrite the Reverb's Bandwidth effect (based on a better idea)
(cherry picked from commit 6512c3d04d6843cbb86a35cced936a02cc19439e)
2009-09-30 00:48:45 +02:00
Tobias Doerffel
bbe967e3a0 ZynAddSubFX/FLTK: updated to SVN revision 6909
Updated FLTK to SVN revision 6909 of branch-1.3:

- Managing all Widget flags in a single location now (STR #2161)
- Fixed all color related call to Fl_Color type (STR #2208)
- File chooser preview now recognizes utf8 encoded
  text files (STR #2218)
- Empty functions in Fluid no longer create an
  implementation (STR #2259)
- Fixed Fluid dependency on X11 (STR #2261)
- Updated the bundled libpng to v1.2.40 (released Sep. 10, 2009)
- Fixed Fl_Choice contrast with light-on-dark settings (STR #2219)
- Fixed X server "lock", if a modal dialog window is opened
  while a menu is active (STR #1986)
- Updated mirror sites in documentation (STR #2220)
- Setting a default font for Xft (STR #2216)
- Temporarily limited builds to 32-bit on OX S to stay
  compatible to Snow Leopard
- Fixed Windows compile bug with "#define USE_COLORMAP 0"
  (STR #2241)
2009-09-28 22:45:35 +02:00
Tobias Doerffel
44e25a6ad5 RemoteVstPlugin: removed plugin dispatching in hostCallback
There's no need to call plugin dispatcher in hostCallback. It makes
plugins like Garritan Personal Orchestra 4 lock up. After removing
these calls the affected plugins work.
2009-09-28 13:45:58 +02:00
Tobias Doerffel
660b41c6a5 Merge branch 'master' into newXML
Conflicts:
	ChangeLog
(cherry picked from commit aa79e53f0be4308b3cf693c029023bebaaa369ca)

Conflicts:

	src/DSP/FFTwrapper.cpp
	src/DSP/FFTwrapper.h
	src/Tests/MicrotonalTest.h
2009-09-26 02:14:03 +02:00
Tobias Doerffel
58c526ecb6 ZynAddSubFX: rebuilt UI files with non-buggy Fluid
The SVN version of Fluid does not create implementations for empty
functions anymore. This made some source files miss some required
functions. Fix this by rebuilding with a better version of Fluid.
2009-09-25 01:40:06 +02:00
Tobias Doerffel
e4a433de5b ZynAddSubFX: rebuilt source files from UI files
There were various updates to ZynAddSubFX' UI files therefore process
them with fluid to also update resulting source files.
2009-09-25 01:24:03 +02:00
Tobias Doerffel
53f12a58bf Merge branch 'master' of ssh://zynaddsubfx.git.sourceforge.net/gitroot/zynaddsubfx/zynaddsubfx
Conflicts:
	ChangeLog
(cherry picked from commit 93bb99e57561c5b72d2074a233c513e9da6bf9d4)

Conflicts:

	src/Synth/OscilGen.cpp
	src/Synth/OscilGen.h
	src/main.cpp
2009-09-25 01:17:40 +02:00
Paul
db06648d07 Started to implement Bandwidth to the Reverb effect.
(cherry picked from commit ac9ca5fc289fe8c0a7edd0e10918bc32a32a18f0)
2009-09-25 00:14:31 +02:00
Paul
effa3861be Small enhancements and bugfixes to Unison
(cherry picked from commit 1f30a453df88c9a508bd54b0b9d06192a0c10ddc)
2009-09-24 20:59:35 +02:00
Paul
552d3aece2 Made unison vibratto LFO smoother
(cherry picked from commit c129dc9382485212f8dc8842d19649f79290cc5d)
2009-09-23 23:27:13 +02:00
Paul
e86ab32cde Other improvements and bugfixes on Unison.
(cherry picked from commit 461cb023b98c17708a1bc605416b9bd5fec81224)
2009-09-23 23:26:37 +02:00
Paul
b87dcc5c71 Bugfixes
(cherry picked from commit 3d23087c5a257f3319f7c846c6ec131cf34cbba5)
2009-09-23 23:26:33 +02:00
Paul
9d4bdb93a9 Made unison frequency spread to depend on Bandwidth controllers and parameters
(cherry picked from commit c2d08b3b5784059501bc074c6574e28b1c96c63f)
2009-09-23 23:26:28 +02:00
Paul
f2362df5fb Added unison invert phase
(cherry picked from commit 5302e6d9c97ae6435bbc0d68a412dbfe3cb03044)
2009-09-23 23:26:24 +02:00
Paul
f8b8ea9686 Added Vibratto to unison effect
(cherry picked from commit 97013fd5ca25c477d8db76105a22ddd1b8cc6cdd)
2009-09-23 23:26:19 +02:00
Paul
5785f481b3 Continued unison implementation.
(cherry picked from commit 2565eb855025cd3941f272b57b4b93fd86965e79)
2009-09-23 23:26:13 +02:00
Paul
0cd6d22931 Added GUI to Unison effect in ADsynth (but not finished)
(cherry picked from commit 7a4dc58ea1213d1c769b8968f320858dc0fb5d5d)
2009-09-23 23:26:09 +02:00
Paul
3570151d26 Started to add the unison effect to ADsynth
(cherry picked from commit ae7d0b438ab9082d32b3e551657fab1012d9d2c3)
2009-09-23 23:26:04 +02:00
Tobias Doerffel
afc9791926 ZynAddSubFX: build with -O2 rather than -O3
ZynAddSubFX developers also switched to -O2 for building ZynAddSubFX
so change it here as well.
2009-09-23 23:25:02 +02:00
Tobias Doerffel
2d7225a703 ZynAddSubFX: moved some files one directory level up
In order to allow easy integration of patches from ZynAddSubFX Git repo
moved some files.
2009-09-23 23:25:02 +02:00
Nikos Chantziaras
0f28295ac7 ZynAddSubFX: link fftw3f after ZASF core libs
Commit 3c18e436cd makes it impossible to
build LMMS with embedded ZynAddSubFX if "-Wl,--as-needed" is used in
LINKER_FLAGS during the link step of RemoteZynAddSubFx:

  Linking CXX executable RemoteZynAddSubFx
  libZynAddSubFxCore.so: undefined reference to `fftwf_plan_r2r_1d'
  libZynAddSubFxCore.so: undefined reference to `fftwf_execute'
  libZynAddSubFxCore.so: undefined reference to `fftwf_destroy_plan'

This happens because fftw3f, which is a system lib, is linked to before
the ZASF core libs when linking RemoteZynAddSubFx. With "--as-needed",
correct library order matters.
2009-09-23 14:38:45 +02:00
Tobias Doerffel
3c18e436cd ZynAddSubFX: resynced with their Git repo
ZynAddSubFX has gained some new developer power so development has been
going on well for quite a while now in their Git repo. It's time for
the first big resync so future changes can be integrated easily.
2009-09-17 23:29:09 +02:00