Commit Graph

389 Commits

Author SHA1 Message Date
Tobias Doerffel
ccb65f4b40 Added universal codebase for dragging plugin-specific presets
Added new stringPairDrag type "pluginpresetfile", allowing to drag
and drop any kind of plugin-specific preset files everywhere in the
program. Adopted changes in ZynAddSubFX plugin.
2009-05-03 16:10:06 +02:00
Tobias Doerffel
9cced2957c EffectView: always check whether effect has a control dialog
Do not add empty subwindows for effects that do not have a control
dialog at all (i.e. Effect::getControlCount() == 0). Also check whether
creation of control dialog was successful. Fixes possible crashes if
something went wrong with the effect (e.g. loading VST effect failed).
2009-05-03 15:09:58 +02:00
Andrew Kelley
c12b716458 Experimental automation recording support
Allows you to record automation by arming an automatable model
and then recording with the RecordAndPlay button.

Known bugs:
	* when you record and there is already an auto clip, it repeats it
	* it freezes when you try to do it with the Volume or Panning slider
	* crashes when you try to do it with a solo/mute button
2009-04-28 17:56:49 -07:00
Andrew Kelley
bdd1ca0bfe fix knob not being updated when controlled 2009-04-28 17:56:49 -07:00
Andrew Kelley
57824bb2d1 make knobs easier to tune 2009-04-28 17:56:49 -07:00
Andrew Kelley
f40b61045a implemented automation recording 2009-04-28 17:56:48 -07:00
Tobias Doerffel
5828643582 Note class: renamed method "bool selected()" to "bool isSelected()"
In class "Note" renamed method "bool selected()" to "bool isSelected()"
in order to match coding style conventions.
2009-04-17 15:11:41 +02:00
Tobias Doerffel
efb335cea7 PianoRoll: do not make notes disappear under certain circumstances
When starting LMMS, loading an existing project and opening a pattern
with notes inside in piano roll, moving single notes showed unexpected
behaviour, i.e. the according note has been moved somewhere unreachable.

