Tobias Doerffel
725ff59f0e
NotePlayHandle: added property to track origin
...
Using the origin property we can track where a NotePlayHandle instance
originates from (Pattern, MIDI, ...) and build new functions around this.
2014-01-26 16:44:54 +01:00
Tobias Doerffel
7103bb31d6
InstrumentTrack: more coding style improvements
2014-01-26 16:02:35 +01:00
Tobias Doerffel
ad27039b9b
InstrumentTrack: removed compat code for loading old projects
...
We should not need compat code for project files < 0.4.x anymore.
Anybody who wants to load project files made before 2008 is advised to
open them in LMMS 0.4.x first and save them so they get upgraded.
2014-01-26 15:56:10 +01:00
Tobias Doerffel
1fae0ce74a
Merge pull request #166 from wongcc966422/fileDialogSegfaultFix
...
Fixes segfault when clearSelection() is called with a new instance of FileDialog
2014-01-26 06:49:41 -08:00
Tobias Doerffel
6dfc4b77aa
Merge pull request #167 from softrabbit/stable-0.4
...
OpulenZ: added pitch bend range MIDI message handling
2014-01-26 06:48:58 -08:00
Raine M. Ekman
29f04d8056
OpulenZ: added pitch bend range MIDI message handling
2014-01-26 16:33:43 +02:00
Tobias Doerffel
20700b1c71
InstrumentTrack: fixed range for pitch model
2014-01-26 14:22:41 +01:00
Tobias Doerffel
a5588d2f75
ZynAddSubFX: default pitch wheel bend range to 100
...
Even though ZynAddSubFX does not support pitch wheel sensitivity RPN
events and thus we can't update the pitch range from LMMS automatically,
at least default to 100 semitones pitch wheel bend range so behaviour
is consistent with default pitch range in LMMS.
2014-01-26 14:11:42 +01:00
Tobias Doerffel
43f76f5357
Sf2Player: update pitch wheel sensitivity based on pitch range
...
Fluidsynth supports setting the pitch wheel sensitivity, therefore make
use of it and set values from the recently introduced pitch range model.
2014-01-26 14:09:05 +01:00
Tobias Doerffel
0a5665ae16
InstrumentTrack: send RPN update in updatePitchRange()
...
When changing the pitch range all we can do for MIDI is to update the
MIDI pitch bend sensitivity RPN even though this is only supported by
some MIDI instruments.
Closes #129 .
2014-01-26 14:07:15 +01:00
Tobias Doerffel
52d2274e19
InstrumentTrack: coding style fixes
2014-01-26 14:07:06 +01:00
Tobias Doerffel
0e00fc6aa1
InstrumentTrack: replaced numbers by newly introduced constants
2014-01-26 14:06:46 +01:00
Tobias Doerffel
8c9778c945
AutomatableModel: do not change init value when adjusting range
...
This causes e.g. the default value of the pitch model to be changed
when changing the pitch range.
2014-01-26 14:05:22 +01:00
Tobias Doerffel
c77531fef2
Midi: added constants for Register Parameter Numbers (RPN) support
2014-01-26 14:03:43 +01:00
Tobias Doerffel
99ea20463e
InstrumentTrack: fixed midiPitch() and added midiPitchRange()
2014-01-26 14:03:25 +01:00
Tobias Doerffel
a3c7f983a3
New header file Pitch.h for pitch-related data types and helpers
2014-01-26 14:02:51 +01:00
Tobias Doerffel
bd6fb03d44
Midi: added constants for pitch bend
2014-01-26 14:02:05 +01:00
Wong Cho Ching
e4cca6a0b3
Added semi-colon to make it build
2014-01-26 20:45:34 +08:00
Wong Cho Ching
91d73bba2b
Fixes segfault when clearSelection() is called with a new instance of FileDialog
2014-01-26 19:40:52 +08:00
Tobias Doerffel
f519bec995
MainWindow: remove undo/redo actions from edit menu for the time being
...
As undo/redo are not working properly at the moment, do not expose
according menu items to the user. This will be fixed in upcoming releases.
Closes #152 .
2014-01-26 12:34:12 +01:00
Tobias Doerffel
4ba5edc32c
InstrumentTrack: generally do not forward NoteOn/NoteOff/KeyPressure events
...
If we receive MidiNoteOn, MidiNoteOff or MidiKeyPressure events we always
kind of handle them in processInEvent() so do not forward them to the
instrument.
This fixes a freeze when loading VST plugins as PianoView::focusOutEvent()
tried to send MIDI events to the not yet completely loaded and thus locked
VST plugin.
Closes #160 .
2014-01-26 10:17:10 +01:00
Tobias Doerffel
5d1335f390
RemoteVstPlugin: fix build failure due to out-of-bounds-array-access-warning
...
Newer versions of GCC seem to assume an array size of 0 for arrays whose
size is not specified explicitely. This causes a warning about an
out-of-bounds array access.
2014-01-26 10:04:03 +01:00
Tobias Doerffel
80a58df124
MidiPort: coding style improvements
2014-01-26 10:01:54 +01:00
Tobias Doerffel
c05826b6eb
Merge pull request #165 from eagles051387/stable-0.4
...
added another author to the file
2014-01-26 00:51:27 -08:00
Tobias Doerffel
78ac2d6d2c
Merge pull request #162 from wongcc966422/opulenzInitializeVoices
...
Fixed OpulenZ segfault bug when it is dropped on another instrument.
2014-01-26 00:49:17 -08:00
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
Jonathan Aquilina
20333ad4ca
added another author to the file
2014-01-26 09:46:06 +01:00
Wong Cho Ching
b502ae9da4
Changed the placement of code
2014-01-26 14:23:32 +08:00
Wong Cho Ching
b15942d120
Amended initialize code
2014-01-26 14:19:33 +08:00
Wong Cho Ching
5816a2ae5d
Fixed OpulenZ segfault bug when it is dropped on another instrument.
2014-01-26 13:29:52 +08:00
Andrew Kelley
13917973c5
Merge pull request #161 from wongcc966422/sfxr
...
sfxr plugin: Reduced the volume
2014-01-25 21:03:43 -08:00
Wong Cho Ching
d4e5648dca
Reduced the volume
2014-01-26 12:37:26 +08:00
Andrew Kelley
31c0f77248
fix incorrect type; makes smooth knobs actually smooth
2014-01-25 23:04:05 -05:00
Andrew Kelley
c2124fe1dd
Merge pull request #159 from wongcc966422/sfxr
...
sfxr plugin: Added pitch support
2014-01-25 19:53:39 -08:00
Wong Cho Ching
959d5e98e6
remove debug message
2014-01-26 11:38:52 +08:00
Wong Cho Ching
12b153a275
Added pitch support: Now the pitch knob and the key being pressed have effect on the pitch produced.
2014-01-26 11:37:43 +08:00
Andrew Kelley
15aaf6f4ca
add TIMEOUT 1 to git shortlog in configure script
...
For some reason executing git shortlog in Qt Creator cmake project
import hangs. This is a workaround so that it is still possible to
use Qt Creator without changing the normal build, in which git shortlog
will certainly complete in 1 second.
2014-01-25 22:20:34 -05:00
Andrew Kelley
186aedda93
add another mailmap entry
2014-01-25 21:54:00 -05:00
Andrew Kelley
143c801c71
add .mailmap to make git shortlog more accurate
2014-01-25 21:33:33 -05:00
Andrew Kelley
ba826e4aca
clearer configure output for libsamplerate
2014-01-25 20:42:56 -05:00
Tobias Doerffel
ad554ff1e8
sfxr: fixed Win32 build
...
Need time.h for the time() function.
2014-01-26 02:03:29 +01: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
417a1566a0
LADSPA/SWH: fixed compiler warnings resulting in Win32 build failure
2014-01-26 01:48:53 +01:00
Tobias Doerffel
0063b891a8
FileDialog: add EXPORT macro
...
The FileDialog class is used by plugins and therefore needs to be exported
for platforms like Win32.
2014-01-26 01:48:15 +01:00
Tobias Doerffel
94f991848e
RemoteVstPlugin: adapted MIDI changes
...
Fixes build failure after recent API changes.
Closes #157 .
2014-01-26 01:47:29 +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
c144a2baa2
Instrument: return true in default implementation of handleMidiEvent()
...
Supress warnings about unhandled MIDI events e.g. on PianoView focus out
by returning true in Instrument::handleMidiEvent().
2014-01-26 01:10:18 +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