Commit Graph

1471 Commits

Author SHA1 Message Date
Tobias Doerffel
c5ab13e5c5 InstrumentTrack: check for instrument instance in processOutEvent()
There are situations where processOutEvent() is being called while
loading instrument track settings e.g. when loading the pitch model
whose dataChanged() signal is connected to InstrumentTrack::updatePitch()
which in turn calls processOutEvent(). At this time we do not have an
instrument instance and therefore have to skip processing.

Closes #164.
2014-01-26 09:48:15 +01:00
Andrew Kelley
31c0f77248 fix incorrect type; makes smooth knobs actually smooth 2014-01-25 23:04:05 -05:00
Tobias Doerffel
52270aebc1 MidiWinMM: adapted MIDI changes
Fixes build failure after recent API changes.
2014-01-26 01:49:33 +01:00
Tobias Doerffel
519a29e608 SampleBuffer: define OV_EXCLUDE_STATIC_CALLBACKS
Define OV_EXCLUDE_STATIC_CALLBACKS in order to suppress compiler warnings
about unused static instances when building Win32 version.
2014-01-26 01:18:19 +01:00
Tobias Doerffel
049951438a Do not pass default time to processInEvent()
We introduced default parameters for MidiTime parameters so there's no
need to construct them manually.
2014-01-26 01:15:43 +01:00
Tobias Doerffel
5808c8b786 NotePlayHandle: fixed minor auto replace typo 2014-01-26 00:59:12 +01:00
Tobias Doerffel
d2aab11130 InstrumentTrack: work with transposed MIDI event and key in processOutEvent()
In processOutEvent() initialize and use a MidiEvent object with transposed
key as well as the key variable.
2014-01-26 00:38:23 +01:00
Tobias Doerffel
b6e4860fdb InstrumentTrack: do not set state of piano in processInEvent()
As processInEvent() is responsible for starting/stopping notes, we do
not have to set the state of the piano. This is done in processOutEvents()
already.
2014-01-26 00:33:51 +01:00
Tobias Doerffel
1fddc81c04 InstrumentTrack: removed option for disabling activity indicators
Probably never used by anyone and just makes code unneccessarily complex.
2014-01-26 00:25:32 +01:00
Tobias Doerffel
7d395c00fa InstrumentTrack: removed option for disabling PianoView visual feedback
Probably never used by anyone and just makes code unneccessarily complex.
2014-01-26 00:19:16 +01:00
Tobias Doerffel
3a827f061f Reworked MIDI event handling in InstrumentTrack and renamed MIDI classes
The MIDI event handling in InstrumentTrack was complex and buggy. It has
been simplified now such that processInEvent() tries to handle note on,
note off and key pressure events. The actions taken should result in
equivalent calls to processOutEvent() by NotePlayHandle instances. The
processOutEvent() function sends according MIDI events to the attached
instruments. All unhandled MIDI events are directly forwarded to the
instrument in processInEvent().

It's possible that some corner-cases are not handled yet with the new code
and we have regressions now.

Furthermore renamed midiTime/midiEvent to MidiTime/MidiEvent to match
coding style.