I tracked this down to a missing initialization of m_moveBoundary*
variables. Adding a few lines fixes the issue (closes #2632909).
2009-04-17 15:07:54 +02:00
Tobias Doerffel
d4680ba21d AutomationEditor: fixed window title
As of commit 91f3db7b window title of automation editor has been in
uppercase letters which is wrong.
2009-04-17 12:24:54 +02:00
Tobias Doerffel
6f0388be7c PianoView/PianoRoll: fixed keycodes for OS X
This patch enables the usage of PC keyboard for playing instrument piano
or piano roll on OS X by evaluating nativeVirtualKey rather than
nativeScanCode.
2009-04-16 10:40:00 +02:00
Tobias Doerffel
e0d352dc2c FileBrowser: added file type VstPluginFile
Added file type VstPluginFile in order to allow loading DLL files by
an according plugin directly from file browser.
2009-04-13 23:58:30 +02:00
Tobias Doerffel
ff010da5ee SongEditor: fixed horizontal scrollbar with Qt 4.5
Due to optimizations in the graphics subsystem of Qt 4.5
songEditor::paintEvent() didn't get called regularly anymore and thus
the range of the horizontal scrollbar didn't get updated at all.

This commit makes the GUI track all changes related to the length of
the song.
2009-04-05 23:54:28 +02:00
Tobias Doerffel
1b91b599ba ProjectRenderer: added support for 24 Bit WAVs
Integrated patch by Skiessi which adds support for exporting 24 Bit WAV
files in LMMS.
2009-04-05 16:02:27 +02:00
llama
7cb7bc1dcf GIT SUCKS BALLS. FINALLY A COMMIT FROM WEEKS AGO 2009-03-31 19:56:12 -05:00
Tobias Doerffel
b1787f2c87 AutomationPatternView: anti-aliased painting of automation data
If pixels/tact ratio <= 32 use anti-aliasing for drawing automation data
resulting in a smoother appearence.
2009-03-16 17:38:39 +01:00
Tobias Doerffel
9ea3c6660d AutomationPatternView: fixed painting of automation data
At low pixels/tact ratio automation was not drawn properly due to miscalculation
of x2 variable. This patch fixes this by adding 1 to x2.
2009-03-16 17:37:25 +01:00
Tobias Doerffel
7449c4f731 Fixed various types to be suffixed with "_t".
This commit ensures that all defined data types in include/lmms_basics.h are
suffxed with "_t" to keep consistency as well as to fix issues on systems
with older STL/libstdc++.
2009-03-15 16:28:13 +01:00
Tobias Doerffel
bd9be061a0 MidiPortMenu: minor coding style fixes 2009-03-14 19:06:06 +01:00
Tobias Doerffel
c24b923b78 FX-Fader: added accessibleName property for FX faders for not displaying
an empty titlebar in context-menu
2009-03-14 16:02:18 +01:00
Tobias Doerffel
94d13e84ca MIDI subsystem: fixed misspelled "writeable" into "writable", minor
coding style fixes
2009-03-12 01:09:32 +01:00
Tobias Doerffel
5976ab5ce2 TrackContainerView: when dragging a preset file into TrackContainerView
load complete track settings rather than just track specific settings -
fixes an issue where the track name was not loaded from the dragged preset
2009-03-09 22:43:33 +01:00
Tobias Doerffel
9bbb701dac Fixed file mode for files that were executable although they shouldn't be 2009-02-27 00:21:41 +01:00
Tobias Doerffel
a7b885442e 8c85e9b1cf was incomplete, fixes to make
everything build properly
2009-02-26 14:51:02 +01:00
Tobias Doerffel
8c85e9b1cf Reverted c310667bd90457a4edafd752718046bf892b1ea6y to keep trunk at least
a bit usable, will continue FLUIQ development in a separate branch
2009-02-24 17:09:18 +01:00
Paul Giblock
50eba261f8 Fix ScrollBar-hover for Cusis on Qt-4.5
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2064 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-22 02:33:18 +00:00
Paul Giblock
177d63f8bd Add LFO-Controller artwork back since it works in Qt4.5. Tweak classic-style
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2063 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-20 20:20:31 +00:00
Paul Giblock
51be3f5c13 Fix clipping issues in classic theme
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2062 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-20 18:00:33 +00:00
Paul Giblock
03d7116e5e quartic-movement when dragging TCOs, Colorize TCOs
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2061 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-20 17:51:42 +00:00
Paul Giblock
0bdeca5b54 Various SongEditor fixes and updated file headers
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2060 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-20 06:17:01 +00:00
Paul Giblock
c5571651df Add classic-TCO back, enhance song editor, cleanup code
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2059 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-20 05:01:22 +00:00
Tobias Doerffel
9ff11564e0 rewrote timing of fading animation for not postponing updates of hidden fadeButton until it becomes visible
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2056 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-19 15:01:41 +00:00
Tobias Doerffel
02e387c160 make sure all buttons in trackOperationsWidget have focus-policy set to Qt::NoFocus in order to make space play song even if you clicked e.g. a mute-button (closes #2486211)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2055 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-19 15:00:33 +00:00
Tobias Doerffel
3cb8547c6a move timeLine marker in Piano Roll and autoscroll when recording while playing song (closes #2486334)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2053 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-19 14:27:14 +00:00
Tobias Doerffel
c4884db2fb more record-accompany fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2051 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-19 13:56:57 +00:00
Tobias Doerffel
8aec19379e fixed various bugs regarding recording:
* once recording has been started, stop it as soon as playMode of song changes or similiar things happen (closes #2486341)
* fixed broken record-accompany in most use-cases other than using record-while-playing-song by also tracking NoteOn events and remember current play position to use 
the correct note postitions on NoteOff events (play position might have wrapped around in the meantime due to looppoints or end of BB track) (closes #2486299, #2486203)



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2046 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-19 13:37:41 +00:00
Andrew Kelley
4b5b256dea updated copyright and added plug to ##lmms per skiessi's request
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2045 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-14 21:43:02 +00:00
Tobias Doerffel
bdf0545699 disable output monitor per default and show click-hint
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2033 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-13 14:54:18 +00:00
Tobias Doerffel
c310667bd9 initial support for use of FLUIQ by LMMS - will need lots of tuning until it gets usable
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2032 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-13 11:35:56 +00:00
Tobias Doerffel
4e2b92105c reverted some of the changes from 2008-11-10 which caused distorted graphics when running LMMS with Qt 4.5
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2030 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-13 11:32:08 +00:00
Tobias Doerffel
05bf935dd5 do not hide menus when collapsing widget
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2029 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-13 00:23:17 +00:00
Tobias Doerffel
91f3db7b84 more coding style fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2028 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-13 00:19:49 +00:00
Tobias Doerffel
794fa084cf * ensure, cursor is never NULL when painting it in paintEvent()
* a lot of coding style fixes



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2022 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-12 22:59:38 +00:00
Andrew Kelley
d134cf1f7f global playback buttons have better behavior
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2017 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-12 03:33:47 +00:00
Paul Giblock
78a1c1f802 More song editor improvements
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2016 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-11 05:52:56 +00:00
Paul Giblock
9f4ea82a39 More work on glossy TCOs, add hover-effects
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2015 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-11 04:38:35 +00:00
Paul Giblock
d5234ed7a2 Add BB and Pattern item subclasses, play with glossy TCOs
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2014 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-11 04:14:00 +00:00
Paul Giblock
f057a52ab9 Intial version of new song-editor, more of a viewer right now
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2013 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-11 00:56:03 +00:00
Andrew Kelley
cd2bb63676 fixed bug: you can use shift+left to move notes past the beginning
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1995 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-04 20:02:14 +00:00
Andrew Kelley
879b50aaa1 - fixed bug: piano roll was still recording when not in record mode
- use the key L to cycle through playback modes. (this is consistent with FL Studio)


git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1994 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-03 01:29:40 +00:00
Andrew Kelley
3341f3d711 Added global playback support. Press space to play/pause from any window in LMMS.
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1993 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-02 07:55:52 +00:00