Commit Graph

898 Commits

Author SHA1 Message Date
Tobias Doerffel
2591378818 LcdSpinBox: adopt naming style convention 2014-02-20 22:17:28 +01:00
Tobias Doerffel
e6883e7743 LcdSpinBox: check for mouse button in mouseReleaseEvent()
Otherwise we restore things that were never changed when releasing right
or middle mouse button.

Closes #358.
2014-02-20 21:53:48 +01:00
Tobias Doerffel
8b84526dc5 Pattern: removed freeze functionality
Since addition of automation, controllers etc. the freeze functionality
has been rather broken and thus adds no value anymore. In order to not
confuse users with broken functionality, remove it at all.

Closes #345.
2014-02-19 19:07:47 +01:00
Vesa
9265913b73 Waveshaper updates: added amplitude +/- buttons, toggle led to clip input to 0dB, more helpful gridlines in wavegraph
Mallets: artwork update by Bill Y.
New knob: knob_vintage32, currently only used in Mallets, can be used for other things in the future (maybe if we get some more vintage-style synths/effects?)
Graph widget: added new drawing mode (bar style graph) for future use, currently unused anywhere, have plans
2014-02-14 18:22:04 +02:00
Tobias Doerffel
7e680abf13 InstrumentTrack, NotePlayHandle: ignore volume of InstrumentTrack for MIDI events
The volume of an InstrumentTrack is applied separately when post-processing
the audio buffer and is not related to MIDI processing. It therefore should
not be included into MIDI velocity calculation.

Closes #301.
2014-02-13 01:35:49 +01:00
Tobias Doerffel
a87c206e31 volumeToMidi(): limit to MidiMaxVelocity 2014-02-13 01:35:38 +01:00
Vesa
cc1dea42bb Final fixes and tweaks: old bugs fixed in graph behaviour, more responsive and accurate now 2014-02-12 22:13:36 +02:00
Vesa
58e451925e Graph code improvements, graphics 2014-02-12 20:58:30 +02:00
Vesa
201fa1d89a Waveshaper: added bg image for graph, made graph larger
Graph widget: added new functionality - ability to draw straight lines with shift-click
2014-02-12 13:21:55 +02:00
Tobias Doerffel
c6a6feb588 Merge pull request #290 from M374LX/stable-0.4
Better way to update play button icons
2014-02-09 22:38:39 +01:00
Alexandre Almeida
def1154971 Update AutomationEditor.h 2014-02-09 19:04:34 -02:00
Alexandre Almeida
64e1c2080c Update bb_editor.h
A better way to update the play button icons, which requires less "if" checks and method calls in total.
2014-02-09 18:55:29 -02:00
Alexandre Almeida
2a1f4a61fa Update piano_roll.h
A better way to update the play button icons, which requires less "if" checks and method calls in total.
2014-02-09 18:54:23 -02:00
Alexandre Almeida
10b8990ac5 Update song_editor.h
A better way to update the play button icons, which requires less "if" checks and method calls in total.
2014-02-09 18:52:11 -02:00
Tobias Doerffel
3125a7a954 EffectChain: remove unused and broken isRunning()
isRunning() is neither used nor is it correct in terms of semantic, so
we can remove it safely.
2014-02-07 00:34:32 +01:00
Tobias Doerffel
8c06cb60f4 InstrumentTrack: always process silence at least one time
As of commit 1266278229 silent buffers
from InstrumentPlayHandle-driven instruments are ignored. This is a good
thing but can beak PeakController instances attached to e.g. ZynAddSubFX.

Fixes playback of unfa-Spoken.mmpz.
2014-02-06 23:40:50 +01:00
Tobias Doerffel
be5e17c29c MixHelpers: added isSilent()
A simple function for testing whether a given sample buffer is silent.
Maybe we have to adjust/lower the threshold.
2014-02-06 22:59:02 +01:00
Tobias Doerffel
f01c90b6a5 EffectChain: new argument hasInputNoise for processAudioBuffer()
Use the extra information to determine whether we need to process input
at all if plugin is not running anymore.

In FX mixer we now omit starting effects if no data has been mixed to
a certain FX channel. Instead let effects running until they finished.

First of multiple fixes for #267.
2014-02-06 22:20:23 +01:00
Tobias Doerffel
eccfc0c688 SongEditor: remove unused messing with engine's pointer to SongEditor
Back in time we obviously didn't manage to get construction dependencies
sorted so we needed to mess with the pointer to the SongEditor instance in
the engine class.

