Commit Graph

766 Commits

Author SHA1 Message Date
Tobias Doerffel
ea2a753257 Merge branch 'master' into zynaddsubfx-master 2009-12-03 00:17:17 +01:00
Tobias Doerffel
c11c228437 LV2Browser: fixed compilation
I somehow forgot to migrate LV2Browser plugin while reworking Mixer.
Should compile again now.
2009-11-30 01:37:53 +01:00
Tobias Doerffel
0e82b0facc Merge branch 'master' into mixer-new-fifo-arch
Conflicts:
	include/Mixer.h
	src/core/Mixer.cpp
	src/core/audio/AudioPort.cpp
	src/core/main.cpp
2009-11-30 00:50:31 +01:00
Tobias Doerffel
20589f19e4 Mixer: rewrote processing chain of rendered audio buffers
Until now, Mixer not only was responsible for rendering audio buffers
but also managed writing them to audio backend (through a FIFO) and
handled various quality related parameters.

All this functionality has been moved into the new AudioOutputContext
class. It glues together AudioBackend (formerly called AudioDevice),
global quality settings and the Mixer.

The AudioOutputContext class creates a FifoWriter which calls
Mixer::renderNextBuffer() and writes the output into the BufferFifo of
the AudioOutputContext it belongs to. The BufferFifo is read by the
according AudioBackend which belongs to the AudioOutputContext as well.

The AudioOutputContext also handles resampling in case the AudioBackend
wants the buffers in a different samplerate.

