Commit Graph

1095 Commits

Author SHA1 Message Date
Tobias Doerffel
d0163430f2 reverted previous API changes as they can be implemented in a generic manner
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1945 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-16 16:51:18 +00:00
Tobias Doerffel
221bf906ba * do not create a instrument track window just for calling dragEnterEvent() - use a static method instead
* limit panning in processAudioBuffer()



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1944 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-16 16:50:24 +00:00
Andrew Kelley
4ee609a8cd fixed bug I introduced a few revisions ago - accidentally checked for the opposite of the intended modifier
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1943 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-16 12:43:23 +00:00
Andrew Kelley
87a9be583f sf2 understands panning midi meta events now
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1942 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-16 11:46:41 +00:00
Andrew Kelley
7fe4f1e60c experimental support for note panning in SF2 player (I'm not sure what m_maxChannels should be or how to find it out. I just picked what worked for my setup.)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1941 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-16 11:24:05 +00:00
Andrew Kelley
c34dffa50f changed modifier detection from mainWindow::isCtrlPressed etc to Qt framework detection. Fixes a bunch of little glitches and enables horizontal scroll wheel.
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1940 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-16 09:52:00 +00:00
Andrew Kelley
164616d45a fixed mixer crash, for realz this time
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1939 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-16 04:45:49 +00:00
Andrew Kelley
0aec3c0b05 if a different window was selected and you hold control and then click in the piano roll, it didn't do selection like it should (FIXED)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1938 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-16 04:00:00 +00:00
Andrew Kelley
e7484c89fd shift+drag didn't update beat+bassline (FIXED)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1937 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-16 03:27:40 +00:00
Andrew Kelley
876cf8df8e fixed crash in processAudioBuffer when notePlayHandle was NULL (crashed certain instruments like sf2)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1936 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-16 02:31:51 +00:00
Andrew Kelley
3392c83481 added a note detuning tool and fixed mouse cursor glitch when mousing over notes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1935 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-16 02:09:28 +00:00
Andrew Kelley
bbb7bcc4c9 if you move *or resize* a single note, it is deselected after the move to allow note editing
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1934 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-16 00:01:27 +00:00
Paul Giblock
d41a369835 Attempt to fix caching bug in track backgrounds
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1933 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-15 22:55:06 +00:00
Andrew Kelley
db8f7e8b2d shift drag on an unselected note didn't work (FIXED)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1932 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-15 22:32:51 +00:00
Andrew Kelley
b3ed6e7fe9 if you pressed both controls at the same time, the piano roll would get stuck in selection mode (FIXED)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1931 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-15 22:07:27 +00:00
Andrew Kelley
55c109e611 if you move a single note, it is deselected after the move to allow note editing
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1930 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-15 21:52:31 +00:00
Andrew Kelley
7a8f95985a when setting a new note, set panning and volume to that of last clicked on note
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1929 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-15 05:11:40 +00:00
Andrew Kelley
ecfb18d551 double click in the note edit area to clear selected notes (allowing you to edit note velocities/panning for all notes)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1928 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-15 03:10:49 +00:00
Tobias Doerffel
ca4fae4f3a added Andrew as copyright holder, cleanups
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1924 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-14 21:55:33 +00:00
Tobias Doerffel
50b693d26b improved colors for drawing notes, coding style fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1923 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-14 11:55:40 +00:00
Andrew Kelley
1b62bea839 fixed ctrl+mousewheel zooming in on piano roll
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1922 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-14 11:10:21 +00:00
Andrew Kelley
167180e670 added panningToMidi function to easily convert panning to a midi value, dragging around a note in the piano roll makes the correct volume and panning noises
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1921 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-14 11:01:05 +00:00
Andrew Kelley
20f50350e6 note volume bars are painted blue if selected
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1920 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-14 09:55:06 +00:00
Andrew Kelley
1e0bf14904 piano roll notes are painted with colors that reveal their velocities and panning, and gui for switching between note edit modes is improved
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1919 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-14 09:44:22 +00:00
Andrew Kelley
e0e7cb9af8 Note panning editing support in the piano roll
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1918 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-14 02:39:12 +00:00
Tobias Doerffel
53776a1f1f manage effectRackView with a QVBoxLayout
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1916 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-14 01:06:03 +00:00
Tobias Doerffel
ee58a2db6b some work on a better widget layouting and more usable splitters in combination with CollapsibleWidgets
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1915 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-14 01:03:28 +00:00
Tobias Doerffel
7e7b5924a6 moved version information into separate header file to avoid the necessity of a complete recompile each time SVN revision changes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1914 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-14 00:55:48 +00:00
Tobias Doerffel
b25f6f3911 moved version information into separate header file to avoid the necessity of a complete recompile each time SVN revision changes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1913 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-14 00:54:50 +00:00
Andrew Kelley
53a9b25fb1 note edit area has adjustable height
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1911 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-13 10:29:04 +00:00
Andrew Kelley
4d8490e21b Fixed bug I introduced last checkin, and now if you click towards the end of the key in the piano roll, it plays the note louder than if you play it towards the base
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1910 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-13 09:02:11 +00:00
Andrew Kelley
b7f4f7be6d editing note volume and hearing clicked on notes is implemented more cleanly, editing note volume only affects selected notes (or all notes if none selected), when "scribbling" note volumes, if there is a chord, it will play all 3 notes, rather than just the first one
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1909 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-13 02:28:24 +00:00
Tobias Doerffel
d511b43088 do not disable automation when just editing first point of an automation pattern (closes #2146230)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1906 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-11 00:06:25 +00:00
Tobias Doerffel
4b9fb4f41f splitted view component out of automation_pattern.*
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1905 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-11 00:05:45 +00:00
Tobias Doerffel
f17d64723a added support for debug messages from remote plugin
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1896 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-10 00:39:52 +00:00
Andrew Kelley
686c3330d6 deleted a printf statement I was using to debug, sorry about that
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1895 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-08 23:05:11 +00:00
Andrew Kelley
74cc16151d fixed warnings
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1894 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-08 21:56:11 +00:00
Andrew Kelley
112c0315ee Forgot to delete some code
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1893 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-08 21:52:45 +00:00
Andrew Kelley
5f89e203f0 can select notes even if you can't see them
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1892 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-08 21:48:54 +00:00
Andrew Kelley
cbe50bf6ef disabled note volume editing while dragging a selection
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1891 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-08 21:20:45 +00:00
Andrew Kelley
809f7befbb ability to scroll left and right while using ctrl to select notes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1885 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-08 18:36:33 +00:00
Tobias Doerffel
689ee4cb14 return appropriate icon for Qt::DecorationRole
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1882 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-08 01:35:05 +00:00
Tobias Doerffel
7d808d434f added ResourcesDB::Item::TypeMidiFile
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1880 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-08 01:32:24 +00:00
Tobias Doerffel
f1950b3007 added initial draft of FLUIQ (Flexible User-Interface with Qt) framework (integration patches will follow later)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1878 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-08 01:28:04 +00:00
Andrew Kelley
976d858b66 worked on global playback/record options in the toolbar. This code is still commented out though.
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1877 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-08 00:36:17 +00:00
Andrew Kelley
b15ce72dc4 fixed glitch where it would auto-scroll even if it was off in song-editor
auto-scroll default to disabled


git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1876 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-07 22:20:48 +00:00
Andrew Kelley
ae0756c43b (hopefully) fixed bug where shift+drag wasn't copying notes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1875 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-07 21:01:17 +00:00
Andrew Kelley
8d8f7821a1 moved main window toolbar code from songEditor to mainWindow
used inline for note setXXX methods


git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1873 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-06 04:38:29 +00:00
Andrew Kelley
6f397e048c fixed bug where it thought every modifier was the alt key
corrected quantization when dragging a note while scrolling with arrow keys


git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1872 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-05 08:25:55 +00:00
Andrew Kelley
e2f74ee6e6 piano roll improvements, especially with moving notes around. see changelog.
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1871 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-05 08:03:15 +00:00