Commit Graph
947 Commits
Author SHA1 Message Date
Tobias Doerffel 445bdb69e3 Song: cleanup and coding style improvements 2014-03-30 12:21:37 +02:00
Tobias Doerffel d32377845b ComboBoxModel: coding style fixes 2014-03-24 19:21:18 +01:00
Tobias Doerffel 2f4d9c6c66 InstrumentSoundShapingView: display info about single-streamed instruments
Until we have a solution for hiding the ENV/LFO tab, display a sensible
message at least.
2014-03-23 23:52:04 +01:00
Vesa 33b9524346 Envelope: fix drawing of envelope graph, scale to fit view if graph gets too long
(also fix typo in last pianoview commit)
2014-03-22 19:09:42 +02:00
Vesa f986f099da Piano widget: make keypresses (gui and keyboard) based on the MIDI base velocity spinner 2014-03-22 12:32:43 +02:00
Tobias Doerffel b02c351fe1 Merge pull request #483 from softrabbit/bug468
basic_filters.h: Saner limits for frequency
2014-03-21 17:24:22 +01:00
Tobias Doerffel 6a1a295cec More CLANG compiler warning fixes 2014-03-21 11:14:22 +01:00
Tobias Doerffel cce942e5d5 Graph: removed unused member variable 2014-03-21 10:48:43 +01:00
Tobias Doerffel d4bbaa58b4 SerializingObject: made saveSettings() and loadSettings() pure virtual
All classes inheriting from SerializingObject should also provide
according functionality, therefore ensure, they implement methods for
loading and saving settings.
2014-03-21 10:47:05 +01:00
Tobias Doerffel 729838fa08 ModelView, Model: coding style improvements 2014-03-21 10:46:42 +01:00
Tobias Doerffel b5eb4f1f7a ControllerView: remove unused member variable 2014-03-21 10:44:56 +01:00
Tobias Doerffel 585f95741c AutomationPattern: define constants outside class declarations 2014-03-21 10:44:22 +01:00
Tobias Doerffel 9ffeae441d AutomatableModel: avoid hiding virtual functions by overload 2014-03-21 10:43:26 +01:00
Tobias Doerffel 6f5a47342b AutomatableModel: coding style improvements 2014-03-21 10:43:07 +01:00
Tobias Doerffel e1bebbfcad Removed obsolete pch.h include 2014-03-21 10:08:02 +01:00
Vesa 7a7c9abd9b GraphModel: fix/improve normalize() function - remove bias before maximizing, also add some new slots for future use (which I plan to use for something neat in the future ;) ) 2014-03-20 12:19:55 +02:00
Raine M. Ekman 450bf3a35a basic_filters.h: Tweaked limits for cutoff. 2014-03-19 23:21:48 +02:00
Raine M. Ekman 87d62a6a73 Merge https://github.com/LMMS/lmms into bug468 2014-03-19 23:21:23 +02:00
Tobias Doerffel 41c154dc95 Control play/pause buttons in slot of MainWindow via signal in Song class
The engine class as the component instance manager is the wrong place to
control the play/pause buttons. Instead emit a signal in the Song class
and update the buttons in a slot in MainWindow. This fixes problems with
GUI/pixmap operations happening outside the GUI thread when exporting a
project.

Closes #435.
2014-03-18 20:39:52 +01:00
Tobias Doerffel b45c0c5f02 MainWindow: coding style improvements 2014-03-18 20:39:01 +01:00
Raine M. Ekman 194088db5f basic_filters.h: Saner limits for frequency 2014-03-18 21:26:08 +02:00
Tobias Doerffel 5e2d299360 MidiPort: introduced internal base velocity property
In order to keep compatibility with projects created with LMMS < 1.0.0
we maintain a property specifying the base velocity (i.e. the velocity
sent to MIDI-based instruments at volume=100%). For new projects this
always will be 64 while compat code enforces a value of 127 for old
projects.

We can also think about hiding the new groupbox in order to hide
complexity from the user.

Closes #430.
2014-03-17 22:30:52 +01:00
Tobias Doerffel f32c89bd13 InstrumentMidiIOView: coding style improvements 2014-03-17 21:25:50 +01:00
Tobias Doerffel ab4cebeea0 MidiPort: remove unneccessary line breaks 2014-03-17 21:08:55 +01:00
Vesa 7dac1137bc Knob: add volumeRatio property to allow showing knobs with ratios other than 100 in dBV
Waveshaper, Dynamics processor: make input/output knobs respect the show in dBV setting
2014-03-15 10:45:55 +02:00
Raine M. Ekman fab41306ac Export: check for end of export in ticks, not in tacts.
This works better with time signature changes.
2014-03-12 20:18:39 +02:00
Vesa ba7e5e5f5c Highlight the currently selected instrument/automation patterns in the song editor 2014-03-12 07:14:29 +02:00
Tobias Doerffel 0674e1434c SongEditor: renamed class and file name to match current coding style 2014-03-09 23:25:38 +01:00
Tobias Doerffel 24a9ef01f9 PianoRoll: renamed class and file name to match current coding style 2014-03-09 23:19:46 +01:00
Tobias Doerffel 7c685bdd18 Merge pull request #421 from diizy/stable-0.4
More bug fixes: #419, #286
2014-03-08 19:42:32 +01:00
Tobias Doerffel 56ee27ed9b Midi: added MidiDefaultVelocity to be used for test notes etc. 2014-03-08 13:22:51 +01:00
Tobias Doerffel b01f093e37 InstrumentTrack: hide sound shaping widgets for single-streamed instruments
We currently don't apply envelopes/LFOs and filters to single-streamed
instruments, therefore hide the GUI.
2014-03-08 13:17:55 +01:00
Tobias Doerffel 1c66bb9d66 Instrument: introduced flags to replace virtual property getters
There'll be more and more flags for instruments. Handling them using
virtual and overloaded getter functions doesn't scale well and adds
unneccessary overhead.
2014-03-08 12:47:42 +01:00
Tobias Doerffel 0ca3901ab8 Normalize volume 100% to MIDI velocity 63
Furthermore moved midiVelocity() to Note and removed global volumeToMidi()
helper method.

Closes #280.
2014-03-08 12:13:42 +01:00
Vesa 0947bcf70f Song editor: fix jittery tracks bug (issue #286) 2014-03-08 11:43:05 +02:00
Vesa b49f4e483e Pattern: Refactor getNoteAtStep -> noteAtStep 2014-03-05 10:39:08 +02:00
Tobias Doerffel 4fb81c1af7 Merge pull request #412 from diizy/stable-0.4
Pattern: fix beat pattern behaviour with different time signatures
2014-03-05 09:32:37 +01:00
Vesa 5d1e864417 Pattern: fix beat pattern behaviour with different time signatures 2014-03-05 05:28:46 +02:00
Raine M. Ekman fed2c6b4ac Drumsynth: make rendering use the mixer samplerate instead of hard coded 44100. 2014-03-04 22:00:02 +02:00
Vesa dd8fa5d80c Make LcdSpinBox double-clickable to enter value 2014-03-01 23:44:58 +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 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
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 3e22c747d7 Coding style.. 2014-02-24 18:38:37 +02:00
Vesa 79edbf7f52 Knob behaviour fix 2014-02-24 18:33:16 +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 3be2e89d37 DspEffectLibrary: renamed from effectLib 2014-02-23 14:41:23 +01:00
Tobias Doerffel 2591378818 LcdSpinBox: adopt naming style convention 2014-02-20 22:17:28 +01:00