Commit Graph

2998 Commits

Author SHA1 Message Date
Tobias Doerffel
ba324f4aa8 InstrumentTrack: scale output volume by 2 for MIDI-based instruments
As of 0ca3901ab8 MIDI-based instruments are
played at velocity 63 for volume=100%.  In order to get the same output
volume, we need to scale it by 2.
2014-03-08 12:56:40 +01:00
Tobias Doerffel
ae105c22cc InstrumentTrack: explicitely test for single streamed instrument
...instead of implicitely assuming that the instrument is single-streamed
just because it did not pass a NotePlayHandle.
2014-03-08 12:53:57 +01:00
Tobias Doerffel
1c66bb9d66 Instrument: introduced flags to replace virtual property getters
There'll be more and more flags for instruments. Handling them using
virtual and overloaded getter functions doesn't scale well and adds
unneccessary overhead.
2014-03-08 12:47:42 +01:00
Tobias Doerffel
83af61836f Sf2Player: corrected MIDI velocity calculation for pseudo envelopes 2014-03-08 12:46:52 +01:00
Tobias Doerffel
0ca3901ab8 Normalize volume 100% to MIDI velocity 63
Furthermore moved midiVelocity() to Note and removed global volumeToMidi()
helper method.

Closes #280.
2014-03-08 12:13:42 +01:00
Tobias Doerffel
0b0d905214 Merge pull request #418 from diizy/stable-0.4
AutomationPattern: fix values after last value
2014-03-06 13:29:24 +01:00
Vesa
eb81e6b9d6 AutomationPattern: fix values after last value 2014-03-06 10:37:27 +02:00
Tobias Doerffel
0b387b0f72 Merge pull request #417 from diizy/stable-0.4
Pattern: fix bb-track mousewheeling (bit of an oversight on my part, for...
2014-03-06 09:04:05 +01:00
Vesa
e40c70ff8c Pattern: fix bb-track mousewheeling (bit of an oversight on my part, forgot about mousewheel in the last bb-editor fix) 2014-03-06 09:14:54 +02:00
Tobias Doerffel
192484fa28 Merge pull request #413 from diizy/stable-0.4
Pattern: Refactor getNoteAtStep -> noteAtStep
2014-03-05 09:58:13 +01:00
Vesa
b49f4e483e Pattern: Refactor getNoteAtStep -> noteAtStep 2014-03-05 10:39:08 +02:00
Tobias Doerffel
10b1f12e7e Merge pull request #411 from zonkmachine/Envelope_time
Envelope time
2014-03-05 09:33:42 +01:00
Tobias Doerffel
4fb81c1af7 Merge pull request #412 from diizy/stable-0.4
Pattern: fix beat pattern behaviour with different time signatures
2014-03-05 09:32:37 +01:00
Tobias Doerffel
780f4c1481 Merge pull request #410 from mikobuntu/stable-0.4
fix for #405 . fixes bad placement of Automation_editor and piano_roll w...
2014-03-05 09:11:34 +01:00
Vesa
5d1e864417 Pattern: fix beat pattern behaviour with different time signatures 2014-03-05 05:28:46 +02:00
Oskar Wallgren
5d2100c965 Revert accidental change 2014-03-05 03:29:07 +01:00
Oskar Wallgren
81aa00c978 Increased envelope times 2014-03-05 03:10:53 +01:00
mikobuntu
0485ef8da6 Update AutomationEditor.cpp 2014-03-04 23:13:01 +00:00
mikobuntu
5f9a202d42 fix for #405 . fixes bad placement of Automation_editor and piano_roll windows on initial opening. 2014-03-04 22:58:33 +00:00
Tobias Doerffel
fcf5c054ac Merge pull request #406 from softrabbit/stable-0.4
Drumsynth: make rendering use mixer samplerate instead of hard coded 44100
2014-03-04 23:39:14 +01:00
Tobias Doerffel
8027decdb0 Merge pull request #408 from diizy/stable-0.4
Fix bug in AutomatableModel, also: save as icon
2014-03-04 23:38:51 +01:00
Vesa
06421005dd AutomatableModel: fix error in loading connected controllers 2014-03-04 23:51:45 +02:00
Vesa
5d1eb8a687 Set "save as" icon the same as save icon, for now (for theme consistency) 2014-03-04 23:46:21 +02:00
Raine M. Ekman
fed2c6b4ac Drumsynth: make rendering use the mixer samplerate instead of hard coded 44100. 2014-03-04 22:00:02 +02:00
Tobias Doerffel
16a3248aa1 Merge pull request #404 from diizy/stable-0.4
Sidebar updates
2014-03-04 12:12:46 +01:00
Vesa
549f8eb536 New computer icon 2014-03-04 12:35:48 +02:00
Vesa
b1e653060a Sidebar: rotate icons to normal orientation, fixes #183 2014-03-04 12:11:04 +02:00
Tobias Doerffel
8363e262cf AutomatableModel: eliminate return statement
There's no need for the return statement anymore when changing the
branching logic.
2014-03-04 00:05:43 +01:00
Tobias Doerffel
21b5396253 AutomatableModel: load connection settings before automation link
Controller connections got lost in case the control had automation
patterns attached and thus the loadSettings() function returned
prematurely.
2014-03-04 00:05:36 +01:00
Tobias Doerffel
e99efd541a LadspaControl: save to dedicated DOM element
Instead of cluttering parent's attribute list, we created a dedicated
DOM element for each LadspaControl. This gives us the possibility to
save further information later.

Closes #401.
2014-03-03 23:59:33 +01:00
Tobias Doerffel
2981a5994c ZynAddSubFX: update buffer size when opening GUI
When opening the ZynAddSubFX GUI the buffer size information was not
retrieved properly and caused problems when setting a low global buffer
size in LMMS. We update the buffer size in ZynAddSubFX manually now as
as a temporary workaround until the VST synchronization feature gets
stripped out of the RemotePluginClient class.

Closes #335.
2014-03-03 22:55:52 +01:00
Tobias Doerffel
b5183fdd5f ZynAddSubFX: added pitch range support
Even though ZynAddSubFX does not support updating its pitch wheel range
via MIDI events we can set it manually using provided internal functions.

Closes #394.
2014-03-03 22:37:00 +01:00
Tobias Doerffel
46ca257c14 Merge pull request #396 from diizy/stable-0.4
A bunch of bugfixes
2014-03-03 09:44:16 +01:00
Vesa
1c5106ee3b When saving new version of a project, skip already existing version numbers 2014-03-03 10:26:08 +02:00
Vesa
dd8fa5d80c Make LcdSpinBox double-clickable to enter value 2014-03-01 23:44:58 +02:00
Vesa
5586141bf5 Small tweak to the knob code, make the acceleration curve smoother and less "sudden" 2014-03-01 23:17:13 +02:00
Vesa
9b8d396d82 Make sfxr use noteplayhandle, to enable velocity and env/lfo tab 2014-03-01 22:59:48 +02:00
Vesa
de77ae38da Fix #397 (presets with input velocity = 1) 2014-03-01 19:28:55 +02:00
Vesa
82b1c2f882 Zyn fix: export now fully works with GUI either open/closed 2014-03-01 15:53:34 +02:00
Tobias Doerffel
c9f460b03d Merge pull request #395 from diizy/stable-0.4
Fix zynaddsubfx export with higher samplerates
2014-03-01 13:00:26 +01:00
Vesa
cd9709d855 Fix zynaddsubfx export with higher samplerates 2014-03-01 13:41:24 +02:00
Lukas W
17d62dad63 Merge pull request #393 from Lukas-W/stable-0.4
Fix #386; Add target to gitignore
2014-03-01 08:57:31 +01:00
Lukas W
e4cd692e91 SaveDialog: Switch order of mmp and mmpz
Fixes #386.
When selecting the filter in the file save dialog, the file name used to change to *.mmp. As this is not desired, this commit changes it to '.mmpz'.
2014-02-28 18:06:32 +01:00
Lukas W
b511344bad .gitignore: Add /target 2014-02-28 17:37:16 +01:00
Tobias Doerffel
62a8275f87 Merge pull request #392 from diizy/stable-0.4
Fix for sfxr export problem
2014-02-28 09:28:48 +01:00
Vesa
56747ab9a7 Fix for sfxr export problem 2014-02-28 08:09:16 +02:00
Tobias Doerffel
382a76773d Merge pull request #390 from wongcc966422/issue360
sf2 plugin: fixes naming issue
2014-02-27 16:05:10 +01:00
Wong Cho Ching
d76e3dd301 sf2 plugin:fixes naming issue 2014-02-27 19:47:20 +08:00
Tobias Doerffel
d98570a34b Merge pull request #384 from diizy/stable-0.4
Make all pattern colours CSS-stylable
2014-02-25 22:47:39 +01:00
Vesa
a89b131eca Fix a bug where copied instrument tracks appear grey 2014-02-25 23:35:46 +02:00