Commit Graph

1614 Commits

Author SHA1 Message Date
Vesa
a89b131eca Fix a bug where copied instrument tracks appear grey 2014-02-25 23:35:46 +02:00
Vesa
103ac21922 Some cleanup (remove temporary comments) 2014-02-25 21:35:01 +02:00
Vesa
e7b097d255 Define all pattern colours in CSS and make them stylable
also coding style improvements (remove leading underscores from header guards)
2014-02-25 21:30:39 +02:00
Hannu Haahti
fcfcee1895 one hardcoded default colour less 2014-02-25 03:56:11 +02:00
Tobias Doerffel
5b5feca4eb Note: use qBound() instead of tLimit() 2014-02-25 00:29:19 +01:00
Tobias Doerffel
9eafca3615 Note, NotePlayHandle: no default arguments for setVolume() and setPanning() 2014-02-25 00:27:11 +01:00
Tobias Doerffel
b5c713e0ea Removed traces of old SurroundArea implementation 2014-02-25 00:26:03 +01:00
Tobias Doerffel
7db99cc04c NotePlayHandle: coding style fixes 2014-02-24 23:29:01 +01:00
Tobias Doerffel
b28b00ff23 NotePlayHandle: emit midiNoteOff() signal in noteOff()
Instead of emitting InstrumentTrack::midiNoteOff() in destructor of
NotePlayHandle do this where it actually happens -> noteOff().

Fixes length of recorded notes when there's e.g. a long release.

Closes #378.
2014-02-24 23:24:11 +01:00
Vesa
ab73c0c133 Updated knob code, now everything seems to work really smoothly regardless of knob type or range.
Also some graphics tweaks here and there.
2014-02-24 22:14:54 +02:00
Vesa
867afc6ffb Coding style.. 2014-02-24 18:39:25 +02:00
Vesa
79edbf7f52 Knob behaviour fix 2014-02-24 18:33:16 +02:00
Vesa
7c585c9dd8 Fix display of too long names in instrument windows 2014-02-24 04:15:01 +02:00
Vesa
3ccc0685b7 More updates to song editor graphics based on feedback and IRC discussions
also fixed the automation pattern rendering which had some slightly bad behaviour
2014-02-24 01:52:03 +02:00
Tobias Doerffel
05e4cdaaef Revert "FxMixer: no need to check for master channel"
This reverts commit 1adc8f8ba3.

Closes #279.
2014-02-23 18:31:08 +01:00
Tobias Doerffel
dd1a227963 EffectSelectDialog: sort effect keys instead of plugin names
Commit 360bfe5089 broke mapping between
displayed and internal effect list. Fix this by sorting the effect key
list itself.
2014-02-23 17:34:40 +01:00
Tobias Doerffel
360bfe5089 EffectSelectDialog: sort plugin names
Sort plugin names and make sure that effects without sub plugins (i.e.
native LMMS effects) are listed first in order to better advertise our
cool plugins.

Closes #331.
2014-02-23 15:20:16 +01:00
Tobias Doerffel
c121cf8906 Merge pull request #370 from diizy/stable-0.4
Song editor, Bitinvader UI tweaks
2014-02-23 01:04:30 +01:00
Raine M. Ekman
92c2491846 Timer display widget: change bar:ticks:milliseconds to bar:beat:ticks, 1-based instead of 0-based 2014-02-22 21:03:33 +02:00
Vesa
490a71313a Slight change to song editor background 2014-02-22 19:18:28 +02:00
Vesa
9f64e6f428 More tweaks on song editor style 2014-02-22 02:34:26 +02:00
Vesa
9896d94b09 Updates to song editor style. Also couple of fixes to SID layout. 2014-02-21 21:13:07 +02:00
Tobias Doerffel
418a5e6a75 Merge pull request #361 from diizy/stable-0.4
SID artwork
2014-02-21 13:32:08 +01:00
Tobias Doerffel
2591378818 LcdSpinBox: adopt naming style convention 2014-02-20 22:17:28 +01:00
Tobias Doerffel
e6883e7743 LcdSpinBox: check for mouse button in mouseReleaseEvent()
Otherwise we restore things that were never changed when releasing right
or middle mouse button.

Closes #358.
2014-02-20 21:53:48 +01:00
Vesa
2e799718d6 Allow piano roll playing while playing, fixes #21 2014-02-20 10:35:26 +02:00
Tobias Doerffel
2049e00901 Merge pull request #155 from 8tab/warning
Some code cleanup
2014-02-20 08:10:28 +01:00
Tobias Doerffel
8b84526dc5 Pattern: removed freeze functionality
Since addition of automation, controllers etc. the freeze functionality
has been rather broken and thus adds no value anymore. In order to not
confuse users with broken functionality, remove it at all.

Closes #345.
2014-02-19 19:07:47 +01:00
Tobias Doerffel
7d965e251c RemotePlugin: always use installation directory as working directory
On Windows the working directory is not set to the installation directory
when launching LMMS by opening an associated project file. Because of this
the RemotePlugin programs can't be launched as the required DLL files are
missing.

Closes #351.
2014-02-19 18:31:48 +01:00
Tobias Doerffel
3f6ff1deb0 Removed libsamplerate from source tree
Drop another 3rdparty component and rely on system libraries instead.
2014-02-18 23:40:40 +01:00
Vesa
9265913b73 Waveshaper updates: added amplitude +/- buttons, toggle led to clip input to 0dB, more helpful gridlines in wavegraph
Mallets: artwork update by Bill Y.
New knob: knob_vintage32, currently only used in Mallets, can be used for other things in the future (maybe if we get some more vintage-style synths/effects?)
Graph widget: added new drawing mode (bar style graph) for future use, currently unused anywhere, have plans
2014-02-14 18:22:04 +02:00
Tobias Doerffel
b05c3ee283 SideBar: add tooltips to buttons
Closes #259.
2014-02-13 17:13:38 +01:00
Tobias Doerffel
7e680abf13 InstrumentTrack, NotePlayHandle: ignore volume of InstrumentTrack for MIDI events
The volume of an InstrumentTrack is applied separately when post-processing
the audio buffer and is not related to MIDI processing. It therefore should
not be included into MIDI velocity calculation.

Closes #301.
2014-02-13 01:35:49 +01:00
Tobias Doerffel
cdb8197c5d AutomatableModel: use nearbyintf() for rounding
For some reason roundf() causes an exception on Win32 when calling with
negative values. This caused LMMS to crash when turning an external MIDI
pitch wheel downwards.

Closes #281.
2014-02-13 01:14:06 +01:00
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
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
Vesa
a612deee24 Resize zoom & quantize comboboxes in piano roll to conserve space 2014-02-11 10:02:00 +02: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
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
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
Raine M. Ekman
c14d19409c AutomationEditor: fixed calculation of Y-coordinates for grid and values. 2014-02-09 16:00:08 +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
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