Commit Graph

2850 Commits

Author SHA1 Message Date
Tobias Doerffel
f329bccb6b AutomatableModel: remove bogus assigment if step size is 0
No idea why we set value to m_minValue in case the step size is 0. There
shouldn't be models with step size 0 nevertheless.
2014-02-13 01:13:22 +01:00
Tobias Doerffel
592ab25c57 Merge pull request #297 from Lukas-W/stable-0.4-doc
Add CMake doc target
2014-02-12 23:23:51 +01:00
Tobias Doerffel
20c86b7fe5 Merge pull request #302 from diizy/waveshaper
Waveshaper
2014-02-12 23:23:35 +01:00
Vesa
bb145b4b53 Higher range in gain knobs 2014-02-12 22:21:12 +02:00
Vesa
cc1dea42bb Final fixes and tweaks: old bugs fixed in graph behaviour, more responsive and accurate now 2014-02-12 22:13:36 +02:00
Vesa
58e451925e Graph code improvements, graphics 2014-02-12 20:58:30 +02:00
Vesa
4b125abc0e Added reset & smooth buttons, graphics, fixed graph smoothing behaviour 2014-02-12 16:21:46 +02:00
Vesa
201fa1d89a Waveshaper: added bg image for graph, made graph larger
Graph widget: added new functionality - ability to draw straight lines with shift-click
2014-02-12 13:21:55 +02:00
Lukas W
5b13a11748 Add CMake doc target
* Added doc/CMakeLists.txt with doxygen target
* Moved Doxyfile to doc/
* Updated Doxyfile (removed obsolete variables)
2014-02-11 21:58:23 +01:00
Vesa
2405a6a25e Waveshaper, first working version... 2014-02-11 15:19:04 +02:00
Vesa
30940fc112 Initial commit - copied files from bassbooster to modify into new plugin 2014-02-11 10:11:29 +02:00
Vesa
a612deee24 Resize zoom & quantize comboboxes in piano roll to conserve space 2014-02-11 10:02:00 +02:00
Vesa
b66f83dff0 Betterified the icon in zyn artwork 2014-02-11 10:02:00 +02:00
Tobias Doerffel
0f4182e084 ZynAddSubFX: removed FLTK source code
As FLTK 1.3 is available in all recent Linux distributions as well as
our MinGW-X PPA there's no need to maintain a copy of the FLTK source
code inside LMMS.
2014-02-11 00:27:54 +01:00
Andrew Kelley
e0e5aa3c58 Merge pull request #295 from unfa/stable-0.4
Removed the dependancy of "AMP_GCIA" plugin.
2014-02-10 17:53:49 -05:00
unfa
21a2d585e4 Removed the dependancy of "AMP_GCIA" plugin. 2014-02-10 23:46:45 +01:00
Tobias Doerffel
0c63d7cf5e Merge pull request #294 from Lukas-W/stable-0.4
Fix wrong quoting in CMake
2014-02-10 15:32:57 +01:00
Lukas W
c41f8e6528 Fix a CMake quote sign problem
Caused by 95b0a4305e
2014-02-10 15:23:54 +01:00
Lukas W
58796a6d15 Add verbose make output to Travis CI 2014-02-10 14:45:18 +01:00
Lukas W
568d0de8e5 Revert ab44ef221e
libfreetype6-dev is not necessary, it is already part of other dependencies.
2014-02-10 14:44:45 +01:00
Tobias Doerffel
c6a6feb588 Merge pull request #290 from M374LX/stable-0.4
Better way to update play button icons
2014-02-09 22:38:39 +01:00
Tobias Doerffel
ab44ef221e Travis: added libfreetype6-dev as build dependency
We need libfreetype6-dev for building ZynAddSubFX/FLTK.
2014-02-09 22:37:33 +01:00
Alexandre Almeida
def1154971 Update AutomationEditor.h 2014-02-09 19:04:34 -02:00
Alexandre Almeida
e6ec932848 Update bb_editor.cpp 2014-02-09 19:02:07 -02:00
Alexandre Almeida
f10d856290 Update engine.cpp
A better way to update the play button icons, which requires less "if" checks and method calls in total.
2014-02-09 18:57:03 -02:00
Alexandre Almeida
64e1c2080c Update bb_editor.h
A better way to update the play button icons, which requires less "if" checks and method calls in total.
2014-02-09 18:55:29 -02:00
Alexandre Almeida
2a1f4a61fa Update piano_roll.h
A better way to update the play button icons, which requires less "if" checks and method calls in total.
2014-02-09 18:54:23 -02:00
Alexandre Almeida
10b8990ac5 Update song_editor.h
A better way to update the play button icons, which requires less "if" checks and method calls in total.
2014-02-09 18:52:11 -02:00
Alexandre Almeida
40c35f2092 Update AutomationEditor.cpp
A better way to update the play button icons, which requires less "if" checks and method calls in total.
2014-02-09 18:47:51 -02:00
Alexandre Almeida
5239afb3e4 Update piano_roll.cpp
A better way to update the play button icons, which requires less "if" checks and method calls in total.
2014-02-09 18:46:39 -02:00
Alexandre Almeida
774d09b7a1 Update song_editor.cpp
A better way to update the play button icons, which requires less "if" checks and method calls in total.
2014-02-09 18:44:51 -02:00
Tobias Doerffel
0e5f148dce Merge pull request #231 from elfring/Complete_quoting_for_parameters_of_some_CMake_commands
Complete quoting for parameters of some CMake commands.
2014-02-09 18:57:51 +01:00
Tobias Doerffel
a522e42562 Merge pull request #288 from softrabbit/stable-0.4
AutomationEditor: fixed calculation of Y-coordinates for grid and values...
2014-02-09 18:14:32 +01:00
Raine M. Ekman
c14d19409c AutomationEditor: fixed calculation of Y-coordinates for grid and values. 2014-02-09 16:00:08 +02:00
Tobias Doerffel
9419ed71bc Merge pull request #285 from diizy/stable-0.4
AFP artwork, Zyn artwork update
2014-02-09 13:49:10 +01:00
Vesa
d29b5fa5e8 AFP artwork, Zyn artwork update 2014-02-09 12:29:48 +02:00
Tobias Doerffel
3125a7a954 EffectChain: remove unused and broken isRunning()
isRunning() is neither used nor is it correct in terms of semantic, so
we can remove it safely.
2014-02-07 00:34:32 +01:00
Tobias Doerffel
124ce9823b ZynAddSubFX: commented out debug messages 2014-02-07 00:34:03 +01:00
Tobias Doerffel
1adc8f8ba3 FxMixer: no need to check for master channel
The m_used property will always be true for the master channel as soon
as data was received from at least one FX channel.
2014-02-06 23:43:01 +01:00
Tobias Doerffel
8c06cb60f4 InstrumentTrack: always process silence at least one time
As of commit 1266278229 silent buffers
from InstrumentPlayHandle-driven instruments are ignored. This is a good
thing but can beak PeakController instances attached to e.g. ZynAddSubFX.

