Commit Graph

2695 Commits

Author SHA1 Message Date
Wong Cho Ching
cdedd34474 remove stdio.h 2014-01-30 00:05:42 +08:00
Wong Cho Ching
3500cde6a4 fixes compiler error, 2nd attempt 2014-01-30 00:04:45 +08:00
Wong Cho Ching
fa1b337517 Merge remote-tracking branch 'origin/stable-0.4' into sfxr 2014-01-30 00:02:54 +08:00
Wong Cho Ching
277ff5b99e fix strict compiler error 2014-01-29 23:51:35 +08:00
Wong Cho Ching
20eb81c955 bug fix 2014-01-29 23:48:34 +08:00
Wong Cho Ching
575494361b Added sound preview when button is click 2014-01-29 22:21:49 +08:00
Tobias Doerffel
daad00e822 Merge pull request #186 from softrabbit/stable-0.4
OpulenZ: LGPL added in sources, a handful of presets added
2014-01-28 15:39:46 -08:00
Tobias Doerffel
a16942603e Merge pull request #190 from diizy/stable-0.4
UI: small fixes, improvements, clean-up & requested changes
2014-01-28 15:39:34 -08:00
Vesa
f6ee1dd25d New files 2014-01-29 00:49:46 +02:00
Vesa
c267265148 Retouched transport icons, commented stylesheet for better documentation, fixed faint line in bitinvader knob 2014-01-29 00:45:03 +02:00
Vesa
f7d58114b2 Added object names for transport buttons (for theming purposes), fixed alignment issues on track labels 2014-01-28 22:17:44 +02:00
Raine M. Ekman
a36f59ab35 Moved LGPL to OpulenZ source dir, added presets. 2014-01-28 20:39:03 +02:00
Tobias Doerffel
65252d3f40 Merge pull request #182 from wongcc966422/sfxr
sfxr: reduced CPU usage
2014-01-28 00:55:47 -08:00
Wong Cho Ching
ec71c08816 Reduced CPU usage 2014-01-28 11:21:46 +08:00
Tobias Doerffel
8fba196897 CMakeLists: removed deprecated win32-pkg target
We've been using CPack for ages so there's really no need for the old
win32-pkg target.
2014-01-28 00:27:59 +01:00
Tobias Doerffel
b8149c1d88 EffectView: fix crash when removing dummy effect plugin
If a certain effect plugin fails to load a dummy plugin is inserted
instead which has no sub window and thus caused a crash in EffectView
destructor.
2014-01-28 00:26:29 +01:00
Tobias Doerffel
2a1ec97113 Merge pull request #178 from zonkmachine/stable-0.4
Removed copyrighted material and moved some files to CoolSongs.
2014-01-27 13:01:13 -08:00
Raine M. Ekman
1b5c2a0112 Added LGPL text, as needed by the OPL2 emulator used in OpulenZ 2014-01-27 21:12:54 +02:00
Oskar Wallgren
0195bbaf7f Removed copyrighted material and moved some files to CoolSongs.
Directory Covers removed.
2014-01-27 20:01:32 +01:00
Tobias Doerffel
f2c4d144c8 FxMixerView: set minimum width for EffectRackView
The EffectRackView was a little bit too small in Win32 build, therefore
explicitely set minimum width.
2014-01-27 00:34:55 +01:00
Tobias Doerffel
bc4b83f443 LADSPA/CMT: fixed global initialization on Win32
Global initialization happens via a global startup/shutdown handler
instance. For some reason this does not work properly when building
a DLL file, therefore create this startup/shutdown handler instance
as a static variable in ladspa_descriptor().

Furthermore marked ladspa_descriptor as extern-C.
2014-01-27 00:31:22 +01:00
Tobias Doerffel
6217201184 Added initial versions of new logo 2014-01-27 00:08:36 +01:00
Tobias Doerffel
ea5f5c4f00 Papu: fixed out-of-bounds array access due to too small data types
Build failed on Win32 with GCC 4.8.
2014-01-26 23:45:49 +01:00
Tobias Doerffel
d5113d0059 MidiWinMM: fixed MidiPort API calls 2014-01-26 23:45:29 +01:00
Tobias Doerffel
84f57b776d ZynAddSubFX: fixed compiler warning on Win32 2014-01-26 23:45:09 +01:00
Tobias Doerffel
e68f88b698 Export PresetPreviewPlayHandle class
The PresetPreviewPlayHandle is referenced by the PeakController plugin
now and therefore needs to be exported.
2014-01-26 23:44:36 +01:00
Tobias Doerffel
ef4f9b1b60 InstrumentTrack: partly revert ad27039b9b
Even though there are probably not many old projects out there, at least
old presets didn't load properly anymore as of ad27039b9b.
Fix this by reintroducing compat code.
2014-01-26 23:18:59 +01:00
Tobias Doerffel
db0570b130 InstrumentSoundShaping: more sanity checking 2014-01-26 23:14:59 +01:00
Tobias Doerffel
09395a2f3e NotePlayHandle: stop properly when arpeggio is played via MIDI
If a note is played via MIDI (e.g. with infinite frame count) and arpeggio
is enabled the NotePlayHandle never got deleted as framesLeft() always
returned a big value even after release.

Closes #169.
2014-01-26 19:09:11 +01:00
Tobias Doerffel
4b340f7d5f InstrumentTrack: manage MIDI note recording in NotePlayHandle
We must not record notes when receiving external MidiNoteOff events
as e.g. the sustain pedal still might be pressed. State tracking for
features like these is done inside NotePlayHandle so move the recording-
related signal emission from InstrumentTrack to NotePlayHandle.

Closes #168.
2014-01-26 16:48:35 +01:00
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