Closes #72.
2014-01-26 00:08:12 +01:00
Tobias Doerffel
1f35143927 Fader: fixed drawing of peaks
As the fader background graphics recently have changed, the code for
drawing the peaks had to be fixed as well.
2014-01-25 20:49:02 +01:00
Tobias Doerffel
628ec62ee8 Merge pull request #149 from diizy/stable-0.4
Final UI updates
2014-01-25 11:17:03 -08:00
Tobias Doerffel
8b4e2fc216 Merge pull request #145 from wongcc966422/ghostPeakController
Fixes Ghost Peak Controller Bug
2014-01-25 11:13:13 -08:00
Vesa
8a508eff27 Graphics tweaks here and there. Lots of palette adjustments, rest of the most important icons done. CPULoad widget fix to allow transparent background without glitching. 2014-01-25 17:40:21 +02:00
Vesa
84926cae4c Oscilloscope, tripleosc gfx fix 2014-01-25 17:40:21 +02:00
Wong Cho Ching
6cda610f48 Fixes build issue 2014-01-25 22:49:41 +08:00
Lukas W
4d306c3855 Fix mismatched delete
delete was called on memory allocated with malloc() which results in
undefined behaviour. Fixed by using free() instead of delete.
2014-01-25 14:40:09 +01:00
Tobias Doerffel
e95d32ed67 Merge pull request #137 from Lukas-W/stable-0.4-iss130
Issue #130: Controllers Naming: Prevent duplicate names
2014-01-24 16:34:45 -08:00
Tobias Doerffel
ec45c381c3 Renamed instrument function classes and instances
Arpeggiator got InstrumentFunctionArpeggio and ChordCreator got
InstrumentFunctionNoteStacking. All related views and instances have
been renamed for better consistency.
2014-01-25 01:27:28 +01:00
Tobias Doerffel
c6b7ccd9f7 InstrumentFunctionViews: manage widgets using layouts 2014-01-25 01:10:47 +01:00
Tobias Doerffel
ddf63cb924 ComboBox: added sizeHint() + coding style 2014-01-25 01:10:09 +01:00
Tobias Doerffel
c12afd53d5 FileDialog: added music folder and working directory to sidebar 2014-01-25 00:05:16 +01:00
Tobias Doerffel
7b4aaa6dfa Merge pull request #98 from Lukas-W/stable-0.4-iss90
Update file open/save dialogs
2014-01-24 14:56:23 -08:00
Tobias Doerffel
84b3c5b8df Merge pull request #127 from wongcc966422/LFOBitinvaderVibedCustomWaveforms
Make LFO controller, Bit Invader and Vibed accept custom waveforms
2014-01-24 14:56:04 -08:00
Tobias Doerffel
e6338c9583 Merge pull request #125 from wongcc966422/timelineDoc
Loop marker: Changed tooltip text.
2014-01-24 14:54:31 -08:00
Lukas W
2aeecda9ad Controllers Naming: Prevent duplicate names
For this, iterate through all given names and use the next name that's available.
2014-01-24 23:54:21 +01:00
Tobias Doerffel
37b6393893 Merge pull request #132 from Lukas-W/stable-0.4
Update about window
2014-01-24 14:54:03 -08:00
Lukas W
4200662e98 Plugin browser: Sort plugins by display name 2014-01-24 22:38:11 +01:00
Lukas W
da65f629e2 #67: Add list of all committers to about window 2014-01-24 19:28:18 +01:00
Lukas W
e94cec5ffc About window: Update copyright year to 2014 2014-01-24 19:28:18 +01:00
Lukas W
453290f1b9 About window: Make homepage link clickable 2014-01-24 19:28:18 +01:00
Wong Cho Ching
b7e6200433 Fixes Ghost Peak Controller Bug https://github.com/LMMS/lmms/issues/115 2014-01-25 01:56:44 +08:00
Wong Cho Ching
9237a1d015 Tooltip: Changed tooltip text of LFOControllDialog of custom waveform 2014-01-24 23:10:18 +08:00
Wong Cho Ching
c45aafc748 Make LFO controller accept custom waveforms 2014-01-24 22:55:32 +08:00
Lukas W
84a6d0bf02 Add "Save as new version" action to project menu
Use Shortcut Ctrl+Alt+S. Part of issue #86
2014-01-24 15:45:13 +01:00
Lukas W
5c186eba0e Add new class VersionedSaveDialog
A file save dialog (inherits FileDialog) that provides buttons to
increment or decrement a version which is appended to the file name.
(e.g. "MyProject-01.mmpz")
2014-01-24 15:37:41 +01:00
Lukas W
2e7bfe17e6 Update code to use FileInfo instead of QFileInfo
Also removed all blocks similar to
```
#if QT_VERSION >= 0x040806
	filedialog.setOption( QFileDialog::DontUseCustomDirectoryIcons );
#endif
```
as this now takes place in the new subclass's constructor.
2014-01-24 15:37:41 +01:00
Lukas W
0bbfd907ae MainWindow: Moved FileDialog to own subclass 2014-01-24 15:37:26 +01:00
wongcc966422
b136eee573 Update timeline.cpp 2014-01-24 19:26:34 +08:00
Wong Cho Ching
3b8214bab8 Loop marker: Changed tooltip text. 2014-01-24 18:39:00 +08:00
Vesa
772491b9fb Revert knob dots, make knob arc use palette, remove bb-editor image... bye bye TR-808 :( 2014-01-24 01:58:51 +02:00
Tobias Doerffel
39922df115 EnvelopeAndLfoParameters: added center values for amount models 2014-01-24 00:16:32 +01:00
Tobias Doerffel
7c1baa016f Knob: draw arc + arc background for all unstyled knobs 2014-01-24 00:16:02 +01:00
Tobias Doerffel
e9347ade61 InstrumentTrack: set center values for pitch and panning 2014-01-23 23:36:32 +01:00
Tobias Doerffel
f2bfa3b4d2 Knob: draw arc around knob
Initial work on improved knob usability by drawing an arc around knob
indicating current state as well.
2014-01-23 23:35:44 +01:00
Tobias Doerffel
5540a356f7 AutomatableModel: added centerValue property
The optional centerValue property can be used by views to display the
center somehow. It defaults to minimum value.
2014-01-23 23:35:26 +01:00
Tobias Doerffel
4e69e05a7d Integrated new splash screen
Also removed ugly code for displaying translucent splash images.
2014-01-23 22:33:34 +01:00
Hannu Haahti
e453b38d02 increase detuning interval to 0.5 semitones 2014-01-23 19:21:10 +02:00
Andrew Kelley
52d4f0fd3f fix all warnings and add -Werror 2014-01-22 22:09:36 -05:00