Fixes playback of unfa-Spoken.mmpz.
2014-02-06 23:40:50 +01:00
Tobias Doerffel
1266278229 InstrumentTrack: skip processing for IPH-driven instruments when silent
InstrumentPlayHandle-driven instruments (i.e. instruments producing only
one sound stream for all notes) are running all the time even if no notes
are running. The plugin itself usually does not consume much CPU time
while silent but all effects afterwards inside LMMS unneccessarily
consume lots of CPU time for processing silent buffer.

Typical case: a song with lots of instruments like ZynAddSubFX.

With this change, all processing is skipped on silent buffers which
notably decreases CPU load for many projects. All effects in following
effect chains continue to run until they're silent as well.

Closes #267.
2014-02-06 22:59:14 +01:00
Tobias Doerffel
be5e17c29c MixHelpers: added isSilent()
A simple function for testing whether a given sample buffer is silent.
Maybe we have to adjust/lower the threshold.
2014-02-06 22:59:02 +01:00
Tobias Doerffel
f01c90b6a5 EffectChain: new argument hasInputNoise for processAudioBuffer()
Use the extra information to determine whether we need to process input
at all if plugin is not running anymore.

In FX mixer we now omit starting effects if no data has been mixed to
a certain FX channel. Instead let effects running until they finished.

First of multiple fixes for #267.
2014-02-06 22:20:23 +01:00
Tobias Doerffel
6c1835bdd1 FxMixer, Mixer, AudioPort: minor coding style fixes 2014-02-06 22:18:58 +01:00
Tobias Doerffel
f44843d95c VstEffect: added NULL pointer check in closePlugin()
We must not call methods on m_plugin in case there's no valid instance
e.g. due to missing DLL files.

Closes #245.
2014-02-06 20:58:30 +01:00
Tobias Doerffel
eccfc0c688 SongEditor: remove unused messing with engine's pointer to SongEditor
Back in time we obviously didn't manage to get construction dependencies
sorted so we needed to mess with the pointer to the SongEditor instance in
the engine class.

Thanks to Alexandre Almeida for pointing out this issue.

Closes #261.
2014-02-06 20:51:16 +01:00
Tobias Doerffel
7cddb23fbf Merge pull request #271 from zonkmachine/chromatic-scale
Added scales (chromatic scale again)
2014-02-06 20:45:19 +01:00
Tobias Doerffel
b661c9b369 Merge pull request #270 from zonkmachine/ghost-files
Remove remaining files from Covers. Fixes #264
2014-02-06 20:44:15 +01:00
Tobias Doerffel
92bfd71c63 ComboBox: more checks for valid model + coding style
Before accessing the model, we have to check whether it is valid at all
in order to avoid a crash.

Closes #273.
2014-02-06 20:42:29 +01:00
Tobias Doerffel
2f4fb1a173 Merge pull request #278 from M374LX/stable-0.4
Fix a segmentation fault
2014-02-06 08:19:29 +01:00