Commit Graph

1407 Commits

Author SHA1 Message Date
Tobias Doerffel
054abf79f7 Mixer: try PortAudio backend after SDL
As there were reports about problems with PortAudio try SDL backend first.

Closes #89.
2014-01-21 18:09:20 +01:00
Vesa
4e7522194c Applying new colour palette 2014-01-21 17:38:05 +02:00
Tobias Doerffel
fbdf4eca40 Merge pull request #76 from diizy/stable-0.4
Another UI branch merge...?
2014-01-20 14:52:46 -08:00
Tobias Doerffel
9854ebc128 Note: create DetuningHelper objects on-demand
Instead of creating a DetuningHelper instance for every note (which sums
up to thousands of AutomationPatterns) create them on-demand when opening
automation editor or loading settings.
2014-01-20 23:37:45 +01:00
Tobias Doerffel
2bc8d12826 NotePlayHandle: only use detuning automation if it exists at all 2014-01-20 23:37:20 +01:00
Tobias Doerffel
1aea884821 AutomationPattern: coding style 2014-01-20 23:31:34 +01:00
Tobias Doerffel
cc35373241 AutomationPattern: do not put initial value if model is at init value
There's no need to initialize an automation pattern with the value of the
model if it's default already. This fixes tons of dummy automation patterns
being saved for every note (as part of the note detuning feature).
2014-01-20 23:06:24 +01:00
Vesa
d8367d7496 Oops! Missing parenthesis in knob.cpp :P 2014-01-20 23:59:50 +02:00
Vesa
f11ab7957b Effect panel & effect window style, new knob images, knobs use palette 2014-01-20 23:59:50 +02:00
Vesa
eb1b306da3 New style & gfx for master vol/pitch sliders, fx front panel artwork 2014-01-20 23:59:50 +02:00
Tobias Doerffel
67b99ac48f MMP: write to temporary file first and then rename
In order to avoid data loss because of full disks or other storage
failures write a temporary file first, rename current file to backup
file and rename temporary file to current file.