Thanks to Alexandre Almeida for pointing out this issue.

Closes #261.
2014-02-06 20:51:16 +01:00
Oskar Wallgren
c7e7748bc3 Added scales 2014-02-04 20:12:46 +01:00
Tobias Doerffel
4a7a922e9a Merge pull request #244 from softrabbit/stable-0.4
Add Doxyfile and doc directory
2014-02-04 00:07:18 -08:00
Tobias Doerffel
2e7733eaa1 DataFile: renamed from old multimediaProject class + coding style fixes 2014-02-03 21:21:36 +01:00
Raine M. Ekman
a5c3febfb8 Merge https://github.com/LMMS/lmms into stable-0.4 2014-02-03 22:09:56 +02:00
Tobias Doerffel
e23d5838e7 Song: removed old action array
As of commit c60e7ba8d1 we no longer queue
playback actions and process them later, therefore remove old remains.
2014-02-03 20:11:18 +01:00
Tobias Doerffel
5a9e0bdcef Moved VST sync functionality into new VstSyncController class
First attempt to clean up the mess in the Song class by moving the VST sync
functionality into its own class and just calling a few functions from it.
2014-02-03 20:04:57 +01:00
Raine M. Ekman
faac9af1fe Merge https://github.com/LMMS/lmms into stable-0.4 2014-02-02 20:41:59 +02:00
Wong Cho Ching
0f746d8163 Preserves automation scale when everything is disconnected 2014-02-02 20:25:24 +08:00
Wong Cho Ching
f7963d5b3b Rendering tweak and fixes #234 2014-02-02 19:40:00 +08:00
Tobias Doerffel
518bd90fd4 Merge pull request #225 from wongcc966422/issue220
Fixes crash when opening file with Peak Controller
2014-02-01 03:45:11 -08:00
Tobias Doerffel
353b6e27a2 Merge pull request #219 from diizy/stable-0.4
Sfxr logo, custom waveforms
2014-02-01 03:42:06 -08:00
Wong Cho Ching
c4b6a41aea Further fixes backward compatibility issue 2014-02-01 18:09:46 +08:00
Wong Cho Ching
7d96a2d533 Fixes crash when opening file with Peak Controller 2014-02-01 14:46:15 +08:00
Vesa
37ad60a704 Set default directory to the waveform directory when opening an audio file for a user-defined waveform 2014-02-01 00:01:42 +02:00
Raine M. Ekman
67314f0622 Move version details into .h file and add them to main.cpp 2014-01-31 21:39:03 +02:00
Wong Cho Ching
b37ce31bc3 render circles on automation points; Inceased INITIAL_WIDTH 2014-01-31 23:18:14 +08:00
Tobias Doerffel
abc05d209e Merge pull request #203 from wongcc966422/issue1
Automation points are now draggable
2014-01-30 11:27:38 -08:00
Wong Cho Ching
f1c46e3bea Automation points are now draggable 2014-01-31 02:29:03 +08:00
Wong Cho Ching
7196d67a82 getEffectChain() => effectChain() 2014-01-30 20:50:17 +08:00
Wong Cho Ching
600232967a Fixes removing controller in controller rack bug 2014-01-30 16:32:25 +08:00
Tobias Doerffel
9852cb9a57 NotePlayHandle, InstrumentTrack: removed obsolete singerbot support
The singerbot plugin doesn't exist anymore and thus any support in the
code base just adds complexity and confusion, therefore remove it.
2014-01-29 23:56:07 +01:00
Tobias Doerffel
ca0e413fd3 Renamed PlayHandle classes and some functions with bool return values
Next big coding style update - this time all PlayHandle classes are
affected. Functions like done() and released() were renamed to
isFinished() and isReleased().
2014-01-29 23:54:47 +01:00
Wong Cho Ching
6cf825ca99 randomize PeakControllerEffect::m_effectId 2014-01-29 19:31:10 +08:00
Wong Cho Ching
997c2114f4 Merge remote-tracking branch 'origin/stable-0.4' into ghostPeakController 2014-01-29 19:02:49 +08:00
Wong Cho Ching
8d4b467ddc Fixed duplicate controllers issue 2014-01-29 18:44:52 +08: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
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
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