Commit Graph

2652 Commits

Author SHA1 Message Date
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
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
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
790266f0c1 Merge pull request #154 from softrabbit/stable-0.4
OpulenZ improvements: pitch bend, velocity, aftertouch
2014-01-25 14:32:26 -08: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
Raine M. Ekman
2116cf840b OpulenZ: Velocity works OK now. 2014-01-25 21:48:24 +02:00
Raine M. Ekman
46a38b7245 Merge https://github.com/LMMS/lmms into stable-0.4 2014-01-25 21:43:43 +02:00
Tobias Doerffel
fa0201ffd7 AUTHORS: small updates & typo fixes 2014-01-25 20:41:20 +01:00
Tobias Doerffel
7e552f92a5 Merge pull request #153 from wongcc966422/sfxr
LMMS port of sfxr
2014-01-25 11:30:16 -08:00
Wong Cho Ching
a8d7f1e4a8 added artworks 2014-01-26 03:20:21 +08:00
Tobias Doerffel
e268c4627a Merge pull request #151 from Hexasoft/stable-0.4
Added a vocoder LADSPA plugin into the tree.
2014-01-25 11:18:33 -08:00
Tobias Doerffel
628ec62ee8 Merge pull request #149 from diizy/stable-0.4
Final UI updates
2014-01-25 11:17:03 -08:00