Closes #26.
2014-01-20 22:34:42 +01:00
Tobias Doerffel
f0d6d44545 AutomatableModel: renamed to controllerConnection() + coding style fixes
Renamed getControllerConnection() to controllerConnection().
2014-01-20 22:11:58 +01:00
Tobias Doerffel
44d0e7a48f AutomatableModel: reset value to default if data is unavailable in loadSettings()
When loading older projects where a particular model did not exist and
thus did not save any data do not load the possibly invalid default data
but reset to default value of model.
2014-01-20 21:26:12 +01:00
Tobias Doerffel
f8a1ffccb0 EffectRackView: added layouts for widget management
Also tweaked overall appearance a bit so that we have less nested frames.
2014-01-20 00:09:58 +01:00
Tobias Doerffel
f326ae670a InstrumentMidiIOView: rebase all values in SpinBoxes to 1
To keep consistency rebase all displayed values to 1 like we had for
MIDI channel and program already.
2014-01-19 23:36:04 +01:00
Tobias Doerffel
a85ec65c19 LcdSpinBox: added displayOffset property
The new displayOffset property is an offset which is always added to the
value of model so we can display values in a user-friendly way if they
internally start at 0.
2014-01-19 23:35:18 +01:00
Tobias Doerffel
adfb85c15f InstrumentTrack: set minimum size for save settings button
Set minimum size of 32x32 pixels for an appropriate appearance.
2014-01-19 23:25:24 +01:00
Tobias Doerffel
bde8422d33 InstrumentMidiIOView: added layouts for widget management
Instead of manually moving and resizing widgets, manage this using
appropriate layouts.
2014-01-19 23:24:25 +01:00
Tobias Doerffel
ec5e9f16d5 Track: allow resizing TrackContentObjects to less than one bar
As per popular demand, allow resizing TrackContentObjects to less than
one bar if appropriate subclass supports it.
2014-01-19 22:58:32 +01:00
Tobias Doerffel
aeefec9ac3 Merge pull request #66 from diizy/stable-0.4
UI changes so far
2014-01-19 02:55:42 -08:00
Lukas W
7f602cd6c0 Fix for #42: Make search path for plugins relative
Makes the search path that is compiled into the lmms executable relative.
2014-01-18 21:31:20 +01:00
Vesa
c455981595 New simple transport button icons + some slight UI code tweaks 2014-01-18 20:53:15 +02:00
Gurjot Singh
c1d5730c30 save solo states for tracks 2014-01-18 22:02:26 +05:30
Vesa
12c5885445 Fader changes 2014-01-18 16:40:41 +02:00
Vesa
f35732b5a3 refactor... 2014-01-18 16:36:27 +02:00
Vesa
ab5ecfee8f Update to fx fader knob, changed fade_button (the blinky thing in instrument tracks) to comply with palette 2014-01-18 16:36:26 +02:00
Vesa
684326a1ff New graphics for FX faders, some stylesheet changes. The changes in fader.cpp are just colour changes 2014-01-18 16:36:26 +02:00
Vesa
9097993973 Trackoperations widgets, stylesheet changes, fix of the bug where palette goes all white if stylesheet has no palette 2014-01-18 16:36:26 +02:00
Tobias Doerffel
3841e05427 InstrumentTrack: added pitch range spinbox 2014-01-18 13:40:40 +01:00
Tobias Doerffel
1f52feae8a InstrumentTrackView: manage general settings widget using layouts 2014-01-18 13:38:35 +01:00
Tobias Doerffel
5726939697 InstrumentView: include QIcon header file
Otherwise implicit conversion fails when calling setWindowIcon().
2014-01-18 13:35:42 +01:00
tobydox
f5f2b97eeb Merge pull request #56 from grejppi/stable-0.4-bb_usability
B&B editor: adding and removing steps
2014-01-18 02:55:10 -08:00
Tobias Doerffel
9748897a43 Fix build when building without SDL
Commit f2590c24df was incomplete and thus
LMMS failed to build when building without SDL support.
2014-01-18 11:39:58 +01:00
Hannu Haahti
ae3273faf9 check track type first before adding or removing steps 2014-01-18 10:04:30 +02:00
Hannu Haahti
7e6642db4e add new steps to all tracks at once 2014-01-18 09:59:44 +02:00
Hannu Haahti
19dc1aa913 b&b editor: always add and remove so many steps as there are in one bar 2014-01-18 07:52:10 +02:00
Tobias Doerffel
f2590c24df Replaced [S/U]int[8/16/32] with types from stdint.h or plain integers 2014-01-18 02:56:38 +01:00
tobydox
ce50313b72 Merge pull request #44 from grejppi/stable-0.4-pitchautomation
Change default detuning type to linear
2014-01-17 11:07:00 -08:00
Tobias Doerffel
4b5b0fa4fa FxMixer, FxMixerView: cache maximum peak until next display update
We lost short peaks because the display update rate usually is much lower
than the number of audio buffers processed per second which lead to lost
peaks. We mitigate this issue by caching the maximum peak value until the
next display update where it is reset.
2014-01-17 19:35:14 +01:00
Tobias Doerffel
dc1f9c6050 Merge branch 'stable-0.4' of github.com:LMMS/lmms into stable-0.4 2014-01-17 19:34:54 +01:00
Hannu Haahti
bad3ed60df Prevent piano roll window from being resized to 0px height (http://sourceforge.net/p/lmms/patches/43/) 2014-01-17 15:44:43 +02:00
Hannu Haahti
6b2d6fe8d6 changed default detuning type to linear -- probably best for that purpose 2014-01-17 15:07:31 +02:00
Hannu Haahti
dfd5753032 draw discrete and linear differently 2014-01-17 10:46:52 +02:00
Hannu Haahti
3d0749ad67 points are shown in the correct scale 2014-01-17 09:50:30 +02:00
Tobias Doerffel
bbe686e290 LmmsStyle: adopted new coding style and renamed class 2014-01-16 23:45:54 +01:00
Tobias Doerffel
dffaa6abe0 LmmsStyle: initial port of scrollbar drawing code from CusisStyle
Colors still need to be made configurable via CSS and tuned for the
default theme.
2014-01-16 23:40:57 +01:00
tobydox
2d4e769bd8 Merge pull request #38 from grejppi/stable-0.4-defaultpresetnames
"Default preset" is not descriptive; change it to the actual plugin name
2014-01-16 14:07:26 -08:00
tobydox
0030486c82 Merge pull request #35 from softrabbit/stable-0.4
Make cancelling an export work immediately
2014-01-16 09:08:42 -08:00
Hannu Haahti
5849157435 Changed "Default preset" to the actual plugin name 2014-01-16 18:11:03 +02:00
Raine M. Ekman
664f109cb5 Export dialog: Make cancelling an export work immediately 2014-01-16 17:33:07 +02:00