During this rewrite the Mixer class and the according source files have
been renamed from "mixer" to "Mixer". This results in small changes
all over LMMS' code base.
2009-11-29 01:46:23 +01:00
Tobias Doerffel
01e10a1854 ZynAddSubFX: fixed commit d61283ad93
Commit d61283ad93 (cherry picked from
official upstream) contained a type which makes compilation of ZASF
plugin fail. Fix this by using correct variable name.
2009-11-27 08:43:25 +01:00
Tobias Doerffel
873eff2b22 ZynAddSubFX/FLTK: updated to SVN revision 6943
Updated FLTK to SVN revision 6943 of branch-1.3:

	- Adding Gerg's Fl_Table widget to FLTK 1.3 with kind permission. Documentation not yet added Support for both Visual Studio IDE's not yet added.
	- Removed accidentaly added binary file (Note to self: the use of wild cards is a dangerous one ;-)
	- Added doxygenified documentation for Fl_Table
	- Added doxygenified documentation for Fl_Table_Row
	- Added doxygenified documentation for Fl_Table_Row
	- Added Fl_Tree source code, demo files, and documentation. Thanks, Greg!
	- Removed unused members width_ and height_ from Fl_Scroll (STR #2289).
	- Removed obsolete <P> tags from doxygen docs (Fl_Scroll.H), fixed some typos.
	- Would not build on ubuntu 9.10 - bad file name (fl_ask.h) should be fl_ask.H fix 64 bit build
	- Added const'nes too Fl_Counter::step()
	- STR #2292: fixed issue typing a minus in Fl_Int_Input when all text is selected.
	- Added missing svn properties and $Id$ tags.
2009-11-27 08:32:31 +01:00
Tobias Doerffel
ced0d8ecc6 Merge branch 'master' into fx-mixer-rework 2009-11-26 01:47:38 +01:00
Paul Nasca
8b9ced7951 small changelog fix
(cherry picked from commit c8d411b5f7e7a295286c1ac2c09ae22f15a1db51)
2009-11-19 22:33:49 +01:00
Krzysztof Foltman
871c31aaaa + LADSPA: make plugin IDs unique across Calf plugins, add an install-time check 2009-11-19 11:27:34 +01:00
Krzysztof Foltman
9fcffa9c20 + EQ-5: refactoring to eliminate code duplication, side effect: stereo meters 2009-11-19 11:25:40 +01:00
Tobias Doerffel
085db3e4e0 Merge branch 'master' into zynaddsubfx-master 2009-11-18 14:54:07 +01:00
fundamental
d61283ad93 VirKeyboard: Fixed possible segfault
Fix to VirKeyboard, so invalid keys do not get registered.
Based upon recommendation by zenon48 in:
http://www.kvraudio.com/forum/viewtopic.php?t=266432
(cherry picked from commit b9e7cb07bd00780967c68d17deab2190e18a604d)
2009-11-18 14:53:50 +01:00
Krzysztof Foltman
3f2dc5ac7d + EQ-n: shorter names for calfjackhost and others
(cherry picked from commit d8bb94eb5b9e0480f7d3b3c3b44563987d92a5bf)
2009-11-18 03:38:14 +01:00
Krzysztof Foltman
c1b3c6cada + Equalizers: convert lists of per-band parameters using macros (ugly, but effective)
(cherry picked from commit 8e69de1277fae1d5444ca51063995f45894ac07f)
2009-11-15 22:47:11 +01:00
Krzysztof Foltman
c84cdb7728 + EQ-8, EQ-12: reduce copypasta by using a class template
(cherry picked from commit cf7eaaf5c0c7b9bebf5df24024a1680c35a96702)
2009-11-15 22:45:38 +01:00
Tobias Doerffel
be0edab48d + Compatibility: workaround for GStreamer crash bug in Ubuntu 9.10 (thanks to Stefan Kost for diagnosing the problem and suggesting the workaround)
(cherry picked from commit 0c461259575fce7aa2975c2388f646e1232a9791)
2009-11-13 22:19:21 +01:00
Markus Schmidt
610e170445 + Compressor simplification, added optional audio ports
(cherry picked from commit 653033d711b1d497d7d465f5ab9a61133c8653f6)
2009-11-11 23:14:18 +01:00
Markus Schmidt
3a046201ba + Deesser: use correct threshold
(cherry picked from commit beefb7c7f7d8cda828c801942d4daad34d7191ed)
2009-11-10 10:27:58 +01:00
Markus Schmidt
7d92ad6ac7 + Equalizer: remove unused variables
(cherry picked from commit a45db777d5b645a0ce8add2c88d2f3c8940862f3)
2009-11-10 10:27:14 +01:00
Markus Schmidt
40015f001d + Gain reduction module: clearer authorship information
(cherry picked from commit 55a1aeaf25dd5716d8adfc3322e3a2a00f5caa8f)
2009-11-10 10:26:34 +01:00
Krzysztof Foltman
5aa154aeb1 + Framework: placeholder for waveshaper class (need it to merge further changes from Markus)
(cherry picked from commit d48420ce85389af6d20623af83ca20082f1cdcaa)
2009-11-10 10:25:00 +01:00
Markus Schmidt
5691c6d474 New widget: Tube with light and falloff
(cherry picked from commit 7dd7e84cf23e65fed3eae683c8d39b5d975e0e36)
2009-11-08 22:47:54 +01:00
Markus Schmidt
552a5951b1 New Deesser, some minor bugs in sc-comp
(cherry picked from commit 599b6c04b61f28f0c9d6c2f30844c44c20927a13)
2009-11-08 22:44:38 +01:00
Markus Schmidt
ea0c6c1c7b Sidechain compressor bugs/settings, 3 equalizer
(cherry picked from commit 657a80ae2f423cb7f21b8fadcc2bc9cbd8e2c55f)
2009-11-08 22:43:10 +01:00
Markus Schmidt
a2fd414d1a Minor bugs, sidechain frequency display
(cherry picked from commit e98ecb9e0a71af6295499877dafe22d2bae5cc89)
2009-11-08 22:41:38 +01:00
Markus Schmidt
17425ce70f New FX: Sidechain compressor
(cherry picked from commit c5c8786de3e410c64d9c9d4cd70fd03a4c697a2e)
2009-11-08 22:36:53 +01:00
Markus Schmidt
4ab2c68bd1 New button (big mama), VU-meters with falloff and hold, bug in delay (value)
(cherry picked from commit 27d2c6f978d07b1daaa4393732481f3016a0a528)
2009-11-08 14:37:00 +01:00
Markus Schmidt
0331180cd1 In the middle of nowhere
(cherry picked from commit ade6cdcd3f0f8d92a82e53f5c9d2bea451148927)
2009-11-08 14:34:44 +01:00
Markus Schmidt
47f31ff1c7 Fully redesigned
(cherry picked from commit b5915c7d30802e64c5f4ce9a5bfe55690addbb03)
2009-11-08 14:33:00 +01:00
Markus Schmidt
825e9394d7 Sidebars, GUI layouts, black buttons again, input knob for compressor
(cherry picked from commit bc4c38524486f1e29985f32e0cc42e0907e85a23)
2009-11-08 14:30:26 +01:00
Markus Schmidt
5f8962d5f2 Added 6 new LED's and peak hold function for VU-meters
(cherry picked from commit 81cfb6dbc82f73a8d251238a5a342d152c39adb2)
2009-11-08 14:28:18 +01:00
Markus Schmidt
9313d27e5c meter_gain in gain_reduction module with falloff
(cherry picked from commit 81eaa78018b52a076dd7f904980bdbbcc312710b)
2009-11-08 14:25:05 +01:00
Tobias Doerffel
d94b8882dd Merge branch 'master' into zynaddsubfx-master 2009-10-29 23:36:35 +01:00
fundamental
415a966d25 Params: added pthread.h include to fix compile
Added #include <pthread.h> in PADnoteParameters.h to fix windows compile error
Patch by: Tobias Doerffel
(cherry picked from commit 14d2751bed1e6bb11805bb17e4a73e622c85a4ac)
2009-10-29 23:35:16 +01:00
Paul
c87f14e397 small changes on Bandwidth on Reverb
(cherry picked from commit d0b0a4e00a44559a4e78035fd04568bd4bab9651)
2009-10-29 23:22:04 +01:00
Tobias Doerffel
1a9b7b5fe0 ZynAddSubFX: new QtXmlWrapper, a QtXml-based XML backend for ZASF
ZynAddSubFX comes with a default XMLwrapper class which uses mxml
library as backend. It is however does not make much sense to ship mxml
as an additional XML framework. With the new QtXmlWrapper class we can
drop all mxml source code.

Saving and loading settings/presets works well so far, but there still
might be bugs in this implementation.
2009-10-29 23:17:52 +01:00
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
59800c1570 Merge branch 'master' into fx-mixer-rework 2009-10-26 00:24:45 +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
Andrew Kelley
c4647a58ac Merge commit 'origin/master' into fx-mixer-rework 2009-10-13 03:15:33 -07: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