Commit Graph

766 Commits

Author SHA1 Message Date
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 Jérémie Andréi 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
275bf5bb0e Fix FL Import with new mixer 2009-10-01 03:40:20 -07: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 Giblock
147844b388 Merge branch 'master' of ssh://pgib@lmms.git.sourceforge.net/gitroot/lmms/lmms into fx-mixer-rework 2009-09-30 03:14:57 -04: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
Andrew Kelley
89d5be7855 Used FloatModels as the backend for mixer sends
Can add new channels in the mixer, and sends are implemented.
Instruments are hardcoded at 10. FL Import is hardcoded at 64.
2009-09-17 14:37:01 -07: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
Tobias Doerffel
b73474ca73 ZynAddSubFX: eliminate global data in favour of per-synth data
OscilGen::tmpsmps and OscilGen::outoscilFFTfreqs were static member
variables initialized once in LocalZynAddSubFx class. However having
this data global is not a good idea because it gets modified by each
synth (possibly in parallel), causing heavy distortion under various
circumstances. Now that this data is allocated and used per-synth
everything works fine.
2009-09-15 23:40:36 +02:00
Tobias Doerffel
6940d19969 InstrumentPlayHandle: do not process if InstrumentTrack is muted
While regular instruments were excluded from processing when muted
this did not happen for InstrumentPlayHandle-based instruments. Muting
for exampling tracks with VSTi's inside did not decrease CPU usage.
Checking whether related InstrumentTrack is muted before calling
Instrument::play() fixes this issue.

Closes #2857426.
2009-09-15 10:10:02 +02:00
Tobias Doerffel
5c96adbd6d ZynAddSubFX: fix plugin descriptor name
While fixing the name of the plugin library in commit
883836aa8a the plugin descriptor
structure has not been updated.
2009-09-02 22:32:21 +02:00
Tobias Doerffel
883836aa8a ZynAddSubFX: keep plugin filename lower case
If we'd rename all plugins like I did with ZynAddSubFX, we'd run into
serious troubles, therefore keep plugin names lower case.
2009-09-01 00:14:21 +02:00
Tobias Doerffel
78536d9065 ZynAddSubFX: fixed win32 compilation of FLTK and MXML
Some platform-specific constants got renamed during sed-mass-replace.
Fix this by reverting concerning constant names.
2009-08-28 23:53:02 +02:00
Tobias Doerffel
f1d383d04d ZynAddSubFX: added GUI-less mode
Added a new GUI-less mode to ZynAddSubFX instrument plugin which allows
to let ZynAddSubFX audio processing happen within LMMS, giving a much
better realtime behaviour.

As soon as showing up the GUI settings of GUI-less ZynAddSubFX instance
are saved and a traditional RemoteZynAddSubFx process is being launched
and the settings are applied there.
2009-08-28 23:52:38 +02:00
Tobias Doerffel
d2eea754bc ZynAddSubFX: lots of cleanups in RemotePlugin implementation
Moved all ZynAddSubFX instance related functions and variables into
RemoteZynAddSubFX class so there're no globals anymore. Also removed
some unused headers and ZynAddSubFX' main.c.

Additionally make use of full 80 chars/line with ts=4.
2009-08-27 11:34:59 +02:00
Tobias Doerffel
2287eca802 Plugin: typedef DescriptorList + more const improvements
Instead of writing QVector<Plugin::Descriptor> everywhere, mit up
iterators etc. centrally define Plugin::DescriptorList and use it
everywhere.

Additionally made pointers to Plugin::Descriptor and
Plugin::Descriptor::SubPluginFeatures::Key const in various places
so we can use ConstIterator everywhere when iterating through
Plugin::DescriptorList.
2009-08-26 01:46:27 +02:00
Tobias Doerffel
1c76c77d22 Plugin::Descriptor::SubPluginFeatures: made some methods const
We can safely make fillDescriptionWidget() and listSubPluginKeys()
const methods. Furthermore descriptor pointer to listSubPluginKeys()
can be const as well. Might allow more optimizations by the compiler.
2009-08-26 01:36:00 +02:00