Compare commits

...

5039 Commits

Author SHA1 Message Date
Tres Finocchiaro
1c0d329dfb Bump version for 1.2 RC1 2016-02-16 14:27:44 -05:00
Tres Finocchiaro
47606d7b31 Merge pull request #2497 from Fastigium/preview-fix
Fix crashes/hangs when previewing instrument presets
2016-02-16 14:24:49 -05:00
Fastigium
9d1867c7eb Make Mixer::removePlayHandle check m_newPlayHandles, too
This fixes a problem where a PresetPreviewPlayHandle would be put in
m_newPlayHandles to be added, then "removed" before it was actually added,
leaving it dangling.
2016-02-16 19:23:17 +01:00
Fastigium
ca7c90a99c Add mixer lock to EffectChain::clear to prevent a race condition 2016-02-16 19:23:17 +01:00
Fastigium
da8040764f Require explicit types when removing PlayHandles in the Mixer
This fixes a few deadlocks where a PresetPreviewPlayHandle would be removed by
the creation of a new PresetPreviewPlayHandle.
2016-02-16 19:23:08 +01:00
Fastigium
87dce6d2f4 Make PresetPreviewPlayHandle thread affinity matter 2016-02-16 13:17:20 +01:00
Umcaruje
8841b89b6d Merge pull request #2546 from Umcaruje/fixscrollbars
Fix inconsistent scrollbars
2016-02-15 01:38:07 +01:00
Umcaruje
cfd345ad20 Merge pull request #2554 from Umcaruje/themeablecolors
Get rid of hardcoded colors in the Piano Roll and Automation Editor
2016-02-15 01:35:41 +01:00
Umcaruje
5c602a3f97 Merge pull request #2542 from Umcaruje/fix2329
Make the instrument section of the sidebar themeable
2016-02-13 00:21:09 +01:00
Lukas W
b7d5b2ddf5 Fix #2558 2016-02-13 09:24:10 +13:00
Colin Wallace
3c9cefc6c1 Merge pull request #2553 from Umcaruje/volumevelocity
Rename note volume into note velocity
2016-02-11 15:59:43 -08:00
Oskar Wallgren
14046684a5 Merge pull request #2524 from zonkmachine/recentfilesonlyprojects
Some tweaks to the recent files list
2016-02-11 03:31:53 +01:00
Oskar Wallgren
3bbe0e3e15 Only lmms projects allowed in recent file list. Increase recent file memmory to 50 2016-02-11 03:12:12 +01:00
Lukas W
ca8f80d44f Fix loading relative file path samples
Closes #2412
2016-02-11 11:58:42 +13:00
Raine M. Ekman
1290e33207 Merge pull request #2552 from michaelgregorius/lb303-deletion
Removes the project lb303 which seems to have been inactive since 2008 (fixes #2551)
2016-02-09 14:42:42 +02:00
Umcaruje
2dd403e53b Rename note volume into note velocity 2016-02-08 19:55:44 +01:00
Umcaruje
d52d7d9fb7 Get rid of hardcoded colors in the Piano Roll and Automation Editor 2016-02-08 19:44:50 +01:00
Oskar Wallgren
69ce296c5d Merge pull request #2533 from zonkmachine/indentedmain
Fixed indentation
2016-02-08 07:01:52 +01:00
Colin Wallace
1c70319fc2 Merge pull request #2541 from Wallacoloo/piano-isXKey
Move isWhiteKey, isBlackKey into Piano.h
2016-02-07 15:58:58 -08:00
Michael Gregorius
1ff0650a0d Removes the project lb303 which seems to have been inactive since 2008
According to the blame the project lb303 has been commented out from
CMakeLists.txt on 22.07.2008. Therefore it does not seem to be actively
maintained and is very likely to not even compile anymore.
2016-02-07 21:43:47 +01:00
Oskar Wallgren
76e690a1a0 Fixed indentation 2016-02-07 17:00:25 +01:00
Umcaruje
59f8fbd94b Fix inconsistent scrollbars 2016-02-06 12:17:38 +01:00
Tres Finocchiaro
317cc74bac Merge pull request #2545 from thothonegan/master-fix-qt5-needs-proper-linguist-tools
If using Qt5, use Qt5LinguistTools to locate lupdate/lrelease
2016-02-05 22:47:41 -05:00
Kenneth Perry (thothonegan)
45154d2e99 Require linguist tools on Travis Ubuntu 2016-02-05 15:08:12 -06:00
Kenneth Perry (thothonegan)
6228d9ae26 If using Qt5, use Qt5LinguistTools to locate lupdate/lrelease 2016-02-05 14:52:28 -06:00
Umcaruje
903e581180 Merge pull request #2544 from midi-pascal/master-2435
Update Triple oscillator French translation
2016-02-05 18:01:55 +01:00
midi-pascal
badb6c1ca9 Update French translation after fix of issue #2435 2016-02-05 11:41:25 -05:00
Umcaruje
8b73381517 Make the instrument section of the sidebar themeable 2016-02-05 01:34:51 +01:00
Colin Wallace
f78b6a682a Merge pull request #2540 from Umcaruje/cssnotes
Make the note border radius themeable, fix rendering of notes and volume/pan sliders
2016-02-04 16:10:11 -08:00
Umcaruje
439ab30d51 Make the note border radius themeable, fix rendering of notes and volume/pan sliders 2016-02-04 23:51:47 +01:00
Colin Wallace
176e08047e Rewrite Piano::isBlackKey for clarity 2016-02-03 18:53:05 -08:00
Colin Wallace
aa0f7a08d6 Move isWhiteKey, isBlackKey into Piano.h to make use of these functions in a wider scope 2016-02-03 18:46:59 -08:00
Umcaruje
1228de750f Merge pull request #2530 from Umcaruje/fixbarbreak
Fix bar display breaking at 999
2016-02-03 13:37:28 +01:00
Colin Wallace
32cbef46bc Merge pull request #2538 from softrabbit/aboutdialog_selection
AboutDialog: make version line selectable
2016-02-02 23:46:08 +00:00
Tres Finocchiaro
87e46d2ed1 Merge pull request #2522 from Umcaruje/fix2503
Fix incorrect UI for Automation Track on Mac OS X
2016-02-02 11:29:11 -05:00
Umcaruje
8b7c295fc0 Fix incorrect UI for Automation Track on Mac OS X 2016-02-02 11:51:03 +01:00
Raine M. Ekman
d3ff3897a0 AboutDialog: make version line selectable 2016-02-02 09:15:47 +02:00
Tres Finocchiaro
e03eb1ce05 Merge pull request #2532 from Umcaruje/settingbutton
Fix bad button position in setup dialog, make the SetupDialog fixed size and EffectDialog resizeable
2016-02-01 22:34:01 -05:00
Tres Finocchiaro
7c42823d9a Merge pull request #2526 from Umcaruje/fixyears
Fix outdated copyright info, fix license not showing in the about dialog
2016-02-01 21:27:04 -05:00
Tres Finocchiaro
5e3b26e690 Merge pull request #2527 from Umcaruje/fix2435
Fix TripleOscillator modulation popups
2016-02-01 21:18:21 -05:00
Umcaruje
3ffa8ac8f5 Fix outdated copyright info, fix license not showing in the about dialog 2016-02-01 22:52:17 +01:00
Umcaruje
de5ee5d8a3 Fix TripleOscillator modulation popups 2016-02-01 22:48:05 +01:00
Umcaruje
216143a8f5 Fix bad button position in setup dialog, make the SetupDialog fixed size and EffectDialog resizeable 2016-02-01 21:21:46 +01:00
Umcaruje
72915b7ace Fix bar display breaking at 999 2016-01-29 15:26:34 +01:00
Umcaruje
f528e3d400 Merge pull request #2521 from StCyr/StCyr_issue_2519
Fixed 2 French translations that prevent the display of the "MIDI" and "MISC" tabs (issue 2519)
2016-01-28 22:21:50 +01:00
Oskar Wallgren
3c7c49f01e Merge pull request #2520 from zonkmachine/beatNoteColour
Fix colour of selected beat notes in Piano Roll
2016-01-28 18:05:59 +01:00
Cyrille Bollu
64efd68bfd Fixed a French translation that prevented the display of the "MIDI" and "MISC" tabs (issue 2519) 2016-01-27 17:03:46 +01:00
Oskar Wallgren
5b804821fb Fix colour of selected beat notes in Piano Roll 2016-01-27 08:39:33 +01:00
Umcaruje
77b98117e6 Merge pull request #2293 from LocoMatt/master-3oscart
Triple Oscillator GUI redesign
2016-01-27 00:16:20 +01:00
LocoMatt
cfa1818ba5 Triple Oscillator GUI redesign 2016-01-26 23:53:03 +01:00
Tres Finocchiaro
d30a7df965 Merge pull request #2176 from zonkmachine/recoverFileFix
Recover file work over
2016-01-19 08:37:22 -05:00
Oskar Wallgren
9e8020719c Recovery file fixes 2016-01-19 14:04:08 +01:00
Umcaruje
613b01c026 Merge pull request #2489 from zonkmachine/splited
Remove duplicate preset files
2016-01-13 21:29:55 +01:00
Tres Finocchiaro
51316f55e3 Merge pull request #2506 from follower/patch-1
Fix "associted"/"associated" typo
2016-01-13 14:14:33 -05:00
follower
18d81ac831 Fix "associted"/"associated" typo
This will presumably also affect the translation files. (But I'm making this change within the GitHub editor which provides no easy way to do a 17 file search and replace. :) )
2016-01-11 09:31:29 +13:00
Tres Finocchiaro
baaed6a301 Merge pull request #2118 from Wallacoloo/engine-rename-min
Temporary workaround for ZynAddSubFx name clashes
2015-12-30 02:40:55 -05:00
Colin Wallace
c519921306 Rename Engine to LmmsCore, but typedef'd as Engine to prevent name conflicts with ZASFx
Document the Engine renaming better & link to relevant issues/PRs
2015-12-29 23:29:35 -08:00
Tres Finocchiaro
a9c9fbfbc2 Remove RegExp for "Add Effect" dialog
Closes #2495
2015-12-28 21:09:51 -05:00
Umcaruje
3865ed99df Merge pull request #2492 from NeiroNext/translation
Update Ukrainian translation
2015-12-22 15:13:35 +01:00
NeiroNext
d31ac1773b Update Ukrainian translation 2015-12-22 12:19:13 +02:00
Oskar Wallgren
9c5d86a2c1 Remove ZynAddSubFX duplicate presets 2015-12-18 21:21:02 +01:00
Raine M. Ekman
f99dba54f9 Merge pull request #2465 from softrabbit/opulenz2015
OpulenZ: add sane display units for some tooltips, coding style fixes
2015-12-14 22:32:42 +02:00
Raine M. Ekman
8d87169411 Opulenz: add sane display units for some tooltips, coding style fixes 2015-12-14 22:01:11 +02:00
Raine M. Ekman
c29f0dd4f9 Merge pull request #2464 from Umcaruje/mergedemos
Merge Demos and CoolSongs. Also fix the case on other project folders. Fixes #1274
2015-12-14 21:37:39 +02:00
Raine M. Ekman
3fbabfb3e7 Merge pull request #2456 from softrabbit/issue2318
Song: Don't remove controller just to be sure before adding it in Song::restoreControllerStates, Song::addController handles double adds. Fixes #2318.
2015-12-06 21:10:46 +02:00
Raine M. Ekman
7d38e0e9dc Merge pull request #2462 from jackokring/organifix
Organic: fix tool tips displaying "%1" instead of oscillator number.
2015-11-25 14:58:27 +02:00
Umcaruje
ff93b34dca Merge Demos and CoolSongs. Also fix the case on other project folders 2015-11-24 23:37:26 +01:00
Simon Jackson (Netbook)
4601defad0 Organic fix tool tip 2015-11-24 01:53:50 +00:00
Raine M. Ekman
3a3af4ce6b Don't remove controller just to be sure before adding it in
Song::restoreControllerStates, Song::addController handles double adds.
Fixes #2318
2015-11-22 21:43:00 +02:00
Tres Finocchiaro
3e03e716ff Merge pull request #2442 from tresf/grid
Remove hard-coded grid from SongEditor
2015-11-13 21:46:59 -05:00
Tres Finocchiaro
aaa798c746 Remove hard-coded grid from SongEditor 2015-11-13 21:21:19 -05:00
Tres Finocchiaro
34821f9bea Merge pull request #2376 from M374LX/dummyaudio
Partially fix "Dummy" actually using ALSA
2015-11-11 20:36:36 -05:00
M374LX
ccb2f73dc0 Fix "Dummy" actually using ALSA 2015-11-11 22:55:18 -02:00
Lukas W
2284a8c353 Merge pull request #2433 from LMMS/ladspa-dirs
Fix ladspa plugin discovery
2015-11-04 09:14:04 +01:00
Lukas W
6d888fd61b Fix deadlock in InstrumentTrack::play
Closes #2378
2015-11-04 01:03:41 +01:00
Lukas W
8b65ae37b4 ConfigManager: Move plugin:ladspa init to LadspaManager 2015-11-03 20:43:01 +01:00
Lukas W
45cafd3f60 Fix ladspa plugin discovery 2015-10-30 22:53:28 +01:00
Lukas W
81a2fe5e69 Revert "Reinstates the build of the LADSPA plugins in the ladspa directory"
This reverts commit ff6cbf90a3.
2015-10-30 22:22:22 +01:00
Lukas W
a54e55b277 Revert "Fixes the build location of the LADSPA effect plugin"
This reverts commit 119ff99f27.
2015-10-30 22:22:05 +01:00
Lukas W
38bcc73f1c Revert "Find relative LADSPA plugins when running from build"
This reverts commit 37a2252236.
2015-10-30 22:20:59 +01:00
Tres Finocchiaro
48ea02bf24 Merge pull request #2205 from tresf/master
Windows MSYS build support
2015-10-30 17:17:26 -04:00
Tres Finocchiaro
e13c186c88 Merge pull request #2430 from tresf/ladspafix
Find relative LADSPA plugins when running from build
2015-10-30 17:16:18 -04:00
Tres Finocchiaro
727bf16cae Merge pull request #2432 from michaelgregorius/ladspa-builddir-fix
Reinstates the build of the LADSPA plugins in the ladspa directory
2015-10-30 17:16:03 -04:00
tresf
a7f8251f4b Initial changes for MSYS support 2015-10-30 17:05:26 -04:00
Michael Gregorius
ff6cbf90a3 Reinstates the build of the LADSPA plugins in the ladspa directory
Keeps the behavior of building libladspaeffect.so in the plugins
directory.
2015-10-30 22:04:32 +01:00
Tres Finocchiaro
3f6e406eb6 Fix double click to open BBEditor PianoRoll
Fixes #2431
2015-10-30 16:44:14 -04:00
Tres Finocchiaro
37a2252236 Find relative LADSPA plugins when running from build
Related #2426 #2270 #2428
2015-10-30 14:56:14 -04:00
Tres Finocchiaro
c98b6339cd Merge pull request #2386 from Wallacoloo/bb-editor-name
Revert partial 'B+B Editor' -> 'Pattern Editor' rename
2015-10-30 14:11:02 -04:00
Tres Finocchiaro
0ae35f3103 Merge pull request #2428 from michaelgregorius/2426-missing_ladspa_effect
Fixes the build location of the LADSPA effect plugin
2015-10-30 14:06:15 -04:00
Tres Finocchiaro
9bd4c4f522 Merge pull request #2408 from grejppi/master-remove-effect-check
EffectChain: check if effect exists before removing
2015-10-26 14:49:41 -04:00
Hannu Haahti
0b6280d632 EffectChain: check if effect exists before removing
Resolves #2407.
2015-10-26 20:45:30 +02:00
Michael Gregorius
119ff99f27 Fixes the build location of the LADSPA effect plugin
Removes the instruction to build the LADSPA effect plugin in the
"plugins/ladspa" directory instead of the "plugins" directory where all
other plugins are built. This change enables the usage of LADSPA plugins
in development builds where the binary is started from the build
directory.
2015-10-23 19:30:01 +02:00
Tres Finocchiaro
d17e78d5bb Merge pull request #2422 from midi-pascal/new_branch
Remove note from m_playingNotes before deleting m_pluginData
2015-10-22 17:45:31 -04:00
midi-pascal
2470df4f0e Remove note from m_playingNotes before deleting its m_pluginData in sf2Instrument::deleteNotePluginData()
Move m_playingNotesMutex.lock() and m_playingNotesMutex.unlock() outside of if( m_playingNotes.indexOf( _n ) >= 0 )

Conflicts:
	plugins/sf2_player/sf2_player.cpp

Remove note from m_playingNotes before deleting its m_pluginData in sf2Instrument::deleteNotePluginData()

Move m_playingNotesMutex.lock() and m_playingNotesMutex.unlock() outside of if( m_playingNotes.indexOf( _n ) >= 0 )
2015-10-22 16:44:38 -04:00
Tres Finocchiaro
2fac253ebd Merge pull request #2368 from tresf/2365-versions
Adds better versioning for non-stable builds
2015-10-19 11:40:21 -04:00
Tres Finocchiaro
8e633df1ee Adds better versioning for non-stable builds
Allows version forcing via `cmake -DFORCE_VERSION=1.1.1-foo`
2015-10-19 11:30:22 -04:00
Lukas W
d6a25f90a9 FileBrowser: Fix file paths
Fixes #2412
2015-10-17 13:06:34 +02:00
grejppi
7316ae966a Merge pull request #2410 from michaelgregorius/2409-LFO-leftovers
Removes existing controllers from the view when a new project is created
2015-10-12 21:16:01 +03:00
Michael Gregorius
3878fe580d Removes existing controllers from the view when a new project is created
Fixes #2409.
2015-10-12 19:49:55 +02:00
Colin Wallace
d4b2cb183c Merge pull request #2406 from michaelgregorius/2023-null-pointer-deallocation
Removes an unnecessary warning in MemoryManager::free
2015-10-11 00:31:55 +00:00
Michael Gregorius
cb6b3bd906 Removes an unnecessary warning in MemoryManager::free
Removes the warning "MemoryManager: Null pointer deallocation attempted"
from MemoryManager. The warning does not make sense because
deallocations of null pointers are ok in C++.

Fixes #2023.
2015-10-10 22:08:31 +02:00
Colin Wallace
3a8f491ddb Merge pull request #2394 from M374LX/decouple-mixer-visualization
Partially decouple VisualizationWidget from Mixer
2015-10-05 05:18:41 +00:00
Colin Wallace
fb46bfc753 Merge pull request #2383 from M374LX/audiobuffercontainer
Move Mixer::clearAudioBuffer() to BufferManager
2015-10-02 18:14:27 +00:00
M374LX
12e2da9b44 Remove unused Mixer::m_workingBuf 2015-09-30 23:00:06 -03:00
M374LX
5489040f20 Partially decouple Mixer from VisualizationWidget 2015-09-30 22:38:10 -03:00
Tres Finocchiaro
de7d83d158 Merge pull request #2392 from M374LX/fix-metalish-dong01
Fix corrupted audio file
2015-09-30 16:25:01 -04:00
M374LX
8195a955ae Fix corrupted audio file 2015-09-30 00:50:31 -03:00
Colin Wallace
fbd3d5bb0f Revert partial 'B+B Editor' -> 'Pattern Editor' rename 2015-09-28 14:31:53 -07:00
Alexandre Almeida
d66bd0a63c Fix comment typo 2015-09-27 18:45:52 -03:00
Colin Wallace
ab64c67da4 Merge pull request #2385 from M374LX/mixercleanup
Mixer cleanup
2015-09-27 21:22:27 +00:00
M374LX
efb1a4fdf3 Mixer cleanup 2015-09-27 17:11:52 -03:00
M374LX
e801384eed Move Mixer::clearAudioBuffer() to BufferManager 2015-09-27 00:36:17 -03:00
Michael Gregorius
596a41d143 Disables the context menu of the tool bars (fixes #2379) 2015-09-25 16:48:29 +02:00
Tres Finocchiaro
56a04072e2 Merge pull request #2377 from waxspin/master
Add functionality to allow octave-marking feature mentioned in #2193.
2015-09-25 09:09:16 -04:00
Ben Bryan
8fe3f17058 Add functionality to allow feature mentioned in #2193.
Fix declaration of return value.

Add mapping and new menu option for octave-marking of semitones.

Finish switch case for add/remove multiple octave semitones.

Fix segfault due to illogical access using iterators from one collection on another.

Make loop more succinct.

Move PianoRoll::getAllOctavesForKey method to private access.
2015-09-24 01:12:17 -05:00
Tres Finocchiaro
dabfc63cda Add Windows build flags for libsoundio. 2015-09-23 12:09:04 -04:00
Colin Wallace
1755962b39 Merge pull request #2361 from petterreinholdtsen/linux-desktop-file-clickable
Make sure desktop systems know how to pass files to lmms.
2015-09-20 20:58:44 +00:00
Colin Wallace
22673d445d Merge pull request #2363 from petterreinholdtsen/linux-man-page-flow
Fix manpage formatting of AUTHOR block.
2015-09-20 20:11:11 +00:00
Colin Wallace
e11a5cce32 Merge pull request #2362 from petterreinholdtsen/debian-gcc-5
Fix build problems with gcc 5.2 in Debian.
2015-09-20 08:28:24 +00:00
Petter Reinholdtsen
607d79bfcf Fix manpage formatting of AUTHOR block.
The AUTHOR block was formatted using fixed with font and no line
break by mistake.  Change this to normal text formatting.

The problem was discovered by Debian thanks to lintian, and is fixed
there in using a local change in debian/patches/man-page-adjustment.patch.
2015-09-20 09:42:12 +02:00
Petter Reinholdtsen
11a54e6f68 Fix build problems with gcc 5.2 in Debian.
The compiler complain about static inline functions being used from
inline functions.  This patch rewrite the inline to static inline
functions to avoid the compiler error.

This is related to https://bugs.debian.org/777989 and based on a patch
in the Debian packaging, see
http://anonscm.debian.org/cgit/debian-edu/pkg-team/lmms.git/tree/debian/patches .
2015-09-20 08:52:15 +02:00
Petter Reinholdtsen
878706d28c Make sure desktop systems know how to pass files to lmms.
For LMMS files to be clickable in a Linux desktop environment, there
need to be a program accepting such files as an argument.  This patch
change the lmms desktop file to affect files to open on the command line.
I did not know if lmms accepted URLs to remote files, so I went with the
safer %f for local files.

This patch originated in the Debian packaging, see for example
<URL: https://sources.debian.net/src/lmms/1.0.3-5/debian/patches/ >.
2015-09-20 08:41:02 +02:00
Tres Finocchiaro
1bb276b365 Make SDL default for all platforms
Closes #1600
2015-09-18 14:08:57 -04:00
Tres Finocchiaro
892756bda2 Merge pull request #2351 from waxspin/master
Inclusion of per-key note selection to piano roll editor.
2015-09-18 11:21:30 -04:00
Ben Bryan
c514f1789a Add per-key note selection to piano roll editor, as discussed in #529.
Add missing break.

Fix tabs.
2015-09-18 09:46:39 -05:00
Michael Gregorius
ab1cc3487d Merge pull request #2358 from michaelgregorius/2288-piano-automation-size
Fixes the storage of the windows state for invisible windows (#2288)
2015-09-17 18:02:57 +02:00
Michael Gregorius
7881e0315d Fixes the storage of the windows state for invisible windows
Until now windows/widgets that were invisible during the call to
MainWindow::saveWidgetState had their size stored as (0, 0). This
resulted in problems when the default template was created with
invisible windows because in new projects these windows then opened up
at a very small size.

This patch fixes the problem by introducing a new parameter of type
QSize to MainWindow::saveWidgetState. It can be used to communicate the
size that should be stored in case the widget that calls the method is
invisible. The code of most callers (PianoRollWindow, SongEditor, etc.)
has been updated to use good default sizes.
2015-09-17 17:48:37 +02:00
Umcaruje
09bc6f158a Temporary fix for #2355, comment out the libsoundio.dll until it gets added to the mingw PPA 2015-09-16 23:57:29 +02:00
Tres Finocchiaro
b763ee2b39 Merge pull request #2353 from Umcaruje/compactfix
Fix LED's in Compact Track buttons
2015-09-16 12:55:57 -04:00
Michael Gregorius
b5f5844edb Merge pull request #2285 from michaelgregorius/piano-roll-improvements
Merge PianoRoll improvements (note on keys, subtle highlight, note rendering)
2015-09-16 17:47:06 +02:00
Michael Gregorius
2ea72080a9 PianoRoll improvements (note on keys, subtle highlight, note rendering)
Draws note labels on all (white) keys when selecting to do so in the
preferences ("Enable note labels in piano roll"). The old rather messy
implementation that drew them all over the place has been removed.
When rendering note names on the keyboard keys the C notes are rendered
in a darker color than the other ones. Horizontal lines which do not
correspond to the C key are now also rendered in a more subtle way to
give more prominence to the start of an octave.

The user selected scale is now highlighted in a more subtle way.

The note borders are not toned down in relation to the volume anymore.
The handles on the right side of each note have been made slimmer and
shorter.
2015-09-16 17:34:32 +02:00
Tres Finocchiaro
3925fb8ff3 Merge pull request #2323 from softrabbit/w32_ssemath
Make the Win32 version use SSE math
2015-09-16 09:11:56 -04:00
Umcaruje
96c435b81f Fix LED's in Compact Track buttons 2015-09-15 23:57:41 +02:00
Oskar Wallgren
dff7e3e4bb Open last active project. 2015-09-15 15:04:48 -04:00
Ryan Schmidt
571e4fd31a Detect 32-bit/64-bit correctly based on CFLAGS
The user might invoke cmake with CFLAGS containing "-m32" or (on OS X) "-arch i386" while on a 64-bit machine to indicate that it should build for 32-bit instead.
2015-09-15 14:55:33 -04:00
Aya Morisawa
4da73f345c Improve Japanese translation 2015-09-15 14:29:49 -04:00
Aya Morisawa
20889111f2 Improve Japanese translation 2015-09-15 14:29:49 -04:00
Aya Morisawa
e83ff3e9c4 Improve Japanese translation 2015-09-15 14:29:49 -04:00
Michael Gregorius
07a7a5c5cb Merge pull request #2343 from michaelgregorius/2342-unbalanced-controls
Puts the controls of the InstrumentTrackWindow into a grid layout to solve #2342.
2015-09-14 21:22:05 +02:00
Michael Gregorius
8b7a48cd37 Puts the controls of the InstrumentTrackWindow into a grid layout
Puts the controls of the InstrumentTrackWindow into a grid layout to
give them a more balanced look. Without this patch the labels of the
widgets are not aligned which gives the instrument controls a rather
unbalanced look.

Added a "SAVE" label for the preset button to make the layout more
balanced.
2015-09-14 21:10:20 +02:00
Andrew Kelley
98346f7a9a AudioSdl: fix cleanup hanging 2015-09-13 20:48:53 -07:00
Andrew Kelley
799f830827 Merge pull request #2339 from LMMS/audio-soundio
add libsoundio audio backend
2015-09-13 20:38:12 -07:00
Andrew Kelley
e7af4b6f3e soundio backend: use lmms code style conventions 2015-09-13 18:12:43 -07:00
Andrew Kelley
f7e5bf4860 core: fix cleanup race condition in mixer 2015-09-13 16:54:16 -07:00
Andrew Kelley
f7ff96fe4f add libsoundio audio backend
This adds libsoundio (http://libsound.io/) as an available audio
backend. libsoundio supports JACK, PulseAudio, ALSA, CoreAudio,
WASAPI, and a dummy backend.
2015-09-13 16:07:10 -07:00
Colin Wallace
2fb0babfd8 Merge pull request #2310 from rcorre/master
Add CLI equivalent to GUI's "export tracks"
2015-09-13 22:36:03 +00:00
Ryan Roden-Corrent
fdb2787ff9 Support '.' in output directory path.
Do not call baseName on the path passed to -o when using the --rendertracks
option. This was mangling directories that contained a literal '.' if a '/' was
not explicitly specified at the end.

Still call baseName for --render as the argument to -o is a file and we need to
set the extension (ogg/wav).
2015-09-13 12:51:02 -04:00
Ryan Roden-Corrent
d8ce8301b8 Rename --render-tracks to --rendertracks.
Follow convention of avoiding '-' in command names.
2015-09-13 07:39:23 -04:00
Ryan Roden-Corrent
ea838c428d Don't use old naming convention in new methods.
Remove the _ prefix from the parameters to the newly added
ProjectRenderer::getFileExtensionFromFormat.

This naming convention is being phased out.
2015-09-13 07:39:23 -04:00
Ryan Roden-Corrent
6b8406241b Document --render-tracks in --help and the manpage. 2015-09-13 07:28:22 -04:00
Ryan Roden-Corrent
795d42987f Add --render-tracks CLI command.
This command allows rendering each track of a song to a different file.
It should provide the same functionality as the "Export Tracks" GUI option.

Usage could look like:
lmms --render-tracks project.mmpz -f ogg -o output/
2015-09-13 07:28:22 -04:00
Ryan Roden-Corrent
c462261433 Use RenderManager in ExportProjectDialog.
Remove the rendering logic from the gui code in ExportProjectDialog and let
RenderManger handle it instead.

This is part of an effort to allow the CLI and the GUI to share the same
rendering logic, setting the state for a --render-tracks CLI option similiar to
the "Export Tracks" GUI option.
2015-09-13 07:28:22 -04:00
Ryan Roden-Corrent
1a22635109 Initial implementation of RenderManager.
Much of the multi-track rendering logic was intermixed with GUI code in
ExportProjectDialog.

This creates the RenderManager class to provide rendering logic that could be
shared between the CLI and GUI interfaces.
2015-09-13 07:28:22 -04:00
Ryan Roden-Corrent
e863df7171 Add ProjectRenderer::getFileExtensionFromFormat.
Currently ProjectRenderer has a helper getFileFormatFromExtension, this adds a
similar helper getFileExtensionFromFormat.

This will, for example, return "ogg" for OggFile.
2015-09-13 07:28:22 -04:00
Colin Wallace
deeb95a749 Merge pull request #2297 from Wallacoloo/midirange+
Increase pitch range knob limit to 60. Fixes #2250
2015-09-12 17:02:14 +00:00
Umcaruje
9111eb82d5 Merge pull request #2344 from AyaMorisawa/patch-1
Improve Japanese translation
2015-09-12 15:08:52 +02:00
Aya Morisawa
f5485a9eff Improve Japanese translation 2015-09-12 20:47:29 +09:00
Tres Finocchiaro
55db0c8e30 Fix mailmap for Thomas Clark 2015-09-12 00:10:59 -04:00
Michael Gregorius
36a6fb3936 Merge pull request #2287 from michaelgregorius/2286-piano-roll-toolbars
Breaks down the piano roll's toolbar into multiple smaller ones (#2286)
2015-09-11 21:09:45 +02:00
Michael Gregorius
39692643cf Introduction of several toolbars for editors and CSS changes
The piano roll's actions have been grouped into several toolbars. There
are now five groups / tool bars: "Transport controls", "Note controls",
"Copy paste controls", "Timeline controls" and "Zoom and note controls"
(this group is a bit mixed). Each group can be turned off and on using
the standard toolbar context menu provided by Qt.

The new default layout of the toolbars saves horizontal space by putting
the "Zoom and note controls" below the other toolbars. The toolbars can
be hidden and shown via the context menu but these states are not
stored.

The "Song editor", "Beat+Bassline editor" and "Automation editor" have
been switched to using movable toolbars as well.

Adjusted the Editor class to have some other defaults for the "Transport
controls".

Added some methods to add toolbars to editors and changed the other
editors' code to use it. This way the properties of a standard editor
toolbar can be changed in a simple and central way.

Fixed the size of the timeline control buttons which are implemented as
NStateButton. Previously these had a fixed size and appeared smaller than
all other buttons. Now they behave like other ToolButton with respect to
the size. Also removed a fixed size call in ToolButton itself.

Made some adjustments to the CSS for QToolBar and QToolButton:
* Switched the QToolBar CSS to a vertical gradient and also increased
the padding to 2px on the way.
* Previously all buttons looked like they were pressed. This was fixed by
using the same linear gradient that is used for the QToolBar.
* The hover effect for QToolButtons is a bit more subtle now and looks
less intensive as when the button is pressed / checked.
* Gave the normal buttons a bit more radius.
* Adjusted the radii of the special play and stop buttons to be
symmetric so the do not look skewed.
2015-09-11 20:52:34 +02:00
Dave French
4639e37c31 Merge pull request #2324 from Wallacoloo/pianoroll-refactor
Refactor PianoRoll code
2015-09-11 08:35:11 +01:00
Colin Wallace
db18fa61fe have getSelectedNotes() return the selected notes, rather than appending them to a write-back parameter 2015-09-10 21:29:36 -07:00
Colin Wallace
ff94f8b4ce Rename copy_to_clipboard -> copyToClipboard 2015-09-10 21:29:36 -07:00
Colin Wallace
ca7028933a Remove extraneous conditional 2015-09-10 21:29:36 -07:00
Colin Wallace
a17d915ccf Prefer C++11 range-based for loops over explicit iterators or Qt's foreach;
note: Qt's foreach actually duplicates the container before iterating, as well (not hugely problematic for performance since Qt containers are copy-on-write, but is still semantically misleading)
2015-09-10 21:29:36 -07:00
Colin Wallace
2e111129bd Remove unnecessary 'inline' attributes;
'inline' is only needed when a function is defined in the header, as a way to avoid multiple definitions error when linking. It is otherwise useless
2015-09-10 21:29:28 -07:00
Colin Wallace
89e7d1e758 Merge pull request #2334 from michaelgregorius/2333-inconsistent-tension-knob
Fixes an inconsistent behavior of the tension knob (#2333)
2015-09-10 02:07:58 +00:00
Dave French
d6dbc03ac9 Merge pull request #2321 from Wallacoloo/reserved-names
Remove double-underscore variable prefixes & prefer static member variables over globals
2015-09-09 22:48:55 +01:00
Michael Gregorius
46bac80470 Fixes an inconsistent behavior of the tension knob (#2333)
Until now the tension knob was only disabled for discrete and linear
mode if the cubic hermite mode was selected at least once. This behavior
is fixed with this commit.
2015-09-09 20:03:57 +02:00
Colin Wallace
3f31b5ce25 Merge pull request #2331 from Wallacoloo/FileBrowserRefactor
Refactor FileBrowser's filterItems function
2015-09-08 23:44:52 +00:00
Colin Wallace
da54b9cdb0 Fix tabbing 2015-09-07 17:08:09 -07:00
Colin Wallace
763ca09fb1 Further simplify by removing 'cm' variable 2015-09-07 17:01:55 -07:00
Colin Wallace
0260820dac Remove special showAll case; 'xyz'.contains('') always returns true 2015-09-07 16:46:41 -07:00
Colin Wallace
aad8fcb410 Remove unused class declaration, make pluginBefore a static function 2015-09-07 16:39:07 -07:00
Colin Wallace
aa77443eb1 merge the two filterItems functions into one;
also fix some formatting + use 'Pattern Editor' instead of 'B&B Editor' in context menu
2015-09-07 16:36:25 -07:00
Colin Wallace
0d8a0330c2 Merge pull request #2328 from michaelgregorius/2327-tension-crash
Fixes for the tension dial (crash + missing update)
2015-09-07 22:21:30 +00:00
Michael Gregorius
6b9ff4e9d3 Fixes for the tension dial (crash + missing update)
Fixes a crash that occurred when the tension dial of the automation
editor was moved when no pattern was loaded.

Also added a missing update of the tension dial when the automation
patterns are switched.
2015-09-07 20:40:16 +02:00
Colin Wallace
86d0f94882 Merge pull request #2320 from Wallacoloo/flanger-units
Fix units in Flanger plugin
2015-09-07 01:06:36 +00:00
Colin Wallace
6a9e105c90 Const-correctness fixes 2015-09-06 15:04:46 -07:00
Colin Wallace
68da3ad64f Remove duplicated code in note move/resize cursor calculation;
also breaks apart a lengthy conditional into calculationss that are easier to understand.
2015-09-06 14:40:36 -07:00
Colin Wallace
8504633103 Remove duplicated scrolling code from keyPressEvent() 2015-09-06 13:54:53 -07:00
Colin Wallace
a32368cc3a Display pan/volume on wheel event if all edited notes have same pan/volume;
previous behavior was to display the value only if one note was being edited
2015-09-06 13:27:32 -07:00
Colin Wallace
f568f7b4a4 Formatting/tabbing fixes 2015-09-06 13:14:38 -07:00
Colin Wallace
a8fa9b75a1 Simplify conditional by initializing vol/pan to defaults 2015-09-06 13:12:08 -07:00
Colin Wallace
ebc606aaf2 Move vol/pan s_textFloat handling code into separate functions;
this avoids some code duplication & makes the mouseevent/wheelevent functions slightly smaller
2015-09-06 13:09:23 -07:00
Colin Wallace
8a4e59defb Merge pull request #2289 from Wallacoloo/midi-guicore
Consolidate midi config widgets & move them out of the core
2015-09-06 18:11:58 +00:00
Raine M. Ekman
3de65556f2 Make the Win32 version use SSE math, with the performance benefits it brings.
Denormal protection alone should be worth it.
2015-09-06 12:28:26 +03:00
Colin Wallace
db820e5255 Remove double-underscore prefix from __fileEncodeDevices & make it a static member variable;
this helps to reduce pollution of the global namespace
2015-09-05 22:28:18 -07:00
Colin Wallace
1944499fa3 remove double-undercscore prefix from portName function 2015-09-05 22:00:14 -07:00
Colin Wallace
b53e7a7fbe Rename __targetNames to targetNames, and make it a static member variable 2015-09-05 21:54:06 -07:00
Colin Wallace
39133ab0ea Move update_1_2_0() functionality into upgrade_1_1_90();
Next release candidate will be named 1.1.90
2015-09-05 21:38:36 -07:00
Colin Wallace
602983f664 Change unit label for Flanger LFO knob to 'Hz'; delay knob units are 's' 2015-09-05 16:30:33 -07:00
Colin Wallace
f6b696fa0f Don't use underscore parameter names in value, setValue functions 2015-09-05 11:38:30 -07:00
Colin Wallace
0f2da6f68b Provide upgrade path to copy the MidiAlsaRaw 'Device' property to new 'device' 2015-09-05 11:38:29 -07:00
Colin Wallace
697aebc056 Consolidate midi config widgets & move them out of the core 2015-09-05 11:38:29 -07:00
Colin Wallace
e606e30486 Merge pull request #2299 from Umcaruje/emptytemplate
Add an Empty template
2015-09-05 18:31:40 +00:00
Colin Wallace
cbf6d24e8f Fix const-correctness in FxMixer::channelSendModel 2015-09-02 21:17:35 -07:00
Colin Wallace
45c4aa6a68 Merge pull request #2278 from michaelgregorius/metronome-improvements
Improved metronome (on/off during song, pattern and bb playback)
2015-08-29 17:15:14 +00:00
Michael Gregorius
5b2e77b444 Improved metronome (on/off during song, pattern and bb playback)
There is a new tool button that can be used to turn the metronome on and
off. Per default the metronome is turned off. When enabled the metronome
will during on song playback, pattern playback and BB playback. During
export it is ignored.

A new icon was added as well.

The state is currently stored in the Mixer. It might make sense to put
the metronome configuration in its own class in the future. The state is
currently not stored in the file but this might be a good choice for now
until a better place is found for the metronome data.

Also removed some repeated calls to Engine::getSong() and
Engine::fxMixer().
2015-08-29 15:04:41 +02:00
Umcaruje
da2b01b5a3 Add an Empty template 2015-08-29 01:05:45 +02:00
Colin Wallace
548a9196b4 Increase pitch range knob limit to 60. Fixes #2250 2015-08-27 21:39:31 -07:00
Colin Wallace
8fd5fe90d2 Merge pull request #2273 from michaelgregorius/2272-template-fixes
Fixes #2272 and other problems with the templates
2015-08-26 17:16:38 +00:00
Michael Gregorius
abbd7c48cf Switch local variable to camel case 2015-08-26 18:59:31 +02:00
Colin Wallace
c99c6eeea9 Merge pull request #2135 from michaelgregorius/alsa-combobox
Partial fix for #1600: ALSA device can be selected using a combo box
2015-08-26 03:21:48 +00:00
Tres Finocchiaro
de40aa81ce Minor CLI fixes
Closes #2258
2015-08-24 16:25:40 -04:00
Colin Wallace
9fd8c07820 Show '<not supported on this plaform>' message during cmake config if AppleMidi is not supported 2015-08-23 20:15:29 -07:00
Colin Wallace
35486293e3 Merge pull request #2222 from michaelgregorius/2209-font-sizes-too-small
2209 font sizes too small
2015-08-23 01:35:45 +00:00
Colin Wallace
123de3aade Add missing include necessary for Qt5 compilation 2015-08-22 00:36:39 -07:00
Tres Finocchiaro
c68f31aeda Add horizontal scroll support to SongEditor
Closes #2275
2015-08-21 21:23:03 -04:00
Tres Finocchiaro
cfbd53fb50 Detect fluid executable even when CMake can't
Closes #2260
2015-08-21 20:39:00 -04:00
Michael Gregorius
4571d14029 Prevent resizing of the "Controls" button
The "Controls" button will now keep its minimal size when the
ControllerView is resized.
2015-08-18 18:23:40 +02:00
Tres Finocchiaro
618828a9b6 Merge pull request #2266 from michaelgregorius/2262-render-check-file
Fixes #2262
2015-08-17 16:47:13 -04:00
Michael Gregorius
4883c579a5 Check the existence of an input file that is to be rendered (#2262)
Added a check for the existence of the file that should be rendered from
the command line. LMMS now exits with an error message in case the file
does not exist.
2015-08-17 22:25:19 +02:00
Tres Finocchiaro
21ff5333dc Merge pull request #2251 from M374LX/iss2204
Fix SF2 pitch and gain problems
2015-08-17 15:30:59 -04:00
Tres Finocchiaro
4c04fb06ba Merge pull request #2271 from tresf/homebrew
Initial Homebrew on OSX Lion patch
2015-08-17 13:02:33 -04:00
tresf
2035ff3e3c Initial Homebrew on OSX Lion patch 2015-08-17 12:39:41 -04:00
Michael Gregorius
bc1a416cd1 Added an option to save a project as the default template
A new option to save a project as the default template is now available
in the file menu. If the default template already exists the user is
asked whether he wants to overwrite it.
2015-08-16 16:18:38 +02:00
Michael Gregorius
8c93b6bfee Fixes #2272 and other problems with the templates
Removes the non-intuitive saving of the default template in
MainWindow::createNewProject.

Other fixed problems:
* User entries were not shown in the menu of the tool button that
creates new projects from templates. Now they are shown as well.

Other changes:
* Adds a new option "New from template" in the file menu. It shows the
same menu as the tool button.
2015-08-16 15:46:10 +02:00
Michael Gregorius
ef449f5bae Remove the horizontal scrollbar from controller rack view
Removes the potential horizontal scrollbar from the controller rack
view.

Also sets the MDI window of the controller rack to a bigger size in the
constructor and moves it towards the other windows. This code is active
in the case where there is no default template from which the window
states are loaded.
2015-08-16 09:39:00 +02:00
Colin Wallace
5449706527 Merge pull request #2261 from M374LX/improve-main
main(): improve error handling and clean up code
2015-08-15 10:51:08 -07:00
Tres Finocchiaro
5375bda6ac Fix incorrect calculation of IntBits
Fix over-shifting of int by explicitly making type ULL.
Taken from upstream:
aaca6447de
2015-08-15 13:23:32 -04:00
Tres Finocchiaro
6df512dc76 Merge pull request #2267 from M374LX/bbeditor-default-template
Enable it to hide BB Editor in default template
2015-08-15 12:34:20 -04:00
M374LX
6966559600 Make it able to hide BB Editor in default template 2015-08-14 21:50:57 -03:00
Tres Finocchiaro
30d906542c Merge pull request #2265 from NeiroNext/translation
Add Ukrainian translation
2015-08-14 11:26:57 -04:00
NeiroNext
6aa8269542 Add Ukrainian translation 2015-08-14 17:06:11 +03:00
M374LX
8bb7b71aab Improve error handling 2015-08-13 22:50:46 -03:00
M374LX
c7b867c2a0 Fix errors and capitalization in the output of "--help" 2015-08-13 22:21:34 -03:00
M374LX
dc1a12ab33 Improve error handling 2015-08-13 22:16:07 -03:00
M374LX
b8f2e6c715 Further adjust coding conventions 2015-08-13 21:22:50 -03:00
M374LX
45c506c79d Start refactoring main() 2015-08-13 21:19:34 -03:00
Tres Finocchiaro
28018ad206 Merge pull request #2207 from tresf/2206-ladspa-fix
Fix init of LADSPA plugins on some platforms
2015-08-13 14:29:05 -04:00
Tres Finocchiaro
f7a61aea0c Merge pull request #2210 from tresf/2201-root-refactor
Cleanup root directory
2015-08-13 14:15:05 -04:00
Tres Finocchiaro
3114ccea26 Cleanup root directory
Cleans up the root directory of the GitHub source tree and starts to separate platform-specific installing and packaging logic from the master CMakeLists.txt.  Closes #2201
2015-08-13 11:37:47 -04:00
Alexandre Almeida
6cb451abbe Fix SF2 gain problems when exporting
Fix the SF2 gain problems that persisted in issue #2204
2015-08-12 21:30:05 -03:00
Tres Finocchiaro
9819900aca Merge pull request #2131 from michaelgregorius/cmd-loop-render
Fixes issue #2129 ("can't export as loop with CLI")
2015-08-12 11:39:43 -04:00
Michael Gregorius
02f9447467 Fixes issue 2129 ("can't export as loop with CLI")
Adds a new command line option to render a song as a loop ("-l", "--
loop-mode").

Also cleaned up the code which parses the command line options by
pulling out methods that print the version and the help.

Updated man page: Added the new option to command line render a loop. Updated
the data of the man page and the URLs.

Added information about option to bypass root user check on startup

Calculate the copyright year dynamically

The command line options for help and version info both print the
copyright as "2004-2014". Until now the value for the second year had to
be adjusted manually. With this patch they are computed dynamically so
that the current year will always be used.
2015-08-12 17:28:31 +02:00
M374LX
3f326b81fc Fix #2204 2015-08-11 23:47:34 -03:00
Colin Wallace
ed6ee790ae Merge pull request #2238 from Wallacoloo/prompt-workingdir2
Fix 'create working dir' prompt & move it from ConfigManager to GuiApplication
2015-08-10 19:19:01 -07:00
Colin Wallace
65467eb66c Merge pull request #2237 from M374LX/iss1878
Fix #1878
2015-08-09 09:08:25 -07:00
Colin Wallace
ba7908f79c Merge pull request #2228 from rageboge/midi_apple
#1153 (Apple) MIDI Support
2015-08-09 08:39:53 -07:00
Alexandre Almeida
6944b520ea Add a MINIMUM_BUFFER_SIZE constant 2015-08-09 11:50:24 -03:00
Alexandre Almeida
2f24d635c3 Add a MINIMUM_BUFFER_SIZE constant and comments 2015-08-09 11:50:12 -03:00
Maurizio Lo Bosco
275bcb52df #1153: added basic apple midi support 2015-08-09 09:59:12 +02:00
Colin Wallace
4d3250bb42 Fix 'create working dir' prompt & move it from ConfigManager to GuiApplication;
also sets the default choice to 'yes' (do create directories) instead of 'no'
2015-08-05 20:14:02 -07:00
Alexandre Almeida
c73edc5d94 Adjust coding conventions 2015-08-05 20:50:10 -03:00
M374LX
18b6f20c29 Fix #1878 2015-08-05 20:42:10 -03:00
Colin Wallace
ef411b2d81 Merge pull request #2226 from ThomasJClark/master
Don't use native file saving/loading dialogs
2015-08-05 07:33:00 -07:00
Colin Wallace
5aebd3b877 Merge pull request #2215 from Wallacoloo/include-check-rm
Remove unused include file checks
2015-08-04 21:29:02 -07:00
Tom Clark
e5b5ebbda4 Don't use native file saving/loading dialogs
LMMS tries to modify the save dialog, This causes a segfault if native
file dialogs are used instead of the Qt ones.  At least on Linux, Qt 5
seems to make file dialogs native by default, so LMMS is unable to save
projects when compiled with -DWANT_QT5=true.
2015-07-30 22:10:47 -04:00
Michael Gregorius
fa5c0c1569 Fixes the rendering of the tact numbers in the timeline
Fixed the rendering of the tact numbers in the timeline widget. Before
this fix they were not readable because they were too big. Interestingly
in this case the fix is to use a font size in pixels (half the height of
the widget). The numbers are now also rendered a bit darker than the
lines.

Also removed the pixmap for the timeline from the code and from the
filesystem. It was only used to determine the fixed height of the widget
but not rendered. Therefore it was removed and the height is now
directly set to 18 pixels which was the height of the pixmap.
2015-07-30 22:32:38 +02:00
Michael Gregorius
76e4859ef0 Get rid of hardcoded pixel sizes in the plugin browser and side bar
The PluginDescWidget doesn't use calls to pointSize anymore. Also the
name of the plugin is only painted bold when hovered over with the
mouse. The animation speed was increased a bit as well. Hope it is not
too fast for displays with smaller resolutions. The problem with the
current implementation is that it increases the height by incremental
steps of 1 pixel (triggered by a QTimer) which gives a slower speed on
high DPI displays. In the future this implementation might be improved,
e.g. by using the animation classes provided by Qt.

The SideBarWidget also does not use calls to pointSize anymore. Instead
the standard font is increased by 2 (typographical) points and then
rendered at the right place using information from QFontMetrics. In the
long run the header of the SideBarWidget should be organized using a
layout, e.g. a layout with one QLabel to render the icon and one QLabel
to render the header text. This would ensure that the black background
would always be large enough and that the fonts do not protude into the
actual content.
2015-07-30 21:08:35 +02:00
Michael Gregorius
cd0176b5af Controllers are rendered more dynamically
ControllerRackView now uses a layout to organize the ControllerViews.
The ControllerViews in turn use layouts to organize their widgets
(labels and push button). ControllerView now inherits from QFrame
instead of QWidget. The (static) background image for controllers was
deleted because the ControllerView can now be resized dynamically.

Song: Added specific signals for added and removed controllers. Also
removed a TODO by putting the functionality to remove all controllers in
a method (removeAllControllers).

Deleted Controllers now don't unregister from Song during deletion. This
has to be done by the client (Hollywood principle - "Don't call us, we
call you.").

TODO: For some strange reason I cannot programmatically resize the
controller rack to make it fit the controllers on my screen.
2015-07-29 22:35:06 +02:00
Tres Finocchiaro
2294614180 Merge pull request #2203 from Wallacoloo/lmms_spec_in_changelog
Remove "Changelog" section of lmms.spec.in
2015-07-29 16:33:13 -04:00
Michael Gregorius
27c5295388 Get rid of too small fonts in all file browsers
Removes one of the several calls to pointSizeF. This method seems to
return a font which has the same height in pixels on all displays
(regardless of the display's actual DPI value). In the long run these
calls will all have to be removed to make LMMS usable on high DPI
displays.
2015-07-29 14:34:20 +02:00
Colin Wallace
95d404ddef Merge pull request #2216 from Wallacoloo/extension-calc
Calculate rendering extension on a separate line
2015-07-28 12:28:53 -07:00
Lukas W
5592d07c80 Find data directory when in development
This allows to just run "./lmms" during development, without installing
or specifying a data path.

Related: #1719 #1958
2015-07-28 12:48:10 +02:00
Colin Wallace
e9879797e3 Calculate rendering extension on a separate line 2015-07-27 05:44:59 +00:00
Colin Wallace
6948ff086a Remove unused include file checks 2015-07-26 23:05:39 +00:00
Colin Wallace
f1340249ac Fix version & set changelog to point to online release notes 2015-07-25 19:16:53 +00:00
Colin Wallace
403c36577d Merge pull request #2199 from Wallacoloo/FlpImport1
Fix tab formatting in FlpImport.cpp
2015-07-24 22:20:17 -07:00
Dave
feee39b827 Merge pull request #2198 from curlymorphic/1932
Revert Correct Priority of fade button
2015-07-23 11:48:23 +01:00
Colin Wallace
ca3829317e Fix tab formatting 2015-07-21 03:21:23 +00:00
Colin Wallace
bb55346a29 Merge pull request #2197 from curlymorphic/bbMouseOver
Edit BBEditor Mouse tool tip
2015-07-19 16:56:58 -07:00
Dave French
ac7aa69ad1 Revert Correct Priorty of fade button
reverted changes made in  #1527
copied from Github diff

Fixes #1932
2015-07-20 00:36:01 +01:00
Dave French
362e0e1962 Edit BBEditor Mouse tool tip
Edit the tool tip to remove The Double click top open in piano roll
as per #1776 #1783
2015-07-20 00:00:32 +01:00
Colin Wallace
620b3d9ef1 Merge pull request #2189 from Wallacoloo/upgrade_refactor
Separate DataFile::Upgrade into smaller functions
2015-07-19 14:36:04 -07:00
Colin Wallace
6267e8d0d5 Merge pull request #2188 from Wallacoloo/rm-deprecated-b64
Remove deprecated base64::encode(QVariant) version
2015-07-19 14:34:03 -07:00
Colin Wallace
5db57282da Merge pull request #2187 from Wallacoloo/git-2186
Fixes #2186; double-clicking the Fx Channel selector will show Mixer window if hidden
2015-07-19 14:32:31 -07:00
Colin Wallace
e71f5bbfce Merge pull request #2195 from zonkmachine/missingparenthesis
Fix typo
2015-07-19 11:10:07 -07:00
Oskar Wallgren
f832217393 Stop lupdate from complaining 2015-07-19 18:10:57 +02:00
Dave
24649d4131 Merge pull request #2190 from curlymorphic/2159
Correctly use the ladspa plugin folder
2015-07-19 15:06:24 +01:00
Dave French
367fbe8733 The ConfigManager was Incorrectly loading Ladspa plugin folder.
The default Ladspa plugin folder was incorrect under linux

This pull request fixes this.

Setting Dialog, Ladspa Directory Added leading /

Added a leading / to the lmms/ladspa plugin
Clean the path using QDir::cleanPath()
2015-07-18 07:46:43 +01:00
Colin Wallace
2175a47849 Separate DataFile::Upgrade into smaller functions 2015-07-15 04:11:01 +00:00
Colin Wallace
9840050ae7 Remove deprecated base64::encode(QVariant) version 2015-07-15 03:39:58 +00:00
Colin Wallace
be02fb8576 Fixes #2186; double-clicking the Fx Channel selector will show Mixer window if hidden 2015-07-15 03:04:01 +00:00
Tres Finocchiaro
b1ecbc8036 Fix init of LADSPA plugins on Slackware
Fixes #2206
2015-07-14 20:55:23 -04:00
Colin Wallace
acf6393e70 Merge pull request #2182 from zonkmachine/hideRecoverInRecent
Hide recover.mmp in Recent files
2015-07-13 19:38:14 -07:00
Colin Wallace
1002fd60f0 Merge pull request #2139 from Wallacoloo/git-2138
Export percentage calculation now takes into account loop markers when necessary
2015-07-13 19:12:56 -07:00
Colin Wallace
7786fb1902 Merge pull request #2181 from michaelgregorius/2172-mouse-over-quickfix
Quick fix for #2172 ("mouse-over readout in fx-mixer")
2015-07-13 19:12:21 -07:00
Colin Wallace
d4e578080b Merge pull request #2150 from Wallacoloo/SampleBufferCleanup
Fix deadlock in SampleBuffer
2015-07-13 19:02:23 -07:00
Colin Wallace
ffba37c7f2 Export percentage calc now takes considers loop markers as necessary 2015-07-14 01:53:47 +00:00
Dave
f4120eedd2 Merge pull request #2184 from Wallacoloo/git-2183
Remove old debugging statement
2015-07-13 00:17:30 +01:00
Colin Wallace
03a94a1d5c Remove old debugging statements - fixes #2183 2015-07-12 22:58:25 +00:00
Oskar Wallgren
9f78fa594a Hide recover.mmp in Recent files 2015-07-12 18:36:13 +02:00
Michael Gregorius
6634313014 Quick fix for #2172
The tool tip for the FxLine now shows the name of the channel.
2015-07-12 17:14:03 +02:00
Colin Wallace
3ff55d755c Merge pull request #2151 from Wallacoloo/lockingfixes
Fix race condition in TrackContainer::removeTrack
2015-07-11 19:37:18 -07:00
Colin Wallace
d636d67144 Merge pull request #2178 from Umcaruje/flip-icons
Add automation flip icons
2015-07-11 19:22:23 -07:00
Dave
d9dac72c7f Merge pull request #2158 from Wallacoloo/EqFilterInit
Initialize all fields of EqFilter upon construction
2015-07-11 22:50:35 +01:00
Umcaruje
6da3e14431 Add automation flip icons 2015-07-10 15:41:18 +02:00
Raine M. Ekman
87c15588a1 Merge pull request #2089 from softrabbit/faster_vocoder
Vocoder plugin: refactor for speed
2015-07-08 17:05:51 +03:00
Colin Wallace
468ccb49c1 Merge pull request #2166 from michaelgregorius/2164-volume-slider-broken
Fixes #2164
2015-07-06 13:38:43 -07:00
Colin Wallace
812444a5ac Merge pull request #2165 from zonkmachine/openRecentFix
Recent file menu fixes
2015-07-06 13:16:51 -07:00
Michael Gregorius
e3c645ec53 Fixes #2164
The master volume float was not updated when the master volume was
chamged using the mouse wheel. This commit fixes that problem.
2015-07-06 21:52:25 +02:00
Colin Wallace
3e8169de72 Merge pull request #2152 from Wallacoloo/MidiAlsaSeqFormatting
Fix bad tab-fomatting in MidiAlsaSeq.cpp
2015-07-06 11:09:47 -07:00
Oskar Wallgren
6888952fec recent files hide missing 2015-07-06 19:06:46 +02:00
Lukas W
f770164730 CMake: FindWine: Add aliases for finding winegcc 2015-07-06 17:40:10 +02:00
Colin Wallace
a91e7f72db Merge pull request #2160 from Wallacoloo/ConfigManagerFormattingFix
Fix formatting in ConfigManager.cpp
2015-07-04 22:56:39 -07:00
Colin Wallace
7b4946f79d Fix tabbing mistakes 2015-07-04 22:57:28 +00:00
Colin Wallace
ccc84494fd Merge pull request #2126 from Wallacoloo/MidiTimeRefactor
Refactor MidiTime implementation
2015-07-04 15:52:29 -07:00
Colin Wallace
ea7c96fa71 less repetitive setParameters logic 2015-07-04 01:33:33 +00:00
Colin Wallace
bc3e17eff8 default-initialize EqFilter parameters to 0 2015-07-04 01:29:04 +00:00
Colin Wallace
474b78cdf5 Fix bad tabbing 2015-07-03 04:19:35 +00:00
Colin Wallace
314623c157 fix race condition in TrackContainer::removeTrack 2015-07-03 03:48:49 +00:00
Colin Wallace
7eed8c63b4 fix atrocious formatting 2015-07-03 02:34:48 +00:00
Colin Wallace
d805302f06 Fix deadlock & use QWrite/ReadLockers instead of manually managing locks 2015-07-03 02:20:12 +00:00
Colin Wallace
122204e06b Merge pull request #2146 from michaelgregorius/2144-TrackNameInPianoRoll
Fixes #2144 ("Track name not shown in PianoRoll titlebar")
2015-07-01 20:23:08 -07:00
Michael Gregorius
a98534ac46 Fixes #2144 ("Track name not shown in PianoRoll titlebar")
Moves the code that sets the window title from
PianoRoll::setCurrentPattern to PianoRollWindow::setCurrentPattern which
is the widget that corresponds to the MDI window.
2015-07-01 23:39:51 +02:00
Colin Wallace
225f2c4551 Merge pull request #2142 from Wallacoloo/boopity-boppity
Map missing email to @tresf and 'support@lmms.io'
2015-06-30 08:15:42 -07:00
Colin Wallace
72253b31c8 map email address <ubuntu@ubuntu-1204.(none)> to @tresf & 'Locale Editor' to 'Anonymous' 2015-06-30 05:28:57 +00:00
Tres Finocchiaro
fea942e05d Merge pull request #2141 from midi-pascal/master
Add my second address to .mailmap
2015-06-29 23:01:46 -04:00
midi-pascal
6e4ac33661 Add my second address to .mailmap 2015-06-29 22:23:57 -04:00
Colin Wallace
ebcc837b99 Merge pull request #2127 from Wallacoloo/FxMixer_friends
Enforce tighter permissions in FxMixer
2015-06-29 18:46:51 -07:00
Colin Wallace
de7ad76de6 Merge pull request #2103 from Wallacoloo/git-2087b
Fix for #2087: Issues with saving projects in X11 when one subwindow is maximized
2015-06-29 18:37:56 -07:00
Umcaruje
c3e3271ea2 Merge pull request #2124 from Umcaruje/master-infiles
Update the man page and the windows installer info
2015-06-29 15:53:00 +02:00
Colin Wallace
16d782c1d9 Move MidiTime implementation into .cpp file 2015-06-28 19:25:24 +00:00
Michael Gregorius
5a8dce2650 Fixes most of stuff found in Wallacoloo's code review for #1600
Removal of a superfluous include in AudioAlsaSetupWidget.cpp

Removal of the function "bool hasCapabilities(char *device_name)" which
was not used anyway. It implemented a test for ALSA device capabilities
needed by LMMS (SND_PCM_ACCESS_RW_INTERLEAVED, SND_PCM_FORMAT_S16_LE,
etc.).

Corrected header name in AudioAlsaSetupWidget.h.

Created an implementation file for AudioDeviceSetupWidget to make more
clear that it's part of the GUI.

Fix build for builds that use Port Audio. The setup widget of
AudioPortAudio.h still inherited from AudioDevice::setupWidget instead
of the new AudioDeviceSetupWidget.
2015-06-28 00:24:23 +02:00
Michael Gregorius
37c4da81b5 Final version that lets the user select the ALSA device with a combo box
This version lets the user select the ALSA device to use with a combo
box. It does not check whether the device works for the parameters that
LMMS uses (SND_PCM_ACCESS_RW_INTERLEAVED, SND_PCM_FORMAT_S16_LE, etc.).
Doing these checks while compiling the list of available devices led to
strange effects which are likely caused by the fact that the PCM device
has to be opened to query its capabilities. This in turn led to error
messages a la "Resource or device busy" when testing the new
functionality repeatedly.

However, having a combo box to select devices from should be a good step
forward compared to a simple line edit. :)
2015-06-27 20:07:26 +02:00
Michael Gregorius
27653b713b Moves the probing code for available devices into the ALSA driver 2015-06-27 16:42:17 +02:00
Michael Gregorius
79cae31b5b Some refactoring to enable signals in audio driver setup dialogs
Moved AudioDevice::setupWidget into its own class AudioDeviceSetupWidget
which logically should belong to the GUI (unfortunately the include
structure does not make this obvious).

For the ALSA driver there is an implementation AudioAlsaSetupWidget
which provides a combo box for selection of the card and device.

All other driver widgets have been changed to inherit from
AudioAlsaSetupWidget but have not been changed otherwise.

SetupDialog has been adjusted to keep a map of AudioAlsaSetupWidgets
now.
2015-06-26 17:14:47 +02:00
Michael Gregorius
ad70c99d96 Populate and show a combo box of available ALSA cards and devices
Shows a combo box with the available ALSA cards and devices instead of a
line edit. The problem currently is that the widgets are nested classes
of AudioDevice and therefore the macro Q_OBJECT does not work which
means that its not possible to define slots that react to retrieved
signals.
2015-06-26 00:06:34 +02:00
Colin Wallace
d0c38960b8 Merge pull request #2133 from zonkmachine/knob-update
Update knob after changing response 'lin/log'
2015-06-24 19:32:41 -07:00
Oskar Wallgren
31e9ce2922 Update knob after changing response 'lin/log' 2015-06-25 00:09:08 +02:00
Colin Wallace
ce7c9a5b8c Merge pull request #2111 from Wallacoloo/git-2110
Fix wording inconsistency in View menu (~~Show/Hide~~ Controller Rack)
2015-06-22 19:11:08 -07:00
Umcaruje
dcde377fd4 Update the man page and the windows installer info 2015-06-22 15:43:40 +02:00
Colin Wallace
2e010141ad Remove FxMixer friendship privileges from FxMixerView and MixerWorkerThread 2015-06-22 03:01:49 +00:00
Colin Wallace
18e1d69cac Offload most Midi processing from Song into MidiTime class 2015-06-22 00:53:24 +00:00
Colin Wallace
8edfdc0543 Remove unused function 'isTempoAutomated()' 2015-06-22 00:17:17 +00:00
Colin Wallace
335b1c1c75 const-correctness for Song::getPlayPos() 2015-06-22 00:15:30 +00:00
Colin Wallace
546cb17e5f Simpler nextFullTact() algorithm 2015-06-21 22:55:14 +00:00
Lukas W
a6f74c2423 Readme: Remove section about latest release 2015-06-21 18:51:21 +02:00
Lukas W
31368699ec Merge pull request #2108 from LMMS/travis-qt5
Travis QT5
2015-06-21 16:22:27 +02:00
Lukas W
8b0b2df38e Fix compilation for Qt 5.0 2015-06-21 15:41:26 +02:00
Lukas W
baf883d808 Travis: Add Qt5 job 2015-06-21 14:15:42 +02:00
Colin Wallace
707c9cbb87 Put opening brace on its own line 2015-06-20 23:12:22 +00:00
Colin Wallace
9c392e918c Merge pull request #2119 from ThomasJClark/master
Check for valid pattern when focussing out pianoroll
2015-06-20 16:10:48 -07:00
Colin Wallace
dad4e8ef10 Merge pull request #2105 from Wallacoloo/doc_typos
Correct filenames within documentation strings
2015-06-20 15:28:55 -07:00
Thomas Clark
cdeba9c651 Check for valid pattern when focussing out pianoroll
This prevents a segmentation fault when closing an empty piano roll,
fixing issue #2050.
2015-06-19 21:21:38 -04:00
Lukas W
96a1d412dd Merge pull request #2116 from Wallacoloo/rm-legacy-friends
Removed legacy friend declarations
2015-06-18 10:00:26 +02:00
Colin Wallace
c112e50ddd Removed legacy friend declarations 2015-06-18 03:23:43 +00:00
Tres Finocchiaro
05d4b1398d Merge pull request #2006 from softrabbit/midi_import
Midi import: various small improvements
2015-06-17 15:48:27 -04:00
Colin Wallace
766c9d0cd5 Update outdated translation sources for View menu 2015-06-17 03:12:23 +00:00
Colin Wallace
67105307a4 Update source translations for changed View menu wording 2015-06-17 03:06:52 +00:00
Colin Wallace
71389bfc5a Fix wording consistency in View menu (~~Show/Hide~~ Controller Rack) 2015-06-17 02:54:25 +00:00
Lukas W
aaaa11c943 CMake: Add Qt5 include directories
Fixes #2107
2015-06-16 17:23:18 +02:00
Lukas W
4d4f0ed438 CMake proper version comparison 2015-06-16 16:55:38 +02:00
Lukas W
ca746e50f9 Merge pull request #2106 from Wallacoloo/remove-hasGUI
Replace 'Engine::hasGUI()' with 'gui != nullptr'
2015-06-16 14:26:08 +02:00
Colin Wallace
860d419c14 Replace 'Engine::hasGUI()' with 'gui != nullptr' 2015-06-16 05:40:05 +00:00
Colin Wallace
8a145b6baf Merge pull request #2097 from zonkmachine/mallets-spam
Stop mallet spamming the terminal
2015-06-15 17:00:06 -07:00
Colin Wallace
81164e91a9 Correct filenames within documentation strings 2015-06-15 23:52:13 +00:00
Colin Wallace
be564efb1e Add missing EXPORT directives for new SubWindow class 2015-06-15 23:41:08 +00:00
Lukas W
4f40583cfb Merge pull request #2102 from zonkmachine/organic-wave-lables
Fix Organic wave labels
2015-06-15 10:39:26 +02:00
Lukas W
61a9e9de02 Merge pull request #2104 from Wallacoloo/init_m_fb
Properly initialize InstrumentTrack::m_fb
2015-06-15 10:30:52 +02:00
Lukas W
44f8b24fb3 Merge branch 'stable-1.1'
# Conflicts:
#	include/PianoRoll.h
#	src/gui/editors/PianoRoll.cpp
2015-06-15 10:11:53 +02:00
Colin Wallace
eaf6ad35d8 Connect slots *after* initializing members 2015-06-15 06:48:04 +00:00
Colin Wallace
2616269b68 initialize m_fb to NULL 2015-06-15 06:33:41 +00:00
Colin Wallace
908591ba7d Have MainWindow and others make use of the new SubWindow class 2015-06-15 03:32:25 +00:00
Colin Wallace
7cc917cc06 Added SubWindow class to compensate for incorrect behavior of normalGeometry() method on X11 2015-06-15 03:29:59 +00:00
Lukas W
8b9868e0e5 Merge branch 'cmake_dist'
# Conflicts:
#	src/gui/FileBrowser.cpp
2015-06-14 21:38:12 +02:00
Oskar Wallgren
91aafceba5 Fix Organic wave labels 2015-06-14 09:23:39 +02:00
Dave
979fa2fb93 Merge pull request #2048 from Wallacoloo/issue-2015-4
Reorder Editor/Song destruction order to prevent bad memory accesses
2015-06-13 11:37:22 +01:00
Oskar Wallgren
5fabdfdb20 Stop mallet spamming the terminal 2015-06-13 00:55:27 +02:00
Dave
6c934d6aae Merge pull request #2096 from curlymorphic/i1660
Remove MessageBox warning of incomplete stk installation from mallets
2015-06-12 22:09:24 +01:00
Dave French
d6ff89af68 Remove MessageBox waring of incomplete stk instalation from mallets
The merge of stable 1.1 into master introduced the messagebox into the incorrect
place in the code. It is alrady present in the correct place in master,
 so simply removed the extra instance.

This stops the segfault and fixes #1660
2015-06-12 20:46:04 +01:00
Tres Finocchiaro
4142a55f5f Merge pull request #2095 from curlymorphic/i2094
No longer try to validate sf2 and gig files
2015-06-12 13:58:39 -04:00
Dave French
0c205ba504 Nolonger try to validate sf2 anf gig files
Removed trying to validate non lmms files when clicked in the file browser.
This had been the cause of erronus dialog box, and caused a bug, not allowing
drag and drop of sf2 files.

fixes #2094
2015-06-12 18:21:09 +01:00
Tres Finocchiaro
90dd8b2abb Merge pull request #2091 from softrabbit/issue1812
Don't save templates in "recently opened" list
2015-06-11 09:48:47 -04:00
Raine M. Ekman
d9193960fc Coding style fixup. 2015-06-11 10:27:09 +03:00
Raine M. Ekman
f896316de4 ConfigManager: Don't add templates to "recent files" list
Fixes #1812.
2015-06-11 10:19:48 +03:00
Tres Finocchiaro
ecbeaf788c Merge pull request #2065 from midi-pascal/master
Add and correct some French translation
2015-06-10 13:08:00 -04:00
Raine M. Ekman
222ce7ba23 Vocoder plugin: refactor for speed
Changing from arrays of structs to structs of arrays makes the
code a lot more optimizer-friendly, with possible speed gains of
2-3x when compiling for SSE systems.
2015-06-10 19:29:57 +03:00
midi-pascal
fa498caf5c Add and correct some French translation
The translation of the instrument plugins description does not work in Instruments pluginBrowser

Translation of the effect plugins description not showing in effects selector

Replace tabs with spaces in the fix indentation (as Tres request)

More French translations added

Remove the call to tr() inside the macro makeknob (DualFilterControlDialog.cpp) and tr() the strings before calling makeknob
Fix DualFilter description (was labeled as "A native amplifier plugin") (DualFilter.cpp)
Add French translation for the Dual filter knobs.

Move tr() out of macro's so lupdate find them for translation (extract litterals in "ts" file).
Full French translation of Monstro :-)

Make NES translatable (some tr() missing)
Remove tr() from macros (litterals not extracted by lupdate
Translate NES to French

Translate Watsyn Synth as others

Missing Q_OBJECT in DelayControlsDialog definition prevents its translation
Translate Delay plugin to French

Make EqControlsDialog translatable

Fix selected-note volume bug

Closes #2070

Fix a typo in French translation.

Add EqControlsDialog.h to the MOCFILES list in Eq CMakeLists.txt

Remove definition of slot updateVuMeters() in EqControlsDialog.h which is not implemented
2015-06-10 09:07:55 -04:00
Tres Finocchiaro
5265ec988f Merge pull request #2069 from BaraMGB/preset
Sets Focus to InstrumentTrackWindow
2015-06-02 13:43:44 -04:00
Lukas W
cc454b2b53 Fix pixmap discovery 2015-05-30 22:59:18 +02:00
Lukas W
422fbbc8d3 Merge branch 'master' into cmake_dist
# Conflicts:
#	include/ConfigManager.h
#	include/Engine.h
#	plugins/CMakeLists.txt
#	plugins/vst_base/CMakeLists.txt
#	plugins/vst_base/Win64/CMakeLists.txt
#	src/core/Engine.cpp
2015-05-30 22:59:06 +02:00
Tres Finocchiaro
f403299460 Fix selected-note volume bug
Closes #2070
2015-05-24 13:55:09 -04:00
Steffen Baranowsky
0e5c6aeaf8 Sets the Focus to the InstrumentTrackWindow if a preset or a sample droped to it. 2015-05-24 02:30:58 +02:00
Tres Finocchiaro
a644183a57 Merge pull request #2062 from midi-pascal/master
Issue #2061Sf2Player: Chorus tooltip assigned to reverb
2015-05-19 20:32:30 -04:00
pascal
46f72d97ce Issue #2061
Sf2Player: Chorus tooltip assigned to reverb
2015-05-19 19:26:58 -04:00
Raine M. Ekman
c4f4fe3657 MIDI import: i18n in default track names, control names for automation tracks 2015-05-18 21:54:21 +03:00
Colin Wallace
12f299bb9e Reorder Editor/Song destruction order to prevent bad memory accesses (issue #2015) 2015-05-12 18:56:58 +00:00
Raine M. Ekman
22b1e4fb4c Clarified the reason for qApp->processEvents(),
changed an odd type juggling into something slightly saner.
2015-05-05 22:21:33 +03:00
Raine M. Ekman
542250e127 MIDI import: set default pitch bend range to +/-2 semitones
AFAIK, this is how the General MIDI standard says it should be.
2015-05-05 12:25:13 +03:00
Raine M. Ekman
06d87174e4 MIDI import: call qApp->processEvents(); before creating tracks
This should keep LMMS responsive from the window managers POV, unless
the user selects a huge enough default sound font that loading it
takes too long.
2015-05-05 12:25:12 +03:00
Raine M. Ekman
61ab0ed093 MIDI import: add naming of AutomationTracks
Name the automation tracks like "[MIDI trackname] CC ##". And don't
call the automation track creation function for every CC event, as
it now will involve constructing a QString.
2015-05-05 12:25:12 +03:00
Raine M. Ekman
2a72d5f119 MIDI import: ensure minimum note length 1 tick
Too short notes had their duration rounded down to 0 on import,
as MIDI precision allows way shorter notes than LMMS, and
portsmf reports the duration as a double, where a beat == 1.0.

Was going to use ceil() first, but that might round some notes
up to a slightly longer duration.
2015-05-05 12:25:12 +03:00
Raine M. Ekman
ff44854cde MIDI import: don't call AutomationPattern::addObject all the time
Should be enough to add the object to the automation pattern only once,
as the objModel variable that is added will always be the same for the
same value of ccid, which indexes the ccs array.

This will speed up creation of automation tracks for MIDI CCs and pitch
bend.
2015-05-05 12:25:12 +03:00
Tres Finocchiaro
2f969c1e1c Merge pull request #2033 from michaelgregorius/2028-slow_midi_import
Solves issue #2028 (Slow MIDI import due to repeated message)
2015-05-05 00:31:08 -04:00
Michael Gregorius
cbf4e59691 Yet another tab correction
The wrong settings concerning tabs in QtCreator lead to bad display of
the code in other editors.
2015-05-04 19:37:54 +02:00
Michael Gregorius
3e72793465 Fixes the wrong tab spacing for #2028 2015-05-03 22:19:42 +02:00
Michael Gregorius
53f5ef1980 Solves issue #2028 (Slow MIDI import due to repeated message)
AutomationPattern::addObject now returns a boolean which indicates
whether the object was added or not. This change enables the removal of
the error message that is shown in the case that a model is already
connected from AutomationPattern::addObject. Instead all interactive
callers now check for the return value and show the message in case it
is needed.

This change set improves the import of MIDI files significantly. These
have been slowed down quite a lot due to the message being shown
repeatedly during the MIDI import.
2015-05-03 19:22:47 +02:00
Tres Finocchiaro
9f95c041b6 Merge pull request #1987 from Wallacoloo/instrument-nav-btns
Add instrument switcher buttons to InstrumentTrackWindow
2015-05-02 00:29:56 -04:00
Colin Wallace
26fc16b78b Implementation of next & previous instrument buttons in InstrumentTrackWindow 2015-05-02 02:09:57 +00:00
Tres Finocchiaro
388dfbc38c Merge pull request #2027 from BaraMGB/#1866
Add a focusOutEvent to PianoRoll as fix for Issue #1866
2015-04-30 10:26:19 -04:00
Steffen Baranowsky
aaed66eceb Add a focusOutEvent to PianoRoll as fix for Issue #1866 2015-04-29 14:11:37 +02:00
Tres Finocchiaro
9888cb9069 Merge pull request #2024 from Wallacoloo/browser-ctrl-f
Add ctrl+f shortcut to FileBrowser & default focus to filter widget when opened
2015-04-29 00:01:12 -04:00
Colin Wallace
c8a0d51a43 revert changes that caused FileBrowsers to steal focus when opened 2015-04-29 02:06:44 +00:00
Colin Wallace
fe3ca6aa76 Use QKeySequence::Find in place of Ctrl+F 2015-04-29 01:53:34 +00:00
Colin Wallace
616de244cc add ctrl+f shortcut to FileBrowser & default focus to filter widget when opened 2015-04-28 07:08:35 +00:00
Tres Finocchiaro
c35cfd2672 Merge pull request #2022 from Wallacoloo/os-shortcuts
Use OS-default shortcuts where applicable
2015-04-28 04:50:07 +00:00
Colin Wallace
9b6aaf058e Use OS-default shortcuts where applicable, but ensure both ctrl+y and ctrl+shift+z activate redo 2015-04-28 04:11:00 +00:00
Tres Finocchiaro
c9c26b1c69 Merge pull request #1975 from curlymorphic/delaywhine
Delay and Flanger, removed noise from delay when automating length
2015-04-27 19:20:10 +00:00
Tres Finocchiaro
6428c7a9c8 Merge pull request #1915 from Wallacoloo/master
Provide status messages on splash screen when loading (#1696)
2015-04-27 18:40:36 +00:00
Tres Finocchiaro
df9a1537b3 Merge pull request #2009 from Wallacoloo/undo-redo-greyout
Grey out edit->undo/redo actions if there's nothing left to undo/redo
2015-04-27 18:17:42 +00:00
Tres Finocchiaro
6c615dbcd4 Merge pull request #2021 from tresf/master
Minor formatting fixes in ConfigManager
2015-04-27 17:35:49 +00:00
Tres Finocchiaro
3eafcd0a58 Merge pull request #2020 from tresf/master
Remove Win32 GetSpecialFolderPath ; fix windows builds
2015-04-27 16:45:13 +00:00
Tres Finocchiaro
bdf7cce0d6 Merge pull request #2018 from softrabbit/denormal_refactor
Denormal protection refactoring
2015-04-27 12:54:47 +00:00
Tres Finocchiaro
a618f59418 Merge pull request #2017 from Wallacoloo/rm-song-playtrack
Remove unused code in Song.cpp
2015-04-27 12:46:50 +00:00
Raine M. Ekman
cb89750915 ...and add the new denormals.h file too. 2015-04-27 13:04:26 +03:00
Raine M. Ekman
dc67449175 Move the denormal protection routine to one place instead of 3 2015-04-27 13:02:07 +03:00
Colin Wallace
57cdfe1b66 Remove unused Mode_PlayTrack and m_trackToPlay 2015-04-27 06:33:22 +00:00
Colin Wallace
d9c2be73fa Remove unused function Song::playTrack 2015-04-27 06:24:47 +00:00
Tres Finocchiaro
b6643f83d4 Merge pull request #2010 from Wallacoloo/issue-1905
Fix behavior of shift+dragging note ends
2015-04-27 00:26:03 +00:00
Vesa
61c29ada2a fix merge oops 2015-04-26 17:07:27 +03:00
Vesa
d4ab23efef Merge branch 'stable-1.1'
Conflicts:
	.travis.yml
	CMakeLists.txt
	plugins/stk/mallets/mallets.cpp
	plugins/vst_base/CMakeLists.txt
2015-04-26 16:59:01 +03:00
Tres Finocchiaro
bbbe27d874 Merge pull request #2008 from Wallacoloo/recently-opened-project-typo
Fix plurality of 'recently opened project'
2015-04-26 12:37:49 +00:00
Colin Wallace
fd8123488a fix behavior of shift+dragging note ends (issue #1905) 2015-04-26 03:58:12 +00:00
Colin Wallace
035f48fb1d Grey out edit->undo/redo actions if there's nothing left to undo/redo 2015-04-25 22:15:12 +00:00
Colin Wallace
960c05bb32 Fix plurality of 'recently opened project' 2015-04-25 03:18:38 +00:00
Tres Finocchiaro
478bbbd4d0 Merge pull request #1984 from michaelgregorius/1981-midicrash
Might fix 1981 ("Midi Import crash in master branch")
2015-04-24 18:49:26 +00:00
Tres Finocchiaro
c57ba1b22c Merge pull request #1998 from tresf/master
Load file names with utf chars
2015-04-24 12:56:24 +00:00
Tres Finocchiaro
3189354760 Merge pull request #1928 from curlymorphic/1927
Model::isValueChanged correctly returns if sample exactness is used.
2015-04-24 12:55:43 +00:00
Tres Finocchiaro
48291a871e Minor formatting fixes ConfigManager dialog.
- Changed format to match that of surrounding code
 - Removed unecessary QDir() usage
 - Re-introduce `fromLocal8Bit`
2015-04-21 19:31:34 -04:00
Tres Finocchiaro
b19a9dc903 Remove Win32 SHGetKnownFolderPath; fix windows builds
Due to an upstream bug, mingw has issues building with shlobj.h.  This work-around fixes #1952 by falling back to a `getenv()` approach.
2015-04-21 18:09:50 -04:00
Tres Finocchiaro
13f7065b46 Load all file names with utf chars
Fixes #1995
2015-04-21 16:40:58 -04:00
Tres Finocchiaro
e96dff375b Merge pull request #1999 from Wallacoloo/muted-text
Display the 'muted' attribute as "mute" to match the wording of "solo"
2015-04-21 20:22:46 +00:00
Colin Wallace
85b6a92460 Display the 'muted' attribute as "mute" to match the wording of "solo" 2015-04-21 19:12:29 +00:00
Michael Gregorius
2d909462b6 Improved debugging output for unhandled MIDI data
Print as much debug info as possible for unhandled data.
2015-04-20 19:52:44 +02:00
Tres Finocchiaro
35b357f3ce Merge pull request #1988 from Wallacoloo/iph-unused-var
Remove unused m_instrumentTrack variable
2015-04-20 14:40:40 +00:00
Tres Finocchiaro
6e68eca6f8 Merge pull request #1704 from badosu/fix-cloned-track-position
Fix cloned track position
2015-04-20 14:30:09 +00:00
Tres Finocchiaro
f869b35217 Merge pull request #1985 from michaelgregorius/EffectSelectDialog
Show native plugin info in the effect selection dialog
2015-04-20 14:23:33 +00:00
Tres Finocchiaro
fa2cd22e5b Merge pull request #1980 from Wallacoloo/mixer-insert
Add <Insert> keyboard shortcut to create a new FX channel
2015-04-20 04:46:58 +00:00
Tres Finocchiaro
ad9fe1e27a Merge pull request #1989 from Wallacoloo/lfo-controller-dialog-cleanup
Remove unused var CF_LFO_GRAPH_X and outdated commented-out code
2015-04-20 04:43:22 +00:00
Tres Finocchiaro
3910629fc5 Merge pull request #1990 from Wallacoloo/track-unused-vars
remove unused vars: TRACK_OP_BTN_(WIDTH|HEIGHT)
2015-04-20 04:42:00 +00:00
Colin Wallace
954a61f0fc Remove unused var CF_LFO_GRAPH_X and outdated commented-out code 2015-04-20 03:47:49 +00:00
Colin Wallace
f12fa52a69 remove unused vars: TRACK_OP_BTN_(WIDTH|HEIGHT) 2015-04-20 03:37:55 +00:00
Colin Wallace
92d8950fd3 Remove unused m_instrumentTrack variable 2015-04-20 03:17:11 +00:00
Colin Wallace
75dd6fa3e7 Change new mixer channel shortcut to shift+insert 2015-04-20 03:06:41 +00:00
Tres Finocchiaro
8849c11b0a Merge pull request #1979 from curlymorphic/remotecc
ZynSubAddFx routed all MIDI cc messages to channel 0
2015-04-20 01:39:55 +00:00
Michael Gregorius
70b063ba05 Show native plugin info in the effect selection dialog
The effect selection dialog now also shows the information for the native
plugins. This included name, description, author as well as the plugin
icon.

Also removed the group box with the title "Plugin description" because
it should be rather obvious to the user that further information about
the plugin is shown. This removes some clutter from the dialog.
2015-04-19 22:02:13 +02:00
Michael Gregorius
19d641f6b4 Might fix 1981 ("Midi Import crash in master branch")
This commit adds checks for conditions that are asserted during calls to
get_atom_value.

It might fix a crash that is described in 1981. Unfortunately no files
have been attached to that issue. However, I was able to crash LMMS
using a local file and this crash is gone with this fix. So hopefully this
change also fixes the crashes described in 1981.
2015-04-19 17:11:03 +02:00
Tres Finocchiaro
d61075972d Merge pull request #1978 from Wallacoloo/pianorollfocus
Give focus to the PianoRoll widget when its window is opened
2015-04-19 15:06:27 +00:00
Colin Wallace
d146e6fb4a Add <Insert> keyboard shortcut to create a new FX channel 2015-04-18 22:22:35 +00:00
Dave French
2ac6d5df7a ZynSubAddFx routed all MIDI cc messages to channel 0
Lmms routes all midi notes to ZSAF on channel 0, however the CC messages
not routed, and could erronusoly be sent on other channels. This would
lead to ZSAF not acting on these midi commands

This pull request routes All Midi CC messages to channel 0

fixes #1953
2015-04-18 22:46:58 +01:00
Tres Finocchiaro
f9e37f779a Merge pull request #1976 from Wallacoloo/sfxrtypo
Fix 'Squre' typo in sfxr plugin
2015-04-18 21:34:36 +00:00
Colin Wallace
a27bf57d48 Fix typo in initialization progress message 2015-04-18 21:20:22 +00:00
Colin Wallace
382aec66f3 Give focus to the PianoRoll widget when its window is opened 2015-04-18 21:10:10 +00:00
Colin Wallace
eae30ce81f Fix 'Squre' typo in sfxr plugin 2015-04-18 20:17:20 +00:00
Dave French
68edb91fc6 Delay and Flanger updated formatting error 2015-04-18 18:53:11 +01:00
Dave French
4f76241e68 Delay and Flanger, removed noise from delay when automating length
The original delay code, was setting it read index relative to the length
of the delay. This fixes that, now when the length is changed the read
index stays in the correct place in the buffer.
2015-04-18 18:40:41 +01:00
Tres Finocchiaro
435a15d8bf Merge pull request #1938 from softrabbit/view_menu_note_names
View menu: added toggle for piano roll note labels
2015-04-17 21:27:39 +00:00
Tres Finocchiaro
a8da58ec21 Merge pull request #1884 from M374LX/songcomments
Song::processNextBuffer() - add more comments and rename variables
2015-04-17 19:48:32 +00:00
Tres Finocchiaro
ec2368fc5e Merge pull request #1678 from badosu/fix-moving-channels-segfault
Fix segfault when moving channels
2015-04-17 19:41:49 +00:00
Tres Finocchiaro
7c523e6325 Merge pull request #1874 from M374LX/pianoroll-refactor
PianoRoll::mouseReleaseEvent() refactoring
2015-04-17 19:03:49 +00:00
Tres Finocchiaro
6b9851261d Merge pull request #1970 from falkTX/master
Implement NATIVE_HOST_OPCODE_HOST_IDLE in carla plugin
2015-04-17 19:02:23 +00:00
falkTX
64b138b7ad Implement NATIVE_HOST_OPCODE_HOST_IDLE in carla plugin 2015-04-17 20:59:46 +02:00
Tres Finocchiaro
49dccf5a69 Merge pull request #1963 from Wallacoloo/pianorolldeselect
Add ctrl+shift+a to deselect all notes in piano roll (#1488)
2015-04-16 02:49:51 +00:00
Colin Wallace
7e1e506109 Add ctrl+shift+a to deselect all notes in piano roll (#1488) 2015-04-15 23:18:57 +00:00
Tres Finocchiaro
bf8eeaa9f8 Merge pull request #1933 from softrabbit/issue1325
StringPairDrag: encode data as UTF-8 instead of Latin-1.
2015-04-15 13:09:21 +00:00
Tres Finocchiaro
c270c7b701 Merge pull request #1957 from curlymorphic/1822
rebase of pr 1822 build fixes for freebsd
2015-04-15 04:52:54 +00:00
Dave French
e4a4dfd036 rebase of pr 1822 build fixes for freebsd
simply copied and pasted the changes from pr#1822
2015-04-14 20:00:55 +01:00
Tres Finocchiaro
d516c74b73 Merge pull request #1908 from curlymorphic/pathDialog
Re organizing of the user LMMS directory
2015-04-13 21:21:05 +00:00
Tres Finocchiaro
df0e6d6e9d Merge pull request #1897 from geedubess/bugfix_1888
LADSPA Multiband EQ (mbeq_1197) bugfix #1885
2015-04-13 20:33:57 +00:00
Tres Finocchiaro
d05c063b0c Merge pull request #1906 from softrabbit/midi_import_track_names
MIDI import: add support for track names
2015-04-13 20:26:47 +00:00
Tres Finocchiaro
5f8fb2262e Merge pull request #1902 from softrabbit/move_addplayhandles
Sf2player, OpulenZ: addPlayHandle moved to end of constructor.
2015-04-13 20:14:53 +00:00
Tres Finocchiaro
8db0700140 Merge pull request #1951 from tonychee7000/master
Update Chinese translation
2015-04-13 13:13:41 +00:00
TonyChyi
e6fc85230c Update Chinese translation 2015-04-13 10:47:57 +08:00
Lukas W
aae17dcf12 Merge pull request #1943 from curlymorphic/eqBandOn
EQ, Turn on all the bands by default.
2015-04-12 22:29:41 +02:00
Tres Finocchiaro
50a3b8dfee Merge pull request #1944 from Wallacoloo/knob-fix2
Properly initialize Knob lineWidth
2015-04-11 01:00:21 +00:00
Colin Wallace
3c76c4975b Properly initialize Knob lineWidth 2015-04-10 23:29:18 +00:00
Dave French
009a71484a EQ, Turn on all the bands by default. 2015-04-10 11:26:41 +01:00
Tres Finocchiaro
17e096b965 Merge pull request #1941 from curlymorphic/1939
AFP update parameters of wave display when loading sample
2015-04-09 02:12:11 +00:00
Dave French
bd5dfddfd4 AFP renamed updateFromTo() to updateSampleRange() 2015-04-09 02:13:31 +01:00
Dave French
43865ad283 AFP update parameters of wave display when loading sample
This is changing from opening a new wave display with each sample.
This fixes an issue where the play position cursor was not being drawn.
2015-04-09 00:00:09 +01:00
Raine M. Ekman
c56ebb2e48 View menu: Removed unnecessary ternary operators 2015-04-08 12:16:45 +03:00
Raine M. Ekman
d87a39d432 View menu: added toggle for piano roll note labels 2015-04-07 21:52:56 +03:00
Tres Finocchiaro
d5300aca70 Merge pull request #1934 from curlymorphic/1925
Removed Duplicate Entries in the File Browser
2015-04-07 16:11:10 +00:00
Dave French
ef1ab88342 Removed Duplicate Entries in the File Browser
4206705ed2 #1611 Improve search field ,
was incorrectly adding the files twice.

this rectifies my mistake.
2015-04-07 06:44:15 +01:00
Raine M. Ekman
c3687199ea StringPairDrag: encode data as UTF-8 instead of Latin-1.
Encoding Unicode data, like QStrings, as Latin-1 loses information.
UTF-8 is a better fit.
2015-04-06 21:44:57 +03:00
Dave French
589cd4fb59 Model::isValueChanged correctly returns if sample exactness is used.
The introduction of sample exactness introduced a bug, if The value was
changed using sample exactness Model::isValueChanged was incorectly returning
false.

This bug has shown its self in the BassBooster plugin.
2015-04-05 13:42:09 +01:00
Tres Finocchiaro
c87481ac81 Merge pull request #1922 from curlymorphic/1919
DualFilter corrected a bug introduced with sample exactness
2015-04-05 01:42:50 +00:00
Dave French
dca340e5e5 DualFilter corrected a bug introduced with sample exactness
fixed a bug where res1 was controled by res2
2015-04-05 02:19:05 +01:00
Colin Wallace
44c42d9d38 Provide status messages on splash screen when loading (#1696) 2015-04-02 08:23:14 +00:00
Tres Finocchiaro
77c6f5a2bf Merge pull request #1910 from Wallacoloo/master
Fix for #1907 - inconsistent clamping behavior in automation editor
2015-04-01 13:51:16 +00:00
Colin Wallace
6e8e696d3e Fix for #1907 - inconsistent clamping behavior in automation editor 2015-03-30 22:12:48 +00:00
Dave French
54ddfd3a2b Config manager. added a userVstDir function
Added a userVstDir function for consistancy
use the userVstDir() function to create new folder
2015-03-30 18:59:54 +01:00
falkTX
66086820ce Implement NATIVE_HOST_OPCODE_HOST_IDLE in carla plugin 2015-03-29 23:29:41 -04:00
Tres Finocchiaro
d5d0c53e5d Merge pull request #1887 from softrabbit/issue-1877-stable
SFXR: Avoid NaNs by making envelope length minimum 1 sample
2015-04-13 20:53:28 +00:00
Raine M. Ekman
4d1e8633e1 MIDI import: remove old non-functional track name code. 2015-03-29 17:26:02 +03:00
Raine M. Ekman
c1ad8d0ae2 MIDI import: add support for track names 2015-03-29 17:16:35 +03:00
Dave French
9516b7cf0e Added user Vst and ladspa folders
the user vst folder nowbecome the default vstfolder. this is configurable
in the setup dialog.

The user ladspa folder is added to the list of folder to search
2015-03-27 15:19:57 +00:00
Tres Finocchiaro
c1a2fde2ef Merge pull request #1791 from curlymorphic/i1702
Extend the creation of default lmms folder, and default template.
2015-03-27 14:27:48 +00:00
Dave French
345e05831d Change the location of the default template directory
Changed the location from lmms/projects/templates to
lmms/templates. This new location is used for loading and saving
of the default tempate default.mpt
2015-03-27 13:45:43 +00:00
Dave French
7335b98fdb Create User project template folder and default project template.
During the creation of the user directories, added the creation of
the projects/templates directory.

When creating a new song, if there is no default template create one.
2015-03-27 13:28:47 +00:00
Dave French
d9995f5548 Add default path for SF2
added a default path for sf
create folder
add folder to setup dialog
sf player now uses this location
2015-03-27 12:45:40 +00:00
Dave French
e9b15b51fb Path Dialog added icon artwork, minor ui tweek
added add_folder.png icon to use for adding addition folders.
this may need attention by others

changed layout to correctly display scroll bar
2015-03-27 12:45:40 +00:00
Dave French
2271af81c4 Added a Gig directory to user lmms folder
Added option to set gig folder in setup dialog
Gig player now opens at this location
2015-03-27 12:45:40 +00:00
Dave French
8dfa2cf7d0 Reorganised the paths dialog
Wrapped the path selection widgets in a Scroll Area, to allow for
the addition of addition paths.

Where multipue paths are allowed the icon has been changed to refect this.

Reordered the list.
2015-03-27 12:45:40 +00:00
Raine M. Ekman
4136dbb744 SF2 Player, OpulenZ: addPlayHandle moved to end of constructor.
Should mean smaller risk of race conditions and less need for mutexes.
2015-03-25 21:16:55 +02:00
Greg Simpson
6db4c9007e LADSPA Multiband EQ (mbeq_1197) bugfix #1885
Corrected Hann (raised cosine) window function.

Corrected output-windowing logic and recalculated correction factor
for window type. Tested against white noise & triple_osc output.
2015-03-23 17:44:55 -07:00
Lukas W
e0f077ba02 Merge branch 'master' into cmake_dist
# Conflicts:
#	include/Plugin.h
#	src/core/Plugin.cpp
2015-03-21 11:53:00 +01:00
Raine M. Ekman
0462be7afc SFXR: Removed conditional, moved ensuring env_length!=0 to initial calculation 2015-03-21 12:05:06 +02:00
Raine M. Ekman
898781484d SFXR: Avoid NaNs by making envelope length minimum 1 sample
(this time in the stable-1.1 branch)
2015-03-19 21:03:40 +02:00
Vesa V
de9f879dde Merge pull request #1804 from badosu/multiple-volume-changes
Change behaviour for changing volume/pan on Piano
2015-03-19 19:12:28 +02:00
Vesa V
b3b157d54c Merge pull request #1799 from curlymorphic/saControls
Updated the equalizer plugin to use sample exact controls
2015-03-19 19:11:00 +02:00
Vesa V
9b8a0b6322 Merge pull request #1861 from softrabbit/view_menu
Added toggle for smooth scrolling in song editor to view menu
2015-03-19 19:10:31 +02:00
Vesa V
fe77fa47b5 Merge pull request #1802 from curlymorphic/saBassBoost
Enable sample exact controls for BassBoost plugin
2015-03-19 19:09:52 +02:00
Tres Finocchiaro
5018199b57 Merge pull request #1886 from curlymorphic/1880
FileBrowser, revert to not loading xiz files into DataFile
2015-03-19 13:54:48 +00:00
Dave French
e00241ff5d FileBrowser, revert to not loading xiz files into DataFile
xiz files are again, correctly not passed into a DataFile. DataFile is for
LMMS xml files.
2015-03-19 13:03:03 +00:00
Alexandre Almeida
bf13859601 Remove unused variable 2015-03-18 22:57:27 -03:00
M374LX
d308a72f29 Song::processNextBuffer() - add more comments and rename variables with confusing names 2015-03-18 22:02:21 -03:00
Dave French
0f864682ff Equalizer refactored EqFilter to remove tick()
removed the tick() function, and replaced the invoking code with
direct calls to update().

fixed a bug, where the low shelf bandwidth was getting the incorrect data.
2015-03-16 15:52:33 +00:00
Dave French
c747c7a9ee BassBoost, seperated sample exact and regular process loops
This was done to increase performance when sample exactness
is not in use. This was a consern becasue of the 2 extra function
calls each frame introduced with SA.
2015-03-16 06:57:12 +00:00
M374LX
0a4e0a5d83 PianoRoll::mouseReleaseEvent() refactoring 2015-03-14 00:13:17 -03:00
Tres Finocchiaro
043a565919 Merge pull request #1870 from M374LX/templatemsg
Use the word "template" instead of "project" when appropriate
2015-03-13 12:42:26 +00:00
Vesa V
df66fdeab0 Merge pull request #1871 from M374LX/settings
Fix segfault
2015-03-13 13:26:40 +02:00
Vesa V
c01e4ca4a2 Merge pull request #1787 from curlymorphic/xydelay
smoothed the time parameter of the delay pluging
2015-03-13 13:25:53 +02:00
Vesa V
da66205f71 Merge pull request #1800 from curlymorphic/saDualFilter
Enabled the use of sample exact controls in Dual Filter
2015-03-13 07:38:06 +02:00
M374LX
693ffb586f Fix segfault 2015-03-13 00:12:51 -03:00
M374LX
9a8700cfae Use the word "template" instead of "project" when appropriate 2015-03-12 23:11:21 -03:00
Tres Finocchiaro
c155a5ec4d Merge pull request #1864 from softrabbit/24semitones2octaves
Triple Oscillator: crude translations for the CRS knob
2015-03-12 13:37:25 +00:00
Tres Finocchiaro
7676878c19 Merge pull request #1844 from curlymorphic/i457
Added option to duplicate first bar, in BBEditor
2015-03-12 05:17:08 +00:00
Tres Finocchiaro
c470bda019 Merge pull request #1863 from M374LX/pianorollmove
Fix song editor pattern view update bug
2015-03-12 05:09:26 +00:00
M374LX
da9e88e488 Fix song editor pattern update bug 2015-03-11 22:01:18 -03:00
Dave French
ca414dab10 Added option to duplicate first bar, in BBEditor
Added a new button to the action bar, using step_btn_duplicate.png

The new button, aswell as adding a bar to the patten, then
copies the first bar to the last.

fixes #457

BBEditor Duplicate Pattern. updated image, changed function name

Have updated the new image step_button_duplicate.png

Renamed the function from duplicateFirstBarAtEnd to duplicateSteps.

BBEditor renamed function duplicateSteps

renamed duplicateSteps() to cloneSteps() as requested

BBEditor rechange duplicateSteps to cloneSteps

BB Editor changed actionBtn text from duplicate to clone
2015-03-11 21:50:44 +00:00
Raine M. Ekman
881f008896 Crude translations for the CRS knob in Triple Oscillator. 2015-03-11 22:03:12 +02:00
Tres Finocchiaro
0c8307f963 Merge pull request #1859 from softrabbit/issue-878
Language update
2015-03-11 14:28:27 +00:00
Raine M. Ekman
07a099a0db Language update 2015-03-11 15:42:43 +02:00
Tres Finocchiaro
85d91a1159 Merge pull request #1858 from softrabbit/issue-878
Tripleoscillator: Change "what's this" text for CRS knob
2015-03-11 12:32:11 +00:00
Tres Finocchiaro
64328410bb Merge pull request #1855 from M374LX/pianorollmove
Fix piano roll select and move issue
2015-03-11 11:10:59 +00:00
Raine M. Ekman
a4ab8c1cda Tripleoscillator: Change "what's this" text for CRS knob to be in line with reality. 2015-03-11 10:11:57 +02:00
M374LX
733388a8ff Fix piano roll select and move issue 2015-03-10 22:45:54 -03:00
Tres Finocchiaro
19197d3481 Merge pull request #1851 from M374LX/settings
Fix issue #1848
2015-03-10 20:06:14 +00:00
Raine M. Ekman
bcd44ded5b Added smooth scrolling to view menu 2015-03-10 20:53:29 +02:00
Tres Finocchiaro
06e1415bbd Merge pull request #1852 from csimons/do-not-halt-playback-upon-open-dialog
Prevent playback from halting when 'Open Project' dialog is summoned.
2015-03-10 12:56:58 +00:00
Christopher L. Simons
95c7d72a90 Added 'bool stopPlayback' parameter to MainWindow::mayChangeProject() to preserve old behavior outside of 'Open project dialog' case; fixes #1384 2015-03-10 07:41:13 -04:00
Christopher L. Simons
393eacad7d Ensuring playback is halted once file selection is confirmed in 'Open project' dialog; fixes #1384 2015-03-10 07:05:10 -04:00
Christopher L. Simons
3f8cfbd7a8 No longer halting playback when 'Open project' dialog is summoned; fixes #1384 2015-03-10 06:47:05 -04:00
Alexandre
b3f60dde95 Update SetupDialog.cpp 2015-03-10 00:51:28 -03:00
Tres Finocchiaro
b2984e1f08 Merge pull request #1832 from M374LX/settings
Fix issue #1814
2015-03-10 00:26:57 +00:00
Tres Finocchiaro
559d0e9bcc Merge pull request #1846 from curlymorphic/i1052
Fixed bug where cross hairs were incorrectly draw in Automation Editor
2015-03-10 00:25:59 +00:00
Alexandre
42e2c8ff7e Fix issue of reverting settings
Fix issue of reverting settings

Delete file created accidentally

Delete SetupDialog.cpp
2015-03-09 19:52:27 -03:00
Dave French
51fa26ecb1 Fixed bug where cross hairs were incrorrectly draw in Automation Editor
The cross hairs in the automation editor were incorrectly drawn
when moving another window infront.
This change only draws the cross hairs when the window has focus.
2015-03-09 22:43:44 +00:00
Tres Finocchiaro
c5402075bc Merge pull request #1838 from curlymorphic/xmlChecker
Xml checker
2015-03-08 17:34:13 +00:00
Dave French
8e244a2e77 Corrected fileName typo 2015-03-08 17:17:21 +00:00
Dave French
8c7cdf359e Merge branch 'xmlChecker' of https://github.com/curlymorphic/lmms into xmlChecker 2015-03-08 16:44:21 +00:00
Dave French
f310a4066f Commented DataFile::validate in headder 2015-03-08 16:43:28 +00:00
Dave French
335711aac7 xml validation, removed redundant boxing, unknown files fail validation, caught a inverse logic error 2015-03-08 16:43:28 +00:00
Dave French
318260a7e2 Validates Xml files opened with the main menu 2015-03-08 16:43:28 +00:00
Dave French
ad9dfd853d Begginings of XML validation 2015-03-08 16:43:28 +00:00
Dave French
7037faedd3 Added Checking of filetypes from the xml. Added a static function fileTypeFromData to the DataFile class. This opens the given file and checks the xml for its file type, as oposed to relying on the file extension 2015-03-08 16:43:28 +00:00
Dave French
3829990e00 Commented DataFile::validate in headder 2015-03-08 14:48:23 +00:00
Vesa V
bf38b15d63 Merge pull request #1803 from curlymorphic/saWaveShaper
Enable sample exact controls for WaveShaper plugin
2015-03-08 10:55:57 +02:00
Vesa V
67199970a5 Merge pull request #1809 from curlymorphic/dataChanged
Added sample exactness to the Lfo controller controls
2015-03-08 10:55:05 +02:00
Tres Finocchiaro
d14f4511b2 Remove compiler optimizations for mingw, bump version
Fixes #1757
2015-03-07 21:47:14 -05:00
Dave French
de74760586 xml validation, removed redundant boxing, unknown files fail validation, caught a inverse logic error 2015-03-07 15:25:15 +00:00
Amadeus Folego
33893e51c4 Move cloned tracks under the original 2015-03-07 12:00:20 -03:00
Amadeus Folego
8e9d902fa0 Refactor moving track views up and down 2015-03-07 11:58:30 -03:00
Amadeus Folego
6e3d4f431d Change behaviour for changing volume/pan on Piano
All the selected notes are changed by default for the 3 possible events:

- Mouse dragging the volume/pan meter
- Rolling the mouse wheel over the meter
- Double-clicking the meter

The user can still change each note individually by holding alt before
performing the desired action
2015-03-07 11:55:36 -03:00
Tres Finocchiaro
07e422c66d Merge pull request #1827 from waddlesplash/master
General platform-logic refactoring & Haiku support.
2015-03-07 14:49:47 +00:00
Augustin Cavalier
14ba57a531 versioninfo: add Haiku. 2015-03-05 13:56:44 -05:00
Augustin Cavalier
582c9ee678 Refactor shared memory logic. 2015-03-05 13:56:37 -05:00
Augustin Cavalier
d6a5544233 lb302: remove unused MIN function. 2015-03-05 13:55:40 -05:00
Augustin Cavalier
9b0c602b65 LadspaEffect: use same cflags as Linux on Haiku. 2015-03-05 12:53:52 -05:00
Augustin Cavalier
946d8a1431 lmms_math: also enable workarounds on Haiku. 2015-03-05 12:41:59 -05:00
Augustin Cavalier
48ac1b02eb DetectMachine: de-convolute 'if' maze and add Haiku. 2015-03-05 12:39:35 -05:00
Augustin Cavalier
d8dce9605e zynaddsubfx: just don't build if FLTK is not found rather than hard-failing. 2015-03-05 12:34:21 -05:00
Tres Finocchiaro
ce282a4841 Merge pull request #1622 from M374LX/coding
Progressive coding conventions update (new branch)
2015-03-04 01:55:28 +00:00
Dave French
d15a1136de Added sample exactness to the Lfo controller controls
Added sample exactness to the amount control.
2015-03-02 22:28:18 +00:00
Tres Finocchiaro
e5d51d13e4 Merge pull request #1805 from Spekular/toolbars
Remove unused toolbar gradient images.
2015-03-02 16:55:26 +00:00
Spekular
2acfa0eeca Remove unused toolbar gradient images. 2015-03-02 08:15:08 +01:00
Alexandre Almeida
91ebba65f7 Adjust parentheses conventions 2015-03-01 23:15:55 -03:00
Alexandre Almeida
ecb4c636c8 Adjust parentheses conventions 2015-03-01 23:12:35 -03:00
Dave French
be6f25b7a1 Enable sample exact controls for WaveShaper plugin
Enabled sample exactness for the input and output control.
2015-03-01 22:54:06 +00:00
Dave French
1cb7336189 Enable sample exact controls for BassBoost plugin
Enabled the use of sample exactness on gain control.

After checking the m_bbfx_leftFX.getGain() function, It was found
that this functiomn only sets a member variable, and causes no other
over head, so decided that checking if the value had changed would take more
clock cycles, than the check to see if the value had changhed.
2015-03-01 20:33:04 +00:00
Alexandre
0a3ff51c7e Merge branch 'coding' of https://github.com/M374LX/lmms into coding
Conflicts:
	src/core/Track.cpp
2015-03-01 13:39:50 -03:00
Alexandre
3d46f8a290 Merge branch 'coding'
Conflicts:
	include/Note.h
	include/ProjectVersion.h
	include/TimeLineWidget.h
	include/Track.h
	src/core/Plugin.cpp
	src/core/ProjectVersion.cpp
	src/core/Song.cpp
	src/core/Track.cpp
	src/gui/TimeLineWidget.cpp
2015-03-01 12:55:58 -03:00
Tres Finocchiaro
a1ac1dd5e5 Merge pull request #1801 from curlymorphic/doubleSong
Reinstate Double Click opening the piano roll from song editor
2015-03-01 10:30:34 -05:00
Dave French
6ad5d88c08 Reinstate Double Click opening the piano roll from song editor
This fixes a bug introduced when removing double click from
BB patterns. It Now checks if we use fixedTCO's (bb tomb stones),
only disable double clikc if so, leaving it working correcly in the
song editor
2015-03-01 14:37:07 +00:00
Dave French
673ce6e17a Enabled the use of sample exact controls in Dual Filter
The following controls have sample exact enabled

Filter 1 Cutoff
Filter 1 res
Filter 1 gain

Filter 2 Cutoff
Filter 2 res
Filter 2 Gain

Model.isValueChanged() does not eveluate when recieving sample accurate
so added checks to see if the cutoff and res needed to be recalculated,
2015-03-01 11:42:54 +00:00
Dave French
8a588d4934 Delay added addional smoothing to the delay time parameter
The delay time paramter was responding very badly ui user input.
This now has a much more plesant sound, not dis simular to a
record being sped up or slowed down.
2015-03-01 00:03:24 +00:00
Dave French
e06c4bfa38 Updated the equliser plugin to use sample exact controls
For this i had to do some major refactoring within the processAudioBuffer()
function.
2015-02-28 23:05:55 +00:00
Dave French
9343cb7549 Optimised sample exactness in the Delay plugin
implemented a pointer increment system as suggested by diizy
2015-02-28 13:26:17 +00:00
Dave French
0d220b9584 Added the use of sample exact controls to the Delay plugin
Added Sample exactness to the following parameters

Delay time
Regen
Lfo time
Lfo amount

Did not add this to the output gain contol, This model is used in
a dbScale, and a much more pleaseing result was gained by using an
amplifier plugin.
2015-02-27 18:00:56 +00:00
Dave French
7f72be6f69 Validates Xml files opened with the main menu 2015-02-26 20:07:45 +00:00
Dave French
a0360d2a8e Delay effect, the delay time parameter now uses sample exact modeling 2015-02-26 18:05:34 +00:00
Tres Finocchiaro
fe797cb09f Merge pull request #1718 from curlymorphic/saveasextensiontranslation
Remove the file extensions from the translations in the saveAsDialog
2015-02-26 09:18:17 -05:00
Dave French
81f0b14465 smoothed the time parameter of the delay pluging 2015-02-25 22:12:22 +00:00
Dave French
09232ce6e8 Begginings of XML validation 2015-02-25 21:30:45 +00:00
Tres Finocchiaro
3230a69680 Merge pull request #1784 from tresf/master
Prevent running as root user
2015-02-25 00:22:54 -05:00
tresf
e1e91cecb2 Prevent running as root user 2015-02-24 23:46:00 -05:00
Tres Finocchiaro
b39174058c Merge pull request #1783 from curlymorphic/i1682_2
Removed Double click to open piano roll, in the BBeditor,
2015-02-24 21:09:54 -05:00
Dave French
448f5be350 Removed Double click to open piano roll, in the BBeditor, this is to stop notes being added in error 2015-02-24 22:08:46 +00:00
Dave French
7e2bb36104 Added Checking of filetypes from the xml. Added a static function fileTypeFromData to the DataFile class. This opens the given file and checks the xml for its file type, as oposed to relying on the file extension 2015-02-23 21:16:38 +00:00
Tres Finocchiaro
a4967700fd Merge pull request #1775 from curlymorphic/i1720
Stop quantizing copied notes, leaving them at there original timings.
2015-02-20 13:27:41 -05:00
Tres Finocchiaro
0dafb5a996 Merge pull request #1777 from curlymorphic/i1279
linearToLogScale and logToLinearScale return 0 rather than nan
2015-02-20 12:41:51 -05:00
Tres Finocchiaro
79f6869ac3 Merge pull request #1774 from curlymorphic/i1683
Delay the deleting of a track view until the next event loop, this stops...
2015-02-20 11:59:16 -05:00
Dave French
a6e37316f1 linearToLogScale and logToLinearScale return 0 rather than nan 2015-02-20 16:56:28 +00:00
grejppi
603965fcf4 Merge pull request #1771 from grejppi/master-jack
Remove semaphores from JACK backend
2015-02-20 18:10:03 +02:00
Dave French
6a70fbd724 Stop quantizing copied notes, leaving them at there original timings. Notes that were quantised remain so 2015-02-20 12:48:27 +00:00
Dave French
42e12e6b27 Delay the deleting of a track view until the next event loop, this stops the segfault when deleting BB tracks during playback 2015-02-20 11:55:51 +00:00
Tres Finocchiaro
b4c5c09f30 Merge pull request #1772 from Ododo/master
rythme and not ryhtme
2015-02-19 17:25:19 -05:00
Ododo
0d56067121 Update fr.ts 2015-02-19 22:30:53 +01:00
Dave French
d6a1a61b45 Removed trailing spaces form save as Translations 2015-02-19 16:20:55 +00:00
curlymorphic
c1272fb1c5 removed file extensions from translations for SaveAs dialog 2015-02-19 08:47:17 +00:00
Dave French
4f5f855e87 Remove the file extensions from the translations in the saveAsDialog 2015-02-19 07:48:58 +00:00
Tres Finocchiaro
1b2e97954e Merge pull request #1751 from tresf/master
Remove "(bad latency!)" warning from PulseAudio
2015-02-18 09:00:58 -05:00
Hannu Haahti
1dcacbb95e Remove semaphores from JACK backend 2015-02-18 13:24:28 +02:00
Raine M. Ekman
96882f44d5 Added view menu
To be reviewed and reverted if undesired.

Based on https://sourceforge.net/p/lmms/patches/38/

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2015-02-17 23:37:44 +01:00
Tres Finocchiaro
15e759b6d3 Update NSIS URLs
Closes #1766.
2015-02-16 15:13:02 -05:00
Tobias Doerffel
317b2f02a8 AutomatableModel: fix wrong comparison logic
We must not negate the float but instead test for inequality in order to
determine whether the linked model has to be updated.

Closes #1761.
2015-02-16 18:22:49 +01:00
Tobias Doerffel
7bd5317499 Fixed path to FLTK DLL
mingw-x-fltk >= 1.3.3 has the FLTK DLL inside the bin directory like all the
other library packages as well.
2015-02-15 20:05:00 +01:00
Tobias Doerffel
3cc2091620 Fixed path to FLTK DLL
mingw-x-fltk >= 1.3.3 has the FLTK DLL inside the bin directory like all the
other library packages as well.
2015-02-15 20:02:46 +01:00
Tres Finocchiaro
23065454b9 Merge pull request #1754 from curlymorphic/xydelay
Added an xy pad to the Delay effect
2015-02-11 15:30:50 -05:00
Tres Finocchiaro
946cee27b0 Merge pull request #1756 from Sti2nd/stable-1.1
Save and load the mute flag for automation patterns
2015-02-10 22:48:10 -05:00
Dave French
9312c92013 Save and load the mute flag for automation patterns 2015-02-10 21:00:01 +01:00
Alexandre Almeida
593fd1c36e Merge pull request #1 from teeberg/coding 2015-02-10 17:38:18 -02:00
Tres Finocchiaro
9e3f344c70 Bump version for stable-1.1 patch release 2015-02-10 10:19:05 -05:00
Dave French
ee3c9a1333 Added a XY pad to the Delay Pluging. also added a volume control, and smothed the delay time input changes, to improve audio. 2015-02-10 13:47:17 +00:00
Dave French
fde014b9a5 Delay plugin renamed files and folder to use CamelCase 2015-02-09 22:56:39 +00:00
tresf
afb0777a6e Remove "(bad latency!)" warning from PulseAudio 2015-02-08 18:22:14 -05:00
Vesa V
aea84602b2 Merge pull request #1747 from Fastigium/lockless-1.1
1.1-based RT-safe fix for race condition causing #1662
2015-02-08 10:24:54 +02:00
Fastigium
d64e93b41a RT-safe fix for race condition causing #1662 2015-02-07 15:21:01 +01:00
Vesa V
b1a007b41b Merge pull request #1686 from mohamed--abdel-maksoud/master
MIDI Export feature (issue #258)
2015-02-07 14:39:37 +02:00
Tres Finocchiaro
77b93a22d7 Merge pull request #1740 from oeai/master
russian translation update
2015-02-06 11:07:43 -05:00
Lukas W
94e9d5b137 Travis: no make verbose output [skip ci] 2015-02-05 17:48:51 +01:00
Lukas W
0a48b2f7bc Fix: Respect custom working directory whenw riting recovery file
Fixes #1726
2015-02-05 17:40:34 +01:00
Lukas W
35e1c4ed89 Refactor: Move plugin file support handling to PluginFactory 2015-02-05 17:22:23 +01:00
Lukas W
863df4e3e6 Add support for reading theme path from environment variable 2015-02-05 17:21:57 +01:00
Tres Finocchiaro
2380e30ddd Merge pull request #1738 from curlymorphic/1724
Changed the Song Editor time position line to correctly draw from under the timeline widget
2015-02-04 17:27:55 -05:00
mohamed
2260907285 adding exportProjectMidi method, internally uses midiexport plugin 2015-02-04 22:37:43 +01:00
mohamed
8d5077af96 adding menu entry file->export midi 2015-02-04 22:37:00 +01:00
mohamed
9b7ac3b3db cleaning up event ordering function 2015-02-04 22:36:34 +01:00
mohamed
826591817a adding midiexport plugin to the list 2015-02-04 22:36:03 +01:00
Ra
fd2efe0347 Russian translation update
Russian translation update
2015-02-05 01:08:20 +04:00
mohamed
af0f997af8 midi export plugin 2015-02-04 20:23:53 +01:00
mohamed
b25ed327e0 export filter for export plugins 2015-02-04 20:23:43 +01:00
Dave French
690995620a Changed the Song Editor time position line to correctly draw from underneath the timeline widget 2015-02-04 15:41:27 +00:00
Tres Finocchiaro
b48c392dce Merge pull request #1737 from Spekular/PVFix
Fix project version check on preset load.
2015-02-03 15:43:49 -05:00
Spekular
5f32c361e4 Fix project version check on preset load. 2015-02-03 20:43:42 +01:00
Tres Finocchiaro
cb874e65df Merge pull request #1730 from curlymorphic/i1631
Save and load the mute flag for automation patterns
2015-02-02 11:44:43 -05:00
Jonas Trappenberg
76ffbd6528 Merge branch 'master' into coding
Conflicts:
	include/Plugin.h
	src/core/Note.cpp
	src/core/Track.cpp
2015-01-31 19:11:33 -08:00
Dave French
5a92243db6 Save and load the mute flag for automation patterns 2015-01-31 12:43:14 +00:00
Ra
47774fb216 Merge pull request #1 from LMMS/master
update current version
2015-01-30 21:37:30 +03:00
Tres Finocchiaro
4deb0a15aa Merge pull request #1627 from badosu/add-assign-to-new-fx-spinner
Add "assign to new fx channel" on FX SpinBox
2015-01-30 13:34:05 -05:00
Tres Finocchiaro
4f5bdeb254 Merge pull request #1684 from Spekular/patch-1
Update Swedish Translation
2015-01-30 13:06:48 -05:00
Spekular
5504b3fe9c Remove ' type="unfinished" ' on translated strings
Also miscellaneous fixes.
2015-01-30 18:54:32 +01:00
Amadeus Folego
c99e47f581 Add "Assign to new FX Channel" action to FXSpinBox
Fix #604 #921
2015-01-30 13:25:10 -02:00
Amadeus Folego
06cb85b771 Move FX assignment/creation logic to InsTrackView 2015-01-30 13:25:10 -02:00
Spekular
fc11a09b0b Update Automation translations 2015-01-30 10:38:16 +01:00
Spekular
b1f0dd3099 ljud fil -> ljudfil & dialogvisas -> dialog visas 2015-01-30 08:39:11 +01:00
Tres Finocchiaro
e70c4017ea Merge pull request #1721 from badosu/fix-shift-resize-single-note
Fix Shift+Resize for single note should be sticky
2015-01-29 20:20:52 -05:00
Amadeus Folego
27762a9437 Fix Shift+Resize for single note should be sticky 2015-01-29 20:06:38 -02:00
Tres Finocchiaro
04bfbe0194 Merge pull request #1630 from softrabbit/midi_import_drums
Play imported MIDI drum tracks with a drum kit patch
2015-01-29 15:42:33 -05:00
Tres Finocchiaro
e2d98668ec Merge pull request #1699 from curlymorphic/bbundo
Song Editor and bbEditor undo.
2015-01-29 15:39:43 -05:00
Tres Finocchiaro
339a7c514c Merge pull request #1697 from curlymorphic/autoundo
Automation editor undo
2015-01-29 15:38:33 -05:00
Tres Finocchiaro
0f43b0a472 Merge pull request #1710 from curlymorphic/i1595
Proposed fix for #1595 Instrument track activity LED lights when muted.
2015-01-29 13:54:53 -05:00
Tres Finocchiaro
525e627fa4 Merge pull request #1709 from curlymorphic/i1695
Proposed fix for 1695 Cannot save templates
2015-01-29 13:50:22 -05:00
Tres Finocchiaro
af08470f66 Merge pull request #1711 from curlymorphic/i1692
Proposed fix for 1692 Missing CLI option for rendering
2015-01-29 13:49:25 -05:00
Lukas W
2a0c08afa2 Fix windows build 2015-01-29 16:37:10 +01:00
Lukas W
54e64f406e Merge remote-tracking branch 'upstream/master' into cmake_dist 2015-01-29 14:02:40 +01:00
Lukas W
c28b0b5407 PluginFactory: Map plugins by type 2015-01-29 14:00:29 +01:00
Lukas W
dc1f8dc365 Add data search path support
Also add LMMS_DATA_DIR env var to "data:" search paths.
When lmms is launched from its build directory (without `make install`ing),
LMMS_DATA_DIR can be passed to point lmms to the "data" directory in the
source tree.
2015-01-29 13:54:09 +01:00
Lukas W
7be47230e3 Introduce PluginFactory class
This singleton class handles management of plugin search paths and plugin
discovery. Search paths are (if they exist):
  * <lmms-exe-dir>/../lib/lmms: This is the common location on Unixoids
    (Not included in Windows builds)
  * <lmms-exe-dir>/plugins: For portable and Windows installations
  * The path given by the compile define LMMS_PLUGIN_DIR
  * Environment variable LMMS_PLUGIN_DIR if given

This commit also tweaks the build script to output built plugins to
"${CMAKE_BINARY_DIR}/plugins". This way lmms can find plugins during
development without the need to use `make install`.

Plugin::getDescriptorsOfAvailPlugins and ConfigManager::pluginDir were
removed.
2015-01-29 13:48:52 +01:00
Dave French
1ebbe31fae Changed commandline flag to render in 32bit float from -32 to -a 2015-01-29 11:36:21 +00:00
Dave French
efa75b0151 Checks for .mpt extension, before adding extension when saving project templates 2015-01-29 10:38:19 +00:00
Dave French
5ce1bd874d renamed muteHasChanged to muteChanged in InstrumentTrackView 2015-01-29 10:13:25 +00:00
Dave French
968d0215df Moved Setting of activity indicator color from InstrumentTrack to InstrumentTrackView 2015-01-29 09:49:20 +00:00
Tres Finocchiaro
96fd0815a3 Merge pull request #1708 from badosu/fix-crash-when-removing-last-channel
Fix crash when removing last channel
2015-01-28 23:16:50 -05:00
Tres Finocchiaro
e906056173 Merge pull request #1687 from SecondFlight/master
Added a song to data/projects/CoolSongs
2015-01-28 22:37:27 -05:00
Tres Finocchiaro
d0adb2ddef Merge pull request #1716 from badosu/change-resizing-notes-on-piano-roll
Change Shift+Resize selected notes on Piano Roll
2015-01-28 22:11:05 -05:00
Tres Finocchiaro
824f7fa706 Merge pull request #1712 from curlymorphic/i1532
Proposed fix for #1532 Tracks in song editor cannot be moved in pattern ...
2015-01-28 20:37:03 -05:00
Amadeus Folego
dae0c05061 Change Shift+Resize selected notes on Piano Roll
Selected notes: when resized would offset posterior, non-selected notes
to mantain some kind of melodic structure. This is referred to
as *sticky* behaviour.

It also assumes some kind of intention that may not be the case.
Also adds complexity to a simple feature.

This commit makes only the the selected notes be offset. It also adds a
new shortcut to the old behaviour <Shift-Ctrl-drag to the note tip>.

Fixes #1666
2015-01-28 23:22:29 -02:00
Dave French
c02f043b3f Changed color of InstrumentTrack activity indicators mute color to use the color defined in style.css as highlight 2015-01-29 00:27:30 +00:00
Dave French
fa6dd6da8b Change color of muted activity indicator from red to grey 2015-01-28 22:12:59 +00:00
Dave French
406bc40ddd fix 1692 reformat conditional statement to be consistant 2015-01-28 17:06:19 +00:00
Dave French
dd80301cee Proposed fix for #1532 Tracks in song editor cannot be moved in pattern select mode. 2015-01-28 15:35:01 +00:00
SecondFlight
ad1dc2268f Changed the license to CC (BY)
Seems more reasonable based on the discussion.
2015-01-28 09:46:26 -05:00
Dave French
f9eb128b46 Proposed fix for 1692 Missing CLI option for rendering 2015-01-28 13:39:35 +00:00
Dave French
9fee116fa7 1595 removed accidental blank line 2015-01-28 12:21:57 +00:00
Dave French
7c0ab622f1 Proposed fix for 1595 Instrument track activity LED lights when muted 2015-01-28 12:16:21 +00:00
Dave French
56635c1fcf Proposed fix for 1695 Cannot save templates 2015-01-28 06:35:52 +00:00
Amadeus Folego
ff2617b0bd Fix crash when removing last channel
Sometimes the last channel still had processing to do when it got
deleted
2015-01-28 00:52:17 -02:00
Tres Finocchiaro
8e2e17ab84 Merge pull request #1701 from curlymorphic/i710
Proposed fix 710
2015-01-27 11:53:54 -05:00
Tres Finocchiaro
0faeb2bddc Merge pull request #1667 from Spekular/PVCheck
Project Version Check
2015-01-27 11:50:03 -05:00
Dave French
9b1e89ae21 Proposed fix 710 2015-01-27 11:18:25 +00:00
Spekular
6ec2ece4a4 Update code style for project version check. 2015-01-27 11:32:39 +01:00
Spekular
0847919214 Adds GUI check around GUI calls in DataFile.cpp 2015-01-27 11:22:46 +01:00
Spekular
ea80d01f8b Adds dialog when project is opened that was made with a different version of LMMS
Remove Commented Out Code

Update DataFile.cpp

Update DataFile.cpp

Update DataFile.cpp

Changes per tresf's advice, adds comments

Git???

Please work :/

Update DataFile.cpp

Adds dialog when project is opened that was made with a different version of LMMS

Remove Commented Out Code

Update DataFile.cpp

Update DataFile.cpp

Update DataFile.cpp

Changes per tresf's advice, adds comments

Git???

Please work :/

Update DataFile.cpp
2015-01-27 11:22:45 +01:00
Tres Finocchiaro
cdf6b3e01f Merge pull request #1689 from curlymorphic/i1685
Proposed fix 1685 Automation Copy/Paste from Context Menu
2015-01-26 22:07:08 -05:00
Dave French
57460c91c3 bb patern 2015-01-27 00:28:40 +00:00
Dave French
a30c32f8d8 Undo of TCO changes in song editor 2015-01-27 00:11:23 +00:00
Dave French
e51da26a1a Automation editior undo 2015-01-26 22:23:19 +00:00
Lukas W
7b5084c53b Merge pull request #1690 from curlymorphic/821
Renamed parameters on selectRegionFromPixels
2015-01-26 14:17:25 +01:00
Dave French
cebf8bfd59 Renamed parameters on selectRegionFromPixels 2015-01-25 20:37:00 +00:00
Dave French
0fe2ab5533 Proposed fix 1685 Automation Copy/Paste from Context Menu 2015-01-25 20:07:53 +00:00
Spekular
fccc36113c Update sv.ts 2015-01-25 16:10:22 +01:00
SecondFlight
91c76f342b Added a song to data/projects/CoolSongs
The song that will (hopefully) be added:
https://soundcloud.com/second_flight/krem-kaakkuja-remix
2015-01-24 20:09:07 -05:00
Lukas W
0e778d042b Merge pull request #1674 from curlymorphic/i446
Proposed fix for 446, select notes in piano roll using timeline
2015-01-24 11:19:58 +01:00
Dave French
e2a2d27bba 446 change parameter names 2015-01-24 06:30:23 +00:00
Spekular
28a51968a3 Gain: Volym>Föstärkning Amplification: Volym>Amplifiering 2015-01-23 23:00:26 +01:00
Spekular
d4d15ea567 Update Swedish Translation 2015-01-23 22:37:12 +01:00
Tres Finocchiaro
1a7e30eb87 Merge pull request #1677 from curlymorphic/1416
Proposed fix 1416 Drag-and-drop of automatables to Automation Editor
2015-01-23 16:14:43 -05:00
Dave French
f6792d991c 1416 refresh window 2015-01-23 19:46:09 +00:00
Dave French
f8120cd2fe Tidy up and remove clearing 1416 2015-01-23 18:15:03 +00:00
Amadeus Folego
e91991216d Fix segfault when moving channels
This commit addresses a lot of issues, namely:

1. When the "Move left/right" action was selected on a mixer channel
menu sometimes it would segfault due to the fxline object being
deleted before it returned to a method inside itself

2. The Fader was declaring a new variable for the model whereas it
should used the inherited model from FloatModelView < AutomatableModelView

3. Some methods were doing more things than they should be and
performing unnecessary actions. A little cleanup/refactor was made

Please notice that a bug of the same class as the one referred at point 1
still exists: clicking on "Remove channel". This commit does not
addresses this issue.

Fixes #1584
2015-01-23 05:35:59 -02:00
Dave French
dfbbcfd38b 1416 tidy up 2015-01-23 02:38:17 +00:00
Dave French
c201a41c05 Proposed fix 1416 Drag-and-drop of automatables to Automation Editor 2015-01-23 02:16:30 +00:00
Tobias Doerffel
ffe7e8b8fa Travis: updated name of PPA with MinGW-X packages for Precise 2015-01-22 22:24:23 +01:00
Tobias Doerffel
d569015273 Travis: updated name of PPA with MinGW-X packages for Precise 2015-01-22 22:22:57 +01:00
Dave French
2be8eaa4db Proposed fix for 446, select notes in piano roll using timeline 2015-01-22 20:16:00 +00:00
Tres Finocchiaro
f6176921c6 Merge pull request #1672 from badosu/fix-add-steps-on-melody-patterns
Fix beat pattern actions on melodies
2015-01-22 14:27:06 -05:00
Amadeus Folego
8267ac6316 Fix beat pattern actions on melodies 2015-01-22 17:18:42 -02:00
Tres Finocchiaro
786e7dd389 Merge pull request #1671 from curlymorphic/i1634
fix for 1668 now checks if safe to load song
2015-01-22 13:52:56 -05:00
Dave French
3db3711dcf fix for 1668 now checks if save to load song 2015-01-22 18:31:09 +00:00
Lukas W
df9d495571 Some #include cleanups 2015-01-22 16:28:41 +01:00
Lukas W
ebd531e69f Merge pull request #1652 from curlymorphic/821
proposed fix 821 Range-select in Song Editor
2015-01-22 13:16:40 +01:00
Lukas W
4dd40e1755 Fix missed rename note->Note
Fixes #1464
Bug introduced in aaeb5216ad
2015-01-22 12:53:38 +01:00
Lukas W
9cc1a5931c Make -Werror optional 2015-01-22 12:39:41 +01:00
Lukas W
e63bd848d0 PianoRoll: Fix faulty rename
Fix a renaming mistake made in 1d07a91a83
2015-01-22 11:30:57 +01:00
Tres Finocchiaro
9b26c5bb68 Merge pull request #1668 from curlymorphic/i1634
Proposed fix 1643 Allow drag-and-drop of project files
2015-01-21 08:48:15 -05:00
Lukas W
d41d816b57 Merge pull request #1661 from teeberg/style
Work on codestyle and readability
2015-01-21 14:19:45 +01:00
Dave French
9460fdec9b Proposed fix 1643 Allow drag-and-drop of project files 2015-01-21 13:18:01 +00:00
Lukas W
d6ff1a7086 Fix BB Editor project load
Closes #1621
2015-01-21 13:33:57 +01:00
Dave French
1cf9300f72 821 changed to use sockets/ slots 2015-01-21 11:55:30 +00:00
Jonas Trappenberg
52ec4722fb Add explanation to acronym variable 2015-01-20 20:37:58 -08:00
Jonas Trappenberg
a74ff27d35 Remove usage of 'auto' 2015-01-20 20:37:32 -08:00
Jonas Trappenberg
deb3e45791 More code style fixes 2015-01-20 20:26:33 -08:00
Jonas Trappenberg
8c76af1806 Remove premature optimization in float comparison 2015-01-20 20:26:11 -08:00
Jonas Trappenberg
f148fc34b4 Don't access deleted memory 2015-01-20 20:24:18 -08:00
Jonas Trappenberg
7777fc7342 Remove unused variable 2015-01-20 19:44:23 -08:00
Jonas Trappenberg
71bab17233 Work on codestyle and readability 2015-01-19 19:54:06 -08:00
Alexandre
2834bd17f4 Coding conventions update 2015-01-20 00:00:58 -02:00
Alexandre Almeida
a34faeca71 Update ProjectVersion.cpp 2015-01-19 23:25:05 -02:00
Alexandre Almeida
2e7732a7f5 Update ProjectVersion.h 2015-01-19 23:20:54 -02:00
Alexandre Almeida
38799f80af Update Plugin.h 2015-01-19 23:19:18 -02:00
Alexandre Almeida
9e370ff121 Update Plugin.cpp 2015-01-19 23:19:18 -02:00
Alexandre Almeida
4d6d937cf2 Update Timeline.h 2015-01-19 23:18:30 -02:00
Alexandre Almeida
77ceda9385 Update Song.h 2015-01-19 23:16:41 -02:00
Alexandre Almeida
9e1a35e327 Update ProjectRenderer.cpp 2015-01-19 23:16:41 -02:00
Alexandre Almeida
92f9fd92ec Update Timeline.cpp 2015-01-19 23:16:41 -02:00
Alexandre Almeida
abe05af49a Update Mixer.cpp 2015-01-19 23:14:48 -02:00
Alexandre Almeida
21425e3477 Update Song.cpp 2015-01-19 23:14:48 -02:00
Alexandre Almeida
c398769020 Update coding conventions 2015-01-19 23:11:02 -02:00
Alexandre Almeida
118127a3bc Update coding conventions 2015-01-19 23:09:46 -02:00
Alexandre Almeida
d04076f44d Update coding conventions on Note.h 2015-01-19 23:08:19 -02:00
Alexandre Almeida
b0cf5ba289 Update coding conventions on Note.cpp 2015-01-19 22:59:15 -02:00
Tres Finocchiaro
c13d111bc2 Merge pull request #1657 from DanWin/songeditor
Fix SongEditorWindow resize when a project loads
2015-01-19 11:53:40 -05:00
Daniel Winzen
a3e5a65957 Fix SongEditorWindow resize when a project loads 2015-01-19 15:32:16 +01:00
Tres Finocchiaro
ee25db797d Merge pull request #1656 from curlymorphic/111649
Proposed fix for 1649 for stable-1.1
2015-01-19 09:15:19 -05:00
Dave French
1ba3088554 Proposed fix for 1649 for stable-1.1 2015-01-19 14:04:57 +00:00
Tres Finocchiaro
ce0b258d5e Merge pull request #1653 from teeberg/master
Format and reword README
2015-01-19 08:55:23 -05:00
Tres Finocchiaro
d9b81bc9e2 Merge pull request #1654 from curlymorphic/i818
Proposed fix 818 Merge file name and preset name. Remove double naming
2015-01-19 08:44:49 -05:00
Jonas Trappenberg
4e92243508 Update copyright year 2015-01-18 14:08:13 -08:00
Dave French
746ea39afb Proposed fix 818 Merge file name and preset name. Remove double naming 2015-01-18 21:39:09 +00:00
Jonas Trappenberg
a4536c43a5 Format and slightly reword READMEs 2015-01-18 12:48:03 -08:00
Jonas Trappenberg
018457340e Bump version number in README 2015-01-18 12:47:43 -08:00
Dave French
b3d943920c proposed fix 821 Range-select in Song Editor 2015-01-18 19:16:43 +00:00
Tres Finocchiaro
9f75aabf65 Merge pull request #1646 from DanWin/delete
Use delete[] instead of delete for sampleFrame
2015-01-16 15:16:39 -05:00
Daniel Winzen
9c8e2b195c Use delete[] instead of delete for sampleFrame
Fixes warning: 'delete' applied to a pointer-to-array type 'sampleFrame *' (aka 'sample_t (*)[2]') treated as delete[] in mac os build
2015-01-16 20:24:24 +01:00
Lukas W
2257a06422 Fix a segfault 2015-01-16 19:57:31 +01:00
Lukas W
4953a9da60 Merge pull request #1637 from LMMS/travis-osx
Travis OSX
2015-01-16 01:15:47 +01:00
Lukas W
f492a8ab0e Detect failed tests 2015-01-16 01:15:02 +01:00
Lukas W
59513f9a49 Fix that CMake version check again 2015-01-16 00:25:10 +01:00
Lukas W
b5019e53d1 Travis: Re-enable linux builds 2015-01-16 00:04:09 +01:00
Lukas W
85d7843c98 Tests: Fix CMake version check 2015-01-15 23:10:28 +01:00
Tres Finocchiaro
c5773c41b0 Merge pull request #1639 from DanWin/stable-1.1
Fix calcSlope1 was not declared errors
2015-01-15 16:59:24 -05:00
Lukas W
fb2df20095 Merge branch 'master' into travis-osx 2015-01-15 22:47:58 +01:00
Lukas W
7e43541fe5 Travis: Fix script path error 2015-01-15 22:34:51 +01:00
Lukas W
eea616f080 Travis: Disable linux builds (temporarily) 2015-01-15 22:26:04 +01:00
Lukas W
4c0705359a OSX fix try #2 2015-01-15 22:23:26 +01:00
Daniel Winzen
d8e552de80 Fix calcSlope1 was not declared errors 2015-01-15 22:15:04 +01:00
Lukas W
bd4a93c1d7 Travis: Outsource build scripts 2015-01-15 22:05:10 +01:00
Lukas W
d4d26a6138 OSX fix 2015-01-15 21:35:46 +01:00
Tres Finocchiaro
523e5d048b Bump version for stable-1.1 patch release 2015-01-15 15:32:55 -05:00
Lukas W
c7e3ab3d46 Don't use QList's initializer_list constructor (compat commit) 2015-01-15 21:24:23 +01:00
Lukas W
4cfba53f71 Travis update
Try removing that unnecessary linux job
2015-01-15 21:22:33 +01:00
Tres Finocchiaro
57876fead2 Merge pull request #1611 from curlymorphic/i760
Proposed fix 760  Improve search field
2015-01-15 15:03:43 -05:00
Lukas W
f15f8ce3df Travis: Fix brew 2015-01-15 20:51:15 +01:00
Lukas W
bb24f61042 Travis: Fix yml syntax errors 2015-01-15 20:44:56 +01:00
Lukas W
b862b34a9a Travis: Enable OSX 2015-01-15 20:38:53 +01:00
Lukas W
ebf68d57a9 ProjectVersion: Some refactoring 2015-01-15 17:27:58 +01:00
Lukas W
a18f86bde7 ProjectVersion: Clean up a bit, add a test 2015-01-15 17:27:58 +01:00
Lukas W
a52e4724cf Some small SongEditor fixes 2015-01-15 17:27:57 +01:00
Lukas W
b720ec5537 Merge pull request #1618 from teeberg/master
More minor code style cleanup
2015-01-15 17:20:22 +01:00
Vesa
89e8e328e6 Merge branch 'stable-1.1' 2015-01-15 17:18:03 +02:00
Vesa
e33645f9ab Fix monstro slopes 2015-01-15 17:17:33 +02:00
Vesa V
9cff69cb78 Merge pull request #1635 from diizy/master
Fix monstro slopes properly
2015-01-15 17:15:06 +02:00
Vesa
c0932bd75e Fix monstro slopes properly 2015-01-15 17:14:50 +02:00
Lukas W
7ac591fdfe Merge pull request #1626 from LMMS/cmake_tests
CMake: Change the way tests links lmms
2015-01-15 16:13:49 +01:00
Vesa V
663dcbf98f Merge pull request #1624 from dnl-music/patch-4
Update Monstro.h
2015-01-15 17:08:12 +02:00
Vesa V
fe73f0991f Merge pull request #1623 from dnl-music/patch-3
Update Monstro.cpp
2015-01-15 17:08:03 +02:00
Lukas W
b90ee93d0c Travis: Upgrade CMake from PPA 2015-01-15 16:03:52 +01:00
Lukas W
ff882e021e Disable tests for CMake <2.8.8 2015-01-15 15:57:50 +01:00
Jonas Trappenberg
7f38a51f9d Merge remote-tracking branch 'upstream/master' 2015-01-14 21:07:36 -08:00
Tres Finocchiaro
d6e98499d0 Merge pull request #1629 from tresf/master
Add CPU prioritization support for Windows
2015-01-14 22:31:42 -05:00
Raine M. Ekman
26a84837c2 Switch track imported from MIDI channel 10 to bank 128, patch 0 in SF2 player.
(aka. import drum tracks)
2015-01-14 22:01:42 +02:00
Tres Finocchiaro
d89b54d768 Add CPU prioritization support for Windows 2015-01-14 14:33:21 -05:00
Lukas W
030292cbad Merge pull request #1582 from tresf/master
ProjectVersion: Expose major/minor/release/build info
2015-01-14 20:26:43 +01:00
Lukas W
2f7820a6d9 CMake: Change the way tests links lmms 2015-01-14 19:54:48 +01:00
dnl-music
e3ebef08a9 Update Monstro.h 2015-01-14 17:09:38 +05:00
dnl-music
26592907e6 Update Monstro.cpp 2015-01-14 17:06:07 +05:00
Jonas Trappenberg
d27d43ac42 Merge remote-tracking branch 'upstream/master' 2015-01-13 21:36:41 -08:00
Jonas Trappenberg
0dcd293ce1 Undo some pointer declaration changes. 2015-01-13 21:33:51 -08:00
Lukas W
c5fbd3e643 Travis: Fix .travis.yml typo 2015-01-13 18:31:18 +01:00
Lukas W
37d89720c8 Travis: Disable tests on Windows 2015-01-13 18:19:10 +01:00
Lukas W
e3a29d0ad7 Fix Travis build 2015-01-13 18:04:13 +01:00
Tres Finocchiaro
697fc4dd0f Fix typo in comments 2015-01-13 11:50:11 -05:00
Tres Finocchiaro
17f32f344f Better switching of comparators, char[] constructor 2015-01-13 11:38:17 -05:00
Tres Finocchiaro
260694077d Misc ProjectVersion improvments 2015-01-13 11:35:46 -05:00
Lukas W
05d21e0b57 Travis: Run test binary 2015-01-13 17:34:17 +01:00
Lukas W
f640769ff0 SongEditor and BBEditor: Accept drops in toolbar 2015-01-13 17:29:19 +01:00
Locale updater
85fb0aca82 Update locales 2015-01-13 16:06:36 +01:00
Lukas W
300e6d8000 Merge commit 'ebad5296f55747d03c714a66de04245dbad85a35' 2015-01-13 16:02:59 +01:00
Lukas W
72c0620d1f Merge pull request #1612 from LMMS/tests
Add a testing framework
2015-01-13 15:40:21 +01:00
Lukas W
8e42b5ec01 Merge pull request #1616 from badosu/fix-cli-export-crashes
Fix export crashes adding gui checks
2015-01-13 10:32:17 +01:00
Jonas Trappenberg
293bb93173 Match code style of other declaration further down 2015-01-12 22:01:56 -08:00
Jonas Trappenberg
75cd1f4f38 More minor refactorings 2015-01-12 21:53:49 -08:00
Jonas Trappenberg
ddfc3b3ee3 Remove redundant switch breaks. 2015-01-12 20:33:03 -08:00
Jonas Trappenberg
4107572115 Put on one line what comfortably fits into 80 chars. 2015-01-12 20:29:58 -08:00
Vesa V
fd33c26696 Merge pull request #1617 from LMMS/stable-1.1
Stable 1.1
2015-01-13 06:22:39 +02:00
Tres Finocchiaro
377cf68ee7 Make QMenu::separator visible.
Fixes #1615
2015-01-12 23:13:11 -05:00
Amadeus Folego
f0b2d8b0af Fix export crashes adding gui checks 2015-01-13 01:51:27 -02:00
Tres Finocchiaro
6e899d3993 Merge pull request #1572 from badosu/assign-instrument-to-fx-channel
Add "Assign to FX Channel" context button to track
2015-01-12 22:02:31 -05:00
Amadeus Folego
2eb420cb92 Add "Assign to FX Channel" context button to track 2015-01-13 00:45:48 -02:00
Tres Finocchiaro
21f5bb0b93 Merge pull request #1525 from badosu/show-errors-on-cli
[WIP] Refactor errors notification system
2015-01-12 21:45:23 -05:00
Tres Finocchiaro
db2e7febf7 Merge pull request #1553 from leeavital/1429-pattern-switch
Implement 1429 -- move to next and previous pattern
2015-01-12 21:23:00 -05:00
Amadeus Folego
edebf5d7da Refactor loading song errors notification 2015-01-13 00:18:36 -02:00
Amadeus Folego
3dd1da4e25 Collect effects errors to show on summary window 2015-01-12 23:51:32 -02:00
Lee Avital
7da4efda0f Implement 1429 -- move to next and previous pattern 2015-01-12 20:28:13 -05:00
Lukas W
1459be1a2c Merge pull request #1613 from LMMS/cmake
Clean BuildPlugin.cmake
2015-01-13 01:28:42 +01:00
Lukas W
ce5398414c Clean BuildPlugin.cmake 2015-01-13 01:22:31 +01:00
Lukas W
cb10b5aabe Try fixing windows build 2015-01-13 01:13:14 +01:00
Lukas W
5641465a3a Add a testing framework 2015-01-12 23:59:14 +01:00
Lukas W
ebad5296f5 Fix cmake locale update 2015-01-12 23:38:27 +01:00
Lukas W
227a1c0e87 Rename Project menu to File, rearrange save actions
Closes #1608
2015-01-12 23:28:50 +01:00
Lukas W
a94ccb8515 Fix blank AutomationEditor on loading projects 2015-01-12 23:22:21 +01:00
Dave French
4206705ed2 Proposed fix 760 Improve search field 2015-01-12 22:10:15 +00:00
Lukas W
30bc86e2e7 Fix opening automation patterns per context menu 2015-01-12 22:45:47 +01:00
Lukas W
854f1d1132 Merge pull request #1609 from curlymorphic/i1502
proposed fix 1502 incorrect slash in windows
2015-01-12 20:23:32 +01:00
Vesa V
24f869c379 Merge pull request #1599 from curlymorphic/i1526
Proposed fix 1526 Watsyn shows wrong Osc
2015-01-12 21:20:40 +02:00
Vesa V
f40e92f31a Merge pull request #1598 from softrabbit/opulenz2015
Opulenz: small updates
2015-01-12 21:06:33 +02:00
Vesa V
1abb37529d Merge pull request #1601 from curlymorphic/i1492
Proposed fix 1492 Nescaline crash when playing very high note
2015-01-12 21:04:58 +02:00
Dave French
22f51eefb6 proposed fix 1502 incorrect slash in windows 2015-01-12 16:40:42 +00:00
Lukas W
3e0e5d36bf Merge pull request #1606 from DanWin/locale
Fix locale generation
2015-01-12 14:31:30 +01:00
Daniel Winzen
b90bacab6e Fix locale generation 2015-01-12 13:09:10 +01:00
Lukas W
58507c28ec Fix piano roll detuning redraw 2015-01-12 11:04:04 +01:00
Lukas W
ae0ff4c65b Merge pull request #1604 from teeberg/cmake
Generate manpage as part of a build
2015-01-12 10:42:11 +01:00
Tres Finocchiaro
4f03575786 Fix more typos 2015-01-12 01:14:31 -05:00
Tres Finocchiaro
8e5af67ec0 Fix typo in .cpp, remove unecessary changes 2015-01-12 01:00:02 -05:00
Tres Finocchiaro
300e44620a Remove address for CompareType 2015-01-12 00:38:17 -05:00
Tres Finocchiaro
a363e7a16a More comparitors 2015-01-12 00:22:50 -05:00
Jonas Trappenberg
7dd086cde7 Generate manpage as part of a build 2015-01-11 21:14:32 -08:00
Lukas W
a4b039e1c2 Merge pull request #1602 from LMMS/win_make_threaded
Travis Win: Multithreaded make
2015-01-12 00:53:59 +01:00
Lukas W
807c59d3b3 Travis: Simplify .travis.yml 2015-01-12 00:53:35 +01:00
Tres Finocchiaro
23ed8673c1 Merge pull request #1597 from curlymorphic/i1345
updated 1345 Exclude tracks from master pitch
2015-01-11 18:49:32 -05:00
Lukas W
95ee5d0b90 Travis Win: Multithreaded make 2015-01-12 00:46:36 +01:00
Lukas W
0d06ce7cdc Merge pull request #1497 from DanWin/language
Add choose language option
2015-01-12 00:15:32 +01:00
Lukas W
c7ecd9cbba Merge pull request #1596 from LMMS/cmake
CMake use explicit source file specifying
2015-01-11 23:58:15 +01:00
Lukas W
572a989e95 Bump CMake version to 2.8.7 2015-01-11 23:57:50 +01:00
Lukas W
38f544f9a0 Fix embedded resources 2015-01-11 22:59:27 +01:00
Dave French
49b3f36a57 1492 fixed type on line 313 2015-01-11 21:23:30 +00:00
Dave French
a1dce66ca8 Proposed fix 1492 Nescaline crash when playing very high note 2015-01-11 21:10:32 +00:00
Dave French
ffde891cfb Proposed fix 1526 Watsyn shows wrong Osc 2015-01-11 20:15:30 +00:00
Raine M. Ekman
4cfed0434c ...and don't name the track after the name in the SBI file if it's empty. 2015-01-11 20:51:22 +02:00
Lukas W
f3b0c8091f Fix build again 2015-01-11 18:33:55 +01:00
Raine M. Ekman
63e23e0158 Added loading of SBI files.
(e.g. from http://cd.textfiles.com/soundsensations/SYNTH/SBINS/ )
2015-01-11 19:19:52 +02:00
Lukas W
9b25c5adbb Try to fix win build 2015-01-11 17:41:09 +01:00
Tres Finocchiaro
d0c8e7b307 Merge pull request #1593 from curlymorphic/i1345
Proposed fix for 1345 Exclude tracks from master pitch
2015-01-11 11:00:06 -05:00
Lukas W
ee3a99853b CMake use explicit source file specifying 2015-01-11 16:33:57 +01:00
Dave French
94ede26496 1345 redesigned Misc tab using GroupBox 2015-01-11 14:33:41 +00:00
Lukas W
384a48f121 Merge pull request #1426 from LMMS/ed_refac
Editor Refactoring
2015-01-11 13:28:32 +01:00
Lukas W
56055b36b0 Merge branch 'master' into ed_refac
Conflicts:
	src/gui/editors/PianoRoll.cpp
2015-01-11 13:25:55 +01:00
Lukas W
23dbe95e80 Stop on second space key press 2015-01-11 13:05:44 +01:00
Lukas W
a52626bb15 Merge pull request #1591 from DanWin/win_gigplayer
Enable GigPlayer Windows build
2015-01-11 12:41:43 +01:00
Lukas W
1a7cc5ecf8 Merge pull request #1594 from teeberg/master
Minor refactoring
2015-01-11 12:40:15 +01:00
Jonas Trappenberg
87e597510c Minor refactorings and codestyle cleanup. 2015-01-11 00:05:25 -08:00
Jonas Trappenberg
60f34788fb Remove unused variable 2015-01-10 23:52:57 -08:00
Raine M. Ekman
925122545e Fix issue #1292, beautify code a bit,
and revert an initialization change I can't grasp the reason for.
2015-01-10 21:23:14 +02:00
Dave French
83baea6605 1345 moved LedCheckBox to MISC tab 2015-01-10 19:05:40 +00:00
Dave French
af22d39612 Proposed fix for 1345 Exclude Tracks from master pitch 2015-01-10 17:11:17 +00:00
Daniel Winzen
1444902a2d Enable GigPlayer Windows build 2015-01-10 17:43:32 +01:00
Tres Finocchiaro
afa55cae89 Merge pull request #1557 from curlymorphic/i1352
Proposed fix for 1352 Mk2, move the loaded instrument to the parent thre...
2015-01-10 09:40:48 -05:00
Tres Finocchiaro
9ffbef6f6e Merge pull request #1558 from curlymorphic/i1522
Proposed fix for 1522 Noise at the end of Sample previews
2015-01-10 09:33:07 -05:00
Tres Finocchiaro
86c2673398 Merge pull request #1563 from DanWin/resize-cursor
Don't display resize cursor for non-resizable TCOs
2015-01-10 09:32:09 -05:00
Tres Finocchiaro
6e94cc9e5f Merge pull request #1570 from curlymorphic/i888
Proposed fix 888 Bar, Beat and Tick should follow dragged timeline
2015-01-10 09:25:15 -05:00
Tres Finocchiaro
ce689cfa6c Merge pull request #1590 from curlymorphic/i1211
update 1211 solo nolonger mutes master
2015-01-10 09:21:45 -05:00
Dave French
5178ecd3a2 update 1211 solo nolonger mutes master 2015-01-10 12:40:53 +00:00
Tres Finocchiaro
e61a0d14f0 Merge pull request #1505 from curlymorphic/i1150
Proposed fix for 1150 Preset Browser: division between factory and user ...
2015-01-09 21:30:45 -05:00
Tres Finocchiaro
5455457591 Merge pull request #1555 from softrabbit/bug1544
Lock SF2 player mutex around pitch-related calls
2015-01-09 21:28:08 -05:00
Tres Finocchiaro
fa3767e9d1 Merge pull request #1588 from Umcaruje/master
Update README
2015-01-09 19:00:47 -05:00
Umcaruje
1284b6e900 Update README 2015-01-10 00:57:48 +01:00
Tres Finocchiaro
25448d3f21 Add explanation for #1587 changes 2015-01-09 18:12:46 -05:00
Tres Finocchiaro
360d2db98a Merge pull request #1585 from DanWin/performance
Performance and other fixes
2015-01-09 18:07:00 -05:00
Tres Finocchiaro
c210df4752 Merge pull request #1587 from curlymorphic/i300
Proposed fix for issue 300, preview vst crashes
2015-01-09 17:49:10 -05:00
Dave French
180c02aedc Proposed fix for issue 300, preview vst crashes 2015-01-09 21:25:41 +00:00
Tres Finocchiaro
21c532adc0 Add internal support for major/minor/build comparator 2015-01-09 16:25:07 -05:00
Lukas W
d442b674b5 Merge pull request #1586 from curlymorphic/cppcheck
Eq fix incorrect memory allocation
2015-01-09 20:32:17 +01:00
Dave French
4ad1cd607b Eq fix incorrect memory allocation 2015-01-09 19:28:26 +00:00
Daniel Winzen
4a55e1c46a Performance and other fixes 2015-01-09 20:17:07 +01:00
Tres Finocchiaro
baa57fb662 Merge pull request #1583 from badosu/fix-windows-build
Fix exporting class for windows build
2015-01-09 07:16:00 -05:00
Amadeus Folego
d20e83e2f7 Fix exporting class for windows build 2015-01-09 04:27:18 -02:00
tresf
407fc18d82 Remove unused import 2015-01-09 00:12:19 -05:00
tresf
d192df081d Formatting cleanup 2015-01-09 00:05:13 -05:00
tresf
f0e7ea6fd1 Expose major, minor, release and build values parsed from a project version 2015-01-08 23:53:19 -05:00
Tres Finocchiaro
1b91b30658 Merge pull request #1578 from badosu/refactor-redundant-color-assignment
Refactor redundant pattern color assignment
2015-01-08 15:01:57 -05:00
Tres Finocchiaro
b9a0e0f391 Merge pull request #1580 from badosu/fix-error-collection
Fix error collection on Song instead of MainWindow
2015-01-08 14:58:02 -05:00
Amadeus Folego
fc9efc6f58 Fix error collection on Song instead of MainWindow 2015-01-08 17:47:39 -02:00
Tres Finocchiaro
4f44c71a9f Merge pull request #1579 from badosu/notify-non-existing-samples
Collect error for non existing samples
2015-01-08 14:33:06 -05:00
Amadeus Folego
d5c9b78178 Collect error for non existing samples 2015-01-08 16:13:15 -02:00
Amadeus Folego
1dbc44a7f0 Refactor redundant pattern color assignment
Instead of creating a new QColor for each condition just use the
`setRgb` method or fix the conditions order.
2015-01-08 14:37:10 -02:00
Tres Finocchiaro
86d7e24eb1 Merge pull request #1574 from curlymorphic/i1388
Proposed fix 1388 Remove auto-naming of copied blocks
2015-01-08 10:52:42 -05:00
Lukas W
7f2f9f2685 Merge branch 'master' into ed_refac 2015-01-08 10:49:09 +01:00
Raine M. Ekman
471cb04dc9 Removed #ifdefs around assert()s. 2015-01-08 10:28:29 +01:00
Raine M. Ekman
94a779f3c6 Add -DLMMS_DEBUG to CMAKE_CXX_FLAGS_DEBUG 2015-01-08 10:28:29 +01:00
Lukas W
b5da3bf1ee Mailmap entries 2015-01-08 10:28:29 +01:00
Raine M. Ekman
2954ea3b43 ...and prefer "debug.h" to a straight include of <assert.h> 2015-01-08 10:28:29 +01:00
Raine M. Ekman
78350045a2 Fix things that won't build if -DLMMS_DEBUG is in CXX_FLAGS. 2015-01-08 10:28:29 +01:00
Lukas W
a43a6bb3ba Travis: Make verbose output 2015-01-08 10:07:27 +01:00
Dave French
736c44ab8d 888 changed 48 to DefaultTicksPerTact/4 2015-01-08 08:37:07 +00:00
Dave French
7b3e4265b8 Proposed fix 1388 Remove auto-naming of copied blocks 2015-01-08 06:15:18 +00:00
Tres Finocchiaro
5bdc6a8818 Merge pull request #1573 from tresf/master
Seems to fix #1565.  Merging.  If you know a more elegant way to fix this, please do! 👍
2015-01-07 23:51:00 -05:00
tresf
db6f3e6e50 Fix nes array bounds error 2015-01-07 23:28:16 -05:00
Lukas W
b7aaeaa009 Merge pull request #1554 from Spekular/master
Removes unnecessary cleanObject() calls and commented out code in automation flipping
2015-01-08 01:14:18 +01:00
Alexandre Almeida
c799500f31 Update ProjectVersion.cpp 2015-01-07 21:50:57 -02:00
Alexandre Almeida
bd9cb12294 Update ProjectVersion.h 2015-01-07 21:50:26 -02:00
Alexandre Almeida
9199d3e8c3 Update Plugin.h 2015-01-07 21:46:02 -02:00
Alexandre Almeida
d0e0d9a632 Update Plugin.cpp 2015-01-07 21:44:48 -02:00
Alexandre Almeida
918eea1063 Update Timeline.h 2015-01-07 21:14:55 -02:00
Alexandre Almeida
35b954741b Update Song.h 2015-01-07 21:14:29 -02:00
Alexandre Almeida
4ae194cd8b Update ProjectRenderer.cpp 2015-01-07 21:13:27 -02:00
Alexandre Almeida
06518054b2 Update Timeline.cpp 2015-01-07 21:12:50 -02:00
Alexandre Almeida
6c49c88bfd Update Mixer.cpp 2015-01-07 21:12:17 -02:00
Alexandre Almeida
ffb16b80c9 Update Song.cpp 2015-01-07 21:11:42 -02:00
Tres Finocchiaro
181dad5e3c Merge pull request #1568 from badosu/master
Fix muted track not highlighted on selection
2015-01-07 16:24:38 -05:00
Dave French
c0fc56eaea Proposed fix 888 Bar, Beat and Tick should follow dragged timeline 2015-01-07 20:08:18 +00:00
Amadeus Folego
421c071ab0 Fix muted track not highlighted on selection
Fix #1239
2015-01-07 15:55:58 -02:00
Vesa V
13bdfb4b13 Merge pull request #1551 from curlymorphic/eq
EQ Removed DBvModel
2015-01-07 15:27:01 +02:00
Lukas W
e0dbfa696e Remove Engine's has_gui option 2015-01-07 00:22:40 +01:00
Lukas W
748cccd266 Merge branch 'gui_application' into ed_refac
Conflicts:
	src/core/Song.cpp
	src/gui/MainWindow.cpp
2015-01-07 00:03:32 +01:00
Lukas W
0c4833ca4a Adjust automation editor flip implementation 2015-01-06 23:40:14 +01:00
Lukas W
13357e57c4 Change default build type
* Remove hard-coded compile flags (-O2 and -g)
* Make Release the default build type

Fixes #1552
2015-01-06 23:07:28 +01:00
Lukas W
23e0e0fb8e Merge branch 'master' into ed_refac
Conflicts:
	include/AutomationEditor.h
	include/SongEditor.h
	plugins/delay/delaycontrols.cpp
	plugins/delay/delaycontrolsdialog.cpp
	src/gui/editors/AutomationEditor.cpp
	src/gui/editors/BBEditor.cpp
	src/gui/editors/PianoRoll.cpp
2015-01-06 23:05:13 +01:00
Daniel Winzen
01fac0d342 Add default behaviour to switch 2015-01-06 18:50:51 +01:00
Daniel Winzen
7440794597 Don't display resize cursor for non-resizable TCOs 2015-01-06 18:18:16 +01:00
Lukas W
068066929f Merge commit 'b5538c7da818cbcdde5ff1c885ce4eee5b626f3b' into ed_refac
Conflicts:
	plugins/audio_file_processor/audio_file_processor.cpp
	plugins/delay/delaycontrols.cpp
	plugins/delay/delaycontrolsdialog.cpp
	plugins/delay/delayeffect.cpp
	src/gui/MainWindow.cpp
2015-01-06 16:33:41 +01:00
Lukas W
1706279ed1 Merge commit '25ab7260f5cc57075360c976826e13434ade058c' into ed_refac 2015-01-06 16:13:16 +01:00
Lukas W
834be948ee Merge commit 'f7741f184f83e6b9e2f081d39efffb2c499962f6' into ed_refac 2015-01-06 16:11:39 +01:00
Tres Finocchiaro
e2e8537b1d Merge pull request #1546 from DanWin/disbackup
Make saving of .bak files configurable
2015-01-06 10:02:14 -05:00
Lukas W
0df3998f95 Move some gui initialization to GuiApplication's constructor 2015-01-06 15:59:15 +01:00
Tres Finocchiaro
814aba053e Merge pull request #1560 from curlymorphic/i1350
Proposed fix for 1350 Minimized Song_Editor & BB_Editor tracks should no...
2015-01-05 21:04:21 -05:00
Alexandre Almeida
65ff9171de Update coding conventions 2015-01-05 22:11:23 -02:00
Alexandre Almeida
ba20c99a51 Update coding conventions 2015-01-05 22:10:09 -02:00
Dave French
f57d98fb0b Proposed fix for 1350 Minimized Song_Editor & BB_Editor tracks should not allow graphics to be cut off. 2015-01-06 00:09:08 +00:00
Alexandre Almeida
87f6dd0a03 Update coding conventions on Note.h 2015-01-05 20:45:46 -02:00
Alexandre Almeida
ce972c5e50 Update coding conventions on Note.cpp 2015-01-05 20:45:07 -02:00
Dave French
3c44012def Proposed fix for 1522 Noise at the end of Sample previews 2015-01-05 21:41:48 +00:00
Dave French
7588f235ee Proposed fix for 1352 Mk2, move the loaded instrument to the parent thread 2015-01-05 18:39:44 +00:00
Raine M. Ekman
2818bd736a Looks like locking the mutex in SF2 player is needed around a few more
operations than before, at least while importing MIDI. Should fix #1544
2015-01-05 17:40:14 +02:00
Spekular
6e1e73b41f Removes unnecessary cleanObject() calls and commented out code 2015-01-05 16:07:25 +01:00
Dave French
8b83dad22c EQ Removed DBvModel 2015-01-04 17:19:32 +00:00
Vesa V
e5c4df372e Merge pull request #1550 from LMMS/revert-1519-i1352
Revert "Proposed fix for 1352  Ifreeze when adding instruments or moving...
2015-01-04 18:49:15 +02:00
Vesa V
1bb6fa072f Revert "Proposed fix for 1352 Ifreeze when adding instruments or moving mixer tracks" 2015-01-04 18:48:12 +02:00
Vesa V
9a98adaaed Merge pull request #1549 from diizy/master
Fix preview crash caused by earlier commit
2015-01-04 18:47:53 +02:00
Vesa
0cbb506f50 Fix preview crash caused by earlier commit 2015-01-04 18:47:05 +02:00
Vesa V
a9de1160eb Merge pull request #1528 from curlymorphic/eq
Eq 1443 updates
2015-01-04 18:14:33 +02:00
Vesa V
b874d3fa2e Merge pull request #1545 from DanWin/channel
Add "Remove unused channels" option to FX-Mixer
2015-01-04 18:08:04 +02:00
Vesa
5ae9adc9c2 Merge branch 'stable-1.1' 2015-01-04 17:33:20 +02:00
Daniel Winzen
5e4752e041 Adjust coding style 2015-01-04 16:33:19 +01:00
Vesa V
d01c8f2ece Merge pull request #1495 from DanWin/window
Hide windows instead of closing them when clicking on close
2015-01-04 17:20:03 +02:00
Vesa V
469cb98be0 Merge pull request #1506 from curlymorphic/i1255
Proposed fix for 1255 Segment/clip not showing whole last note in Song E...
2015-01-04 17:17:25 +02:00
Vesa V
146577d34b Merge pull request #1516 from grejppi/master-mute
attempt to fix #1512
2015-01-04 17:15:17 +02:00
Vesa V
5fdc452476 Merge pull request #1542 from DanWin/export
Fix export for some locales
2015-01-04 17:05:14 +02:00
Tres Finocchiaro
545853cf06 Merge pull request #1548 from DanWin/scroll
Get correct value for scrollbar width
2015-01-04 08:41:43 -05:00
Daniel Winzen
c11a15d0d0 Get correct value for scrollbar width 2015-01-04 12:38:44 +01:00
Daniel Winzen
74bd58162e Make saving of .bak files configurable 2015-01-03 13:53:49 +01:00
Daniel Winzen
e6e8f28fc8 Don't count channels reveiving input from another channel as unused 2015-01-03 06:52:05 +01:00
Daniel Winzen
4043868992 Add "Remove unused channels" option to FX-Mixer
This makes it easier to delete all FX-Channels that are not in use.
2015-01-02 21:40:49 +01:00
Tres Finocchiaro
ebb2f75458 Merge pull request #1543 from rgwan/master
locale: Fixed some ugly translation in Chinese locale
2015-01-02 14:08:11 -05:00
rgwan
7789d64632 locale: Fixed some ugly translation in Chinese locale 2015-01-03 03:00:13 +08:00
Daniel Winzen
44f72b0f13 Added const 2015-01-02 14:21:39 +01:00
Daniel Winzen
93b6888394 Fix export for some locales 2015-01-02 13:08:11 +01:00
Daniel Winzen
25a3bc63ee Fallback to system default or English, if language unset 2015-01-01 00:06:32 +01:00
Dave French
420bc1b7ed Eq Gain Faders using dBv scale 2014-12-31 12:27:40 +00:00
Dave French
f67eaaced7 EQ changed gain faders to use dB 2014-12-31 00:14:44 +00:00
Vesa V
22c31008d4 Merge pull request #1529 from curlymorphic/i1527
Proposed fix 1527 Channel note on indicator doesn't fire when a very high note is played.
2014-12-30 16:27:39 +02:00
Dave French
1e25b91410 1527 removed socket slot for indicator activation 2014-12-30 14:07:28 +00:00
Dave French
6d4d958ec6 Proposed fix 1527 Not all Played Notes shows the indicator on the InstrumentTrackView 2014-12-29 22:48:54 +00:00
Dave French
22a603c9fd Eq Peak filters now use bandwidth instead of resonance 2014-12-29 21:45:54 +00:00
Dave French
89b3f8f98c Eq FloatText in widget display frequency 2014-12-29 19:46:12 +00:00
Dave French
76eba6456e EQ Seperate in out analysing toggle 2014-12-29 18:11:16 +00:00
Vesa V
6045c2c2bc Merge pull request #1519 from curlymorphic/i1352
Proposed fix for 1352  Ifreeze when adding instruments or moving mixer tracks
2014-12-29 12:39:48 +02:00
Tres Finocchiaro
f03702d4f4 Merge pull request #1513 from DanWin/cmd
Make command line project export working again
2014-12-28 22:08:37 -05:00
Tres Finocchiaro
23ec0e71c1 Merge pull request #1503 from badosu/master
Fix PianoRoll changing editMode outside window
2014-12-28 19:33:40 -05:00
Dave French
c203a5de3b Eq remove oversample and antialysing filter 2014-12-28 17:07:40 +00:00
Dave French
a485e9127e EQ increase shelfing filters minimum resonace. to make stable 2014-12-28 16:00:04 +00:00
Lukas W
b27a5f8d90 Merge pull request #1517 from grejppi/master-selectbox
clear brush for selection box
2014-12-27 23:36:05 +02:00
Lukas W
589ebdb8f3 Merge pull request #1498 from DanWin/translate
Generate translation files automatically
2014-12-27 22:27:45 +02:00
Dave French
d68f8d7302 Proposed fix for 1352 Instrument crash on loading 2014-12-27 17:47:31 +00:00
Hannu Haahti
1b688dc80b clear brush for selection box
(also get rid of some whitespace)
2014-12-27 13:30:01 +02:00
Hannu Haahti
bbbe515e58 attempt to fix #1512 2014-12-27 11:46:19 +02:00
Daniel Winzen
011dee2564 Fix some memory access issues 2014-12-26 19:06:03 +01:00
Daniel Winzen
21bd57b629 Make command line project export working again 2014-12-26 19:04:50 +01:00
Dave French
a42d8a04ea fix for 1255 added 1 pixel margin between border and top note 2014-12-26 17:57:05 +00:00
Vesa V
1cd8c0e2c4 Merge pull request #1510 from LMMS/stable-1.1
Stable 1.1
2014-12-26 19:40:35 +02:00
Vesa V
e503875a28 Merge pull request #1469 from DanWin/mem
Fix various memory leaks
2014-12-26 19:39:43 +02:00
Vesa V
22a2bf97ab Merge pull request #1509 from diizy/master
Some improvements in lmms_math
2014-12-26 19:35:13 +02:00
Vesa
44a2455429 Correct type in macros 2014-12-26 19:33:48 +02:00
Vesa
1a5c085aa2 Faster dbv/linear conversions, separate safe functions for when the extra safety (0/inf handling) is needed 2014-12-26 19:31:16 +02:00
Vesa V
86bb9daa63 Merge pull request #1507 from badosu/pianoroll-rouded-rect
Use rounded rectangles to draw notes
2014-12-26 19:25:49 +02:00
Amadeus Folego
34d28ebe63 Use rounded rectangles to draw notes 2014-12-26 15:07:19 -02:00
Dave French
8c2ebf287d Proposed fix for 1255 Segment/clip not showing whole last note in Song Editor 2014-12-26 12:33:00 +00:00
Dave French
cee287116b Proposed fix for 1150 Preset Browser: division between factory and user files fails if factory has folders 2014-12-26 11:00:26 +00:00
Amadeus Folego
2e1bfb47a5 Fix PianoRoll changing editMode outside window
If an user Ctrl+Clicked on a track, e.g. copying/muting it, but the
focus was still on the PianoRoll window the mode would change

Fix #1501
2014-12-26 07:14:27 -02:00
Daniel Winzen
df79601348 Generate translation files automatically
Instead of updating the binary translation files manually, update them automatically.
Now we only need to sync the *.ts files.
2014-12-25 21:55:38 +01:00
Daniel Winzen
41b756776f Add choose language option 2014-12-25 20:54:18 +01:00
Daniel Winzen
5bf095b6b9 Revert Zynaddsubfx changes 2014-12-24 20:08:14 +01:00
Vesa V
9e4db1417a Merge pull request #1486 from Spekular/master
Adds automation flipping.
2014-12-24 20:34:35 +02:00
Vesa
56ba799404 Use input signal to measure levels for autoquit in FX that can potentially mute the signal 2014-12-24 20:07:04 +02:00
Vesa
a34c6a1c58 Merge branch 'stable-1.1'
Conflicts:
	plugins/Amplifier/Amplifier.cpp
	plugins/audio_file_processor/audio_file_processor.cpp
2014-12-24 19:59:12 +02:00
Vesa
62df768896 Autoquit improvement: On effect plugins where it's possible for the FX to silence the output, measure the levels of the input signal for autoquit
This so that the effect won't be turned off when there's input that the effect is muting (eg. when you use the Amplifier to temporarily mute a signal)
2014-12-24 19:53:05 +02:00
Daniel Winzen
c353f81d59 Hide windows instead of closing them when clicking on close 2014-12-24 17:11:36 +01:00
Tres Finocchiaro
58d864a630 Merge pull request #1491 from curlymorphic/i929n2
Proposed fix for 929 AFP wave display
2014-12-24 08:59:27 -05:00
Tres Finocchiaro
3a126333f8 Merge pull request #1494 from DanWin/window
Fix size reset for maximized windows
2014-12-24 08:53:05 -05:00
Daniel Winzen
2921af35f5 Fix size reset for maximized windows 2014-12-24 10:59:22 +01:00
Vesa V
7c376a610b Merge pull request #1493 from curlymorphic/eq
EQ Fixes for 1443
2014-12-24 11:28:07 +02:00
Dave French
b5538c7da8 used newWaveView in constructor, to remove redundancy 2014-12-23 22:26:36 +00:00
Dave French
7527976804 EQ Fixes
analyser now disabled when not in view.
band vu meters now disable when analyser is disabled.
display nema changed to Equalizer.
set sample rate before frequency on LinkWitzRiley filters.
Grouped the setting of filterparameters into one function, and calc coefficent
 once if needed.
Made suitable function inline.
in and out vu meters now using both stereo channels
2014-12-23 21:57:20 +00:00
Spekular
ddbf9cd264 Fixes flipping visiblesegment horizontally 2014-12-23 19:29:51 +01:00
Spekular
bfeced7140 Code Cleanup 2014-12-23 19:29:51 +01:00
Spekular
eb0b0f5277 Adds automation flipping. 2014-12-23 19:29:50 +01:00
Tres Finocchiaro
122b845105 Bump version for stable-1.1 2014-12-23 12:48:41 -05:00
Vesa V
89d31629c8 Merge pull request #1470 from ranft/bugfix-brush-initialization
Bugfix brush initialization
2014-12-23 19:26:16 +02:00
Vesa V
28db09aca6 Merge pull request #1482 from curlymorphic/renderLoop
Render between loop markers
2014-12-23 19:20:55 +02:00
Dave French
76a1b8c2b6 Proposed fix for 929 AFP wave display 2014-12-23 16:29:04 +00:00
Dave
ee39cbe94d Merge pull request #16 from LMMS/stable-1.1
Stable 1.1
2014-12-23 16:15:28 +00:00
Tres Finocchiaro
e24b8d6a47 Merge pull request #1490 from curlymorphic/i1408
Proposed fix for #1408 Window Size in windowed and full screen modes.
2014-12-23 08:31:21 -05:00
Dave French
1945ed43be Proposed fox for 1408 Window size in window and full-screen modes 2014-12-23 12:57:19 +00:00
Vesa V
c8eb336ab2 Merge pull request #1489 from diizy/master
Remove moc
2014-12-23 13:24:30 +02:00
Vesa
a3ec5b7600 Remove moc 2014-12-23 13:23:58 +02:00
Vesa
a203ee4650 Merge branch 'stable-1.1'
Conflicts:
	plugins/delay/delaycontrols.cpp
	plugins/delay/delaycontrolsdialog.cpp
	plugins/delay/delayeffect.cpp
2014-12-23 13:21:03 +02:00
Dave
68835335d0 Merge pull request #13 from LMMS/master
From master
2014-12-23 10:15:48 +00:00
Vesa V
d261a5af15 Merge pull request #1487 from curlymorphic/flanger
Flanger correct calculation,
2014-12-23 11:39:24 +02:00
Dave French
dd27dc688a updated as per 1474 2014-12-23 09:33:13 +00:00
Vesa V
af66303fc4 Merge pull request #1485 from curlymorphic/delay-1.1
Delay effect   Clear buffer on load, correct use of interpolation, reformat
2014-12-23 11:31:41 +02:00
Dave French
6aae0e6897 change as of issue 1474 2014-12-23 09:17:16 +00:00
Dave French
eca59c30eb Flanger change Filenames to CamelCase 2014-12-22 22:52:47 +00:00
Dave French
7f47fc955d Flanger reformat, convert spaces to tabs 2014-12-22 22:25:55 +00:00
Dave French
b982fa4b4c Flanger correct interpolate calculation 2014-12-22 22:22:51 +00:00
Dave
27b822f30d Merge pull request #12 from LMMS/master
from master
2014-12-22 21:34:46 +00:00
Tres Finocchiaro
ef7d3ff328 Merge pull request #1479 from DanWin/title
reset window title every time we change the state of a subwindow to show...
2014-12-22 16:17:32 -05:00
Dave French
8529f6a0a4 Added Export between loop markers as a checkbox, to the Export Project dialog 2014-12-22 20:55:09 +00:00
Dave French
a0d07db8f1 Delay Clear buffer on load, correct use of interpolation, reformat 2014-12-22 19:29:41 +00:00
Tres Finocchiaro
a7ebc70f07 Merge pull request #1443 from curlymorphic/eq
Eq plugin
2014-12-22 08:16:50 -05:00
Vesa V
c7e3dc716c Merge pull request #1483 from diizy/master
Delay.h fix
2014-12-22 14:45:33 +02:00
Vesa
13b1220d16 Delay.h fix 2014-12-22 14:45:17 +02:00
Vesa V
afa30c300a Merge pull request #1462 from diizy/crossovereq
Changes to interpolation (explicitly use fma more), some new DSP buildin...
2014-12-22 14:41:53 +02:00
Vesa
6a89615d33 Merge branch 'stable-1.1' 2014-12-22 14:36:54 +02:00
Daniel Winzen
36d02b9887 Fix memory leaks in Audio setup tab in the settings dialog 2014-12-22 11:42:35 +01:00
Lukas W
25ab7260f5 Merge pull request #1461 from DanWin/stable-1.1
German translation update
2014-12-22 11:53:45 +02:00
Tres Finocchiaro
dd053b99d2 Fix whitespace 2014-12-22 00:31:50 -05:00
Tres Finocchiaro
3886cd43a9 Merge pull request #1478 from curlymorphic/i856
Proposed fix for 856 Recursive VST Effect Enhancement Request
2014-12-22 00:27:57 -05:00
Dave French
5fc1b36f6f 856 reformat 2014-12-22 05:17:53 +00:00
Dave French
5172acb1e3 Proposed fix for 1049 VST knobs won't remember settings 2014-12-21 23:34:08 -05:00
Tres Finocchiaro
c4b43061bd Merge pull request #1480 from curlymorphic/i1049
Proposed fix for 1049 VST knobs won't remember settings
2014-12-21 23:20:22 -05:00
Tres Finocchiaro
6d8472433c Merge pull request #1481 from curlymorphic/i1080
Proposed fix 1080 Panning Sample tracks
2014-12-21 23:16:20 -05:00
Dave French
a4359ec584 1080 save and load pan settings 2014-12-21 23:36:42 +00:00
Dave French
8f12d483a7 Render between loop markers 2014-12-21 19:59:29 +00:00
Dave
0bbc963ee2 Merge pull request #11 from LMMS/master
from LMMS:master
2014-12-21 16:43:45 +00:00
Dave French
188f3714d7 Proposed fix 1080 Panning Sample tracks 2014-12-21 16:10:43 +00:00
Dave French
cc74273f60 Proposed fix for 1049 VST knobs won't remember settings 2014-12-21 14:19:48 +00:00
Dave French
f54540dea7 856 now loads absolute and relative paths correctly 2014-12-21 10:51:11 +00:00
Daniel Winzen
2ee8f1445c reset window title every time we change the state of a subwindow to show the correct title
When maximizing a subwindow it remembers the title the mainwindow had before and resets it after unmaximizing/closing.
As the title might have changed due to a project switch, we have to reset the title again as it would else show an incorrect/old title.
2014-12-21 10:18:55 +01:00
Dave French
0d44dc6ac5 Proposed fix for 856 Recursive VST Effect Enhancement Request 2014-12-21 03:38:11 +00:00
Tres Finocchiaro
635e92ab50 Merge pull request #1476 from curlymorphic/i1194
Proposed fix for Render from beginning (not play head)
2014-12-20 22:19:00 -05:00
Dave French
5f5d405552 Render from start of track. 2014-12-20 22:33:29 +00:00
Daniel Winzen
e0f7ea57ac Check if object already exists instead of deleting and recreating it 2014-12-20 16:30:28 +01:00
Daniel Winzen
0a732fbc04 Fix mismatched free() / delete / delete [] in RmsHelper.h 2014-12-20 09:07:21 +01:00
Daniel Winzen
b59a50133a Fix memory leaks in ZynAddSubFX 2014-12-19 21:35:43 +01:00
Daniel Winzen
ddbb180800 Fix memory leaks in LADSPA plugins 2014-12-19 21:33:49 +01:00
Rüdiger Ranft
91124495eb Merge upstream changes. 2014-12-19 17:21:16 +01:00
Rüdiger Ranft
7cc080efbd Added the initialization of the active mixer brush. 2014-12-19 17:13:29 +01:00
Rüdiger Ranft
8d6a17a047 Merge Brush-Bugfix 2014-12-19 17:00:09 +01:00
Rüdiger Ranft
17df759e59 Fixed the brush initialization.
The brushes are now initialized as solid colored, in order to fix drawing
problems.
2014-12-19 16:54:37 +01:00
Vesa
c0415ce3b3 Changes to interpolation (explicitly use fma more), some new DSP building blocks
New file: Delay.h - contains some simple delay effects for use in DSP - perhaps for designing reverbs or similar. All are in double precision because why not.
2014-12-18 22:36:39 +02:00
Daniel Winzen
f7741f184f German translation update 2014-12-18 20:58:12 +01:00
Vesa V
3ad6d6ca7a Merge pull request #1459 from DanWin/stable-1.1
More memory fixes
2014-12-18 04:02:59 +02:00
Lukas W
1ee93409d1 Move Engine' GUI code to new GuiApplication class 2014-12-17 23:25:55 +01:00
Daniel Winzen
0891c53582 More memory fixes
This fixes memory leaks in ZASF and Controller. It also sets an uninitalised variable in audio_file_processor.
2014-12-17 21:01:26 +01:00
Tres Finocchiaro
3c5d940561 Fix ifdef typo leftover from clang fix 2014-12-17 14:20:58 -05:00
tresf
448b783e8b Fix compilation on Xcode 4.6 2014-12-17 13:43:14 -05:00
Tres Finocchiaro
85da25fe2a better naming consistency with windows builds
i.e. `LMMS 1.1.0.dmg` will now be `lmms-1.1.0-mac10.7.dmg`
2014-12-17 12:59:36 -05:00
Dave
0084dc461f Merge pull request #10 from curlymorphic/eqFix
Eq fix
2014-12-17 13:07:34 +00:00
Dave French
fae0c8c74e EQ 2014-12-17 12:44:22 +00:00
Dave French
01c8cbcde0 EQ remove EXPORT from EqFader 2014-12-17 12:28:03 +00:00
Lukas W
eb79701acc Merge branch 'master' into ed_refac 2014-12-17 11:35:42 +01:00
Lukas W
657fb06c49 More Automation refactoring 2014-12-17 11:34:57 +01:00
Tres Finocchiaro
db551b9f43 Merge pull request #1457 from curlymorphic/fader
Added EXPORT macro to Fader, to allow use in plugins on windows
2014-12-17 00:20:00 -05:00
Dave French
bac22e9607 EQ tidy up, 2014-12-17 02:57:49 +00:00
Dave French
43ad2d52bd added EXPORT to Fader to allow use in plugins in windows builds 2014-12-17 01:32:10 +00:00
Dave
6df00fffdf Merge pull request #8 from LMMS/master
merge from master
2014-12-17 01:17:15 +00:00
Dave French
2a448e9242 EQ cleaning up memory management 2014-12-16 23:02:45 +00:00
Vesa V
28ec70decd Merge pull request #1456 from diizy/crossovereq
LR filter -> direct form 2
2014-12-17 00:59:10 +02:00
Vesa V
fa86a2cdac Merge pull request #1455 from LMMS/stable-1.1
Stable 1.1
2014-12-17 00:49:14 +02:00
Vesa V
de56c989e9 Merge pull request #1454 from DanWin/stable-1.1
Remove RackView widget before deleting the ChannelView (Rebase for stable-1.1 of #1448 )
2014-12-17 00:48:47 +02:00
Vesa
8402bcb525 LR filter -> direct form 2 2014-12-16 23:49:39 +02:00
Daniel Winzen
d21f0a7114 Remove RackView widget before deleting the ChannelView
Fixes the following two errors I spotted using valgrind:
When deleting a channel;
==936== Invalid read of size 8
==936==    at 0x56FA1D: FxMixerView::deleteChannel(int) (FxMixerView.cpp:374)
==936==    by 0x60E9A79: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==936==    by 0x5216BF1: QAction::triggered(bool) (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==936==    by 0x52185C2: QAction::activate(QAction::ActionEvent) (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==936==  Address 0x14d51b90 is 32 bytes inside a block of size 40 free'd
==936==    at 0x4C2C2E0: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==936==    by 0x56F9ED: FxMixerView::deleteChannel(int) (FxMixerView.cpp:370)
==936==    by 0x60E9A79: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==936==    by 0x5216BF1: QAction::triggered(bool) (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)

When loading a new project after adding some channels:
==936== Invalid read of size 8
==936==    at 0x570785: FxMixerView::refreshDisplay() (FxMixerView.cpp:202)
==936==    by 0x4B590E: Song::clearProject() (Song.cpp:740)
==936==    by 0x4B7885: Song::createNewProject() (Song.cpp:817)
==936==    by 0x60E9A79: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==936==  Address 0x56a12ab0 is 32 bytes inside a block of size 40 free'd
==936==    at 0x4C2C2E0: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==936==    by 0x57075B: FxMixerView::refreshDisplay() (FxMixerView.cpp:201)
==936==    by 0x4B590E: Song::clearProject() (Song.cpp:740)
==936==    by 0x4B7885: Song::createNewProject() (Song.cpp:817)
2014-12-16 22:46:37 +01:00
Vesa
6f23ef7df2 Merge branch 'stable-1.1'
Conflicts:
	plugins/DualFilter/DualFilterControls.cpp
	src/gui/PluginBrowser.cpp
2014-12-16 23:12:02 +02:00
Vesa V
347b5a121d Update papu_instrument.cpp 2014-12-16 23:02:00 +02:00
Vesa V
da6fd6ef5c Update opl2instrument.cpp 2014-12-16 23:00:14 +02:00
Tres Finocchiaro
ed0dc6770d Merge pull request #1453 from falkTX/stable-1.1
Fix for updated Carla API, and fix build on old linux systems
2014-12-16 15:49:01 -05:00
Tres Finocchiaro
f65ec07603 Bump version 2014-12-16 15:32:20 -05:00
falkTX
f2ab783db9 Fix build when using old linux systems 2014-12-16 19:40:31 +00:00
falkTX
91063ab7d2 Update Carla plugin to latest API 2014-12-16 19:40:02 +00:00
Tres Finocchiaro
b789eb9a69 Merge pull request #1449 from curlymorphic/I1432
Proposed fix for issue 1432 LB302 preset preview audio cut-off
2014-12-16 12:30:03 -05:00
Tres Finocchiaro
569c83101a Merge pull request #1451 from curlymorphic/i1450
Proposed fix for 1450 Mem leak in sample-track
2014-12-16 12:23:39 -05:00
Dave French
8b2ce06da8 Proposed fix for 1450 Mem leak in sample-track 2014-12-16 16:41:08 +00:00
Dave French
8d3637e754 Proposed fix for #1411 Crash on LB302 preset preview . 2014-12-16 16:51:06 +01:00
Tres Finocchiaro
c6a22747da Merge pull request #1433 from Sti2nd/stable-1.1
New SnareMarch preset and updated KickPower

No objections after a week, merging. -Tres
2014-12-16 10:48:42 -05:00
Dave French
6fb8df486f EQ changed file and directory names to CamelCase 2014-12-16 14:25:56 +00:00
Tres Finocchiaro
5e8e52ff27 Merge pull request #1447 from curlymorphic/1411
Proposed fix for #1411 Crash on LB302 preset preview .
2014-12-16 08:53:59 -05:00
Dave French
f27ea7bc2b Proposed fix for #1432 LB302 preset preview audio cut-off 2014-12-15 21:40:58 +00:00
Dave
2aa7b64938 Merge pull request #7 from LMMS/stable-1.1
merge LMMS/lmms
2014-12-15 16:37:53 +00:00
Dave French
f357bc7291 Proposed fix for #1411 Crash on LB302 preset preview . 2014-12-15 15:54:05 +00:00
Dave
b00906983b Merge pull request #3 from LMMS/master
Merge from master, for updated LR4 filters
2014-12-15 12:50:49 +00:00
Dave French
47e6f3b614 EQ Change colors used, to be more accessable. 2014-12-15 12:38:51 +00:00
Vesa V
24f8bd4c20 Merge pull request #1445 from diizy/crossovereq
Crossover EQ initial commit, also fix bugs in LR4 filter and Fader
2014-12-15 10:45:00 +02:00
Vesa
0789bae53a Crossover EQ initial commit, also fix bugs in LR4 filter and Fader 2014-12-15 10:41:43 +02:00
Dave French
b595d432d9 EQ Fixed so builds on win, Changed display colors, made res lines thinner 2014-12-14 21:13:20 +00:00
Dave French
c5c9b59167 EQ
changed makefile to allow windows build on travis
2014-12-14 00:09:30 +00:00
Dave French
7536584386 EQ
remove unused files
2014-12-13 22:03:15 +00:00
Dave French
f64ca3ff45 EQ
Clean up of code
2014-12-13 21:54:50 +00:00
Dave French
77fd245c48 EQ updates to UI, Initial Ui complete 2014-12-13 20:35:50 +00:00
Tres Finocchiaro
e6ae2be65a Bump DualFilter high cutoff to 20k
Closes #1395.
2014-12-13 12:19:20 -05:00
Tres Finocchiaro
a182a3e8cc Fix scroll bar gap
Closes #1437
2014-12-13 12:11:31 -05:00
Tres Finocchiaro
90bb470642 Merge pull request #1442 from tresf/stable-1.1
Check major/minor version before setting theme directory
2014-12-13 08:46:06 -08:00
tresf
a8924a34dd Check major/minor version before setting theme directory 2014-12-13 11:27:14 -05:00
Dave
0f6a2e5732 Merge pull request #2 from curlymorphic/master
rebase from master
2014-12-13 16:10:20 +00:00
Dave
a774e5dabe Merge pull request #1 from LMMS/master
rebase from master
2014-12-13 16:08:12 +00:00
Dave French
08821a7290 EQ update
filters before downsampling changed
ignore wet dry knob
scale lines on widget
filter type switch loading correctly
analyser code all move to one location
implment analyze button
remove redundant code
analyser display omprovments
2014-12-13 15:55:28 +00:00
Vesa V
7b61c54f3a Merge pull request #1441 from diizy/master
More fixes (Bitcrush, Linkwitz-Riley filter)
2014-12-13 16:29:52 +02:00
Vesa
4266de7830 More fixes (Bitcrush, Linkwitz-Riley filter) 2014-12-13 16:28:44 +02:00
Vesa V
0da847f943 Merge pull request #1440 from LMMS/stable-1.1
Update FxMixer.cpp
2014-12-13 13:06:28 +02:00
Vesa V
73cad09968 Update FxMixer.cpp
prevent double adding of jobs
2014-12-13 13:05:50 +02:00
Vesa V
46d9b594e8 Merge pull request #1439 from diizy/master
Bitcrush: small improvement, also add some stuff to math & constants
2014-12-13 11:48:56 +02:00
Vesa
1ad5ef22d7 Bitcrush: small improvement, also add some stuff to math & constants
Constants:
- calculate all in long double so as to improve the accuracy of our pre-calculated constants
- add some possibly useful constants: reciprocal of pi, square of pi, and reciprocal of e
Math:
- new math convenience functions: absMax, absMin
2014-12-13 11:26:15 +02:00
Lukas W
11cb8b5d68 Automation Editor tension fix 2014-12-12 10:51:15 +01:00
dave
a7831a7cca Draw grid lines on widget 2014-12-11 16:52:06 +00:00
Lukas W
787788870b Introduce ActionGroup subclass 2014-12-11 12:56:51 +01:00
Lukas W
02869b13dd Editors: Some cleanups 2014-12-11 11:24:26 +01:00
Lukas W
9b6612c396 PianoRoll rename fix 2014-12-11 10:38:04 +01:00
Vesa V
57691c9c3f Merge pull request #1434 from curlymorphic/fader
updated Fader to use setHintText
2014-12-11 08:20:43 +02:00
Lukas W
ebbec2f270 Editor: Add edit mode support 2014-12-11 02:39:04 +01:00
Lukas W
1d07a91a83 PianoRoll: Coding style updates 2014-12-11 01:49:59 +01:00
dave
9c9e9db164 spectrum analysis implemented 2014-12-11 00:08:42 +00:00
dave
4710360ce5 updated Fader to use setHintText
enables setting of the display text.
2014-12-10 23:47:07 +00:00
Stian Jørgensrud
60ad2c8aa0 New SnareMarch preset and updated KickPower
The snare sounds like it would be used for marching. If you can make it
brighter without making it sound funny, please do...

The kick was too dark for general purpose. Shortened it, raised it in
the frequency range and added more noise.
2014-12-11 00:24:52 +01:00
dave
1595c2728e re initial, no working fft, faders, checkboxes 2014-12-10 08:44:25 +00:00
Vesa V
d20b1e9bb6 Merge pull request #1431 from diizy/master
Fader: add a way to disable the x100 display conversion so the fader wid...
2014-12-10 06:58:17 +02:00
Vesa
170f60c8e0 Fader: add a way to disable the x100 display conversion so the fader widget can be used with arbitrary values
Also it can now be used with alternate pixmaps
2014-12-10 06:55:59 +02:00
Vesa
150b16bd15 Merge branch 'stable-1.1'
Conflicts:
	include/lmms_math.h
	plugins/delay/delaycontrolsdialog.cpp
	src/core/FxMixer.cpp
	src/gui/FxMixerView.cpp
2014-12-10 01:38:17 +02:00
Vesa
4a6257a47c Fix master channel peak display
Fix #1427

Conflicts:

	src/core/FxMixer.cpp
	src/gui/FxMixerView.cpp
2014-12-10 01:33:49 +02:00
Vesa V
ebc519c296 Merge pull request #1430 from diizy/master
Fix master channel peak display
2014-12-10 01:30:31 +02:00
Vesa
fbc6de857a Fix master channel peak display
Fix #1427
2014-12-10 01:28:14 +02:00
Vesa V
891ab058eb Merge pull request #1425 from tresf/stable-1.1
Cleanup fmaf() usage, move to lmms_math.h
2014-12-09 17:27:07 +02:00
Tres Finocchiaro
bbe337bd03 Use correct FMA_ macros 2014-12-09 08:28:00 -05:00
Lukas W
b39225ac6a Merge pull request #1422 from curlymorphic/removewhitespace
Remove white space from Knob::setHintText calls
2014-12-09 02:32:16 +02:00
dave
2295545ac6 Remove whitespace from setHintText, change spaces to tabs 2014-12-08 23:48:44 +00:00
Lukas W
7c508f7900 Merge master into ed_refac 2014-12-09 00:20:28 +01:00
Lukas W
b25765ddb8 Move Editors to src/gui/editors subdirectory 2014-12-08 23:43:31 +01:00
Lukas W
51f59293ce Rename Timeline to TimeLineWidget 2014-12-08 23:38:38 +01:00
Lukas W
409e8f2700 AutomationEditor style updates 2014-12-08 23:36:02 +01:00
Lukas W
47cbc9e7f9 AutomationEditor + PianoRoll: Move Copy/Paste shortcuts 2014-12-08 22:58:11 +01:00
Lukas W
b661e0871b PianoRoll: Slot renames 2014-12-08 22:33:37 +01:00
Lukas W
968e581844 Editors: Don't use ToolButton 2014-12-08 22:25:52 +01:00
Lukas W
32da8cb677 Editor: Don't use ToolButton 2014-12-08 21:22:52 +01:00
Tres Finocchiaro
7431e77229 More fmal() fixes 2014-12-08 14:42:19 -05:00
Lukas W
ed8e30b4ee Small const fix 2014-12-08 20:19:51 +01:00
Lukas W
f131fbd877 Editors: Add to workspace in MainWindow class, not in themselves 2014-12-08 19:22:52 +01:00
Lukas W
7a21d699ea SongEditor: Some renames 2014-12-08 18:46:10 +01:00
Tres Finocchiaro
5a0dfdd3c0 minor fmaf() formatting fix. 2014-12-08 12:45:31 -05:00
Tres Finocchiaro
76d766fe25 fmaf() code cleanup, typos 2014-12-08 12:30:16 -05:00
Lukas W
11898a5162 Move Timeline.cpp to gui directory 2014-12-08 18:25:10 +01:00
Lukas W
d029c8513a BBEditor: Use Editor superclass 2014-12-08 18:23:01 +01:00
Tres Finocchiaro
591acbf732 fastFmaf() formatting fixes 2014-12-08 12:22:33 -05:00
Tres Finocchiaro
56d0910533 Cleanup fmaf() usage, move to lmms_math.h 2014-12-08 12:20:47 -05:00
Lukas W
4b275693b6 ToolBar css fixes 2014-12-08 17:12:38 +01:00
Lukas W
e9d841dec1 Migrate Timeline::addToolButtons to QToolBar 2014-12-08 16:53:31 +01:00
Lukas W
ec9158cda9 PianoRoll: Use Editor superclass 2014-12-08 16:48:10 +01:00
Tres Finocchiaro
6e01e8d4e0 Merge pull request #1424 from tresf/stable-1.1
Fix compilation on Apple/Clang (ambiguous fmaf())
2014-12-08 06:09:33 -08:00
Lukas W
d8db8948a8 Editor: Don't delete on close 2014-12-08 14:47:58 +01:00
dave
c997da29db missed a couple of + " ", all sored now 2014-12-08 11:02:41 +00:00
dave
4993eba3c1 Remove unused and unnessary +" " in all knob.setHintText calls 2014-12-08 10:57:21 +00:00
Vesa
2e8534955b Fix FX mixer race condition
Conflicts:

	src/core/FxMixer.cpp
2014-12-07 22:34:37 +02:00
Vesa V
77f2b56221 Merge pull request #1420 from diizy/master
Fix FX mixer race condition
2014-12-07 22:31:09 +02:00
Vesa
dbc404cca1 Fix FX mixer race condition 2014-12-07 22:29:23 +02:00
Vesa V
567f6de349 Merge pull request #1419 from diizy/master
Remove distortion from sv filters
2014-12-07 21:11:45 +02:00
Vesa
e7b7cf54bb Remove distortion from sv filters 2014-12-07 21:11:11 +02:00
Lukas W
86f2c866b6 Move play, record and stop signals to superclass 2014-12-07 18:50:40 +01:00
Lukas W
3e9cc61042 SongEditor: Use Editor superclass 2014-12-07 17:37:22 +01:00
Lukas W
02006f9855 Use Editor superclass in AutomationEditor
Split AutomationEditor -> AutomationEditor + AutomationEditorWindow
2014-12-07 12:48:49 +01:00
Lukas W
c6ee614012 Clean up ToolButton class 2014-12-07 11:53:32 +01:00
Lukas W
44b52ebd99 Add Editor superclass
Provides a toolbar with play, record and stop buttons.
2014-12-07 11:53:20 +01:00
Vesa V
82cd1ca65d Merge pull request #1415 from curlymorphic/Delay
Delay, added s postfix to knob values where applicable.
2014-12-07 00:38:21 +02:00
Vesa V
6b7ff58886 Merge pull request #1417 from diizy/bitcrush
Bitcrush effect plugin
2014-12-07 00:37:53 +02:00
Vesa V
68f5ccce64 Update lmms_math.h
oops, extra f
2014-12-07 00:12:19 +02:00
Vesa
f742854642 Bitcrush effect plugin 2014-12-07 00:07:30 +02:00
Dave
10ca77b31c Merge pull request #1 from LMMS/master
Rebase from original
2014-12-06 21:22:19 +00:00
dave
decac20298 Replaced whitespace in knob definitions, for consistancy 2014-12-06 19:47:39 +00:00
dave
4a2a60255c Added postfix "s" to knobs where relevant, cleaned up unintentional white space 2014-12-06 18:34:24 +00:00
dave
cefee3a721 added s postfix to knob values where applicable. 2014-12-06 18:28:19 +00:00
Vesa V
fd6e49c906 Merge pull request #1406 from csimons/unbind-keys
Removing focus from child windows upon hiding them.
2014-12-06 11:46:06 +02:00
Vesa V
0a839f8309 Merge pull request #1414 from csimons/dialog-titles
Adopt "Title Case" for dialog titles and menu text.
2014-12-06 11:42:20 +02:00
Vesa V
97a8705811 Merge pull request #1380 from softrabbit/journalling-killswitch
Master kill switch for journalling, useful when closing program.
2014-12-06 11:41:16 +02:00
Vesa V
074eada27f Merge pull request #1392 from curlymorphic/Delay
Delay Plugin, Changed default delay time to 0.5 seconds from 2.0.
2014-12-06 11:40:16 +02:00
Christopher L. Simons
ca973b9369 Upon toggling off a window, now attempting to focus SongEditor, then any other visible editors, or finally the parent window if all editors are hidden. 2014-12-06 03:46:41 -05:00
Christopher L. Simons
38b3279cf0 Setting menu titles in Title Case. 2014-12-05 20:40:22 -05:00
Christopher L. Simons
4ec1920b79 Setting dialog titles in Title Case. 2014-12-05 20:05:37 -05:00
Tres Finocchiaro
951663ec3d Merge pull request #1402 from mikobuntu/origin/stable-1.1
Added TR909-RimShot preset to Kicker Instrument. ( also reverted an old change i had made to zyn-globals.h )
2014-12-05 00:31:19 -05:00
Christopher L. Simons
5675b1a373 Removing focus from hidden windows upon hiding them. 2014-12-04 23:39:53 -05:00
Tres Finocchiaro
ee1b9ba7bc Merge pull request #1403 from csimons/vim-comments
Remove personal vim-config comments from source files.
2014-12-04 19:12:21 -05:00
Christopher L. Simons
63b353e07c Removed vim-config comment from SongEditor.cpp. 2014-12-04 16:03:45 -05:00
Christopher L. Simons
2425366b58 Removed vim-config comment from ExportProjectDialog.cpp. 2014-12-04 16:03:35 -05:00
Christopher L. Simons
809cad1b62 Removed vim-config comment from main.cpp. 2014-12-04 16:03:21 -05:00
Christopher L. Simons
3b2316e242 Removed vim-config comment from SampleBuffer.cpp. 2014-12-04 16:03:12 -05:00
mikobuntu
8c0ab4dfec Fixed naming of Kicker preset (RimShot to TR909-RimShot) 2014-12-04 20:55:39 +00:00
mikobuntu
762b667b47 Added TR909-RimShot preset to Kicker
:///home/mikobuntu/lmms/presets/Kicker/RimShot4.xpf
2014-12-04 19:56:54 +00:00
mikobuntu
fc6374a07b reverted changes to globals.h 2014-12-04 19:49:40 +00:00
Vesa V
e61476df04 Merge pull request #1400 from diizy/master
Transposed form of Linkwitz-Riley
2014-12-04 20:45:57 +02:00
Vesa
dcd0e81d86 Transposed form of Linkwitz-Riley 2014-12-04 20:43:37 +02:00
Vesa V
2b7df9d259 Merge pull request #1399 from diizy/master
Added 4th-order Linkwitz-Riley filter object to BasicFilters.h
2014-12-04 18:49:33 +02:00
Vesa
79bbe72055 Added 4th-order Linkwitz-Riley filter object to BasicFilters.h 2014-12-04 18:48:58 +02:00
Lukas W
d17b6c5328 LmmsStyle: Remove legacy code 2014-12-04 17:16:50 +01:00
dave
e7e8e79630 Changed default delay time to 0.5 seconds from 2.0. 2014-12-04 02:39:26 +00:00
Vesa V
31c7e36b72 Merge pull request #1386 from csimons/cleanup-null-pointer-deallocation-warnings
Cleaning up null-pointer-deallocation warnings.
2014-12-03 06:30:18 +02:00
Christopher L. Simons
b1414eba23 Cleaning up null-pointer-deallocation warnings. 2014-12-02 18:07:56 -05:00
Raine M. Ekman
c3c5501396 Master kill switch for journalling, useful when closing program. 2014-12-01 21:28:29 +02:00
Vesa V
1d929d6ce7 Merge pull request #1377 from diizy/multitap
Fix time
2014-12-01 09:47:25 +02:00
Vesa
4f62be89ed Fix time 2014-12-01 09:33:54 +02:00
Tres Finocchiaro
828dd625fa Bump version 2014-11-30 23:00:28 -05:00
Vesa V
e660f479b9 Merge pull request #1355 from curlymorphic/flanger
Flanger
2014-11-30 17:18:02 +02:00
Vesa V
0c69872067 Merge pull request #1375 from diizy/multitap
Multitap, filters, updates
2014-11-30 17:07:48 +02:00
Vesa
a9d0ba11d6 Multitap, filters, updates 2014-11-30 17:06:43 +02:00
Vesa
2a78769078 Merge branch 'stable-1.1' 2014-11-30 15:08:14 +02:00
Vesa V
d907aa1cba Merge pull request #1372 from diizy/multitap
Separate BiQuad, OnePole filters as their own classes in BasicFilters.h
2014-11-30 14:35:24 +02:00
Vesa
be04040ae8 Separate BiQuad, OnePole filters as their own classes in BasicFilters.h
Might do the same for other filter types, but these two are kind of "basic building blocks" for many effects so it makes most sense for them
2014-11-30 14:33:04 +02:00
Vesa V
5352293813 Update lmms_math.h
forgot inline
2014-11-30 02:26:10 +02:00
Vesa V
42ae62d757 Update lmms_math.h
fix fastSqrt
2014-11-30 02:22:23 +02:00
Vesa V
5e6482e17b Update lmms_math.h
better sqrt
2014-11-30 00:42:35 +02:00
Vesa V
1421631f26 Update lmms_math.h
add fast sqrt method
2014-11-29 23:22:39 +02:00
Vesa V
64d90066d9 Merge pull request #1370 from curlymorphic/issue1242
Fix for issue 1242 Buffer size frame rate should not cause a delay/latency at the start of rendered audio file.
2014-11-29 23:08:40 +02:00
dave
550d310a49 issue 1242
Skips first empty period,

  Engine::mixer()->nextBuffer(); is called in ProjectRenderer::run()
2014-11-29 20:44:34 +00:00
Vesa V
4cbb2b721f Update timeline.cpp
tab added
2014-11-29 21:52:21 +02:00
Vesa V
34ce79487c Merge pull request #1367 from curlymorphic/issue1293
fix for underlying bug 1293 loop markers
2014-11-29 21:50:58 +02:00
Vesa V
1d35b61846 Merge pull request #1369 from curlymorphic/issue1347
Issue 1347 Dual filter not loaded properly? rebased to stable-1.1
2014-11-29 21:49:19 +02:00
dave
05fd71190b fix for underlying bug 1293 loop markers
initilized m_moveXoff when moving loop markers
2014-11-29 11:41:27 +00:00
dave
e84c2465ee Added checks to
if( m_dfControls.m_filter1Model.isValueChanged() || m_filter1changed )
if( m_dfControls.m_filter2Model.isValueChanged() || m_filter2changed )

so the filter types get initilized
2014-11-28 22:26:45 +00:00
Vesa V
599046cc0f Merge pull request #1363 from diizy/multitap
Improve gfx
2014-11-28 08:18:53 +02:00
Vesa
920064fef9 Improve gfx 2014-11-28 08:18:16 +02:00
Vesa V
6324c18ec2 Merge pull request #1362 from diizy/multitap
Multitap Echo Delay
2014-11-28 03:59:12 +02:00
Vesa
13543bbf53 multitap.. 2014-11-28 03:56:46 +02:00
Vesa
7410174c8b Multitap 2014-11-28 03:19:21 +02:00
Vesa
13393900d2 Multitap initial 2014-11-28 00:35:14 +02:00
Vesa V
fb349ea386 Merge pull request #1361 from diizy/master
Fixed missed rename
2014-11-28 00:34:39 +02:00
Vesa
eaf4d80206 Fixed missed rename 2014-11-28 00:33:56 +02:00
dave
59641a43a3 Using fast_rand, FAST_MAX_RAND
Stopped accessing value() inside process loop
2014-11-27 19:30:40 +00:00
Vesa
06e5250628 Merge branch 'master' of github.com:LMMS/lmms 2014-11-27 21:16:04 +02:00
Vesa
cc4cf1c233 Pick ringbuffer updates from 2.0 2014-11-27 21:15:26 +02:00
dave
94047beffe Remove old code 2014-11-26 21:08:26 +00:00
dave
5b8514af73 Made lfo ammount control absolute 2014-11-26 21:04:42 +00:00
dave
bc8896b4ef inital commit, with new lmms class names 2014-11-26 19:59:57 +00:00
Lukas W
ad1e495557 Reflect renames in style.css 2014-11-26 13:54:26 +01:00
Lukas W
90b7afc136 Remove unused class TransformableAutoModel
Also remove .svnignore (I've always wanted to do this!)
And a file I accidentally committed
2014-11-26 13:37:52 +01:00
Vesa
ccf095a857 Merge branch 'stable-1.1'
Conflicts:
	plugins/delay/delaycontrolsdialog.cpp
	plugins/delay/delayeffect.cpp
2014-11-26 14:10:00 +02:00
Vesa V
2dd511da7d Merge pull request #1346 from Sti2nd/stable-1.1
Two new presets for Kicker
2014-11-26 14:06:43 +02:00
Vesa V
c25cf8a5cf Merge pull request #1351 from curlymorphic/stable-1.1
changed LFO amount to absolute value.
2014-11-26 14:05:21 +02:00
Vesa V
bdbedaddb9 Merge pull request #1353 from LMMS/rename
Rename old style classes and files [wip]
2014-11-26 13:59:45 +02:00
Lukas W
5f4cdac802 Merge branch 'master' into rename
Conflicts:
	src/core/Song.cpp
	src/gui/LfoControllerDialog.cpp
	src/tracks/InstrumentTrack.cpp
2014-11-26 11:45:55 +01:00
Lukas W
3f172c5a4c Rename tranformable_auto_model to TransformableAutoModel
I think this class isn't even used, probably safe to remove?
2014-11-26 11:33:01 +01:00
Lukas W
497c792871 Rename tabButton/tab_button 2014-11-26 11:03:35 +01:00
Lukas W
d57b51142d Rename basicFilters/basic_filters.h 2014-11-26 10:59:35 +01:00
Lukas W
6d4a6ed9cd Rename bbTrack, trackContentObject and friends 2014-11-26 10:53:47 +01:00
Lukas W
95798da9d0 Rename a lot of classes
* aboutDialog -> AboutDialog
* bbEditor -> BBEditor
* exportProjectDialog -> ExportProjectDialog
* setupDialog -> SetupDialog
* stringPairDrag -> StringPairDrag
2014-11-26 10:39:02 +01:00
Lukas W
7d4f179b4b Rename a lot of files
* about_dialog -> AboutDialog
* bb_editor -> BBEditor
* export_project_dialog -> ExportProjectDialog
* setup_dialog -> SetupDialog
* string_pair_drag -> StringPairDrag
2014-11-26 10:27:25 +01:00
Lukas W
1bbf7455a4 Rename a lot… 2014-11-26 10:09:49 +01:00
Lukas W
5b77abd9a5 Rename fixes 2014-11-26 01:46:12 +01:00
Lukas W
35d880a4ce Rename caption_menu to CaptionMenu 2014-11-26 01:26:38 +01:00
Lukas W
58ec27ef75 Rename automatable_slider to AutomatableSlider 2014-11-26 01:23:04 +01:00
Lukas W
c33bef346a Rename automatable_button to AutomatableButton 2014-11-26 01:21:42 +01:00
Lukas W
ac95123d41 Rename timeLine to Timeline 2014-11-26 01:18:07 +01:00
Lukas W
fec779ff70 Rename project_version to ProjectVersion 2014-11-26 01:16:26 +01:00
Lukas W
aaeb5216ad Rename note to Note 2014-11-26 01:14:52 +01:00
Lukas W
e045f1dd19 Rename fixes 2014-11-26 01:12:57 +01:00
Lukas W
178eadeb35 Rename ladspa_manager to LadspaManager 2014-11-26 01:12:22 +01:00
Lukas W
a9bc056400 Piano Roll: Don't switch to select mode when pressing Ctrl+A
Or don't act like we did. Fixes #431
2014-11-26 01:09:39 +01:00
Lukas W
394d8da286 When removing a track, remove its solo state
Fixes #1103
2014-11-26 01:09:33 +01:00
Lukas W
e7cbc55c69 Instrument view: Restrict mouse wheel tab switching
Only switch the view's tab when the mouse pointer is hovering over the tabs. Closes #712.
2014-11-26 01:07:53 +01:00
Lukas W
5b306ea845 Rename ladspa_2_lmms to Ladspa2LMMS 2014-11-26 00:52:25 +01:00
Lukas W
968909c07c Rename engine to Engine 2014-11-26 00:49:55 +01:00
Lukas W
84d9215880 Rename drumsynth to DrumSynth 2014-11-26 00:47:55 +01:00
Lukas W
c2360f593c Rename bb_track_container to BBTrackContainer 2014-11-26 00:46:49 +01:00
Lukas W
7d0e3945e5 Rename song to Song 2014-11-26 00:44:41 +01:00
dave
9b7738dc60 changed LFO ammount to absolute value. 2014-11-25 22:38:49 +00:00
Vesa
ed11ccbf50 Fix conflict 2014-11-25 21:29:00 +02:00
Vesa
eea784ce71 Merge branch 'master' of github.com:LMMS/lmms 2014-11-25 21:24:21 +02:00
Vesa
33665a2848 Merge branch 'stable-1.1'
Conflicts:
	include/Effect.h
	include/Plugin.h
2014-11-25 21:23:57 +02:00
Vesa V
435c64cc70 Merge pull request #1285 from grindhold/issue_55
Issue 55
2014-11-25 21:20:21 +02:00
Lukas W
14eb54d53e Piano Roll: Don't switch to select mode when pressing Ctrl+A
Or don't act like we did. Fixes #431
2014-11-25 20:18:35 +01:00
Vesa V
55c59a77bd Merge pull request #1327 from DanWin/stable-1.1
Fix most warnings and errors when generating translation files
2014-11-25 21:04:04 +02:00
Lukas W
ed2cd2dda5 Instrument view: Restrict mouse wheel tab switching
Only switch the view's tab when the mouse pointer is hovering over the tabs. Closes #712.
2014-11-25 18:42:41 +01:00
Lukas W
d318cbb1e7 Move track.h -> Track.h, track.cpp -> Track.cpp 2014-11-25 17:10:49 +01:00
Lukas W
9dfb1385cd Rename track class to Track 2014-11-25 17:03:39 +01:00
Lukas W
5d258cedf2 When removing a track, remove its solo state
Fixes #1103
2014-11-25 16:47:11 +01:00
Vesa V
79f71a932d Merge pull request #1349 from LMMS/stable-1.1
Stable 1.1
2014-11-25 13:17:46 +02:00
Lukas W
e935cb046e Fix header guards
Closes #177
2014-11-25 11:25:30 +01:00
Vesa V
334a567620 Merge pull request #1234 from floft/master
GIG Player Plugin
2014-11-25 07:03:12 +02:00
Vesa V
aed82571e3 Merge pull request #1342 from Umcaruje/stable-1.1
Fix old sourceforge links, update Readme
2014-11-25 07:01:11 +02:00
Lukas W
f231465e05 Rename plugin_browser to PluginBrowser 2014-11-25 01:10:59 +01:00
Lukas W
3a206071b1 Fix merge conflicts 2014-11-25 01:07:39 +01:00
Lukas W
02cbc89f0f Merge branch 'stable-1.1' of git@github.com:LMMS/lmms.git
Conflicts:
	src/gui/MainWindow.cpp
	src/gui/plugin_browser.cpp
2014-11-25 01:01:47 +01:00
Lukas W
e47c1242b8 Add scrollbar to instrument plugin browser
Fixes #959
2014-11-25 00:36:23 +01:00
Stian Jørgensrud
22ca36f764 Two new presets
The clap is nothing more than a dry clap. As of now there is a clap with
decay or something. I used two evenings to make the clap I wanted so I
figured other people maybe wanted a dry clap too. Of course it is
probably I who suck at adjusting knobs correctly, but I reckon there are
more of us. 😟

I probably didn't spend too much time on the kick, but as of now there
is only a trapkick in LMMS (kick with long delay), and though we agree
on that it is easy to make kicks in Kicker, it is even easier to use
existing presets and adjust a preexisting preset. So I missed a short
kick in LMMS, and so I made one.
2014-11-24 22:38:13 +01:00
Garrett
205056621c Fixed release samples never being deleted
I removed code in a previous commit that deleted ended samples since
that sometimes caused issues when the samples had loop points. However,
removing the code caused issues with the release samples. Thus, now it
removes ended samples only if they are release samples. Otherwise, the
keyup event and ADSR handle ending the note.
2014-11-23 14:24:51 -08:00
Tres Finocchiaro
27bff6f5d3 Merge pull request #1344 from midi-pascal/stable-1.1
Stable 1.1
2014-11-23 16:16:13 -05:00
pascal
e6ca46fabb Merge branch 'stable-1.1' of https://github.com/midi-pascal/lmms into stable-1.1 2014-11-23 15:44:38 -05:00
pascal
d1e50b9f32 Bug #1335
Hide Size and Maximize options from the intrument dialog
system menu since its size is fixed.
2014-11-23 15:24:42 -05:00
Daniel Winzen
3602aa316f Move Monstro macros back to headers 2014-11-23 19:58:00 +01:00
Umcaruje
180b293ce3 Fix old sourceforge links, update Readme 2014-11-23 19:55:34 +01:00
Daniel Winzen
ad844e72a3 Also scan headers for translatable strings 2014-11-23 19:54:51 +01:00
Garrett
366e799791 More What's This messages 2014-11-23 10:31:18 -08:00
Vesa V
09f2f60af3 Merge pull request #1304 from curlymorphic/stable-1.1
Tempo synced Delay Plugin
2014-11-23 15:16:26 +02:00
Vesa V
79b1c4df37 Merge pull request #1326 from DeRobyJ/stable-1.1
Italian Loca - Grammar Fix 01
2014-11-23 13:58:42 +02:00
dave
7e780fc057 Improved ui 2014-11-23 11:20:03 +00:00
Daniel Winzen
92930b2240 Update German translation 2014-11-21 21:40:26 +01:00
Daniel Winzen
df3a03f64c Add more missing Q_OBJECT macros 2014-11-21 21:08:48 +01:00
grindhold
61a380a2d4 renamed method logError to collectErrorForUI 2014-11-21 19:02:27 +01:00
Lukas W
22ec15f2d7 PianoRoll arrow key behaviour tweaks
* Ctrl + Left/Right moves selected notes by one bar
  (Old behaviour was to move the playnote)
  Closes #811
* Shift + Up/Down moves selected nodes by one semitone
  (Old behaviour was to ignore the Shift key and move the viewport)
  Closes #810
2014-11-21 17:04:46 +01:00
Lukas W
941ed33248 Travis: Install nsis 2014-11-21 16:58:04 +01:00
Daniel Winzen
a9a851d2f0 About dialog: Move involved tab into .ui file 2014-11-21 16:29:32 +01:00
Lukas W
9e245f7ca0 PianoRoll arrow key behaviour tweaks
* Ctrl + Left/Right moves selected notes by one bar
  (Old behaviour was to move the playnote)
  Closes #811
* Shift + Up/Down moves selected nodes by one semitone
  (Old behaviour was to ignore the Shift key and move the viewport)
  Closes #810
2014-11-21 14:42:11 +01:00
Vesa
af34230346 Merge branch 'stable-1.1'
Conflicts:
	data/locale/zh.ts
2014-11-21 14:06:12 +02:00
Vesa V
ac35d2e1dc Merge pull request #1334 from diizy/stable-1.1
Fix logscale saving
2014-11-21 14:03:04 +02:00
Vesa
1cd3c9be2c Fix logscale saving
User-set logscale property wasn't getting saved properly in projects, fixed now
2014-11-21 13:55:32 +02:00
Lukas W
1b2966dc37 CMakeLists.txt indentation 2014-11-21 11:48:40 +01:00
Lukas W
b3e30392f7 Remove some legacy code for Qt<4.4 2014-11-21 11:48:40 +01:00
Daniel Winzen
5c0829399f Fix moc_file inclusion in cmake files
This should fix the Windows builds
2014-11-21 07:16:45 +01:00
Daniel Winzen
3ca76d40ed Add missing Q_OBJECT macros in header files
Fixes 20 warnings similar to the following ones when generating a translation file with e.g. "make de.ts":
/home/daniel/Lmms/src/tracks/AutomationTrack.cpp:40: Class 'AutomationTrack' lacks Q_OBJECT macro
/home/daniel/Lmms/src/core/FxMixer.cpp:41: Class 'FxRoute' lacks Q_OBJECT macro
/home/daniel/Lmms/src/core/FxMixer.cpp:554: Class 'FxMixer' lacks Q_OBJECT macro
/home/daniel/Lmms/src/gui/widgets/MeterDialog.cpp:52: Class 'MeterDialog' lacks Q_OBJECT macro
...
2014-11-21 06:46:47 +01:00
grindhold
f954b07958 rudimentary errormessage for missing sf2-plugins 2014-11-20 22:27:19 +01:00
Vesa
00cb2b1b67 Sync 2014-11-20 18:58:56 +02:00
Lukas W
733e206b44 Travis: Install nsis 2014-11-20 09:17:52 +01:00
Tres Finocchiaro
06d5ee2ec3 Bump version
Skip RC 8 and go to RC 9 to avoid confusion, since RC 8 used in tresf/releases to test a bug
2014-11-20 00:03:01 -05:00
grindhold
69bf4b4a24 implemented proper behaviour for VST plugins 2014-11-20 01:47:13 +01:00
Tres Finocchiaro
e9db4f7152 Merge pull request #1330 from grindhold/issue_1328
Merged anyway. :)  Thanks again @grindhold.
2014-11-19 14:31:29 -05:00
Tres Finocchiaro
67c4f4fa14 Merge pull request #1331 from grindhold/stable-1.1
adjust height of setup_dialog for  stable-1.1

Closes #1328
2014-11-19 11:29:45 -05:00
grindhold
b09067e0b8 adjusted height of setup dialog 2014-11-19 17:10:44 +01:00
grindhold
4509bdcec6 adjusted height of setup dialog 2014-11-19 16:52:24 +01:00
dave
e0c10e030b Added linear interpolation , with help from Vesa 2014-11-18 20:38:39 +00:00
Daniel Winzen
1a1e012632 Revert "Add missing Q_OBJECT macros in header files"
This reverts commit 337003a3b0.
Seams to break Windows builds.
2014-11-18 20:20:10 +01:00
Daniel Winzen
337003a3b0 Add missing Q_OBJECT macros in header files
Fixes 20 warnings similar to the following ones when generating a translation file with e.g. "make de.ts":
/home/daniel/Lmms/src/tracks/AutomationTrack.cpp:40: Class 'AutomationTrack' lacks Q_OBJECT macro
/home/daniel/Lmms/src/core/FxMixer.cpp:41: Class 'FxRoute' lacks Q_OBJECT macro
/home/daniel/Lmms/src/core/FxMixer.cpp:554: Class 'FxMixer' lacks Q_OBJECT macro
/home/daniel/Lmms/src/gui/widgets/MeterDialog.cpp:52: Class 'MeterDialog' lacks Q_OBJECT macro
...
2014-11-18 19:38:26 +01:00
Garrett
76e182e586 Release only one note on keyup
Previously if you release a C4 then all C4 notes would be released. Now
it stores the pointer to the plugin data which is unique for each key
press and determines which to release based on the matching pointers.
2014-11-18 09:02:50 -08:00
Garrett
3f641c2c55 Make it work with MemoryManager 2014-11-18 08:30:31 -08:00
DeRobyJ
7df8878cc3 Italian Loca - Grammar Fix 01
Corrected one text: "Export Tracks" had a typo
2014-11-18 17:06:43 +01:00
Garrett
702e2a1ee3 Added loop support and fixed fine tunings
Now it'll honor the loop regions specified in the file and it'll
properly use the fine tuning for the samples if specified. Also,
modified the exponential decay code again since it was glitching at the
end of some notes for some reason.
2014-11-18 08:05:28 -08:00
Garrett
71b6814729 Change pitch of notes if PitchTrack is set
Now if a Gig file provides a few samples per octave, it'll change the
pitch of the sample specified for a note instead of just assuming it is
the right pitch.

Also, fixed issue where if attack length was zero the note would never
sound.
2014-11-18 08:05:28 -08:00
Garrett
2c0b1ef4b0 Use stack array for buffer instead of gig::buffer_t 2014-11-18 08:05:28 -08:00
Garrett
8693623758 Fixed resampling glitches when deleting notes
Moving the code to detect the sample rates of the currently used samples
after the code deleting notes seemed to fix these glitches. Also, fixed a
few ADSR issues that could have resulted in clipping in the attack or
glitching after the release.
2014-11-18 08:05:27 -08:00
Garrett
a251391249 Always use linear interpolation for resampling 2014-11-18 08:05:27 -08:00
Garrett
4e8508b8a3 Exponential decay for release instead of linear
It now sounds much more like the release in Linux Sampler.
2014-11-18 08:05:27 -08:00
Garrett
822a3c52bb Convert 24-bit data if on big endian system
This is needed since libgig returns 24-bit data in a little endian.
Note: untested as I don't have a big endian system.
2014-11-18 08:05:27 -08:00
Garrett
c0ad77dfca Stack buffers instead of allocating on the heap 2014-11-18 08:05:27 -08:00
Garrett
d1bf19ef4a Don't use "note" as a variable name 2014-11-18 08:05:27 -08:00
Garrett
d0a821947a Fixed resampling issues
When providing extra frames, libsamplerate stores the extras internally
and outputs them in the next period. But, when it has enough internally
to output a whole period, it just outputs the internal buffer while not
using any more input frames. Now I provide some extra frames, check to
see how many frames we used actually used, and update the sample
positions and ADSR accordingly.
2014-11-18 08:05:27 -08:00
Garrett
a679e4e938 Fixed detuned resampling
Apparently the most noticeable detuning issues were caused by rounding
error by integer division.
2014-11-18 08:05:27 -08:00
Garrett
07032260e8 configManager to ConfigManager rename 2014-11-18 08:05:27 -08:00
Garrett
3aaa7ac6c4 Coding style fixes 2014-11-18 08:05:27 -08:00
Garrett
5a3b8d3da1 Restructured into GigNotes which contain GigSamples
Now notes are added/removed by locking only a note mutex when pressing
or releasing a note. Then, while processing we actually find and play
the samples using libgig.
2014-11-18 08:05:27 -08:00
Garrett
74ded6b7ef Switched from std::list to QList 2014-11-18 08:05:26 -08:00
Garrett
0ae048b7a4 Added libgig-dev to Travis build 2014-11-18 08:05:26 -08:00
Garrett
473fda505a Removed unused images, replaced logo and background
They aren't all that great, but at least now it doesn't say that it's a
soundfont player.
2014-11-18 08:05:26 -08:00
Garrett
95726eafed Better ADSR support, fixed some segfaults
Now it supports a simple envelope using attack, decay1, sustain, and
release from the GIG file. I couldn't figure out what amplitude it
should go to after decay2 (if set), so currently that is unused.

It would segfault if you had notes being played and then switched the
instrument since the samples no longer exited. Now it'll delete all
notes when you switch GIG files.
2014-11-18 08:05:26 -08:00
Garrett
641be31d66 No more reference counts for GIG file instances
Since libgig can't really be used in a multithreaded way unless it was
somewhat rewritten, just use a separate instance of the file for each
new GIG file regardless of if we already have one open in the current
file. Since it's fast now, you can easily have quite a few very large
GIG files open and still have low latency.

Also removed C++11 requirement since I no longer need a move
constructor.
2014-11-18 08:05:26 -08:00
Garrett
96194bcee2 Stream instead of loading all into memory
Now, when you press a note, it won't have to load the entire sample into
memory before playing the note. This means that now you can play many
more notes without it glitching. Frequently, the entire note sample
isn't played, so before there was a lot of wasted processing time
converting the sample into float and doing sample rate conversions if
needed.

Also, perform sample rate conversion on the final rendered-out version
of all the combined notes for a period. This drastically decreases
processing time.

Note: currently having more than one instance causes glitching
2014-11-18 08:05:26 -08:00
Garrett
337cc833dd Multiple references load samples from one instance without segfault
Now it doesn't appear to segfault when multiple references to the same
instance try accessing samples at the same time. In libgig it said I
just have to create another decompression buffer for each thread. This
doesn't quite make the whole addNotes function thread safe since I still
hear missing notes. But, it's getting closer.
2014-11-18 08:05:26 -08:00
Garrett
261b436f08 Fixed second instance no name
Previously if you created a second instance of a certain GIG file, it
would set the name to an empty string since it didn't create a new
instance, only increased a reference count. Though, it still seg faults
eventually when the reference count is greater than one.
2014-11-18 08:05:26 -08:00
Garrett
85998a7b78 Rebased on master, minor changes 2014-11-18 08:05:26 -08:00
Garrett
d9b4511321 Mutex for note output, delete note after fade out
Hopefully the separate mutex for playing the samples reduces the
glitching. Deleting notes after fading out instead of after the entire
sample finished playing (with many zeros after the fade out) will reduce
the number of notes playing at the same time which should allow for more
actually-heard notes to be played.

Also, moved delete note code from release function into the rendering
the notes to the output function. This seemed to fix notes occasionally
not being released.
2014-11-18 08:05:26 -08:00
Garrett
5b7eb30756 Use release time as linear fade out time
This makes it sound better than before, so that pianos fade out like
expected and synths abruptly stop as intended. It's not the fully
implemented ADSR of the format, but it's better.
2014-11-18 08:05:26 -08:00
Garrett
f544caf18b Key changing dimension, 24-bit samples, locking
Support for 24-bit samples. It just so happens that the only GIG file I
have that is 24-bit also has the key changing dimension set, so I
implemented that so I could compare the output sound with that of Linux
Sampler. It still sounds different, brighter in LMMS. Not sure if that
has to do with gain, ADSR, or incorrect 24-bit decoding. I'm guessing
ADSR.

There were many crashing issues when playing notes when changing
patches/instruments. More locking, less crashing. However, this also
means that it is quite slow when playing a lot of notes with large
samples and converting sample rates. Linux Sampler amazingly can handle
36 or so keys being pressed at once whereas LMMS nowhere near that many
at the moment.
2014-11-18 08:05:26 -08:00
Garrett
cc59313ad9 Release samples, move constructors, attenuation
An initial implementation of playing release samples on key up. It seems
a bit messy at the moment. Wrote a move constructor since there's quite
a bit of passing around the gigNote class. Use attenuation so that notes
set their gain properly based on the information in the GIG file,
quite noticeable on some release samples.

Note that to support move constructors I enabled building the plugin
with the C++11 standard.
2014-11-18 08:05:25 -08:00
Garrett
a18061bdab GIG Player now uses correct velocity and changes sample rate properly
Fixed crashes when loading invalid file, but this required exceptions
since libgig throws exceptions, hence the changes to CMakeLists.txt.

If the sample rate is changed (e.g. on exporting at 48k when the samples
are at 44.1k), when playing the note convert each note individually to
the correct sample rate instead of converting the output from the notes
to the correct sample rate.

Save the instrument so we don't have to search the entire GIG file every
time we play a note. This should make it work better on computers that
don't have tons of RAM.

Currently there is a 0.5 second fade out time when the note is released.
I still have to implement the release-triggered samples.
2014-11-18 08:05:25 -08:00
Garrett
d4adf8cc31 Initial version of the GIG Player
It currently loads 16-bit mono and stereo GIG files. It plays the whole
note (no attack/delay/release), doesn't resample when exporting as a
different sample rate, and it doesn't do anything different based on
velocity.
2014-11-18 08:05:25 -08:00
Vesa V
dec3185d88 Merge pull request #1088 from diizy/memmgr
LMMS Memory Manager
2014-11-18 14:00:29 +02:00
Vesa
815a70a682 Sync 2014-11-18 13:58:41 +02:00
Vesa
ba05b7523d More peak controller changes:
Add treshold knob to peak controller
This causes the peak controller to react only when the measured peaks are above the set treshold
Might be useful for finetuning your sidechains
2014-11-18 13:58:41 +02:00
Vesa
b441bdae15 Freeverb3: make it work properly on all samplerates 2014-11-18 13:58:41 +02:00
Vesa
f207613d5f Some attention on peak controller 2014-11-18 13:58:40 +02:00
Vesa
8a596b0898 Sanitize output of all effects when exporting 2014-11-18 13:58:40 +02:00
Vesa
50bfed7180 Fix Carla in memmgr branch 2014-11-18 13:58:40 +02:00
Vesa
f25da35c24 Sanitize all channel outputs when exporting 2014-11-18 13:58:40 +02:00
Vesa
dc4bfdc60d Various fixes and precautions
Samplebuffer: reload all samples when samplerate changes. This is because of the way LMMS uses samples: we always resample all samples t$
LadspaEffect: some safeguards for the non-inplacebroken plugins which use the same buffer for input and output. Theoretically, if some p$
FxMixer: fix effect processing in multichannel-chains
2014-11-18 13:58:40 +02:00
Vesa
9fe55161a8 Remove base64.h again (was re-added accidentally at merge resolution) 2014-11-18 13:58:40 +02:00
Tobias Doerffel
68b5a21d14 Initialize BufferManager from within Mixer
Avoid crashes caused by worker threads accessing the buffer manager
before it is initialized. Therefore initialize it from within the
Mixer constructor which has the side effect that it gets initialized
in console-only rendering mode as well.
2014-11-18 13:58:40 +02:00
Vesa
7bc97f5d5b Fixes 2014-11-18 13:58:39 +02:00
Vesa
9a3d3cb306 Fix windows compiling 2014-11-18 13:58:39 +02:00
Vesa
1864dcfaa1 Fix bugs 2014-11-18 13:58:39 +02:00
Vesa
1deb80acc3 Finish audioport rehaul, get vol/pan knobs working again, also some bugfixes
We're now doing the vol/pan stuff in audioport, since this way we avoid the pointless repetition of doing it in the playhandles
2014-11-18 13:58:39 +02:00
Vesa
857de8d2c8 Huge structural changes
Well, this commit got a bit out of hand, what with 26 files changed. Oh well.

Basically, we're using the buffermanager to dispense temporary buffers for playhandles and audioports to use.
This allows us to change the way playhandles work. Earlier, playhandles of the same track were waiting in line
to push their output to the audioport. This was of course inefficient, so now they just register themselves to the port,
then the port handles mixing the buffers.

Caveat: this is still a work in progress, the vol/pan knobs on instruments are temporarily non-functional - will be fixed in
the next commit, but I have to get some sleep now.
2014-11-18 13:58:39 +02:00
Vesa
311d33d648 Implement BufferManager
Also, apply things learned while writing BufferManager to the similar NotePlayHandleManager
2014-11-18 13:58:38 +02:00
Vesa
af60402078 Make it possible to use sample-exact controls in LADSPA plugins
I don't think we currently have any that would support this functionality, but in case someone has a LADSPA plugin that has audiorate control ports, this allows them to be used with the new sample-exact models
Again... not strictly related to memory management, but since I was in that part of the codebase already...
2014-11-18 13:58:38 +02:00
Vesa
daa5f6c26d Use memory management in LADSPA effects
Also optimize non-inplacebroken plugins by using the same buffer for input/output
2014-11-18 13:58:38 +02:00
Vesa
f3ed39a9fe Fix weird issue with remotevstplugin 2014-11-18 13:58:38 +02:00
Vesa
3d9a7fbf75 remove tr.whitespace 2014-11-18 13:58:37 +02:00
Vesa
a8211873b5 Fix arpeggio to work better with the new way to handle note offsets
Ok, not really related to memory management, but was something that needed doing and it's easier to test things when things work properly
2014-11-18 13:58:37 +02:00
Vesa
3a9e9cc075 Use ReadWriteLock for the pools container instead of Mutex 2014-11-18 13:58:37 +02:00
Vesa
8fb8c683f9 Changing and fixing some stuff
- QHash is better to use than QMap in MemoryManager: faster lookups, able to reserve memory in advance
- Also: reserve memory in advance for the QVector and QHash, so we don't get needles allocs for them
- No need to do cleanup for the nph manager, as it uses the generic manager for allocs, and that already gets cleaned up
2014-11-18 13:58:37 +02:00
Vesa
42e67d27a1 Add dedicated manager for noteplayhandles
This caches and reuses nph's independently of the generic memory manager.
2014-11-18 13:58:37 +02:00
Vesa
5e4308507b More fixes 2014-11-18 13:58:37 +02:00
Vesa
9972cb3d4d Fixes 2014-11-18 13:58:37 +02:00
Vesa
75770b4d2e Fix 64 bit, increase mm usage 2014-11-18 13:58:36 +02:00
Vesa
9c25be1bde LMMS Memory Manager 2014-11-18 13:58:36 +02:00
Vesa V
688e732276 Merge pull request #1324 from LYF610400210/patch-1
[Translation] zh.ts
2014-11-18 13:54:22 +02:00
LYF610400210
ef7e465563 [Translation] zh.ts
More translation, and the previous file is buggy (See L1005)
2014-11-18 18:08:03 +08:00
Vesa
6f963159df Merge branch 'stable-1.1'
Conflicts:
	data/locale/zh.ts
2014-11-18 10:52:40 +02:00
Vesa V
09771174f4 Merge pull request #1323 from diizy/stable-1.1
Move the denormals protection to the run() function of the thread
2014-11-18 10:49:21 +02:00
Vesa
d98c2392b2 Move the denormals protection to the run() function of the thread
The constructor was probably the wrong place to put it, run() is definitely executed in the new thread so that's where the setting should be applied I think?
2014-11-18 10:48:03 +02:00
Vesa V
b935cb0a81 Merge pull request #1322 from LYF610400210/stable-1.1
[Translation] zh.ts
2014-11-18 10:05:02 +02:00
LYF610400210
46b86e70ae [Translation] zh.ts 2014-11-18 15:39:43 +08:00
Vesa
e6938994cd Merge branch 'stable-1.1' 2014-11-18 09:22:25 +02:00
Vesa V
0037b9ade9 Merge pull request #1321 from diizy/stable-1.1
Add denormal protection to Fifowriter thread
2014-11-18 09:20:48 +02:00
Vesa
eb7343e25a Add denormal protection to Fifowriter thread 2014-11-18 09:19:56 +02:00
Tobias Doerffel
9f56ba966d Merge pull request #1296 from ma2moto/patch-2
Update ja.ts
2014-11-17 22:24:45 +01:00
dave
932d7905ba The delay buffer now resizes on sample rate change.
tidy up formatting
2014-11-17 20:10:34 +00:00
Daniel Winzen
e1bb2988a1 Move definitions to fix 26 errors which adds new translatable strings
Fixes the following 26 errors when generating a translation file with e.g. "make de.ts":
/home/daniel/Lmms/plugins/monstro/Monstro.h:69: tr() cannot be called without context
/home/daniel/Lmms/plugins/monstro/Monstro.h:70: tr() cannot be called without context
...
/home/daniel/Lmms/plugins/monstro/Monstro.h:96: tr() cannot be called without context
/home/daniel/Lmms/plugins/monstro/Monstro.h:97: tr() cannot be called without context
2014-11-17 21:00:28 +01:00
Daniel Winzen
7a5812af73 Add includes parameter to fix warnings when generating a translation file.
When generating a translation file with e.g. "make de.ts" more than 150 warnings like the following appeared.
/home/daniel/Lmms/src/tracks/Pattern.cpp:642: Qualifying with unknown namespace/class ::PatternView
/home/daniel/Lmms/src/tracks/Pattern.cpp:701: Qualifying with unknown namespace/class ::PatternView
/home/daniel/Lmms/src/tracks/AutomationTrack.cpp:40: Qualifying with unknown namespace/class ::AutomationTrack
...
2014-11-17 20:13:16 +01:00
Vesa V
e59ef2c48a Merge pull request #1319 from diizy/stable-1.1
More exp10 stuff
2014-11-17 18:56:23 +02:00
Vesa
78042ed4c5 More exp10 stuff 2014-11-17 18:55:09 +02:00
Vesa V
b37cbbb3cf Merge pull request #1318 from diizy/stable-1.1
Use exp10 instead of pow and create alias for win/mac for compat
2014-11-17 18:44:02 +02:00
Vesa
01997fe546 Use exp10 instead of pow and create alias for win/mac for compat 2014-11-17 18:43:03 +02:00
Vesa V
183c56a2b3 Merge pull request #1317 from diizy/stable-1.1
Fix drag-n-drop of logscale knobs
2014-11-17 16:17:41 +02:00
Vesa
e16b567e09 Fix drag-n-drop of logscale knobs 2014-11-17 16:15:41 +02:00
Vesa
dfb89c8c92 Merge branch 'stable-1.1'
Conflicts:
	data/locale/de.qm
	data/locale/de.ts
	src/gui/FxMixerView.cpp
2014-11-17 13:25:45 +02:00
Vesa V
7c901d4dfd Merge pull request #1316 from diizy/stable-1.1
Some waveshaper improvements
2014-11-17 13:17:52 +02:00
Vesa
d7931fdb0d Some waveshaper improvements 2014-11-17 13:17:55 +02:00
Vesa V
c42ae751fa Merge pull request #1315 from diizy/stable-1.1
Add class RmsHelper to help with RMS
2014-11-17 12:59:57 +02:00
Vesa
415652ad25 Delete better 2014-11-17 12:45:56 +02:00
Lukas W
26415cd53e Fix segfault in FxMixerView, fix a memory leak in EffectSelectDialog
Segfault occured when moving a channel
2014-11-17 11:03:13 +01:00
Vesa
5cd67537a2 Add class RmsHelper to help with RMS
This is then used by dynamics processor for processing dynamics
2014-11-17 11:51:45 +02:00
dave
2f58d7135b moved call to delayTimeModel.value() outside of process loop 2014-11-17 01:11:17 +00:00
Lukas W
cb41f845a6 Remove obsolete slot
dynProcControls::changeControl method was removed in c51ff31b68
2014-11-16 23:14:20 +01:00
Lukas W
b8d3cd1705 Don't use exp10 2014-11-16 23:02:09 +01:00
Lukas W
495be6f828 Merge pull request #1310 from DanWin/stable-1.1
Updated German translation
2014-11-16 22:40:14 +01:00
Vesa
cd509b707b Merge branch 'stable-1.1'
Conflicts:
	src/core/main.cpp
2014-11-16 22:22:48 +02:00
Vesa V
208bfe356c Merge pull request #1312 from diizy/stable-1.1
Logscale: enabled toggling of knob scale in context menu
2014-11-16 22:20:34 +02:00
Vesa
0d129b0b93 Logscale: enabled toggling of knob scale in context menu 2014-11-16 22:19:16 +02:00
Vesa V
3c7e2acd8a Merge pull request #1311 from diizy/stable-1.1
Upgrades to plugins
2014-11-16 20:55:18 +02:00
Vesa
c51ff31b68 Dynamics processor improvements 2014-11-16 20:54:16 +02:00
Vesa
4b4469d6c2 Add denormals stripping to the main thread as well as workerthreads
Conflicts:

	src/core/main.cpp
2014-11-16 19:15:34 +02:00
Vesa
baf7c74ad7 Strip denormals 2014-11-16 19:10:02 +02:00
Vesa
bd00ecfdc3 Dualfilter updates, add double precision versions of LMMS constants 2014-11-16 18:47:01 +02:00
Lukas W
a99ea9fa6b Merge remote-tracking branch 'upstream/stable-1.1' 2014-11-16 16:41:17 +01:00
Daniel Winzen
612185a2c6 Updated German translation 2014-11-16 16:31:48 +01:00
dave
9bd758951a removed unused socket and empty function in delaycontrols 2014-11-16 15:20:26 +00:00
Vesa V
ca9e51f2a7 Merge pull request #1309 from diizy/stable-1.1
Fix bassbooster
2014-11-16 17:09:22 +02:00
Vesa
bf7b5a5d9d Fix bassbooster 2014-11-16 17:08:39 +02:00
Vesa
84c8755dcd Revert "BassBooster: Remove inline keyword"
This reverts commit 761a71f760.
2014-11-16 17:07:35 +02:00
dave
4c82ba22a9 Fixed issues with original verion, as directed in pull request.
corrected the typeo's,
 Used sampleFrame instead of float* making the code cleaner.
 Set up a socket to change the samplerate where required.
 Stopped using malloc ( yeah that was bad practice on my part ).
 Now using lmms_Math.h and the predefined versions of F_PI and F_2PI,
 I didn't know data from the knobs etc. was not updated over the course of a buffer, so have moved outside the processing loop,
 made appropriate functions inline,
 used sinf.
 Multiplication has replaced division where possible,
 zeroing of the buffer has been removed, as redundant.
2014-11-16 15:02:15 +00:00
Lukas W
761a71f760 BassBooster: Remove inline keyword 2014-11-16 15:51:45 +01:00
Lukas W
d8662e76de Remove M_PI definition, use F_PI 2014-11-16 15:22:46 +01:00
Lukas W
e66326b36b Automatic deployment for Windows builds 2014-11-16 15:22:46 +01:00
Lukas W
eed0608405 Fix win64 build 2014-11-16 15:22:46 +01:00
Lukas W
3aba823ecc Travis: No multithreading make for windows builds 2014-11-16 15:22:46 +01:00
Lukas W
7a62d0ce6f Travis: Enable multithreading, Linux, Win64 2014-11-16 15:22:46 +01:00
Lukas W
0916bc073e Fix compile errors 2014-11-16 15:22:46 +01:00
Lukas W
2c1f07d655 Travis CI: Add win32 target os
Temporarily disable Linux builds
2014-11-16 15:22:46 +01:00
Lukas W
f4f0d947ea Merge pull request #1308 from Lukas-W/ci-win
Travis CI Windows builds
2014-11-16 16:10:38 +02:00
Vesa
c75f4e8dd3 Oops, unfixed merge conflict 2014-11-16 16:08:22 +02:00
Lukas W
43189492d0 Remove M_PI definition, use F_PI 2014-11-16 15:01:15 +01:00
Lukas W
564fb38998 Automatic deployment for Windows builds 2014-11-16 14:51:20 +01:00
Vesa
e62e2f3889 Add denormals stripping to the main thread as well as workerthreads 2014-11-16 15:19:54 +02:00
Vesa
740a7e6850 Merge branch 'stable-1.1'
Conflicts:
	include/AutomatableModel.h
	include/FxMixer.h
	src/core/FxMixer.cpp
	src/gui/widgets/caption_menu.cpp
	src/tracks/InstrumentTrack.cpp
2014-11-16 15:16:40 +02:00
Vesa V
f83b0957f4 Merge pull request #1305 from diizy/stable-1.1
Improvement of FxMixer multithreading
2014-11-16 15:08:10 +02:00
Vesa V
ea2e4e5b69 Merge pull request #1307 from diizy/model
Add a method to AutomatableModel that allows tracking changes without using signals/slots
2014-11-16 14:54:38 +02:00
Vesa
f8c618b0ed Modify BassBooster to show how to replace signals/slots in DSP 2014-11-16 14:51:50 +02:00
Vesa
3e19bc8ddb Add a method to track value changes in AutomatableModel - this can be used by DSP code instead of signals/slots to improve performance 2014-11-16 14:14:35 +02:00
Vesa
8ef10f4f81 More updates to FxMixer - better handling of muted channels 2014-11-16 13:46:54 +02:00
Lukas W
cc3b1f0aea Fix win64 build 2014-11-16 11:15:37 +01:00
Lukas W
60d10f2461 Travis: No multithreading make for windows builds 2014-11-16 02:23:29 +01:00
Lukas W
ee9b92ca81 Travis: Enable multithreading, Linux, Win64 2014-11-16 02:15:15 +01:00
Lukas W
4d6ac1f85d Fix compile errors 2014-11-16 01:51:29 +01:00
Lukas W
2f2f27ab0c Travis CI: Add win32 target os
Temporarily disable Linux builds
2014-11-16 01:21:54 +01:00
Vesa
ca06a10a42 Fix segfault when enabling/disabling sends while playing 2014-11-15 21:11:40 +02:00
Lukas W
435f3c0f3d Merge pull request #1299 from LMMS/stable-1.1-iss1290
Disable 'Help' action in context menus when there's no help text
2014-11-15 18:54:10 +02:00
Vesa
c92774af27 Improvement of FxMixer multithreading
Use dynamic building of jobqueues with dependency counting:
- At the start, each channel that has no dependencies is added automatically to the queue
- Then, after each channel is processed, it increments the dep.counter of all its recipients
- When a channel's dep.counter hits the amount of its dependencies (senders), it gets automatically added to the queue
- The queue is finished when the master channel has been processed
- Muted channels are automatically processed at the start regardless dependencies, because they don't have to care about senders, being muted

Hopefully this will improve Fx Mixer performance.
2014-11-15 18:51:49 +02:00
Lukas W
9005dc39ca Caption menu style fix 2014-11-15 17:46:07 +01:00
dave
6d2b91054b Tempo synced Delay Plugin 2014-11-15 11:22:23 +00:00
Vesa V
6e027ae929 Merge pull request #1302 from diizy/master
More filter stuff
2014-11-14 22:18:39 +02:00
Vesa
a5d95f0bdd Oops #3... 2014-11-14 22:15:18 +02:00
Vesa
47f3eabb8c Oops again 2014-11-14 21:53:27 +02:00
Vesa
8576b586ff Oops 2014-11-14 21:35:34 +02:00
Vesa
5b8f92e757 More filter optimizations 2014-11-14 21:32:22 +02:00
Vesa V
7c9ccf59db Merge pull request #1301 from diizy/master
Strip denormals
2014-11-14 20:44:57 +02:00
Vesa
16302fc4ab Strip denormals 2014-11-14 20:43:49 +02:00
Lukas W
70508b0c37 Don't display 'Help' action in context menus when there's no help text
Fixes #1290
2014-11-14 15:45:46 +01:00
ma2moto
f4da924211 Update ja.ts 2014-11-14 22:33:14 +09:00
Vesa V
87003ee84c Merge pull request #1295 from diizy/filters
Bit of optimizing
2014-11-14 02:02:05 +02:00
Vesa
7c682316b3 Bit of optimizing 2014-11-14 02:00:51 +02:00
Vesa V
df843e2b32 Merge pull request #1288 from tresf/stable-1.1
Set pitch range
2014-11-14 01:16:19 +02:00
Vesa V
4df054ae24 Merge pull request #1294 from Umcaruje/stable-1.1-uifix
Fix misalignment in Song Editor
2014-11-14 01:16:02 +02:00
Umcaruje
269bbc3dae Fix misalignment in Song Editor 2014-11-14 00:07:03 +01:00
Vesa V
14d4c37bab Merge pull request #1291 from diizy/filters
Even More Filters
2014-11-13 20:45:56 +02:00
Vesa
4aaeb73f71 Some further optimizations 2014-11-13 20:12:36 +02:00
Vesa
002d2cb2ff Wrong branch stuff got in by accident 2014-11-13 20:06:43 +02:00
Vesa
53dd1e4257 Add filters to dualfilter 2014-11-13 20:03:53 +02:00
Vesa
a3cce23d6d Even more filters 2014-11-13 19:11:34 +02:00
Vesa
bb821d685b More filters 2014-11-13 18:10:53 +02:00
Tres Finocchiaro
808e18f20a Set pitch range 2014-11-11 22:42:02 -05:00
Vesa
16fb09fb94 Merge branch 'stable-1.1' 2014-11-10 20:33:02 +02:00
Lukas W
8e8879f735 Merge stable-1.1
Conflicts:
	include/ConfigManager.h
	include/MidiTime.h
	include/string_pair_drag.h
	src/gui/string_pair_drag.cpp
	src/gui/widgets/rubberband.cpp
2014-11-10 19:26:59 +01:00
grindhold
cf29c8b97f fixed wrong visibility of Plugin::logError 2014-11-10 11:55:36 +01:00
grindhold
ec457ac69b fixed argument being passed into errormessage of vsteffect 2014-11-10 10:45:38 +01:00
grindhold
f746db27f0 unexpected codestyle fixes 2014-11-10 10:35:36 +01:00
grindhold
27a136fe03 added capability to collect multiple errormessages and display them at once 2014-11-10 10:35:07 +01:00
Vesa
d685adf73a Do not create checkpoints for moving tracks 2014-11-10 00:57:50 +02:00
Vesa V
e2911884a6 Merge pull request #1280 from DeRobyJ/stable-1.1
Italian 1.1 Loca Update
2014-11-09 13:03:32 +02:00
DeRobyJ
b6046ad2c1 Italian 1.1 Loca Update
I hope this time it will work xD
2014-11-09 11:30:37 +01:00
Vesa V
2c7036edd6 Merge pull request #1258 from grindhold/brokenproject
attempt to open broken project does not clear currently open project
2014-11-08 12:21:31 +02:00
Vesa V
d10eecbf5f Merge pull request #1277 from LMMS/c++11
Enable C++11
2014-11-08 12:16:01 +02:00
Vesa V
102db9cd50 Merge pull request #1266 from tresf/stable-1.1
Fix automation cursor position issue
2014-11-08 12:07:47 +02:00
Lukas W
9d395ac0c1 Enable C++11 2014-11-08 10:26:10 +01:00
Tres Finocchiaro
4e5d4b95a0 Typo, add missing "else" 2014-11-07 12:39:00 -08:00
Tres Finocchiaro
2a6d6c2a7e Fix Apple/Clang compilation for fmaf() 2014-11-07 12:23:39 -08:00
Tres Finocchiaro
e7721dfd78 Bump version 2014-11-07 08:30:41 -05:00
Lukas W
bf484300b6 Fix some memory leaks 2014-11-06 21:23:16 +01:00
Vesa V
8f7593f82e Merge pull request #1256 from grindhold/metronome
first metronome click of a tact now has a higher pitch #1254
2014-11-05 01:50:13 +02:00
Lukas W
8242ca9cac Merge branch 'Umcaruje-stable-1.1-namefix' into stable-1.1 2014-11-05 00:46:16 +01:00
Lukas W
d4a8f6c95b More name & site fixes 2014-11-05 00:41:02 +01:00
Umcaruje
6fb923cba2 Correct the program name and site in the descriptions. 2014-11-04 22:56:50 +01:00
Tres Finocchiaro
1826ced3d2 Fix automation cursor position issue 2014-11-04 00:13:38 -05:00
Vesa V
d3ae2e5721 Merge pull request #1264 from floft/configrename
Last configManager to ConfigManager rename
2014-11-03 22:36:38 +02:00
Garrett
6c91679de4 Last configManager to ConfigManager rename 2014-11-03 08:21:30 -08:00
Vesa
fa9674521e Merge branch 'stable-1.1'
Conflicts:
	src/core/main.cpp
	src/gui/MainWindow.cpp
2014-11-02 07:46:32 +02:00
Vesa V
e801376ff4 Merge pull request #1250 from Lukas-W/stable-1.1-iss1065
Ask for saving changes before opening recent project
2014-11-02 07:40:39 +02:00
Vesa V
e7fbe3a2d4 Merge pull request #1253 from softrabbit/issue722
Make autosave file name the same for save and load
2014-11-02 07:39:20 +02:00
Vesa V
671833a1dd Merge pull request #1260 from LMMS/master-configmgr
Config Manager updates
2014-11-02 07:36:25 +02:00
Lukas W
f6f44d0c5c Rename ConfigManager files (3) 2014-11-02 01:26:46 +01:00
Lukas W
47831c99c5 Rename ConfigManager files (2) 2014-11-02 01:08:27 +01:00
Lukas W
c9c8bf1c77 Rename ConfigManager files (1) 2014-11-02 01:06:13 +01:00
Lukas W
100a67cd3c Rename configManager to ConfigManager 2014-11-02 01:02:33 +01:00
Lukas W
d68671a6c2 Code style updates 2014-11-02 00:57:19 +01:00
Lukas W
2e66c88edf Store recovery file path in configManager 2014-11-02 00:51:24 +01:00
Lukas W
053862ffab Fix autosave
Fix typo made in 2e7733eaa1 while renaming
occurances of "mmp" to "datafile". This lead to a mismatch in the file name
used for saving and reading the recovery file.

Addresses #722
2014-11-02 00:22:49 +01:00
grindhold
f67e363532 attempt to open broken project does not clear currently open project. fixing #781 2014-11-01 17:36:00 +01:00
grindhold
eea294b8d6 use trimmed metronome sound of @mikobuntu 2014-11-01 12:56:18 +01:00
grindhold
e9174b275a first metronome click of a tact now has a higher pitch #1254 2014-11-01 12:18:27 +01:00
Raine M. Ekman
70cc80a032 Make autosave file name the same for save and load. Fix #722 2014-10-31 20:11:30 +02:00
Lukas W
c682567e4b Ask for saving changes before opening recent project
Fixes #1065
2014-10-31 13:35:54 +01:00
Tres Finocchiaro
c5349d40b9 Merge pull request #1247 from tresf/stable-1.1
New DMG background
2014-10-30 21:56:53 -04:00
Vesa V
9d3b14e298 Merge pull request #1248 from grindhold/fxmixersolo
implemented solo-buttons for FxMixer - resolving #1211
2014-10-31 01:15:34 +02:00
grindhold
865dcc5685 coding style fixes 2014-10-31 00:03:27 +01:00
grindhold
8fe009114d implemented solo-buttons for FxMixer - resolving #1211 2014-10-30 23:43:43 +01:00
Tres Finocchiaro
6c9b87f016 New DMG background
Closes #1113 (Thanks @Umcaruje)
2014-10-30 17:02:01 -04:00
Vesa V
540124bde2 Merge pull request #1244 from tresf/stable-1.1
Cherry pick @grindhold's hand cursor fix
2014-10-28 19:26:43 +02:00
grindhold
c115b83ff8 fixed hotspot of hand-cursor 2014-10-28 13:23:10 -04:00
grindhold
612abd137a fixed other occurences of hand cursor than beat-editor 2014-10-28 13:22:54 -04:00
Vesa V
431eaa16dc Merge pull request #1243 from grindhold/master
Fixed hotspot of hand-cursor
2014-10-28 17:49:07 +02:00
grindhold
05c15dff0c fixed other occurences of hand cursor than beat-editor 2014-10-28 15:32:35 +01:00
grindhold
2c447a32e7 fixed hotspot of hand-cursor 2014-10-28 15:21:22 +01:00
Vesa
240c0b20a6 SF2 fix? 2014-10-28 15:01:00 +02:00
Tobias Doerffel
1f9740201b Merge pull request #1236 from tresf/stable-1.1
Better name for "dummy" effects
2014-10-26 22:48:42 +01:00
Tres Finocchiaro
deae0883d2 Fix more whitespace 2014-10-24 09:13:45 -04:00
Tres Finocchiaro
6db78be8ff Fix whitespace 2014-10-24 09:13:17 -04:00
Ubuntu
f601e01811 Turn carla back on :) 2014-10-24 09:12:07 -04:00
Ubuntu
8288185dac Disable controls on "dummy" effects 2014-10-24 09:10:17 -04:00
Tres Finocchiaro
4bef367b09 Make "dummy" effects stand out in color 2014-10-23 22:00:57 -04:00
Tres Finocchiaro
849dd8a6b3 Better name for "dummy" effects 2014-10-23 21:23:13 -04:00
Vesa V
c6f3962a87 Merge pull request #1230 from diizy/newfilter
New filters: SV Lowpass, SV Bandpass, SV Highpass, DoubleMoog
2014-10-22 16:23:41 +03:00
Vesa
e9ab240558 Add more filters! 2014-10-22 16:17:28 +03:00
Vesa
eb86428f10 Correct samplerate-agnostic behaviour 2014-10-22 15:12:58 +03:00
Vesa
8e3908e785 Initial commit: new filter - SV Lowpass
Adds a state-variant 4-pole lowpass filter into LMMS, which I swiped from Nekobee and slightly adapted to work in LMMS
It is possible that with some adjustments a highpass version could also be produced (will have to look into that)
It sounds really cool, kind of like the moog filter but has more character, esp. on high Q values
2014-10-22 07:05:53 +03:00
Tobias Doerffel
b0e12e3897 Merge pull request #1228 from ma2moto/patch-1
Patch 1
2014-10-19 18:45:55 +02:00
Vesa
b084e91345 Merge branch 'stable-1.1'
Conflicts:
	data/locale/de.qm
	data/locale/zh.qm
	data/locale/zh.ts
2014-10-19 14:58:23 +03:00
ma2moto
100b26a7a3 Update ja.ts 2014-10-19 19:39:55 +09:00
ma2moto
9c9036e10f Update ja.ts 2014-10-19 17:47:36 +09:00
ma2moto
f3f8f16104 Update ja.ts 2014-10-19 09:51:47 +09:00
ma2moto
2302528690 Update ja.ts 2014-10-19 09:26:34 +09:00
ma2moto
bb6130d52e Update ja.ts 2014-10-19 09:17:52 +09:00
ma2moto
8b860c4360 Update ja.ts 2014-10-19 08:56:35 +09:00
Vesa
886bf2b16e Revert "Adjust Carla for master branch"
This reverts commit 30e0140ecb.
2014-10-18 22:11:47 +03:00
Vesa
95eaa86a6f Revert "Revert "Make carla compile in master""
This reverts commit b12e6b773c.
2014-10-18 22:11:17 +03:00
Vesa
b12e6b773c Revert "Make carla compile in master"
This reverts commit 633609fdc7.
2014-10-18 22:07:07 +03:00
Tres Finocchiaro
7e4933541d Merge pull request #1203 from falkTX/stable-1.1
> Why isn't this applied yet?

All of the admins must be busy, sorry for the delay.
2014-10-17 13:39:35 -04:00
Lukas W
4e0c06442a Reflect project rename in code
Related to #1209
2014-10-17 16:17:40 +02:00
Vesa
ec5384c10e Fix fxmixer bug where fx chains get shut off when multiple channels are chained together 2014-10-15 20:50:32 +03:00
Vesa
633609fdc7 Make carla compile in master 2014-10-15 20:43:47 +03:00
Vesa
30e0140ecb Adjust Carla for master branch 2014-10-15 20:36:50 +03:00
Vesa
5dfb17df14 Merge branch 'stable-1.1' 2014-10-15 20:29:41 +03:00
Vesa
37671b1427 Revert 2ca84c15a1 2014-10-15 20:28:40 +03:00
Tres Finocchiaro
6f6731ff9f Merge pull request #1217 from unfa/patch-1
Closes #1209
2014-10-15 11:36:27 -04:00
unfa
23d0832923 Removed the deprecated "Linux Multimedia Studio" name
Modified line 46 accorinf to https://github.com/LMMS/lmms/issues/1209
2014-10-15 17:35:23 +02:00
falkTX
9fabc0e8b6 Add background artwork for carla 2014-10-10 11:21:23 +01:00
Tobias Doerffel
d317704b27 LmmsPalette: retrieve palette properties via polishing
Fix the short palette widget popup which is annoying and not neccessary
as polishing does the same job without flicker.
2014-10-05 22:33:47 +02:00
Tres Finocchiaro
ace33aa39c Vestige Controls - Horiz Scrollbar Fix
Adds a horizontal scrollbar to VSTs Controls with longer knob labels.

Closes #1184
2014-10-03 14:42:37 -04:00
Tobias Doerffel
1e97ac3706 Merge pull request #1186 from Spekular/stable-1.1
Error Message Fixes
2014-10-03 10:31:20 +02:00
Spekular
1c591e2e54 Error Message Fixes
Can't recovery --> Can't recover
2014-10-02 17:57:24 +02:00
Tobias Doerffel
7a64d0975e AudioAlsa: fix FTBFS on non-Linux platforms
The ESTRPIPE error code is only available on Linux (and not on BSD) and
thus should only be used if defined.
2014-10-01 23:25:03 +02:00
Tobias Doerffel
2da7804c82 Merge remote-tracking branch 'origin/stable-1.1' 2014-09-30 23:00:09 +02:00
Tobias Doerffel
71cdf06923 Refreshed localization files 2014-09-30 22:56:27 +02:00
Tobias Doerffel
eb2c47f81d Refreshed localization files 2014-09-30 22:55:29 +02:00
Tobias Doerffel
f2876ea650 Merge remote-tracking branch 'origin/stable-1.1'
Conflicts:
	data/locale/zh.ts
	src/tracks/Pattern.cpp
2014-09-30 22:53:24 +02:00
Tobias Doerffel
0055fe13b1 MidiImport: fixed plugin folder name 2014-09-30 22:50:38 +02:00
Tobias Doerffel
de45718351 Renamed pattern/patternView to Pattern/PatternView 2014-09-30 22:49:16 +02:00
Tobias Doerffel
fab7f8fea8 PianoRoll, Pattern: manage reset of currently edited pattern more reliably
Introduce one central signal in the pattern class which is emitted before
the pattern object is being destroyed. This way we can easily and more
reliably hide this pattern in the PianoRoll without any race conditions
or other glitches.

Closes #1089.
2014-09-30 22:34:01 +02:00
Tobias Doerffel
53f240852d RemoteVstPlugin: build with -ansi option
Work around a known bug in GCC headers which can lead to compile errors
in cstdlib header file when using the -m32 compiler flag.

Closes #1181.
2014-09-28 18:18:31 +02:00
Tobias Doerffel
606879421b Merge remote-tracking branch 'origin/stable-1.1'
Conflicts:
	README.md
2014-09-28 18:12:04 +02:00
Tobias Doerffel
613bcc981f README.md: stripped old full program name 2014-09-28 18:09:47 +02:00
Tobias Doerffel
75a979b9a0 Merge pull request #1174 from DaAwesomeP/master
Update Readme
2014-09-28 18:08:50 +02:00
Tobias Doerffel
534c9c1668 Merge pull request #1174 from DaAwesomeP/master
Update Readme
2014-09-28 18:07:53 +02:00
Tobias Doerffel
d39d1b3840 ZynAddSubFX: added explicit check for FLTK's fluid binary
Closes #954.
2014-09-28 18:05:31 +02:00
P THE AWESOME
f505c31af4 Fix SF Wiki name in Readme
Changed to "Artist & User Wiki."
2014-09-28 10:56:21 -05:00
Vesa V
432d98d83d Merge pull request #1179 from Spekular/stable-1.1
Background Art Fix
2014-09-28 12:31:53 +03:00
Spekular
ee359207f4 Revert "Update .gitignore"
This reverts commit 18bd03118f.
2014-09-28 10:18:35 +02:00
Spekular
6e2d803e09 Revert "Update .gitignore"
This reverts commit e8c6062f9a.
2014-09-28 10:18:26 +02:00
Spekular
e8c6062f9a Update .gitignore 2014-09-28 10:07:10 +02:00
Spekular
18bd03118f Update .gitignore 2014-09-28 10:06:18 +02:00
Spekular
6b54a4bcc1 Background Art Fix
Fixes Background art and provides .svg source
2014-09-28 10:04:02 +02:00
Vesa V
4d7c8c2f46 Merge pull request #1155 from falkTX/stable-1.1
Initial version of Carla plugin for LMMS
2014-09-28 10:49:23 +03:00
falkTX
9f6c9d96ef Carla: Misc fixing 2014-09-27 00:31:28 +01:00
falkTX
5dddbe7c30 Pass timeInfo to Carla plugin 2014-09-26 11:58:42 +01:00
falkTX
8aa29bb4ba Add TODO items for carla 2014-09-26 10:38:05 +01:00
falkTX
b0fab3d3c2 Carla: Implement UI Save/Open for plugins; Misc fixes 2014-09-26 10:31:08 +01:00
P THE AWESOME
1ace719ab7 Update Readme 2014-09-25 20:39:05 -05:00
Vesa V
2bd722f7c1 Merge pull request #1169 from diizy/master
Oops..
2014-09-21 22:29:22 +03:00
Vesa
412c477ddc Oops.. 2014-09-21 22:28:29 +03:00
Vesa V
06926bfeee Merge pull request #1168 from diizy/master
Fix LFO phase
2014-09-21 22:21:52 +03:00
Vesa
da6c2ed04b Fix LFO phase 2014-09-21 22:20:34 +03:00
falkTX
b88225ffc8 Carla: Fix link (rpath) and finding binary dir (needs latest carla) 2014-09-16 17:22:23 +01:00
Vesa V
3980239d26 Merge pull request #1154 from Sti2nd/stable-1.1
Corrected name error in Cool Songs and added Popsip-Electric Dancer
2014-09-14 22:34:12 +03:00
Stian Jørgensrud
af1b351dd2 Added Popsip-Electric Dancer to CoolSongs 2014-09-14 21:09:45 +02:00
Vesa
463f926d4e Remove the mocfile inclusion in FileBrowser.cpp since it seems to break compiling for some reason 2014-09-12 19:31:19 +03:00
Vesa V
1c500376bb Merge pull request #1158 from diizy/master
Remove the mocfile inclusion in FileBrowser.cpp since it seems to break ...
2014-09-12 19:30:59 +03:00
falkTX
849d08c6ef Initial version of Carla plugin for LMMS 2014-09-11 16:54:31 +01:00
Stian Jørgensrud
09656a46e7 Corrected name error in Cool Songs
From Skeissi to Skiessi
2014-09-11 11:54:58 +02:00
Vesa
498d939e76 Merge branch 'stable-1.1' 2014-09-10 00:43:32 +03:00
Vesa V
90259a1512 Merge pull request #1149 from diizy/stable-1.1
Fix channel send connections
2014-09-10 00:41:15 +03:00
Vesa
44993319eb Fix channel send connections
Fix #1147
Backwards compat should be maintained.
2014-09-10 00:40:29 +03:00
Vesa
bf6659fbb1 Merge branch 'stable-1.1'
Conflicts:
	src/gui/FileBrowser.cpp
2014-09-09 23:55:39 +03:00
Tobias Doerffel
5bbd79de0f Merge pull request #1145 from krafczyk/fix_for_doubleclick_knob_bug
Fix for doubleclick knob bug
2014-09-09 20:11:33 +02:00
Matthew Krafczyk
e20e863a99 Change isJournallingStackEmpty to isJournallingStateStackEmpty 2014-09-09 20:08:14 +02:00
Matthew Krafczyk
0cdfd7c354 Fix syntax a bit. 2014-09-09 17:15:54 +02:00
Matthew Krafczyk
32eae51128 Made isEmpty function name more specific. Moved doubleclick fix to restoreJournallingState. 2014-09-09 17:07:40 +02:00
Matthew Krafczyk
c628387cd2 Make syntax for fix more consistent with existing code. 2014-09-09 01:39:08 +02:00
Matthew Krafczyk
00086c9f20 Merge branch 'stable-1.1' into fix_for_doubleclick_knob_bug 2014-09-09 01:19:58 +02:00
Matthew Krafczyk
84895a4f79 Fix for 'Crash double-clicking any knob in debug build (git master) (#948)'
Conflicts:
	src/gui/widgets/knob.cpp
2014-09-09 01:14:19 +02:00
Tres Finocchiaro
9a80205407 Merge pull request #1143 from tresf/stable-1.1
(Apple only) WANT_SF2 OFF, Disable Zyn GUI
2014-09-08 12:54:06 -04:00
Ubuntu
74e53f8354 Set "WANT_SF2" to "OFF" for Apple 2014-09-08 12:35:57 -04:00
Tres Finocchiaro
e17e84266d Fix bad #ifdef, make ANSI compliant
`#elif  LMMS_BUILD_APPLE` is not correct, it should be `#elif defined(LMMS_BUILD_APPLE)`
2014-09-08 11:24:39 -04:00
Tres Finocchiaro
adc134bbca Merge pull request #1142 from tresf/stable-1.1
(Apple only) Re-enable OPL2, Disable SF2
2014-09-08 11:14:38 -04:00
Ubuntu
40f640951c Disable "Show GUI" button on Apple to prevent crash 2014-09-08 11:13:50 -04:00
Ubuntu
d95fea2d3f Re-enable OPL2 on Apple, Disable SF2 2014-09-08 10:53:59 -04:00
Tres Finocchiaro
7fdb52c172 Merge pull request #1141 from tresf/stable-1.1
Fix AFP crash, bump version

Tested by @DeRobyJ, merging.
2014-09-08 10:33:39 -04:00
Ubuntu
c01799e998 Fix AFP crash, bump version 2014-09-08 09:26:50 -04:00
Vesa V
02dd2cf63f Merge pull request #1139 from Umcaruje/stable-1.1-newpresets
New presets for Monstro, Bitinvader, Watsyn and Kicker.
2014-09-08 06:01:48 +03:00
Vesa V
13928eb4d9 Merge pull request #1138 from tresf/stable-1.1
Fix win32 compilation
2014-09-08 06:01:20 +03:00
Umcaruje
97c903e76c Added some presets for Monstro, Bitinvader, Watsyn and Kicker. 2014-09-08 00:14:02 +02:00
tresf
a278505cda Fix win32 compilation 2014-09-07 17:41:53 -04:00
Vesa V
619f912d12 Merge pull request #1136 from tresf/stable-1.1
Make start/end/loop knobs responsive to each other
2014-09-07 23:54:49 +03:00
Tres Finocchiaro
2ca84c15a1 Invert loop button pixmaps 2014-09-07 16:30:53 -04:00
Tres Finocchiaro
b33eceda7e Make loop end move with sample end 2014-09-07 16:20:17 -04:00
Tres Finocchiaro
dc681604e0 Make start/end/loop knobs all responsive 2014-09-07 16:02:52 -04:00
Tobias Doerffel
84f711fb2c Merge pull request #1131 from Lukas-W/stable-1.1-iss1058
Change Sidebar file browser root to `/Volumes` on OS X
2014-09-03 16:37:10 +02:00
Lukas W
876642c342 FileBrowser rename fixes 2014-09-03 11:43:40 +02:00
Lukas W
efacfdfae9 Rename file_browser.* to FileBrowser.* 2014-09-03 11:29:25 +02:00
Lukas W
5245f6181c Apply new coding conventions to file_browser.h 2014-09-03 11:19:45 +02:00
Lukas W
42cd21a943 Change sidebar root to /Volumes on OS X 2014-09-03 11:06:56 +02:00
Vesa
c2d7cf787e Merge branch 'stable-1.1'
Conflicts:
	include/Plugin.h
	src/core/Plugin.cpp
2014-09-02 16:59:04 +03:00
Tobias Doerffel
f07287c771 Added support for profile command line option 2014-09-02 11:21:11 +02:00
Tobias Doerffel
8628bcc77b Mixer: integrated MixerProfiler 2014-09-02 11:20:52 +02:00
Tobias Doerffel
e1664b106c MixerProfiler: initial simple implementation 2014-09-02 11:19:57 +02:00
Tobias Doerffel
c4f2311032 LadspaEffect/CMT: remove unused variables and useless assignments for better Clang compatibility 2014-09-01 16:24:48 +02:00
Tobias Doerffel
a1d6adfe10 LadspaEffect/SWH: remove unused variables and useless assignments for better Clang compatibility 2014-09-01 16:24:20 +02:00
Tobias Doerffel
d85f649897 Nes/NesObject: remove unused m_fpp variable 2014-09-01 16:23:33 +02:00
Tobias Doerffel
c400c9ba4d LadspaEffect/CALF: Clang compatibility fixes 2014-09-01 16:22:54 +02:00
Tobias Doerffel
0ef3d6c1f6 FxMixerView: declare as class for consistency with friend declaration later 2014-09-01 14:59:30 +02:00
Tobias Doerffel
124c835cda LadspaEffect/CALF: enable inline flags for GCC only 2014-09-01 14:57:39 +02:00
Tobias Doerffel
f3a890edd0 Organic: remove unused member variable 2014-09-01 14:26:54 +02:00
Tobias Doerffel
70ef29981f Plugin: remove unused base64.h header 2014-09-01 14:23:31 +02:00
Tobias Doerffel
feba89354b Plugin: cleanup & coding style fixes 2014-09-01 14:18:45 +02:00
Tobias Doerffel
89a363741a Plugin: use qWarning() instead of printf() 2014-09-01 14:03:51 +02:00
Tobias Doerffel
1c289b0726 Plugin: use QFileInfo::baseName() 2014-09-01 14:00:32 +02:00
Tobias Doerffel
dcdc8d9e3e Added first Monstro preset 2014-09-01 13:37:43 +02:00
Tobias Doerffel
5572cdde64 Merge pull request #1126 from tresf/stable-1.1
Win64 fix for missing _isnanf
2014-09-01 12:16:28 +02:00
Tobias Doerffel
81ca7b157b Merge pull request #1127 from StakeoutPunch/stable-1.1
More Presets
2014-09-01 12:15:54 +02:00
StakeoutPunch
f24b82ae62 More Presets
LB302:
-AcidLead
-AngryLead
-DroneArp
Organic:
-Pwnage
-Rubberband
SID:
-Bass
-CheesyGuitar
-Lead
-MadMind
-Overdrive
-Pad

No presets of any kind were removed or otherwise changed.
2014-09-01 00:43:37 -05:00
tresf
807d3af68c Win64 fix for missing _isnanf 2014-09-01 00:35:48 -04:00
Vesa V
e915bab433 Merge pull request #1100 from StakeoutPunch/stable-1.1
Updated 3OSC Presets
2014-08-31 08:05:04 +03:00
StakeoutPunch
f05bff157d Added back stuff
AmazingBubbles (NC), Freaky-Bass (NC), SawReso (Tweaked), TranceLead
(NC). Removed stupid readme file I added earlier and forgot to delete.
2014-08-30 23:28:17 -05:00
StakeoutPunch
7ca9dfb065 Added percussion presets (5 total)
Added Drums_HardKick, Drums_Kick (Vesa's tutorial kick) Drums_HihatO,
Drums_HihatC, Drums_Snare
2014-08-30 23:09:50 -05:00
Vesa V
08abdd0468 Merge pull request #1117 from Sti2nd/revert-1116-revert-1015-stable-1.1
Revert "Revert ""What is this" additions by @musikBear #896""
2014-08-30 08:44:23 +03:00
Stian Jørgensrud
83ed94f509 LAST 2014-08-30 02:02:09 +02:00
Stian Jørgensrud
b526e5676a Trying again, and again
Latest revision.
2014-08-30 01:39:36 +02:00
Stian Jørgensrud
3c809c8d64 Revert "Revert ""What is this" additions by @musikBear #896"" 2014-08-30 01:36:47 +02:00
Vesa V
243befffa9 Merge pull request #1116 from Sti2nd/revert-1015-stable-1.1
Revert ""What is this" additions by @musikBear #896"
2014-08-30 02:12:47 +03:00
Stian Jørgensrud
d28195f9bc Just updated based on mrBears wonderful work 2014-08-30 01:11:15 +02:00
Stian Jørgensrud
b1e556f263 Revert ""What is this" additions by @musikBear #896" 2014-08-30 00:52:13 +02:00
Vesa V
23f720f81b Merge pull request #1115 from LMMS/stable-1.1
sync
2014-08-30 01:46:52 +03:00
Tobias Doerffel
2f42462ee3 ConfigMgr: skip message boxes when in non-GUI mode
When rendering on command line do not display message boxes as LMMS
crashes otherwise.

Closes #1059.
2014-08-30 00:06:24 +02:00
Tobias Doerffel
1d3fb115bb Merge pull request #1015 from tresf/stable-1.1
"What is this" additions by @musikBear #896
2014-08-29 23:54:30 +02:00
Tobias Doerffel
b6a3653c16 Merge pull request #1112 from LMMS/stable-1.1-iss1058
FileDialog: Add `/Volume` directory on OS X
2014-08-29 23:53:23 +02:00
Lukas W
fad89f68ce FileDialog: Add OS X Volume directory fix 2014-08-29 23:03:18 +02:00
Lukas W
c002af57ec FileDialog: Add /Volume directory on OS X
See issue #1058
2014-08-29 18:22:09 +02:00
Vesa V
52c18dc3c1 Merge pull request #1107 from LMMS/stable-1.1
sync
2014-08-28 06:28:36 +03:00
Vesa V
4e33fc911e Merge pull request #1106 from diizy/stable-1.1
Monstro: more optimization
2014-08-28 06:28:04 +03:00
Vesa
c1acd66d25 Monstro: more optimization 2014-08-28 06:28:14 +03:00
Vesa V
c7a7686fa6 Merge pull request #1101 from Baegus/patch-1
A lot of new and some updated Czech translations
2014-08-27 01:18:17 +03:00
StakeoutPunch
4488977132 Add back SpaceBass 2014-08-26 17:02:46 -05:00
Jaroslav Petrnoušek
6edb5e409a Some more added translations
Mainly the more visible ones
2014-08-26 23:04:33 +02:00
Jaroslav Petrnoušek
0b28e6c85d A lot of new and some updated Czech translations
see diff
2014-08-26 22:42:52 +02:00
StakeoutPunch
0200cb79b6 Newer folder structure 2014-08-26 10:46:24 -05:00
StakeoutPunch
e84db70722 New folder structure 2014-08-26 10:42:58 -05:00
StakeoutPunch
7c0e7b6c6c Update 3OSC Presets 2014-08-26 01:18:31 -05:00
Vesa V
6304104506 Merge pull request #1095 from LMMS/stable-1.1
sync
2014-08-24 17:15:28 +03:00
Vesa V
6b00d8be9b Merge pull request #1094 from diizy/stable-1.1
Monstro: optimize
2014-08-24 17:13:25 +03:00
Vesa
956a698d20 Monstro: optimize
use stack for rendering envs/lfos - this allows us to render them in advance which in turn seems to allow better optimizations by compiler
2014-08-24 17:12:53 +03:00
Vesa V
68c409df33 Merge pull request #1084 from caoliver/stable-1.1
Fix stuck notes on panic or all-notes-off.
2014-08-24 11:08:59 +03:00
Vesa V
ffa86dbc60 Merge pull request #1086 from diizy/master
LadspaEffect: use stack for downsampling
2014-08-21 18:53:13 +03:00
Vesa
ba1c15f0fa LadspaEffect: use stack for downsampling
Not likely to be an issue currently, but if(when) we at some point allow >44.1k samplerates for playback, we may run in a situation where we have to downsample audio for processing, and thus we'd be doing heap allocation every period - it's best to fix this in advance so we're using stack for it for now (may be replaced with memory management later though)
2014-08-21 18:50:20 +03:00
Vesa V
05fbd5a6b6 Merge pull request #1085 from LMMS/stable-1.1
sync
2014-08-21 18:44:36 +03:00
Vesa
759c3e1cb7 Use stack allocation in srccpy 2014-08-21 18:40:29 +03:00
Christopher A. Oliver
59099c14f2 Fix stuck notes on panic or all-notes-off. 2014-08-20 22:49:06 -04:00
Tobias Doerffel
b5db8e7bad Pattern: disconnect PianoRoll before clearing current pattern
Closes #1083.
2014-08-20 20:29:04 +02:00
Vesa
d8cc0cc2cc Merge branch 'stable-1.1'
Skipped the chinese translation files because of merge conflict, those should be re-submitted for master

Conflicts:
	data/locale/zh.qm
	data/locale/zh.ts
2014-08-19 09:10:19 +03:00
Tobias Doerffel
ff3c4da802 InstrumentTrack: fixed whats-this text 2014-08-18 23:22:01 +02:00
Tobias Doerffel
327aaee695 Song, InstrumentTrack: use DataFile::LocaleHelper
Always save projects and presets with default C locale in order to avoid
problems in the future. At the same time properly load floating point
strings which have been saved with different locale settings.

Closes #1051.
2014-08-18 23:21:50 +02:00
Tobias Doerffel
a09fd51060 DataFile: added nested LocaleHelper class
In order to address issues with differently coded floating points in
strings provide a helper class which can be instantiated when loading
or saving data.
2014-08-18 23:17:47 +02:00
Tobias Doerffel
d1658a40cb Manually clean XML data in preset files
Removed old attributes which are not processed anymore.
2014-08-18 22:19:18 +02:00
Tobias Doerffel
a499670ee2 Upgraded all presets
Rewrite all preset files with the current version so we can drop some
compat code in DataFile::upgrade() in the future.
2014-08-18 22:07:34 +02:00
Tobias Doerffel
86f3854782 DataFile: write new header information only for song projects
No need to write these for presets etc.
2014-08-18 22:02:16 +02:00
Tobias Doerffel
d037b9d2ed DataFile: also update meta data when upgrading XML document 2014-08-18 22:01:41 +02:00
Tobias Doerffel
04f198055f Merge pull request #1077 from zm1990s/stable-1.1
add Chinese Translations.
2014-08-17 11:54:21 +02:00
Tobias Doerffel
311d290b32 Added support for building for Win32/Win64 with Qt5 2014-08-16 17:20:00 +02:00
Vesa
1b4b34d96b Bump version 1.0.93 2014-08-16 10:05:46 +03:00
Vesa V
8ac71f7000 Merge pull request #1075 from LMMS/stable-1.1
sync
2014-08-16 09:59:48 +03:00
Vesa V
128a3ec927 Merge pull request #1053 from diizy/banish-all-locks
Banish all locks
2014-08-16 09:58:52 +03:00
Vesa V
7e7d4d7bfd Merge pull request #1074 from cubician/stable-1.1
Project Files
2014-08-16 09:57:06 +03:00
Vesa
7a7c7c9467 Fix crash at track adding: don't play instrumentTracks when instrument is null 2014-08-16 09:36:29 +03:00
zm1990s
74f3f62bf4 update Chinese 2014-08-15 10:02:23 +08:00
Ian Sannar
0e95a8ceab Remove OldStuff
Got rid of all but 2 of the songs in OldStuff.
Kept Skeissi-RandomProject12345 because it's cool.
Kept TobyDox-Psycho because it was the first song made in LMMS.
2014-08-14 11:24:33 -06:00
Tobias Doerffel
4cee046909 Added initial Qt5 support
LMMS now properly builds and runs with Qt5. Various deprecated functions
had to be replaced like QString::toAscii()/fromAscii(). Also occurences
of FALSE/TRUE have been replaced with false/true.

LmmsStyle now derives from QProxyStyle and sets a style instance as base
style (Plastique for Qt4, Fusion for Qt5).

MOC files are not included anymore but added as regular source files.

What's missing is support for embedding VST plugins into a subwindow
inside LMMS on Linux/X11 due to missing QX11EmbedContainer class in Qt5.

Build instructions can be found in INSTALL.Qt5

Minimum version requirement for Qt4 has been raised to 4.6.0 for best
API compatibility between Qt4 and Qt5.
2014-08-14 17:34:49 +02:00
Ian Sannar
ce0a56a482 Project Files
Organized, Debugged and Converted everything so it's ready to go for
LMMS 1.1.
2014-08-14 08:42:12 -06:00
Vesa
f2eca0aaa3 More fixes, stuff 2014-08-12 23:39:16 +03:00
Vesa V
dea2631035 Merge pull request #1061 from LMMS/stable-1.1
sync
2014-08-07 11:39:35 +03:00
Vesa V
4a0c78387e Merge pull request #1060 from diizy/midifix
Fix autodetect of midicontroller
2014-08-07 11:38:10 +03:00
Vesa
a138b71ab5 Fix autodetect of midicontroller
Fix #999
2014-08-07 11:36:28 +03:00
Vesa
079a54e159 More fixing of teh playhandles 2014-08-03 22:09:27 +03:00
Vesa
9e1cdd0441 Start work on replacing/removing global locks 2014-08-03 14:49:45 +03:00
Vesa V
5add4eece4 Merge pull request #1046 from tresf/patch-2
Allow uppercase letters in ladspa file names
2014-07-30 18:49:34 +03:00
Tres Finocchiaro
e1b1270695 Allow uppercase letters in ladspa file names
Per #1041

Tested against unfa-spoken.mmpz (uses dozens of LADSPA effects).
2014-07-30 10:53:47 -04:00
Vesa V
3bbb81cf24 Merge pull request #1036 from LMMS/stable-1.1
sync
2014-07-27 19:36:37 +03:00
Vesa V
35798119af Merge pull request #1035 from diizy/stable-1.1
Monstro: optimize
2014-07-27 19:36:08 +03:00
Vesa
c266e7b88e Monstro: optimize
Rewrote handling of modulators so that we don't have to allocate extra buffers for every note - should improve performance and make cpu usage more consistent
2014-07-27 19:34:41 +03:00
Vesa V
50038983ed Merge pull request #1033 from diizy/master
Optimize autoquit check in effect
2014-07-27 03:48:14 +03:00
Vesa
945ee12311 Optimize autoquit check in effect 2014-07-27 03:47:02 +03:00
Vesa V
e8b4b6aa75 Merge pull request #1031 from DeRobyJ/stable-1.1
Italian Localization Update
2014-07-27 01:15:41 +03:00
Vesa V
90b5686bed Merge pull request #1032 from diizy/master
Fix "disable autoquit" option
2014-07-27 01:15:16 +03:00
Vesa
f2d88d1fc2 Fix "disable autoquit" option
Wasn't getting saved/loaded properly, fixed that
TODO: disable autoquit causes some effects to keep running even when the song is stopped... this should be addressed at some point
2014-07-27 01:10:34 +03:00
DeRobyJ
5788e70d47 Italian Localization Update
All the strings present in the source are updated.
2014-07-26 16:02:44 +02:00
Vesa V
07a0f46c82 Merge pull request #1030 from LMMS/stable-1.1
sync
2014-07-26 16:28:01 +03:00
Vesa V
04a3806e23 Merge pull request #1029 from diizy/stable-1.1
AFP improvements
2014-07-26 16:27:15 +03:00
Vesa
9562f68277 AFP improvements
- Stop pointlessly reloading the sample everytime the amp knob is changed
- Also draw the amplitude of the waveform correctly (used to be it was drawn as 2x too "quiet")
2014-07-26 16:25:01 +03:00
Vesa V
ea50d7c011 Merge pull request #1028 from diizy/stable-1.1
Change redo shortcut from ctrl-r to ctrl-y
2014-07-26 14:47:57 +03:00
Vesa
37fa46792a Change redo shortcut from ctrl-r to ctrl-y
Ctrl-y is more standard and used in many applications, ctrl-r is used pretty much nowhere.
2014-07-26 14:46:30 +03:00
Vesa V
1934879109 Merge pull request #1026 from LMMS/stable-1.1
sync
2014-07-26 00:31:03 +03:00
Vesa V
953ea983be Merge pull request #1024 from tonychee7000/master
Add Chinese translation by TonyChyi
2014-07-25 20:58:24 +03:00
TonyChyi
124df27ece Add Chinese translation 2014-07-25 23:48:13 +08:00
TonyChyi
3ebea19180 Add Chinese translation 2014-07-25 23:46:13 +08:00
Vesa V
925d29934d Merge pull request #1023 from grejppi/stable-1.1-recentlist
configManager: save config every time recent project list is updated
2014-07-25 11:46:58 +03:00
Hannu Haahti
be2e235c7a configManager: save config every time recent project list is updated
fixes #1014
2014-07-25 10:42:50 +03:00
Tobias Doerffel
1b8243ccac Updated ZynAddSubFX instrument presets
Taken from upstream repository with HEAD at 7e14a008bdc671341843ea720ed.
2014-07-24 00:06:51 +02:00
Vesa V
7e5359af96 Merge pull request #1019 from diizy/gfx
Fix bbtrack undo/redo bug
2014-07-23 12:32:07 +03:00
Vesa
cf3862ec5c Fix bbtrack undo/redo bug
Fix #790
2014-07-23 12:29:45 +03:00
Vesa V
64dc7bb58e Merge pull request #1016 from diizy/gfx
Monstro: add newlines to helptexts
2014-07-22 20:16:18 +03:00
Vesa
2469196c33 Monstro: add newlines to helptexts 2014-07-22 20:13:06 +03:00
Tres Finocchiaro
46c92ef27f Update PianoRoll.cpp 2014-07-22 12:37:26 -04:00
Tres Finocchiaro
1faaa932cc Formatting fixes 2014-07-22 12:30:38 -04:00
Ubuntu
bca5ce8d7f "What is this" additions by @musikBear #896 2014-07-22 12:18:31 -04:00
Vesa V
ec67d6b40a Merge pull request #1005 from diizy/stable-1.1
Add "clear track" option, fix copying of tracks from song ed -> bb ed
2014-07-18 11:23:06 +03:00
Vesa
dacb8adc4c Add "clear track" option, fix copying of tracks from song ed -> bb ed
- Tracks copied from song->bb will no longer be unusable
- Since doing this required creating a "delete TCOs from track" function, I also added the option to trackops menu to clear a track
Fix #757
2014-07-18 11:18:10 +03:00
mikobuntu
9635232b45 Update globals.h 2014-07-17 20:10:25 +01:00
Vesa V
cb3dc7b8c3 Merge pull request #1000 from grejppi/master-disableautoquit
Add option to keep effects running even without input
2014-07-17 16:22:47 +03:00
Hannu Haahti
932768dac0 add option to keep effects running even without input 2014-07-17 16:19:00 +03:00
Vesa
88c60f5f94 Merge branch 'stable-1.1'
Conflicts:
	src/core/NotePlayHandle.cpp
2014-07-17 02:06:01 +03:00
Vesa V
d014c2bb2e Merge pull request #997 from diizy/mixer-opt2
Improve performance of effect processing, fix autoquit bugs
2014-07-17 02:01:53 +03:00
Vesa
1a2351bbd0 Improve performance of effect processing, fix autoquit bugs
Also a slight NPH tweak
2014-07-17 01:48:24 +03:00
Tobias Doerffel
7b279d3f85 Pattern: add undo/redo support for "Clear all notes" operation in context menu
Simply add a journal checkpoint before clearing pattern.
2014-07-16 23:46:47 +02:00
Tobias Doerffel
a12774f50d ZynAddSubFX: imported current head
Imported current head of LMMS-specific ZynAddSubFX source code.

The current code is based on version 2.4.4 of ZynAddSubFX.

HEAD: 9a993c4936ce987bb30f93eee2a573466ece3712
2014-07-16 23:36:05 +02:00
Vesa V
330ff65f62 Merge pull request #996 from ruggiero/stable-1.1
Bug that prevented compilation in Debian testing (jessie)
2014-07-15 23:45:11 +03:00
Rafael Ruggiero
ad35c553b3 Update surround_encoder_1401.c 2014-07-15 17:42:01 -03:00
Rafael Ruggiero
f91925f34a Update bode_shifter_cv_1432.c 2014-07-15 17:41:07 -03:00
Vesa V
16a81faef2 Merge pull request #994 from grejppi/master-sampletrack
SamplePlayHandle: increment the right buffer
2014-07-15 11:31:48 +03:00
Hannu Haahti
5fef919c4a SamplePlayHandle: clear unused frames from buffer 2014-07-15 11:28:53 +03:00
Hannu Haahti
37a90cabcf SamplePlayHandle: increment the right buffer 2014-07-15 11:12:04 +03:00
Vesa V
86c8fc55e1 Merge pull request #993 from diizy/master
NPH fix: prevent offsets from going over period limit
2014-07-14 23:50:22 +03:00
Vesa
768cc9cb81 Forgot to remove qdebug 2014-07-14 23:49:37 +03:00
Vesa V
2e480c948a Merge pull request #992 from LMMS/stable-1.1
sync
2014-07-14 23:48:55 +03:00
Vesa
fcf3242b7e NPH fix: prevent offsets from going over period limit 2014-07-14 23:47:41 +03:00
Vesa V
dbb1418ad6 Merge pull request #991 from diizy/stable-1.1
Mixer: optimize peak value measuring functions
2014-07-14 21:56:17 +03:00
Vesa
5ed8f70633 Mixer: optimize peak value measuring functions 2014-07-14 21:49:34 +03:00
Vesa V
6c72804aa4 Merge pull request #990 from diizy/stable-1.1
InstrumentSoundShaping: ensure that release time is never longer than th...
2014-07-14 18:41:51 +03:00
Vesa
8a35a57efa InstrumentSoundShaping: ensure that release time is never longer than the volume envelope, if volume envelope is active
This saves CPU on certain instruments, like Monstro.
There's no point in running the note beyond the end of the volume envelope, ever, so let's not do that.
2014-07-14 18:17:02 +03:00
Vesa V
1eed43c55e Merge pull request #988 from diizy/stable-1.1
Add safeguard for beat pattern wheelevent
2014-07-14 00:39:07 +03:00
Vesa
d4e30d5ff8 Add safeguard for beat pattern wheelevent
Fix #963
2014-07-14 00:37:43 +03:00
Vesa
921943bce1 Merge branch 'stable-1.1'
Conflicts:
	include/MixHelpers.h
	src/core/FxMixer.cpp
2014-07-13 22:20:10 +03:00
Vesa V
5978cd597e Merge pull request #986 from diizy/stable-1.1
Sanitize master output
2014-07-13 22:13:45 +03:00
Vesa
e06c281132 Sanitize master output
Replace any inf/nan in master output with zero, to prevent corrupted files/audio.
2014-07-13 22:11:17 +03:00
Vesa V
00aba44251 Merge pull request #961 from diizy/master-atomic
Improve RT-safety by eliminating some global locks
2014-07-12 19:12:58 +03:00
Vesa V
43d246df20 Merge pull request #979 from diizy/master
Peak Controller: improve envelope calculation
2014-07-12 05:29:47 +03:00
Vesa
6f8c910f5c Peak Controller: improve envelope calculation 2014-07-12 05:27:05 +03:00
Vesa V
0bad69adc8 Merge pull request #976 from diizy/master
SF2: Fix crash with stacking/arp
2014-07-11 21:36:19 +03:00
Vesa
d7f922da75 SF2: Fix crash with stacking/arp 2014-07-11 21:35:26 +03:00
Vesa V
e8d80c1ddf Merge pull request #969 from tresf/patch-1
Fix relative VST paths on Windows
2014-07-11 01:10:51 +03:00
Vesa V
59b6df467e Merge pull request #966 from diizy/stable-1.1
ProjectJournal: cap the number of undo states to prevent infinite memory...
2014-07-10 14:25:44 +03:00
Vesa
4855634bf4 ProjectJournal: cap the number of undo states to prevent infinite memory buildup
The cap is hardcoded to 100 for now, TODO: make this number configurable (or even better: use a max. memory amount instead of max number of states)
2014-07-10 14:22:40 +03:00
Vesa V
6dab6a7285 Merge pull request #965 from LMMS/stable-1.1
Stable 1.1
2014-07-10 12:42:42 +03:00
Vesa V
31c8ea4394 Merge pull request #964 from diizy/stable-1.1
Effect plugins: don't set modified flag on control changes
2014-07-10 12:42:02 +03:00
Vesa
a82bcb1759 Effect plugins: don't set modified flag on control changes
Fixing a bit of a silly error made by me, all control changes on my effect plugins were flagging the project as modified, which is annoying with automations etc. So I'm disabling it. Maybe later we can have flagging only when knobs are modified manually.
2014-07-10 12:39:02 +03:00
Tobias Doerffel
5a28f4ada0 Merge remote-tracking branch 'origin/stable-1.1' 2014-07-09 23:02:28 +02:00
Tobias Doerffel
1b4ce136c9 Merge branch 'stable-1.0' into stable-1.1 2014-07-09 23:01:36 +02:00
Tobias Doerffel
e0779fa6f8 VstBase: include 32 bit version of libwinpthread DLL for RemoteVstPlugin32
This is required with latest mingw-x-runtime packages.
2014-07-09 23:00:44 +02:00
Vesa
cacb27d12f Move playhandle-adding to the correct spot so playhandles won't get delayed 2014-07-09 21:39:04 +03:00
Vesa
e6582fcd17 InstrumentTrack.h: Remove unneeded includes 2014-07-09 21:24:10 +03:00
Vesa
b8d4ee3047 visualization_widget: remove unnecessary global locks 2014-07-09 21:22:46 +03:00
Vesa
4d321516e9 file_browser: remove unnecessary global locks 2014-07-09 21:20:22 +03:00
Vesa
4be118162f TrackContainerView: remove unnecessary global locks (improve rt safety) 2014-07-09 21:14:47 +03:00
Vesa
a4c4ea90dc Pattern.cpp: Remove unnecessary global locks (improve rt safety) 2014-07-09 21:02:50 +03:00
Vesa
ae5e0c3202 Rebase on master to fix older bugs 2014-07-09 20:45:19 +03:00
Vesa
f33d1f4972 Instrument track, mixer... 2014-07-09 20:42:54 +03:00
Vesa
4eb486be1e Attempt to remove mutex calls from instrumenttrack::processinevent 2014-07-09 20:39:41 +03:00
Vesa V
d4b0cc126d Merge pull request #960 from diizy/master
Fix erroneous note offset in instrumenttrack
2014-07-09 20:37:49 +03:00
Vesa
2d93e19f72 Fix erroneous note offset in instrumenttrack 2014-07-09 20:36:49 +03:00
Ubuntu
858033c0c7 Fix relative VST paths on Windows 2014-07-08 15:56:20 -04:00
Vesa V
c1ccc8173e Merge pull request #957 from raboof/addRecentlyOpenedShortcut
Add 'Recently opened project' menu hotkey
2014-07-08 21:27:10 +03:00
Arnout Engelen
2cb458a958 Add 'Recently opened project' menu hotkey 2014-07-08 20:24:03 +02:00
Vesa V
3774d95317 Merge pull request #955 from raboof/configure
Point ./configure users to the INSTALL file
2014-07-08 20:58:44 +03:00
Arnout Engelen
01fc05b251 Point ./configure users to the INSTALL file
Previously the instructions did not match
2014-07-08 19:56:14 +02:00
Vesa V
833fdaab13 Merge pull request #953 from LMMS/stable-1.1
Stable 1.1
2014-07-08 19:46:24 +03:00
Vesa V
26d1d3b077 Merge pull request #952 from tresf/patch-1
Prevent changing vertical size on fx mixer
2014-07-08 19:45:29 +03:00
Tres Finocchiaro
27b7d36181 Prevent changing vertical size on fx mixer 2014-07-08 12:43:52 -04:00
Vesa V
2f983e0ed3 Merge pull request #938 from diizy/master-sf2-accurate
SF2: Make timing more accurate, also some fixes
2014-07-06 16:21:22 +03:00
Vesa
ff0c9beadd SF2: Make timing more accurate, also some fixes
I'm not saying sample-accurate, because it turns out, Fluidsynth has an internal buffer size and thus timing granularity of 64 frames. So 64 frames is the max. accuracy attainable for SF2. But it's better than nothing. Big thanks to David Henningsson of the Fluidsynth dev team, who very helpfully answered questions. A great guy.
In addition, there are some fixes to earlier commits here, which I ran into while working on the SF2 timing.
2014-07-06 16:11:35 +03:00
Tobias Doerffel
e12daf6bae Merge remote-tracking branch 'origin/stable-1.1' 2014-07-06 13:57:54 +02:00
Tobias Doerffel
97bb80b9b1 Merge branch 'stable-1.0' into stable-1.1
Conflicts:
	CMakeLists.txt
	README
	lmms.rc.in
2014-07-06 13:56:44 +02:00
Tobias Doerffel
8122041d65 Install winpthreads DLL
Install winpthreads DLL for inclusion in Win32/Win64 installer. Requires
latest version of mingw-x-runtime packages (>=3.1.0).
2014-07-06 13:52:51 +02:00
Tobias Doerffel
6711f5d291 Added support for winpthreads library
Recent builds of MinGW64 runtime include the winpthreads library which
is not linked statically anymore and thus doesn't required non-portable
(de-)initialization function calls.
2014-07-06 13:52:32 +02:00
Tobias Doerffel
ab55b26e4b SWH/BodeShifterCV: fix out-of-bounds array access
The xcoeffs array only has 100 elements and thus accessing xcoeffs[100]
leads to undefined behaviour.
2014-07-05 17:47:49 +02:00
Vesa V
8407427c4b Merge pull request #933 from LMMS/stable-1.1
Stable 1.1
2014-07-05 16:34:34 +03:00
Vesa V
ddae5a8446 Merge pull request #932 from diizy/stable-1.1
SF2: Remove superfluous API call that sets period size for audio backend
2014-07-05 16:31:37 +03:00
Vesa
88c546275b SF2: Remove superfluous API call that sets period size for audio backend
We don't use any audio backend with fluidsynth, so there's no need to set a period size for it.
2014-07-05 16:29:59 +03:00
Vesa V
bc888f6e4c Merge pull request #931 from diizy/gfx
LB302: Remove the non-functional Accent button from the UI, pending real...
2014-07-05 11:48:58 +03:00
Vesa
066a9c9f92 LB302: Remove the non-functional Accent button from the UI, pending real implementation 2014-07-05 11:46:53 +03:00
Tobias Doerffel
b9d99c9c19 Merge pull request #928 from tresf/stable-1.0
Backport to 1.0 branch - Fix Zyn GUI hard crash on Win32
2014-07-03 22:55:45 +02:00
Tres Finocchiaro
71a9f94a4b Fix Zyn GUI hard crash on Win32
I can't explain why @tobydox doesn't have to do this in his builds but committing to push ahead with 1.0.3
2014-07-03 14:21:14 -04:00
Vesa V
0a97406c80 Merge pull request #926 from diizy/stable-1.1
Fix styling of textFloat & whatsthis, make text floats consistent in sty...
2014-07-03 14:12:38 +03:00
Vesa
06b47a52a2 Fix styling of textFloat & whatsthis, make text floats consistent in style with tooltips
Should fix #925
2014-07-03 14:09:31 +03:00
Vesa V
6ae2a11c53 Merge pull request #923 from diizy/stable-1.1
Update Zyn from repo, bump version
2014-07-02 23:40:51 +03:00
Vesa V
3c3d43c6e8 Merge pull request #922 from diizy/stable-1.0
Bump version to 1.0.3
2014-07-02 23:40:16 +03:00
Vesa
3ca971f9e7 Update Zyn from repo, bump version 2014-07-02 23:32:41 +03:00
Vesa
67a56c6f48 Bump version to 1.0.3 2014-07-02 21:38:19 +03:00
Vesa V
f3419648cf Merge pull request #916 from diizy/stable-1.1
Sync with Zyn repository - includes a GUI fix, also a fix to RemoteZynAd...
2014-07-02 09:44:10 +03:00
Vesa V
dca67b4313 Merge pull request #919 from tresf/stable-1.1
CMake/NSIS copy missing dlls
2014-07-02 09:43:28 +03:00
Tres Finocchiaro
d3a1a2a441 Fix win32 missing dlls
For bug #892 on `stable-1.1`
2014-07-01 17:57:59 -04:00
Vesa
bcbf54150f Add zyn makefiles to gitignore 2014-07-02 00:12:25 +03:00
Vesa V
5aa5b64b52 Merge pull request #918 from tresf/stable-1.1
Fix win32 build error caused by #913
2014-07-01 09:34:35 +03:00
Tres Finocchiaro
63a5a16cd0 isinf and isnan declarations win32/apple 2014-06-30 23:21:17 -04:00
Tres Finocchiaro
20b63ea6c4 Moved isnan/isinf compat code to lmms_math.h 2014-06-30 23:19:04 -04:00
Vesa
71c1bf7dd8 Sync with Zyn repository - includes a GUI fix, also a fix to RemoteZynAddSubFx 2014-06-30 15:18:41 +03:00
Vesa V
e99be7fb77 Merge pull request #914 from diizy/stable-1.1
Trailing spaces
2014-06-30 13:07:09 +03:00
Vesa
ec495716f4 Trailing spaces 2014-06-30 13:04:48 +03:00
Vesa V
6ffcc0e799 Merge pull request #911 from diizy/master-nph
Revision of handling of frameoffset for NPH, SPH
2014-06-30 12:52:44 +03:00
Vesa V
9c8c80683b Merge pull request #913 from LMMS/stable-1.1
Syncing...
2014-06-30 12:49:02 +03:00
Vesa V
4143fc95e4 Merge pull request #912 from LMMS/stable-1.0
Syncing...
2014-06-30 12:47:24 +03:00
Vesa
23433a70b5 Sample-exact models: improve
- Remove the redundant hasSampleExactData() function. Instead, signal lack of s.ex.data by returning a NULL in valueBuffer()
- Cache s.ex.buffers and only update them once per period
- Make valueBuffer() in AutomatableModel threadsafe so that it can be used for NPH's sharing the same model
- Add sample-exactness to instrumenttrack's vol & pan knobs
2014-06-30 01:59:18 +03:00
Vesa
71217c0d85 Addition to earlier: Fix monstro 2014-06-29 23:28:51 +03:00
Vesa
270af579b8 Revision of handling of frameoffset for NPH, SPH
Change in handling of frameoffset for multistreamed instruments and sampletracks.
- Instead of holding the offset for the lifetime of the playhandle, negate the offset in the first period
- Multistream-instruments require some small changes: they have to now check for the offset and accordingly leave empty space in the start of the period (already done in this commit)
- There are possibly optimizations that can be done later
- This change is necessary so that we can have sample-exact models, and sample-exact vol/pan knobs for all instruments. Earlier multistream instruments were always rendering some frames ahead-of-time, so applying sample-exact data for them would have been impossible, since we don't have the future-values yet...
2014-06-29 23:13:00 +03:00
Vesa V
7429e752f0 Merge pull request #910 from diizy/stable-1.1
Math, Monstro
2014-06-29 13:28:27 +03:00
Vesa
dd65d48318 Monstro: improve accuracy of env release 2014-06-29 13:27:29 +03:00
Vesa
005bf69705 Lmms_math: add dBV conversion functions (for future use) 2014-06-29 13:08:49 +03:00
Vesa V
fd6747a177 Merge pull request #909 from diizy/stable-1.1
Some fixes: StereoEnhancer, Midievents
2014-06-29 10:42:44 +03:00
Vesa
fe3c5a9aa4 Use channel -1 for GUI-generated MIDI events, fixes #807 2014-06-29 10:19:28 +03:00
Vesa
edc97edb9e DspEffectLibrary: fix stereoenhancer 2014-06-29 09:55:16 +03:00
Vesa
a7bb31159e Merge branch 'stable-1.1'
Conflicts:
	include/basic_filters.h
	src/core/FxMixer.cpp
2014-06-28 17:24:23 +03:00
Tobias Doerffel
9a313e485a Merge pull request #887 from softrabbit/svg-loading
Add loading of artwork in other formats as well as .png
2014-06-28 11:56:10 +02:00
Tobias Doerffel
0447e0fe44 Merge pull request #895 from diizy/filters
basic_filters: optimize RC highpass & bandpass filters
2014-06-28 11:55:47 +02:00
Tobias Doerffel
e6ffb6cd35 Merge pull request #902 from diizy/fxmixer
FxMixer: rewrite mixer routing
2014-06-28 11:55:18 +02:00
Vesa
0058b1064f Update channel send model names properly 2014-06-28 10:06:52 +03:00
Vesa
31b82fe50b Receive arrow 2014-06-27 23:19:06 +03:00
Vesa
9243d94484 Fix qstring arg 2014-06-27 23:17:21 +03:00
Vesa
d9d085d14e FxMixer: rewrite mixer routing 2014-06-27 18:21:18 +03:00
Vesa V
82ee04c406 Merge pull request #897 from diizy/whatsthis
What's this strings for Monstro
2014-06-26 19:23:47 +03:00
Vesa
92544a7932 What's this strings for Monstro 2014-06-26 19:21:16 +03:00
Vesa
27383f91b7 basic_filters: replace div with mul 2014-06-26 13:18:00 +03:00
Vesa
ba700399da basic_filters - even more optimization
Use more efficient interpolation, optimize some calculations
2014-06-26 13:15:20 +03:00
Vesa
d6809b45c1 basic_filters: further optimization
Use qBound in formant, and return early from calcFilterCoeffs so we don't do needless calculations
2014-06-26 12:41:35 +03:00
Vesa
d166212d49 basic_filters: optimize RC highpass & bandpass filters
For both RC12 and RC24 filter types: handle lowpass separately, because we can then calculate highpass & bandpass with less operations.
This shouldn't affect the performance of lowpass, but probably will make highpass and bandpass a bit faster.
2014-06-25 20:43:34 +03:00
Raine M. Ekman
7921a326f7 Add loading of artwork in other formats as well as .png 2014-06-24 22:44:47 +03:00
Tobias Doerffel
5659aa10e1 Merge pull request #886 from diizy/gfx
FxMixerView, FxLine: graphics & layout fixes
2014-06-24 20:56:06 +02:00
Vesa
a463594bb2 FxMixerView, FxLine: graphics & layout fixes 2014-06-24 21:07:15 +03:00
Vesa V
77230c07da Merge pull request #885 from diizy/gfx
Monstro waveform icons updated
2014-06-24 20:28:37 +03:00
Vesa
61cca2b513 Monstro waveform icons updated 2014-06-24 20:27:25 +03:00
Tobias Doerffel
c1d2b96c8c Merge pull request #882 from DeRobyJ/stable-1.0
Italian Localization Update
2014-06-23 23:14:18 +02:00
Vesa
4185eac023 Merge branch 'stable-1.1'
Conflicts:
	src/core/AutomatableModel.cpp
2014-06-23 22:10:27 +03:00
DeRobyJ
46bb1411d4 Italian Localization Update
I've updated the Italian translation of the program using Qt linguist.
2014-06-23 20:31:36 +02:00
Tobias Doerffel
1287aec800 Merge pull request #875 from diizy/logs
Logscale models: fix all issues and finalize the implementation
2014-06-21 23:43:05 +02:00
Tobias Doerffel
54f1beb056 Merge pull request #877 from diizy/stable-1.0
SF2 player: fix playback issues
2014-06-21 23:39:57 +02:00
Yann Collette
86e584474a when using gcc-4.8.2, desactivate -Werror due to a regression 2014-06-21 23:33:39 +02:00
Tobias Doerffel
eee2ba7f16 Merge remote-tracking branch 'origin/stable-1.1'
Conflicts:
	data/locale/de.qm
	data/locale/de.ts
2014-06-21 23:30:59 +02:00
Tobias Doerffel
6d8890b4ff Merge remote-tracking branch 'origin/stable-1.0' into stable-1.1 2014-06-21 23:29:32 +02:00
Vesa
87c4f9c7f2 SF2 player: fix playback issues
Changing the velocity after noteon doesn't really seem to work on fluidsynth (may be dependent on soundfont file) - seems like the panning changes when velocity is changed.
So I disabled that, after which everything works fine.
2014-06-21 11:21:25 +03:00
Vesa
f7042977a9 Logscale: Fix negative ranges
This fixes errors that happen on models that have both logarithmic scale and a range that goes to the negative.
2014-06-21 10:56:28 +03:00
Vesa
8da423412c Remove unneeded function 2014-06-20 23:01:38 +03:00
Vesa
14909bdf1b Log scales finalized 2014-06-20 22:46:10 +03:00
Tobias Doerffel
737839164a Merge pull request #868 from diizy/gfx
FxMixer GUI updates, fix disappearing effects
2014-06-20 11:42:25 +02:00
Vesa V
fbcd436066 Merge pull request #870 from diizy/watsyn
Watsyn updates
2014-06-20 02:59:29 +03:00
Vesa
b4f0c73beb Watsyn updates 2014-06-20 02:57:33 +03:00
Vesa
83cc446807 FxMixerView: fix disappearing effects 2014-06-19 22:17:59 +03:00
Vesa
4bcbb1abcc FxMixer GUI updates: code 2014-06-19 17:59:37 +03:00
Vesa
29c7894993 FxMixer GUI updates: graphics
Also fixed size of whatsthis
2014-06-19 17:59:36 +03:00
Tobias Doerffel
e0dcd1c352 Merge pull request #863 from tresf/stable-1.1
Allow vertical resize for VST Plugin Control Window
2014-06-19 09:55:07 +02:00
Tobias Doerffel
ceec0b175c Merge pull request #861 from diizy/lb302
LB302: Correct slide for samplerate
2014-06-19 09:54:52 +02:00
Tobias Doerffel
b24fa4757c Merge pull request #866 from diizy/stable-1.1
Fix stuck notes on notestacking
2014-06-19 09:54:31 +02:00
Vesa
0237da44b5 ... somehow didn't notice the already existing engine::mixer()->lock() there... 2014-06-19 00:38:48 +03:00
Vesa
0f03219c93 Fix stuck notes on notestacking
Fixes #865. Added a check so we don't add subnotes to a note that is already released (can happen with very short midinotes, eg. sliding the mouse accross the gui piano).
I also added a mutex to incoming midievent handling in instrumenttrack. Not sure if strictly necessary, but seems like this would prevent problems in the long run.
Also fixed a glitch in noteplayhandle where silent master notes got stuck playing indefinitely ( isMasternote() returns true even if the nph just hadChildren, so it never gets ended if it did - instead we check if we still have subnotes).
2014-06-19 00:30:48 +03:00
tresf
73bd963a3f Allow vertical resize for VST Plugin Control Window 2014-06-18 02:54:29 -04:00
Vesa
c93f6587e6 LB302: Correct slide for samplerate 2014-06-17 14:35:53 +03:00
Tobias Doerffel
4ef5b5fef3 Merge pull request #860 from diizy/gfx
Graphics updates
2014-06-17 11:59:52 +02:00
Vesa
0d2249828d Graphics updates 2014-06-17 12:39:52 +03:00
Tobias Doerffel
41197a949a Merge pull request #852 from diizy/sf2fix
SF2 player: fix playback issues
2014-06-15 23:32:14 +02:00
Tobias Doerffel
3de952e9c1 Merge pull request #844 from grejppi/stable-1.1-kicker
kicker: keep start note behaviour for old presets
2014-06-15 23:31:52 +02:00
Tobias Doerffel
3ab6a7ac0f Merge pull request #846 from diizy/stable-1.1
FxMixer: Fix channel delete and other bugs
2014-06-15 23:31:02 +02:00
Tobias Doerffel
e1fc2a21bb Merge pull request #841 from tresf/stable-1.1
NSIS fixes #385, #831
2014-06-15 23:30:27 +02:00
Tobias Doerffel
c7f29c19c8 Merge pull request #840 from sarahkeefe/stable-1.0
Fix for issue #837 - Compile issue on OS X - include file Qt/qglobal.h not found
2014-06-15 23:29:46 +02:00
Tobias Doerffel
86a4a98d2f Merge pull request #848 from diizy/midioffset
5-in-1 bugfix special
2014-06-15 23:29:21 +02:00
Vesa V
2a1da2a6bd Merge pull request #855 from diizy/monstro
Monstro: fix another silly error...
2014-06-15 22:40:13 +03:00
Vesa
9d3c8a98ae Monstro: fix another silly error... 2014-06-15 22:38:25 +03:00
Vesa V
5425488e4c Merge pull request #854 from diizy/monstro
Monstro: oops... corrected an error
2014-06-15 17:30:52 +03:00
Vesa
dcfa4ebe43 Monstro: oops... corrected an error 2014-06-15 17:29:24 +03:00
Vesa V
4b31294a85 Merge pull request #853 from diizy/monstro
Monstro updates
2014-06-15 16:05:18 +03:00
Vesa
b5d9286fdc Monstro - additional small fix... 2014-06-15 16:01:12 +03:00
Vesa
8a2aeaa595 Monstro updates
- Fix FM (use PM-based FM to prevent pitch drift)
- Bunch of codepath optimizations
- Somewhat saner min/max values for PW
2014-06-15 15:58:07 +03:00
Vesa
585f8b6d93 SF2 player: fix playback issues
Changing the velocity after noteon doesn't really seem to work on fluidsynth (may be dependent on soundfont file) - seems like the panning changes when velocity is changed.
So I disabled that, after which everything works fine.
2014-06-14 20:36:21 +03:00
Vesa
ad1c6957b0 AutomatableModel: prevent linking of model to itself
There's no need to ever link a model to itself, allowing it can cause weird issues and crashes, plus it's easy to do by accident if you start a ctrl-drag and end it while still on the same widget
2014-06-14 18:36:17 +03:00
Vesa
e733042cdb FxMixer: clearChannel had the same erroneous for loop as deleteChannel 2014-06-14 17:42:00 +03:00
Vesa
24bf336bf8 FxMixer: fix crashes on modifying sends
Added a mutex so that the GUI thread can't change the sends around during the rendering loop.
2014-06-14 14:53:22 +03:00
Vesa
3319380cf6 FxMixer: Fix channel delete 2014-06-14 14:37:27 +03:00
Vesa
9c584778d2 5th: fix #563 - do not destroy IPH's on "All Notes Off" MIDI commands 2014-06-14 14:37:07 +03:00
Vesa
d1eb9886fd Make that 4: Fix stuck midi notes on changing master pitch 2014-06-14 14:37:07 +03:00
Vesa
3f19478b87 Further safeguards needed... 2014-06-14 14:37:07 +03:00
Vesa
a172783cd0 3-in-1 bugfix special
Fixes bugs: #568, #289 and the incorrect timing for midi-noteoffs (see mailing list)
2014-06-14 14:37:07 +03:00
Vesa V
32cfe84dfd Merge pull request #850 from diizy/lb302
LB302: one last fix...
2014-06-14 14:36:51 +03:00
Vesa
c45163f936 LB302: one last fix... 2014-06-14 14:32:15 +03:00
Vesa V
dd13b26696 Merge pull request #849 from diizy/mixeriph2
A fix to IPH waiting code: don't wait for already finished notes, plus a...
2014-06-13 19:50:45 +03:00
Vesa
a0d6115482 A fix to IPH waiting code: don't wait for already finished notes, plus a bit of optimization 2014-06-13 19:47:48 +03:00
Hannu Haahti
ebc9da8c71 kicker: keep start note behaviour for old presets 2014-06-12 16:20:26 +03:00
tresf
64289f5953 nsis_branding.bmp, 256 color version to fix #831 2014-06-12 02:17:03 -04:00
Tres Finocchiaro
13d0bc73d9 HKCR registry cleanup per #385 2014-06-12 00:43:18 -04:00
sarahkeefe
940fb0d3d5 Updating include to QtCore/QtGlobal 2014-06-11 17:16:28 -04:00
sarahkeefe
91519898d0 Replacing <Qt/global.h> includes with <QtGlobal> to fix compile issue on OS X 2014-06-11 13:21:01 -04:00
Vesa V
66c05f60ff Merge pull request #839 from diizy/lb302
Last LB302 fixes for now (I hope!)
2014-06-11 15:30:41 +03:00
Tobias Doerffel
3a3cbe4f4e Merge pull request #830 from tresf/stable-1.1
Updated logo for NSIS installer
2014-06-11 14:08:17 +02:00
Tobias Doerffel
28d2680896 Merge pull request #838 from softrabbit/tpyo
CmakeLists.txt: s/similiar/similar/g
2014-06-11 14:08:01 +02:00
Vesa
11209593e0 Last LB302 fixes for now (I hope!) 2014-06-11 15:05:07 +03:00
Raine M. Ekman
5e3d3d449d Fixed tpyo in CMakeLists.txt: It's simiLAR, not simiLIAR 2014-06-11 10:39:06 +03:00
Tobias Doerffel
0679d89cac Merge pull request #834 from softrabbit/formantfilter
Note filters: remove unnecessary calculations in Formantfilter
2014-06-10 12:14:50 +02:00
Raine M. Ekman
0941520d8c basic_filters.h: One unnecessary m_vflp array removed. 2014-06-10 12:10:42 +03:00
Raine M. Ekman
c29ec40711 basic_filters.h: Remove unneccessary LP filter calculations in Formantfilter 2014-06-10 11:57:59 +03:00
Vesa V
77a919d24c Merge pull request #833 from diizy/stable-1.1
LB302: further fixes
2014-06-10 09:05:34 +03:00
Vesa
9af0d7af93 LB302: further fixes
- My earlier fixes caused some new issues, now I'm fixing them, this time I'm pretty sure there won't be anything I missed
2014-06-10 09:02:20 +03:00
Tres Finocchiaro
045353735f Updated logo for NSIS installer 2014-06-09 11:12:01 -04:00
Tobias Doerffel
5fdc8e63d9 Merge pull request #819 from diizy/mixeriph2
Ensure that NotePlayHandles get processed before the InstrumentPlayHandl...
2014-06-09 13:43:51 +02:00
Tobias Doerffel
82720472c9 Merge pull request #820 from diizy/lb302fix
LB302: Fix playback bugs (sticking pitch), add bandlimited waves
2014-06-09 13:42:25 +02:00
Tobias Doerffel
019c438668 Merge pull request #817 from diizy/bbtrack-ui
Make BB-tracks themeable
2014-06-09 13:41:55 +02:00
Tobias Doerffel
ca29057d54 Merge pull request #829 from ycollet/update_fr_1.1
Update fr for stable-1.1
2014-06-09 13:40:25 +02:00
Tobias Doerffel
1d6a456b47 Merge pull request #827 from DanWin/master
Updated German translation
2014-06-09 13:40:06 +02:00
Tobias Doerffel
34a4c27761 Merge pull request #826 from DanWin/stable-1.0
Updated German translation
2014-06-09 13:39:59 +02:00
Tobias Doerffel
dc9804f7b6 Merge pull request #823 from diizy/automation
Fix drag/drop for automation patterns
2014-06-09 13:38:31 +02:00
Yann Collette
72e194044d update fr translation 2014-06-09 11:08:26 +02:00
Daniel Winzen
22cf0db03d Updated German translation 2014-06-08 17:49:04 +02:00
Daniel Winzen
2b261b0020 Updated German translation 2014-06-08 17:45:45 +02:00
Vesa V
bf824f2a60 Merge pull request #825 from diizy/qbrush
Use QBrush instead of QColor on some theme properties
2014-06-08 18:18:08 +03:00
Vesa
2fa7892542 Use QBrush instead of QColor on some theme properties
Apparently, we can use QBrush -typed properties in the CSS. This just never occured to me before!
So, this has several benefits. A QColor property only allows a singular RGB value, but a QBrush allows the same plus also qgradients, RGBA-colours and maybe even bitmap patterns. So I'm changing some properties to QBrush, where it makes sense to allow this additional functionality - no need to enable it for simple things like text colours or such.

- Song editor background: instead of the earlier hack with 7 qproperties just to set a limited background gradient, we can use only 2 properties and allow much more flexibility with Qt's own qgradient syntax
- Automation editor: background, graph colour, and the sidebar colour - @musikBear recently complained not seeing the grid through the graph, so transparency can help there, and qlineargradients in the graph can produce very cool visual effects. Grid is pointless to change, it should stay single-colour for now.
- Piano roll: here, I only made the background use QBrush - we don't really have much else here that can utilize QBrush, the notes have their own gradient system... maybe the 2nd colour of the note gradient could be customizable though.

There are probably more places where this change makes sense...
2014-06-08 18:06:09 +03:00
Vesa
9cc3344756 Fix drag/drop for automation patterns
There was some apparently legacy code that was entirely unnecessary and interfering with model drops.
Closes #814
2014-06-08 12:28:43 +03:00
Vesa
40407f6ce6 LB302: Fix playback bugs (sticking pitch), add bandlimited waves 2014-06-07 14:39:45 +03:00
Vesa
bad08a2632 Ensure that NotePlayHandles get processed before the InstrumentPlayHandle on instruments that use both NotePlayHandles and InstrumentPlayHandle, such as LB302 and SF2-Player
Issue: Currently, we use threads to process all PlayHandles, so there's no guarantee of the order they are processed in. This causes timing inaccuracy and jitter: notes of instruments that use both NPH's and IPH's can get randomly delayed by one entire period.
The issue is solved thusly:
- When processing an IPH, we check if the instrument is midi-based. If yes, we just process it normally (no NPH's to worry about).
- If it's not, then it also uses NPH's, so we'll have the IPH wait until all NPH's belonging to same instrument have been processed. There's some similar code in the new FX mixer, I pretty much just copied how we do it there.
2014-06-06 14:24:51 +03:00
Vesa
910f89a5d3 Make BB-tracks themeable
- This allows defining a default colour for BB-track patterns in the CSS
- The default colour is used for all bb-patterns which don't have a custom colour set by the user: in other words, the colour of a pattern can be any rgb-value OR "style colour"
- By default, all created bb-patterns use the style colour
- You can also reset colourized patterns to use style colour again
- Backwards compatibility: old projects will be loaded so that any pattern using either of the old default colours will be converted to use style colour

TODO: add a settings option that can disable custom colours (ie. always use style colour), and/or an option to reset all patterns in a project to style colour. This is needed, since themes can now change the song editor background, which can lead to unfortunate colour combinations with custom colours...
2014-06-06 11:06:12 +03:00
Tobias Doerffel
dba1e75a53 Merge pull request #808 from tresf/stable-1.1
SF2/VST Title Fixes, Export Dialog Fixes
2014-06-06 00:07:54 +02:00
Tobias Doerffel
0044ef8515 Merge pull request #813 from diizy/ringbuffer
Ringbuffer
2014-06-06 00:07:19 +02:00
Vesa
b0c2fe1685 Forgot a line.. 2014-06-05 20:43:18 +03:00
Vesa
6e2d73721c RingBuffer: initial commit
Implements a ring buffer class for LMMS, which is designed to be flexible, efficient and thread-safe.
Due to flexible design, it supports various methods of operation:
- set delays/sizes in absolute frame values, ignoring samplerate
- set delays/sizes in milliseconds with samplerate-awareness
- multiple inputs -> single output
- single input -> multiple outputs
Efficiency is achieved by working in buffers and using memcpy/memset for audio operations, except when additive mixing is needed: then MixHelpers are used
Thread-safety is guaranteed with QMutex
2014-06-05 20:26:48 +03:00
Tres Finocchiaro
922ab25217 Fast forward vesa's sample-accurate changes 2014-06-04 09:03:19 -04:00
Tres Finocchiaro
e06759d0d8 Formatting fixes 2014-06-04 08:58:06 -04:00
tresf
7a03353fb6 Export dialog append wav/ogg #764 w/ #779 recommendations 2014-06-04 08:55:30 -04:00
tresf
f42196315c SF2/VST title rename #462 w/ #774 recommendations 2014-06-04 08:52:12 -04:00
Tobias Doerffel
ab493ea27f Merge pull request #804 from diizy/midioffset
Make MIDI timing sample-accurate
2014-06-04 09:35:11 +02:00
Tobias Doerffel
96da8717f3 Merge pull request #802 from zonkmachine/random-wave-icon
Random wave icon
2014-06-04 09:34:06 +02:00
Tobias Doerffel
50b9fa83c9 Merge pull request #805 from ycollet/cmake_gcc_482
Fix a regression with gcc-4.8.2
2014-06-04 09:33:45 +02:00
Yann Collette
e1e74bc369 when using gcc-4.8.2, desactivate -Werror due to a regression 2014-06-04 09:12:40 +02:00
Vesa
06be5bba82 Make MIDI timing sample-accurate
- currently only affects Vestige
- no idea whether this can also be used for Zyn and OpulenZ, I'm not sure if Zyn has any kind of mechanism for communicating frame offset to the synth, as for OpulenZ, @softrabbit would know the answer better
- basically, I made it happen by simply adding an extra parameter in the processMidi{In|Out} functions, which is 0 by default, and made the necessary changes in instrumentTrack and nph to utilize it
- I based this against 1.1 because I didn't think it's a very big change, and I don't see much possibility for things going wrong here, since we're basically just using the existing functionality in Vestige (there already was a frame offset being communicated to the remote plugin, just that it was always set to 0). However, if @tobydox thinks this is better to bump up to 1.2, I can rebase it for master...
2014-06-04 04:23:16 +03:00
Oskar Wallgren
a61d0284f2 Fix Instrument LFO, random wave icon 2014-06-02 04:01:27 +02:00
Tobias Doerffel
23f9312597 Merge pull request #799 from diizy/models3
S.ex. models: implement support for sample-exact controls in fx-mixer
2014-06-01 14:31:21 +02:00
Vesa
43d1b30727 FxMixer, ValueBuffer, etc. fixes 2014-06-01 15:25:02 +03:00
Tobias Doerffel
b28e995316 Merge pull request #797 from softrabbit/issue780
Issue780
2014-06-01 10:09:54 +02:00
Vesa
1c0f9700fa S.ex. models: implement support for sample-exact controls in fx-mixer
Works for all faders and send knobs
2014-06-01 07:17:43 +03:00
Raine M. Ekman
f0556cbc3b InstrumentTrack: Fix issue #780 by showing the m_pitchRangeSpinBox too, in case it's been hidden. 2014-05-31 20:41:50 +03:00
Tobias Doerffel
385e13bb63 Merge pull request #788 from diizy/models
Models branch for 1.2
2014-05-31 15:12:33 +02:00
Tobias Doerffel
a2e61a7a08 Merge pull request #789 from diizy/pianoroll
PianoRoll: CSS stylability, mousewheel improvements
2014-05-31 15:12:07 +02:00
Tobias Doerffel
146ae64342 Merge pull request #792 from diizy/autoeditor
AutomationEditor: improve zoom, CSS
2014-05-31 12:46:43 +02:00
Vesa
3a1e447d7b PianoRoll: wheelevent improvements, similar to AutomationEditor
- ctrl+alt+wheel changes q (as in auto)
- ctrl+shift+wheel changes note length
- changed note lock functionality slightly, it no longer changes itself to 1/16 because this would cause annoying infinite scrolling with the wheel, instead it just acts like 1/16 when notelength is last note
2014-05-31 07:06:58 +03:00
Vesa
7a19654ab9 AutomationEditor - fix previous 2014-05-31 04:05:58 +03:00
Vesa
310ac28009 AutomationEditor: CSS stylability 2014-05-31 03:32:55 +03:00
Vesa
5652043185 AutomationEditor: improve zoom functionality
- entire wheelevent code was written very... weirdly, I simplified it
- fix bug with x zoom with mousewheel, no more getting stuck between 25/50
- ctrl+shift+mousewheel now zooms y-axis
- ctrl+alt+mousewheel now changes quantization
2014-05-31 01:47:59 +03:00
Vesa
f43678cbae PianoRoll: CSS stylability
Most parts of piano roll are now stylable:
- background color
- note color
- bar color (for volume bars)
- grid color
2014-05-30 23:00:20 +03:00
Vesa
63a39bde76 Models: Fix error 2014-05-30 19:29:45 +03:00
Vesa
a46b9383a5 LfoController updates - fix some remaining timing issues 2014-05-30 18:26:16 +03:00
Vesa
d331dfe352 Move improvements to sample-exact controller handling,
also some coding style fixes
2014-05-30 18:26:16 +03:00
Vesa
44f1d3df85 Initial implementation of sample-exact models and controllers
Also featuring a very efficient buffer-based system for transporting sample-exact control data
Also interpolation for automations
The native Amplifier is a reference implementation for taking advantage of sample-exact data and is currently
the only one that does so, it can be used to test things out, and as documentation/example for implementing the
same elsewhere
2014-05-30 18:22:36 +03:00
Tobias Doerffel
3a833d2ad8 Merge pull request #776 from xsleonard/cut-copy-paste
Copy+Paste for rubberband selections in track editor
2014-05-30 15:26:10 +02:00
Tobias Doerffel
a309ba077c Bumped version number to 1.0.91
We can now distinguish between the new stable 1.1 branch and the master branch.
2014-05-30 15:24:07 +02:00
Tobias Doerffel
ef0ccb4094 Merge pull request #778 from diizy/pianoroll
PianoRoll: Note Quick Resize
2014-05-30 15:15:28 +02:00
Tobias Doerffel
b170ab18f6 Merge pull request #787 from diizy/master
FxMixerView: fix crash when loading project while selected channel != 0
2014-05-30 15:11:29 +02:00
Vesa
51194453f1 FxMixerView: fix crash when loading project while selected channel != 0
Fixes #782
2014-05-30 08:19:54 +03:00
Vesa V
6dfd6de8d2 Merge pull request #785 from diizy/nes
Nes updates
2014-05-29 22:59:37 +03:00
Vesa
8bb5733ee5 Nes: Fix previous - forgot to add new models to load/save funcs 2014-05-29 22:57:14 +03:00
Vesa
50c5b0db03 Nes: added pitch sweep for noise channel, freq.quantize mode (constrain frequencies to preset values when using note frequency)
Also added a handful of neat presets that mimick Nes sound effects
2014-05-29 22:48:13 +03:00
Vesa V
fe88806bd5 Merge pull request #784 from diizy/nes
Nes: implement vibrato, also: make main pitch update at 60hz frequency r...
2014-05-29 19:36:48 +03:00
Vesa
19d105dc86 Nes: implement vibrato, also: make main pitch update at 60hz frequency regardless of period size or samplerate (guarantees consistency in sound for combined pitch sweep + pitch automation) 2014-05-29 19:32:22 +03:00
Vesa
adea08d5b9 PianoRoll: Note Quick Resize
Basically, this works as such:
- if you click shift *after* starting a note move OR after creating a new note, the note move action is switched into resize mode, so you can quickly resize the note you just created, or the note you just moved. This saves time and improves workflow - at least based on my own experience: I've always wished I could do this, this is a huge time saving when you want to quickly jot down notes of differing lengths.
- if shift is already pressed when you click, the above will not happen, because that would mess with the note copy function. Copying notes with shift-dragging works the same as before.
- note test playback is halted when you click shift while moving. This is purely because it was causing some crackling noise, probably because of the changing length of a note that is currently playing. Maybe that can be fixed later, although it's arguably better not to hear the note while resizing - it's consistent with the other resize.
- works on group of notes as well, if you start moving a group of notes and then click shift, it will go into resize. Exception is notes copied with shift-drag... for obvious reasons.
- that should be all. Testing appreciated.
2014-05-28 03:38:59 +03:00
Steve Leonard
af56ea5849 Copy+Paste for rubberband selections in track editor 2014-05-26 15:53:08 -04:00
Vesa V
957aed4b80 Merge pull request #773 from diizy/master
NES: fix dc offset and distortion
2014-05-26 18:04:13 +03:00
Vesa
6e516a358c NES: fix dc offset and distortion 2014-05-26 18:02:55 +03:00
Tobias Doerffel
1567bd8d09 Merge pull request #752 from tresf/master
Drag-and-drop support for VST, SF2
2014-05-26 10:28:44 +02:00
Tobias Doerffel
7dcf9a1ffa Merge pull request #719 from ycollet/stable-1.0
add lib64 directories to search for ladspa plugins
2014-05-26 10:27:58 +02:00
Tobias Doerffel
c3af25e54a Merge pull request #758 from grejppi/master-samplebuffer
SampleBuffer: fix amplification
2014-05-26 10:26:59 +02:00
Tobias Doerffel
54531f5144 Merge pull request #761 from zonkmachine/random-wave-2
Random wave for instrument plugin LFO
2014-05-26 10:26:09 +02:00
Tobias Doerffel
3d61b6df9e Merge pull request #768 from diizy/master
FxMixerView: prevent mixer from being loaded with improper send buttons ...
2014-05-26 10:25:18 +02:00
Tobias Doerffel
d857f0e272 Merge pull request #771 from diizy/nes
NES instrument
2014-05-26 10:22:40 +02:00
Vesa
750be17b56 Nes: fix sweep 2014-05-26 05:46:53 +03:00
Vesa
8b51e29467 New NES instrument 2014-05-26 03:25:15 +03:00
Vesa
592b4aeb1a New NES instrument 2014-05-26 03:24:36 +03:00
Vesa
eaf0f15d3f FxMixerView: prevent mixer from being loaded with improper send buttons which cause crashes when clicked, fixes #766 2014-05-25 13:55:05 +03:00
Oskar Wallgren
2e78e65d59 Code simplifed 2014-05-24 20:02:18 +02:00
Hannu Haahti
d715c18b65 SampleBuffer: amplify in post 2014-05-23 21:50:47 +03:00
Oskar Wallgren
768f0e54b0 Random graph approximation and cleanup 2014-05-23 03:46:40 +02:00
Hannu Haahti
904370ec34 SampleBuffer: fix amplification 2014-05-22 23:48:05 +03:00
Oskar Wallgren
3d61768538 Gui button fix, test backward compatibility 2014-05-22 19:25:04 +02:00
Tobias Doerffel
00e7fe236c ZynAddSubFX: imported current head
Imported current head of LMMS-specific ZynAddSubFX source code.

HEAD: c38c705ea40914f6bd63f799ab8dad91411a93c0
2014-05-22 11:33:39 +02:00
Oskar Wallgren
85c02cddfe Random wave first commit, pixmap button defect 2014-05-22 07:17:55 +02:00
Tres Finocchiaro
71f6b1b205 Drag-and-drop support for VST, SF2 2014-05-21 16:39:02 -04:00
Vesa V
3e02a15908 Merge pull request #748 from diizy/master
Fix globalautomationvalueat and coding style
2014-05-21 17:45:02 +03:00
Vesa
9742becb81 Fix globalautomationvalueat and coding style 2014-05-21 17:37:30 +03:00
Tobias Doerffel
bfe2f0cf11 InstrumentFunctions: fix base note playback in chords
As of 6650dd356d base notes are not played
anymore when chords are enabled. Therefore create a separate NotePlayHandle
for the base note like we do for all other notes in the chord.
2014-05-20 23:13:13 +02:00
Tobias Doerffel
1decf5d6ea Merge pull request #739 from diizy/master
Removal of the "sample-exact controllers" and "anti-aliasing oscillators...
2014-05-18 22:27:37 +02:00
Vesa
97ff5e99e0 Removal of the "sample-exact controllers" and "anti-aliasing oscillators" qualitysettings. 2014-05-18 21:36:49 +03:00
Yann Collette
6a5e7b18de add lib64 directories to search for ladspa plugins 2014-05-18 19:22:29 +02:00
Tobias Doerffel
465aa1afbc EffectChain: remember original effect plugin data when loading dummy plugin
We don't want to loose the settings of an effect plugin even if it's not
available and thus can't be instantiated. Therefore remember original
settings data and save them back properly.

Partly closes #733.
2014-05-18 15:53:18 +02:00
Tobias Doerffel
1b0264f501 DummyEffect: removed inline specifiers, fixed header guard identifiers 2014-05-18 15:27:49 +02:00
Tobias Doerffel
a71749af08 Merge pull request #720 from diizy/master
Initial implementation for two additional methods in AutomatableModel, A...
2014-05-18 15:15:49 +02:00
Tobias Doerffel
6b6bfa2666 Merge pull request #734 from diizy/bandlimit
Move the initialization of BandLimitedWaves into engine.cpp
2014-05-18 15:11:51 +02:00
Tobias Doerffel
28fa95ae56 Merge pull request #727 from diizy/kicker
Kicker: new UI / graphics, also some additions:
2014-05-18 15:11:06 +02:00
Tobias Doerffel
cc8cb50efa Merge pull request #729 from tresf/stable-1.0
swh plugins:  Fix SWH destructors
2014-05-18 15:10:12 +02:00
Tobias Doerffel
aa8eea2fb1 Merge pull request #736 from diizy/powerchord
InstrumentFunctions: Add power chord
2014-05-18 15:09:47 +02:00
Vesa
c854f1d0ec InstrumentFunctions: Add power chord
Aka. 5-chord, simple 5th interval chord. A very simple addition and something I've always wondered why it's missing from the very extensive huge list of chords and scales.
2014-05-18 13:14:52 +03:00
Vesa
bf54852062 Move the initialization of BandLimitedWaves into engine.cpp
Since we now provide the wavetables as pre-generated files, there's no delay caused by their initialization
so we can move it to the startup of the software. I thought engine.cpp is the best place for this, it makes
conceptually more sense than main.cpp IMO.
This way each instrument that wants to use them in the future won't have to call the initialization function
separately, making things a bit easier.
2014-05-17 23:32:34 +03:00
Vesa
bbcb8635e2 Kicker: a bit of an additional GUI tweak 2014-05-16 20:33:53 +03:00
Tres Finocchiaro
313977ebfd swh plugins: Fix SWH destructors
The constructors had been fixed with commit #83c2019, but I had missed
the destructors.  This corrects the `_fini()` destructors as well.
2014-05-16 13:11:26 -04:00
Vesa
2ff70e6aba Kicker: new UI / graphics, also some additions:
- Envelope length is now temposyncable and has higher maximum
- Distortion is divided to start/end knobs for a simple distortion envelope
- Everything backwards compatible
2014-05-16 15:48:36 +03:00
Tobias Doerffel
1e6cd3c6a1 Merge pull request #714 from tresf/stable-1.0
Fix font colors on Apple #527
2014-05-15 22:44:56 +02:00
Vesa
aefc9832f8 Initial implementation for two additional methods in AutomatableModel, AutomationPattern:
These methods are used to fetch the automated value of a model at a given MidiTime
These are still untested but that shouldn't be a problem since they aren't actually used by anything yet... but I'll be doing some testing and bugfixing (if needed) for them later.
These will be an important step in making sampletracks eventually be reliably playable from any position, and more generically, being able to reliably convert MidiTime to real time. Of course they can be useful for other things too (not sure what though, yet).
2014-05-15 03:02:42 +03:00
Vesa V
fd89e4c5e6 Merge pull request #717 from Umcaruje/master-betterorganic
Tweaked the color of the organic logo
2014-05-14 00:55:58 +03:00
Umcaruje
05517aefc4 Tweaked the color of the organic logo 2014-05-13 22:02:43 +02:00
Tres Finocchiaro
7404eef34a Revert changes 2014-05-12 22:10:28 -07:00
Tres Finocchiaro
e401ac5c9d Revert changes 2014-05-12 22:09:47 -07:00
Tres Finocchiaro
959db3d7ac Revert changes 2014-05-12 22:08:34 -07:00
Tres Finocchiaro
5bb5ffc152 Revert changes 2014-05-12 22:06:44 -07:00
Tres Finocchiaro
9abfbd6c94 #527 2014-05-12 21:37:01 -07:00
Tobias Doerffel
28cf4a5f8d Merge remote-tracking branch 'origin/stable-1.0'
Conflicts:
	CMakeLists.txt
	data/CMakeLists.txt
	include/SampleBuffer.h
	plugins/CMakeLists.txt
	plugins/zynaddsubfx/zynaddsubfx/src/Params/PADnoteParameters.cpp
	src/core/SampleBuffer.cpp
2014-05-12 21:57:10 +02:00
Tobias Doerffel
7dd9ee04e1 Bump version to 1.0.90
This is the master branch which is going to end up in the 1.1.x series
therefore bump version now as a preparation.
2014-05-12 21:44:57 +02:00
Tobias Doerffel
0e2451bd6e Watsyn: link against libsamplerate
Fixes Win32/Win64 build.
2014-05-12 21:44:26 +02:00
Tobias Doerffel
cf7acc382d BandLimitedWave: export class in LMMS binary
Fixes Win32/Win64 build of Monstro plugin.
2014-05-12 21:43:44 +02:00
Tobias Doerffel
2edb5ed2c6 ZynAddSubFX: added update script
Added script to pull in latest ZynAddSubFX sources from LMMS-ZynAddSubFX
repository.
2014-05-12 19:58:25 +02:00
Tobias Doerffel
105cb8c195 Merge branch 'master' of github.com:LMMS/lmms 2014-05-12 19:23:43 +02:00
Tobias Doerffel
e4beaf0074 ZynAddSubFX: imported current head
Imported current head of LMMS-specific ZynAddSubFX source code.

HEAD: c920930cce09b4f691f585d93a19eac85672e50e
2014-05-12 19:17:51 +02:00
Tobias Doerffel
66c2d620ef ZynAddSubFX: removed submodule 2014-05-12 19:15:30 +02:00
Tres Finocchiaro
5aa6779108 Fix incorrect path to libZynAddSubFxCore.dylib 2014-05-09 08:45:10 -07:00
Tres Finocchiaro
3a1bc2a7ae Fix "Use of undeclared identifier 'getpid'"
Troubleshooting RemoteZynAddSubFX.
2014-05-09 08:41:07 -07:00
Tobias Doerffel
90496600f2 SWH: fixed Win32 compilation
The recent adaptions for OS X broke build for Win32.
2014-05-08 21:59:30 +02:00
Tobias Doerffel
25204abdab Merge remote-tracking branch 'tresf/stable-1.0' into stable-1.0
Conflicts:
	plugins/opl2/fmopl.c
2014-05-08 21:53:03 +02:00
Tres Finocchiaro
049a88fe8e Fix SWH contructors (Apple)
@tobydox, please advise as I cannot easily test the win32 impact of this
change.
2014-05-08 15:36:51 -04:00
Tres Finocchiaro
7fb434c26d #ifdef indent corrections 2014-05-08 11:05:54 -07:00
Tres Finocchiaro
72620542c0 OpulenZ/opl2 build fixes (Apple)
- Cleaned up many non-bracketed sections for stricter compilers.
- Remove custom `INLINE` keyword when building on clang.
- Renable opl2 via plugins\CMakeLists.txts

https://cloud.githubusercontent.com/assets/6345473/2919394/c474d668-d6da-11e3-82db-778a7ce6014d.png
2014-05-08 14:01:27 -04:00
Tres Finocchiaro
e979ac06c5 Update lmms.plist.in 2014-05-07 19:06:40 -07:00
Tobias Doerffel
14815728ee Merge pull request #691 from eagles051387/stable-1.0
updated README to give link to github wiki instead of SF
2014-05-07 23:28:58 +02:00
Tres Finocchiaro
52e76c66b4 Update lmms.plist.in 2014-05-07 13:50:45 -07:00
Tres Finocchiaro
6ac9c28fee Update CMakeLists.txt 2014-05-07 13:28:10 -07:00
Tres Finocchiaro
26a48e1c3a Update lmms.plist.in 2014-05-07 13:26:04 -07:00
Tres Finocchiaro
3e2fea65dc Apple mimetype support 2014-05-07 13:12:07 -07:00
Tres Finocchiaro
2037f082d2 Update CMakeLists.txt 2014-05-07 12:46:58 -07:00
Jonathan Aquilina
76a990dbdc updated README to give link to github wiki instead of SF 2014-05-07 18:17:24 +02:00
Tobias Doerffel
b9d51f0a40 Merge pull request #685 from tresf/stable-1.0
SWH Clang Fixes, Apple Installer Fixes
2014-05-06 09:39:22 +02:00
Tres Finocchiaro
1c4ab566d9 Fix "No documents could be created" when opening (Apple) 2014-05-05 21:51:46 -07:00
Tres Finocchiaro
3b0fd9dfca Apple Bundle Fix : Move Bundle Declarations #2 2014-05-05 09:54:12 -04:00
Tres Finocchiaro
a88b89682a Apple Bundle Fix : Move Info.plist task to /data
Also ADD_SUBDIRECTORY /data/scripts for recent Apple Installer changes.
2014-05-05 09:48:22 -04:00
Tres Finocchiaro
6b5f3565d8 Apple Bundle Fix : Move tasks from / to /data/scripts 2014-05-05 09:47:06 -04:00
Tres Finocchiaro
ca778dd487 Apple DMG Fix : Fix %VARS% for DMG Script 2014-05-05 09:45:32 -04:00
Tres Finocchiaro
bc81274fa8 Apple Bundle Fix : Allow %VARS% for Bundle Script 2014-05-05 09:45:01 -04:00
Tres Finocchiaro
478cef528a Apple Bundle Fix : Move Bundle Declarations
The "MACOSX_BUNDLE..." declarations must occur before
ADD_SUBDIRECTORY(plugins) in order for the child CMake to inherit the
properties from the parent.

This is needed for scripts/create_apple_dmg.sh to inherit
"MACOS_BUNDLE_BUNDLE_VERSION", etc.
2014-05-05 09:43:19 -04:00
Tres Finocchiaro
83e8a9e1b9 Apple Bundle Fix 2014-05-04 21:04:55 -07:00
Vesa V
31268a0b6b Merge pull request #684 from diizy/autorec
Automation recording: remove unnecessary hasAutomation() - the pattern d...
2014-05-05 01:02:21 +03:00
Vesa
dbe69c74ec Automation recording: remove unnecessary hasAutomation() - the pattern doesn't need to already have automation in
order to record more...
2014-05-05 00:57:32 +03:00
Tobias Doerffel
117714abd1 Merge pull request #683 from diizy/autorec
Automation recording: add option to trackops to switch on/off recording ...
2014-05-04 23:49:56 +02:00
Vesa
6b7a3c0041 Automation recording: add option to trackops to switch on/off recording in all TCOs on the track
I still had time to implement this convenient little thing, so here you go...
The same code can be reused in the future for sampletracks as well.
2014-05-05 00:37:39 +03:00
Tobias Doerffel
06a6407b60 Merge pull request #682 from diizy/autorec
Automation Recording
2014-05-04 22:55:27 +02:00
Vesa
62068684c2 Fix to previous - use value<float>() instead of making an unnecessary new function... also accidentally didn't upload the new image last time 2014-05-04 22:54:06 +03:00
Vesa
4564ed14cd Automation Recording 2014-05-04 21:59:39 +03:00
Tres Finocchiaro
42f7a5fb1e Apple Bundle Fix 2014-05-04 00:36:33 -07:00
Tres Finocchiaro
1be0823f5b Apple Bundle Fix 2014-05-04 00:12:22 -07:00
Tres Finocchiaro
3e9314bb63 Apple Bundle Fix 2014-05-04 02:13:05 -04:00
Tres Finocchiaro
9a0f930416 Apple Bundle Work 2014-05-04 01:40:10 -04:00
Tres Finocchiaro
bca86d9c1a Apple Bundle fixes 2014-05-04 01:10:52 -04:00
Tres Finocchiaro
3d274078ce New Info.plist resource for Apple Bundle 2014-05-04 00:49:54 -04:00
Tres Finocchiaro
245a223924 Add/Fix Apple specific VARS for Bundle
Added MIMETYPE, Changed ICON_FILE, dynamically builds shell scripts
using CMake @VARS@
2014-05-04 00:49:09 -04:00
Tres Finocchiaro
de89f683af Rename apple scripts for automatic configure
Renamed from create_apple_x.sh to create_apple_x.sh.in
Changed vars to use CMake @PARAMS@
2014-05-04 00:46:26 -04:00
Vesa V
1371b5b0fd Merge pull request #679 from diizy/master
PianoRoll: allow shift-right-click in addition to middle-click in vol/pa...
2014-05-03 23:53:50 +03:00
Vesa
d66d5870fd PianoRoll: allow shift-right-click in addition to middle-click in vol/pan bars 2014-05-03 23:52:24 +03:00
Tobias Doerffel
55217ac637 Made 1.0.2 release
This is a maintenance release of the 1.0.x series.
Bumped version number to 1.0.2 in CMakeLists.txt, README and lmms.rc.in.
2014-05-03 21:55:23 +02:00
Tobias Doerffel
06799b132e Merge pull request #677 from zonkmachine/whatsthis2
Whatsthis2
2014-05-03 20:46:59 +02:00
Tres Finocchiaro
a80dbd67e4 Replace LMMS_BULD_APPLE with __clang__ 2014-05-03 11:46:02 -07:00
Tres Finocchiaro
b987d3ed04 Replace LMMS_BULD_APPLE with __clang__ 2014-05-03 11:44:58 -07:00
Tres Finocchiaro
b0ffa45011 Include lmmsconfig.h for OS #ifdef 2014-05-03 11:34:16 -07:00
Oskar Wallgren
348315845a Add new toolbutton, whatsthis, to MainWindow 2014-05-03 20:32:58 +02:00
Tres Finocchiaro
ae67c792fe Remove inline function declaration for Apple
Typo :)
2014-05-03 09:30:15 -07:00
Tres Finocchiaro
19130e5fce Apple specific build path
Remove another offending inline function declaration for Apple compat.
2014-05-03 09:00:32 -07:00
Vesa V
f00fec8b69 Merge pull request #675 from diizy/master
Monstro, PianoRoll improvements
2014-05-03 00:14:53 +03:00
Vesa
b18d80e0b5 Pianoroll vol/pan UI - further improvements of earlier improvements 2014-05-03 00:12:18 +03:00
Tres Finocchiaro
3d95f82f30 Remove inline function recursion for Apple
q_sort is an inline function which recurses upon itself.  Some compilers such as MSVC limit this which can be overridden with a parameter.  Since I could find no such parameter for clang, this #IFDEF allows the sifter plugin to compile successfully.

If this approach has negative side effects, it should only affect apple.  If there's a better approach to this, please reject the pull request and submit your own.
2014-05-02 14:01:59 -07:00
Vesa
8ea5222793 Monstro: remove useless cast 2014-05-02 22:55:16 +03:00
Vesa V
0695a911c8 Merge pull request #674 from diizy/master
Monstro bugfixes, again...
2014-05-02 21:43:44 +03:00
Vesa
7a4395aabb ... oops 2... 2014-05-02 21:40:07 +03:00
Vesa
ca36fb141d oops.. 2014-05-02 21:37:49 +03:00
Vesa
a218a033b5 Monstro: more bugfixes
Fixes a bug caused by fastPow which was causing hangups in very specific situations only
2014-05-02 21:33:55 +03:00
Tres Finocchiaro
96e41491ad Fix incorrect C99 loop declaration 2014-05-02 10:51:42 -07:00
Tres Finocchiaro
a5d773cfce Re-enabled SWH for Apple 2014-05-01 22:15:23 -07:00
Tres Finocchiaro
e2c3e65767 Clang comp. fix unnecessary else 2014-05-01 22:13:14 -07:00
Tres Finocchiaro
d0c072b372 Copy project.icns to Resources directory 2014-05-01 19:48:16 -07:00
Tres Finocchiaro
2835c99783 Mimetype icon, Apple formatted 2014-05-01 22:44:25 -04:00
Tres Finocchiaro
8fb260317b Create mimetype for mmp,mmpz
Using Info.plist, register the mmp and mmpz mimetypes with the LMMS application.
2014-05-01 19:37:37 -07:00
Vesa V
8df5bb507b Merge pull request #673 from diizy/master
Monstro: envelope bugfixes
2014-05-02 03:58:26 +03:00
Vesa
a2233edfa6 Monstro: envelope bugfixes 2014-05-02 03:57:09 +03:00
Tobias Doerffel
059ddc2875 CMake/FindWine: search for wineg++ executable
Instead of relying on wineg++ being in PATH search for it as it might
reside somewhere else.
2014-05-02 00:17:42 +02:00
Vesa V
ef966c649f Merge pull request #672 from diizy/master
Another small monstro change
2014-05-02 00:59:36 +03:00
Vesa
7da1c5e09f Another small monstro change 2014-05-02 00:57:31 +03:00
Tobias Doerffel
83c2019611 LadspaEffect/TAP: fix instantiation/destruction
Instead of relying on naming the init functions _init() and _fini()
declare them as constructors/destructors and use a different name so
there's no double destruction

Closes #668.
2014-05-01 23:33:40 +02:00
Tobias Doerffel
036d2eede5 Merge pull request #670 from diizy/master
PianoRoll: improvements for note/panning widget
2014-05-01 23:06:44 +02:00
Vesa
23f1634f96 PianoRoll: improvements for note/panning widget 2014-05-01 23:15:28 +03:00
Vesa V
d6d88f6100 Merge pull request #667 from diizy/master
Monstro: very slight change to integrator code
2014-05-01 20:41:20 +03:00
Vesa
787d4e9832 Monstro: very slight change to integrator code 2014-05-01 20:40:11 +03:00
Tobias Doerffel
a7161ffce0 Merge pull request #666 from diizy/master
FXLine: add context menu with options to remove, move & rename FX channe...
2014-05-01 17:17:57 +02:00
Vesa
ed19009d29 FXLine: add context menu with options to remove, move & rename FX channels
- Uses existing functionality in FxMixer & FxMixerView to manipulate channels
- Instruments sending to the manipulated channels get automatically updated
- In the future I hope to implement a drag/drop functionality instead of the clunky context menu but this is a good first step until then
- Also added in a little QWhatsThis help message for the FX line, also accessible from context menu

That lmms_math thing got mixed in accidentally, but it's also a good change: always include math.h in lmms_math - that way, other parts of the software can just #include lmms_math, and won't have to #include both math.h and lmms_math, also the yet unused sinc function in it seems to need it so this prevents problems down the line
2014-05-01 18:10:05 +03:00
Tobias Doerffel
5325e635c3 CMake/FindWine: add suffix for finding library on Debian Testing
On Debian Testing the WINE libraries reside in /usr/lib/<arch>/wine.
Therefore add according suffix to search in as well.
2014-05-01 00:41:24 +02:00
Tres Finocchiaro
6a0952dc34 Add LADSPA default path for Apple 2014-04-30 10:49:07 -07:00
Tres Finocchiaro
6191a64325 Remove Content/bin directory from .app
Fixes "..LMMS.app/Contents/bin" directory not empty message which occasionally occurs when bin has hidden OS X files in it.
2014-04-30 10:22:55 -07:00
Tobias Doerffel
b069cd61ce Made 1.0.1 release
First maintenance release of the 1.0.x series.
Bumped version number to 1.0.1 in CMakeLists.txt, README and lmms.rc.in.
2014-04-30 15:33:15 +02:00
Tobias Doerffel
9c27956414 ZynAddSubFX: allocate spectrum on heap instead of stack
When loading some presets the PADnoteParameters spectrum size is 524288
or even bigger resulting in a stack allocation of 2 MB or more.
This results in a stack overflow on Win32 and thus crashes LMMS. Fix this
by allocating the spectrum on the heap instead.

Closes #543.
2014-04-30 15:20:44 +02:00
Tobias Doerffel
d58a4d8804 SampleBuffer: more sanity checks in getSampleFragment()
Despite of the previously introduced sanitizing it still sometimes happens
that an end frame variable is not greater than the corresponding start
frame variable. Make sure we don't crash by adding more sanity checks in
getSampleFragment().

Closes #629.
2014-04-30 11:34:34 +02:00
Tobias Doerffel
09fb597af4 SampleBuffer: always sanitize start and end frame settings
An end frame variable always has to be greater than a start frame in
order to prevent crashes due to negative frame counts being calculated
in getSampleFragment() otherwise.

Closes #629.
2014-04-30 11:33:18 +02:00
Tobias Doerffel
e9073c88bc PianoRoll: reset last note volume/panning when clearing project
In order to get a uniform behaviour when starting with a new project or
opening another project, reset volume and panning of last edited note so
new placed notes have default volume and panning.

Closes #644.
2014-04-30 10:48:42 +02:00
Tobias Doerffel
9fa4eae7ce Merge pull request #659 from diizy/organic
Organic: update artwork, add harmonic knobs to control harmonic of each ...
2014-04-29 23:56:01 +02:00
Vesa
63747787e4 Organic: fix detuning
The detuning scale was incorrectly calculated: instead of measuring in cents as it claims to, it was actually
in 1/100th octaves, so I fixed it so that I set the units to actual cents (1/100 seminote). Then I set the
range to +/-1200 cents and added compat code so that old values get multiplied by 12, to maintain backwards compat.
2014-04-29 22:54:42 +03:00
Vesa
dce6a26eb3 Organic: update artwork, add harmonic knobs to control harmonic of each oscillator 2014-04-29 20:13:05 +03:00
Tobias Doerffel
46b4fe0302 Merge pull request #658 from grejppi/master-fxrange
InstrumentTrack: fix FX channel range
2014-04-29 16:19:05 +02:00
Hannu Haahti
436b3a9e63 InstrumentTrack: fix FX channel range
Because it is set to INT_MAX by default and never corrected for
cloned instruments, it could go over the maximum and cause a
segmentation fault.
2014-04-29 15:32:41 +03:00
Tobias Doerffel
f02570b261 Merge pull request #654 from grejppi/master-songeditor
SongEditor: change middle click to shift+right click, fix #621
2014-04-28 21:28:21 +02:00
Tobias Doerffel
bdec1023e4 Merge pull request #653 from Umcaruje/master-fixpresets
Fixed broken delay/reverb on various presets
2014-04-28 21:27:12 +02:00
Tobias Doerffel
5552fc110a Merge pull request #657 from LMMS/flp-break
flp import: add missing break statement
2014-04-28 21:26:50 +02:00
Andrew Kelley
bff016dec8 flp import: add missing break statement 2014-04-28 11:35:23 -07:00
Hannu Haahti
885b52cfa8 keep deletion with middle click 2014-04-28 01:07:36 +03:00
Umcaruje
e9d31d6f8d Fixed broken delay/reverb on various presets 2014-04-27 23:38:58 +02:00
Hannu Haahti
cdcba9f685 SongEditor: change middle click to shift+right click, fix #621 2014-04-28 00:38:00 +03:00
Tobias Doerffel
c0b7fbaf93 Merge pull request #651 from diizy/master
Optimizations for Monstro & Watsyn
2014-04-27 22:57:30 +02:00
Vesa
08b2cdba29 Revert partially one of the previous optimizations, was causing some unwanted noisy stuff 2014-04-27 23:10:20 +03:00
Vesa
41f3722e5b Fix previous.. 2014-04-27 21:31:42 +03:00
Vesa
eaebb40986 Optimizations for Monstro & Watsyn 2014-04-27 21:29:25 +03:00
Tobias Doerffel
e1164c4a67 Merge pull request #648 from diizy/master
Interpolation, MemoryHelper - fixes
2014-04-27 00:09:37 +02:00
Vesa
37b9df3458 Monstro: fix LFO att. on random smooth mode 2014-04-26 19:56:21 +03:00
Vesa
e638bb8ae1 MemoryHelper: update coding style 2014-04-26 18:10:36 +03:00
Vesa
ff3e94bd75 Fix a typo in interpolation.h 2014-04-26 16:16:38 +03:00
Tobias Doerffel
c98a60111e Merge pull request #647 from diizy/mixer
FxMixer: turn off effects
2014-04-26 10:06:58 +02:00
Vesa
0f37bd13ee FxMixer - Further optimization: skip copying buffers if we know the sender has no meaningful input to copy 2014-04-26 07:30:23 +03:00
Vesa
7d5250b93a FxMixer: turn off effects 2014-04-26 06:16:51 +03:00
Tobias Doerffel
2505c770bb AutomationEditor: removed useless assertion
As suggested by wongcc966422 and others, the assertion at this place
is superfluous and just causes unneccessary crashes.

Closes #540.
2014-04-25 23:43:05 +02:00
Tobias Doerffel
e4d21ad5f9 Merge pull request #645 from diizy/master
BandLimitedWave: provide wavetables as pre-generated "bin" files, these ...
2014-04-25 23:30:46 +02:00
Vesa
9b9e175925 BandLimitedWave: provide wavetables as pre-generated "bin" files, these will be installed under datadir/wavetables
The runtime-generation is still there as a fallback, and the file generation code is left in as commented-out, because
it might be needed in the future
2014-04-25 19:17:41 +03:00
Tobias Doerffel
f4a8df7c67 Merge pull request #639 from diizy/master
Monstro changes
2014-04-25 11:46:21 +02:00
Vesa
b36f905547 Monstro: Explicitly initialize LFO values with random, so that smooth random reliably starts from a random value 2014-04-24 23:25:12 +03:00
Vesa
060063f5a8 Monstro changes 2014-04-24 13:31:51 +03:00
Tobias Doerffel
9a3ab692e9 ZynAddSubFX: update 2014-04-24 09:54:56 +02:00
Tobias Doerffel
cf35a58629 Merge pull request #638 from tresf/stable-1.0
STK Mallet support (Apple)
2014-04-24 09:11:45 +02:00
Tres Finocchiaro
53e67bae00 Copy rawwaves to Apple bundle 2014-04-23 20:33:19 -07:00
Tres Finocchiaro
ec708aa967 Update config_mgr.cpp 2014-04-23 20:31:02 -07:00
Tres Finocchiaro
85fbffb947 Fix relative path for stk rawwaves on OSX 2014-04-23 20:28:37 -07:00
Tobias Doerffel
cdbbbaf559 Merge pull request #635 from diizy/master
Samplebuffer/AFP: coding style, remove redundant inlines
2014-04-23 21:24:49 +02:00
Vesa
4dece979c6 Samplebuffer/AFP: coding style, remove redundant inlines 2014-04-23 19:15:59 +03:00
Tobias Doerffel
0e6f6eef12 Merge pull request #633 from diizy/master
AFP: Add interpolation selector, fix segfault-causing bug with reverse m...
2014-04-23 11:36:31 +02:00
Vesa
fa67d0b436 AFP: Add interpolation selector, fix segfault-causing bug with reverse mode 2014-04-23 12:18:35 +03:00
Tobias Doerffel
8ca38c4b48 Merge remote-tracking branch 'origin/stable-1.0' 2014-04-22 19:22:40 +02:00
Tobias Doerffel
5168c50325 Merge pull request #624 from oeai/stable-1.0
new translation ru
2014-04-22 19:22:22 +02:00
Tobias Doerffel
42b7b09973 Merge pull request #617 from psyomn/local-master
Move align-mem functions to Class
2014-04-22 19:20:44 +02:00
Tobias Doerffel
a6937d4021 Merge remote-tracking branch 'origin/stable-1.0' 2014-04-22 11:09:20 +02:00
Hannu Haahti
b8476b742e RemoteVstPlugin: really close the plugin
(cherry picked from commit d50d376b2a)
2014-04-22 11:08:56 +02:00
Hannu Haahti
ad3884c8f3 Effect: change minimum gate to FLT_MIN
This helps reverbs (for example) to not get cut too soon (#424)

(cherry picked from commit f8773b8978)
2014-04-22 11:08:40 +02:00
Vesa V
ddf54fe5a0 Merge pull request #632 from grejppi/master-fxgate
Effect: change minimum gate to FLT_MIN
2014-04-21 16:03:32 +03:00
Hannu Haahti
f8773b8978 Effect: change minimum gate to FLT_MIN
This helps reverbs (for example) to not get cut too soon (#424)
2014-04-21 15:40:26 +03:00
ra
01d611db6b +.qm +1tw. 2014-04-20 19:28:07 +04:00
ra
43f2090b67 more tweaks 2014-04-20 18:03:26 +04:00
ra
389405b90d new .qm if needed 2014-04-19 16:06:03 +04:00
Vesa V
98f49e274b Merge pull request #622 from grejppi/master-vst
RemoteVstPlugin: really close the plugin
2014-04-19 14:48:47 +03:00
Ra
3d2020555b Update ru.ts 2014-04-19 15:40:08 +04:00
ra
ceefef8029 new translation ru 2014-04-19 15:26:59 +04:00
Hannu Haahti
d50d376b2a RemoteVstPlugin: really close the plugin 2014-04-19 13:32:48 +03:00
psyomn
bb7209b894 mem-helper.cpp: add license information 2014-04-17 02:25:07 -04:00
psyomn
32e6e9edce mem-helper: move align-mem functionality to class
There was some memory alignment logic inside the Mixer cpp file. To break down
the code and separate things into smaller modules, the aligned memory stuff
was crammed into a new class called MemoryHelper.

The MemoryHelper can be reused for any other aligned memory that may be needed
by another component.
2014-04-17 02:19:53 -04:00
Vesa V
87e9718a9c Merge pull request #616 from grejppi/master-arpdir
backwards compatibility fix for #579
2014-04-17 04:24:38 +03:00
Hannu Haahti
33aafbf3aa backwards compatibility fix for #579 2014-04-17 03:18:42 +03:00
Vesa V
c767d849b1 Merge pull request #611 from JohannesLorenz/master
Default ctors for LED checkbox and LCD spinbox. Fixes for knob.
2014-04-16 13:20:13 +03:00
Johannes Lorenz
51ed1105df Default ctors for LED checkbox and LCD spinbox. Fixes for knob. 2014-04-15 13:43:23 +02:00
Vesa V
f32f7689b4 Merge pull request #609 from diizy/wavetablesynth
Watsyn: use fast sinc instead of medium quality (not much diff in this c...
2014-04-14 14:18:28 +03:00
Vesa
49d05f466d Watsyn: use fast sinc instead of medium quality (not much diff in this case), increase oversampling to 32 because why not
Graph: optimize graph widget codepaths so that we don't send redundant samplesChanged signals, which in watsyn cause recalculation of the wavetable
2014-04-14 14:15:08 +03:00
Vesa V
fb1febe299 Merge pull request #608 from diizy/wavetablesynth
Watsyn updates: use sinc instead of cubic for oversampling of the wavegr...
2014-04-14 12:48:58 +03:00
Vesa
79120eb0b1 Watsyn updates: use sinc instead of cubic for oversampling of the wavegraph 2014-04-14 12:45:07 +03:00
Vesa V
9df4dfc087 Merge pull request #599 from diizy/master
Add some more interpolation algorithms
2014-04-13 18:51:24 +03:00
Vesa V
3a8f68d259 Merge pull request #600 from softrabbit/master
Organic: make mixing of oscillators independent of lower oscs
2014-04-13 18:50:46 +03:00
Vesa V
6de80921d7 Merge pull request #598 from tresf/stable-1.0
Additional Portuguese locale data
2014-04-13 18:04:19 +03:00
Vesa
26553cab17 Updates to bandlimitedwave code (using new interpolation) and Monstro 2014-04-13 12:48:38 +03:00
Raine M. Ekman
4b1952d90c Organic: make mixing of oscillators independent of lower oscs 2014-04-13 12:11:06 +03:00
Vesa
b150ea2a0d Add some fancy new interpolation algorithms 2014-04-13 10:34:38 +03:00
Tres Finocchiaro
a3dca970bc Renamed to fix country designation bug 2014-04-12 22:19:14 -04:00
Tres Finocchiaro
c8b243f49b Updated Portugese by Esteban Viveros
Second translation attempt.
2014-04-12 21:30:16 -04:00
Tres Finocchiaro
6b7d833215 Delete pt_br.qm 2014-04-12 21:23:08 -04:00
Tres Finocchiaro
e7ebca02c7 Update #2 by Esteban Viveros 2014-04-12 21:16:47 -04:00
Tobias Doerffel
1f661be72c Merge remote-tracking branch 'origin/stable-1.0'
Conflicts:
	plugins/CMakeLists.txt
	plugins/zynaddsubfx/src/Effects/Alienwah.cpp
	src/core/track.cpp
2014-04-12 11:08:27 +02:00
Tres Finocchiaro
fea7510f09 Brazilian Portuguese release translation file (QM)
The TS file is the "source", the QM file is the "binary".
2014-04-11 23:13:34 -04:00
Tres Finocchiaro
b5fff0e230 Delete pt_br.qm 2014-04-11 23:06:58 -04:00
Tobias Doerffel
b09d4f5f5d Merge pull request #592 from diizy/palette
LmmsPalette
2014-04-11 23:53:18 +02:00
Tobias Doerffel
b31c7fcf07 Merge pull request #593 from tresf/stable-1.0
Portuguese translation by Esteban Viveros
2014-04-11 23:52:09 +02:00
Tres Finocchiaro
6d9c8c0f3b Portuguese translation by Esteban Viveros 2014-04-11 09:04:36 -04:00
Vesa
4b9f8c070f Forgot some cleanup 2014-04-11 11:20:04 +03:00
Vesa
43d503003e LmmsPalette: finally a working implementation 2014-04-11 11:07:49 +03:00
Vesa
ec69c48e5f LmmsPalette - continuing... still not working yet 2014-04-11 07:14:37 +03:00
Vesa
43cb962ae1 Initial implementation of LmmsPalette (doesn't work yet) 2014-04-10 10:51:06 +03:00
Tobias Doerffel
b32e602af5 Merge pull request #589 from diizy/master
AFP: add updated artwork, fix the bug where opening the plugin w/o sampl...
2014-04-09 23:53:22 +02:00
Vesa
2599370d53 AFP: add updated artwork, fix the bug where opening the plugin w/o samplebuffer glitches the wavegraph
Samplebuffer: use qualitysettings for interpolation (currently defaults to SINC_FASTEST on playback), also: in visualize, draw both channels instead of averaging them into one graph (otherwise, samplebuffers with counter-phase content show up as flatline)
2014-04-10 00:25:25 +03:00
Tobias Doerffel
d3aff6e1fb Merge pull request #583 from diizy/bandlimit
Monstro/Bandlimit updates
2014-04-09 22:02:07 +02:00
Tobias Doerffel
0068be62c0 Merge pull request #586 from JohannesLorenz/def_ctor_widgets
Def ctor for knob + logscale patch
2014-04-09 22:01:18 +02:00
Johannes Lorenz
63f6f2eab6 Final patch for logscales and knob with def ctors. 2014-04-09 13:18:01 +02:00
Johannes Lorenz
d08857bba8 knob without def ctors. 2014-04-09 12:31:53 +02:00
Johannes Lorenz
3d0ce057d6 Small fixes. Compiling, but stereo linking does still not work (see mailing list). 2014-04-09 12:31:21 +02:00
Johannes Lorenz
2b8e5c3992 Logscales, merged. 2014-04-09 12:31:21 +02:00
Vesa
2bfd19cc44 Move waveform generation away from main 2014-04-09 13:30:17 +03:00
Vesa
d5fa2568ed Further improvements to bandlimited waves 2014-04-09 13:03:34 +03:00
Tobias Doerffel
f824b87e3a Merge pull request #582 from softrabbit/stable-1.0
Fix broken command line rendering.
2014-04-09 09:48:16 +02:00
Tobias Doerffel
d6445b34b3 Merge pull request #581 from softrabbit/master
Fix broken command line rendering.
2014-04-09 09:48:10 +02:00
Vesa
7b0d829cc4 More fixes 2014-04-08 23:07:16 +03:00
Raine M. Ekman
2c19290fab Fix broken command line rendering. Should always check that editor windows exist before using them. 2014-04-08 21:44:19 +03:00
Raine M. Ekman
93693fcd4b Fix broken command line rendering. Should always check that editor windows exist before using them. 2014-04-08 21:34:24 +03:00
Tobias Doerffel
024d62d574 Merge pull request #580 from diizy/master
Track: depointerize qproperties
2014-04-08 11:38:34 +02:00
Vesa
7b6d237a89 Track: depointerize qproperties 2014-04-08 12:24:55 +03:00
Vesa
5397bbeaf4 Bandlimit changes/algorithm tweaking, add sinc function to lmms_math 2014-04-08 12:06:39 +03:00
Tobias Doerffel
7596a58b6d Merge pull request #578 from diizy/bandlimit
Bandlimited waveform generation
2014-04-08 09:02:22 +02:00
Tobias Doerffel
2457990da9 Merge pull request #579 from zonkmachine/arpDownUp
Arpeggio - Down, up
2014-04-08 09:00:28 +02:00
Vesa
13237f9c8e Monstro: use phase delta instead of frequency for deciding which wavetable to use 2014-04-08 09:48:43 +03:00
Oskar Wallgren
dbd865d879 Merge branch 'master' into arpDownUp 2014-04-08 01:38:32 +02:00
Vesa
e10bbeb84e Bandlimited wave generation implemented for LMMS, currently only utilized by Monstro 2014-04-07 22:55:44 +03:00
Tobias Doerffel
1d7794e02a Merge pull request #576 from diizy/master
FxMixerView: fix the fx chain UI (so we'll be able to see more than 2/3 ...
2014-04-07 11:16:10 +02:00
Vesa
9024647f32 FxMixerView: fix the fx chain UI (so we'll be able to see more than 2/3 of an fx) 2014-04-07 04:54:42 +03:00
Vesa
0956270dd9 FxMixerView: fix the fx chain UI (so we'll be able to see more than 2/3 of an fx) 2014-04-07 02:54:32 +03:00
Tobias Doerffel
138bc79941 Merge pull request #574 from BaraMGB/songeditor
corrects the drag'n'drop behavior in the song editor.
2014-04-06 22:29:56 +02:00
Steffen Baranowsky
61c5738582 corrects the drag'n'drop behavior in the song editor. 2014-04-06 22:18:33 +02:00
Tobias Doerffel
b1062173fc Merge pull request #571 from grejppi/kicker
kicker: fix oversight in version check
2014-04-06 21:58:05 +02:00
Tobias Doerffel
e97bb1dd39 Merge pull request #570 from diizy/stable-1.0
Fix crash on close patch rebased for stable
2014-04-06 21:57:44 +02:00
Tobias Doerffel
f21fbf1946 Merge pull request #569 from diizy/loops
AFP, Samplebuffer updates
2014-04-06 21:57:17 +02:00
Tobias Doerffel
46b7f7f1c4 Merge pull request #567 from diizy/master
CSS styling features, Monstro updates
2014-04-06 21:55:29 +02:00
Vesa
445a31e54a Monstro: tweak the constants a bit 2014-04-06 22:14:54 +03:00
Vesa
a21928fe39 Monstro updates: fixes, improvements, optimizations 2014-04-06 20:58:09 +03:00
Vesa
e11c1cb8fc For consistency, define text colour of bb-tracks in CSS too 2014-04-06 11:38:12 +03:00
Vesa
994dcd3964 TCOView: Make patternviews foreground elements stylable with qproperties 2014-04-06 11:38:12 +03:00
Vesa
3bcffcdf5b Track: make the song editor background CSS-stylable with qproperties 2014-04-06 11:38:12 +03:00
Hannu Haahti
13b6c834d6 kicker: fix oversight in version check 2014-04-06 02:48:17 +03:00
Vesa
5b29142c28 Fix crash on close patch rebased for stable 2014-04-05 23:57:12 +03:00
Vesa
59794b35a8 AFP: fix loadsettings 2014-04-05 21:50:55 +03:00
Johannes Lorenz
554323dcb6 Current logscales fix. 2014-04-05 09:05:22 +02:00
Johannes Lorenz
1f5ef70d2c Logscales temporary commit. 2014-04-05 08:15:35 +02:00
Tobias Doerffel
bd691e6d68 Merge pull request #564 from diizy/master
Optimize linear interpolation function
2014-04-05 07:43:11 +02:00
Tobias Doerffel
4455faceb6 Merge pull request #565 from grejppi/master
move fastPow() to lmms_math.h
2014-04-05 07:42:52 +02:00
Vesa
e8eaa1f2c2 Monstro fixes: envelope accuracy betterified 2014-04-05 04:20:48 +03:00
Hannu Haahti
6c33b4af80 moved fastPow() to lmms_math.h 2014-04-05 03:32:54 +03:00
Vesa
9bef55c7f5 Add usage of linearInterpolate() to several places (mostly my plugins for now but i'll add more if i find them) 2014-04-05 02:23:17 +03:00
Vesa
5ced0c083f Optimize linear interpolation function 2014-04-05 01:18:15 +03:00
Vesa
55f678b80d Samplebuffer changes - we can just directly read floats from libsndfile, seems to work (faster) this way 2014-04-05 00:56:21 +03:00
Tobias Doerffel
b0cdcc639e Merge pull request #559 from diizy/loops
SampleBuffer: fix a segfault when moving a loop point while playing a no...
2014-04-04 09:21:18 +02:00
Vesa
afa1275af9 SampleBuffer: fix a segfault when moving a loop point while playing a note, also do some sptring cleanup (some unused/redundant variables removed)
Also, some codepath optimization: add a method to SampleBuffer for setting all loop/start/endpoints at once, so we don't have to wait for mutex unlocks 4 times in a row. Then make AFP utilize this method.
2014-04-04 02:48:04 +03:00
Tobias Doerffel
19aec58abc Merge pull request #558 from diizy/fixclosecrash
Fix close on crash patch which was  posted on the mailing list by Filipe...
2014-04-04 00:30:30 +02:00
Vesa
7730f4821d Fix close on crash patch which was posted on the mailing list by Filipe Coelho 2014-04-04 01:19:44 +03:00
Tobias Doerffel
647240624d Merge pull request #557 from diizy/loops
SampleBuffer, AFP: implement ping-pong loop mode
2014-04-03 23:44:55 +02:00
Vesa
0442be3729 Finish ping pong loop implementation in AFP 2014-04-04 00:40:03 +03:00
Vesa
7350f983b0 Ping-pong loop implementation: done, starting on AFP changes... 2014-04-04 00:40:03 +03:00
Vesa
0cfda7d1f4 Initial ping-pong loop implementation 2014-04-04 00:40:03 +03:00
Tobias Doerffel
49cfbda916 Merge pull request #554 from tresf/stable-1.0
OSX Mavericks Support
2014-04-02 11:27:46 +02:00
Tres Finocchiaro
1ac0c51744 Force white QLabels per #527
#527
2014-04-02 00:55:58 -04:00
Tres Finocchiaro
63e8f7e2b1 Update create_apple_dmg.sh 2014-04-02 00:42:11 -04:00
Tres Finocchiaro
7539791d13 Echo comment to drag/drop dmg script to terminal 2014-04-01 20:12:27 -07:00
Tres Finocchiaro
4bfb989151 Replaced SET(LIBRARY_PATH) with LINK_DIRECTORIES 2014-04-01 20:07:44 -07:00
Tres Finocchiaro
77b2261630 Added custom target, build and src variables 2014-04-01 19:04:59 -07:00
Tres Finocchiaro
7f5b2f0a3d Change to single-line echos for Info.plist 2014-04-01 18:57:19 -07:00
Tres Finocchiaro
b5ea738a45 Fix #include <QtXml> on Apple/MacPorts 2014-04-01 14:20:02 -07:00
Tres Finocchiaro
7782c3ad38 Clang comp. fix, out.real()+= syntax error 2014-04-01 14:12:40 -07:00
Tres Finocchiaro
7669a1612f Added isnan(), etc declarations for Apple 2014-04-01 14:09:32 -07:00
Tres Finocchiaro
ec32ce10fa Omit OpulenZ plugin directory on Apple 2014-04-01 13:03:09 -07:00
Tres Finocchiaro
6bce7abc40 Added Apple specific compile options 2014-04-01 15:40:44 -04:00
Tobias Doerffel
61569864b4 Merge pull request #553 from diizy/master
Timeline: Change loop points into different graphics
2014-04-01 19:57:48 +02:00
Tres Finocchiaro
46c1cbc85f Added Apple specific packaging/installation scripts 2014-04-01 13:10:55 -04:00
Tres Finocchiaro
93689f758f Added Apple specific artwork 2014-04-01 13:03:35 -04:00
Vesa
030f9566c8 Finish previous 2014-04-01 19:24:48 +03:00
Vesa
0140e94f79 Make loop points different 2014-04-01 19:13:36 +03:00
Tobias Doerffel
9916febb66 Merge pull request #549 from softrabbit/stable-1.0
OpulenZ: code improvements (C99 compatibility)
2014-04-01 16:12:04 +02:00
Tobias Doerffel
80aa502e36 Merge pull request #550 from diizy/vsttest
Update aeffectx.h
2014-04-01 16:11:43 +02:00
Vesa
4355a2f0bb Remove comment 2014-04-01 01:27:24 +03:00
Vesa
95ecb51b51 Update aeffectx.h 2014-04-01 00:02:21 +03:00
Raine M. Ekman
b9e33736de OpulenZ: changed some __inline functions to "static inline",
which is more in line with later C dialects
2014-03-31 20:54:48 +03:00
Tobias Doerffel
174eb18062 Merge pull request #547 from diizy/master
New FX Mixer: GUI improvements - better icons for send button, fade the ...
2014-03-31 15:51:01 +02:00
Vesa
12c6ec25c9 New FX Mixer: GUI improvements - better icons for send button, fade the arrow a bit, use smaller knob that fits better 2014-03-31 16:42:27 +03:00
Tobias Doerffel
114e2f71ee Merge pull request #545 from grejppi/kicker
Kicker: backwards compatibility and some presets
2014-03-31 14:25:29 +02:00
Tobias Doerffel
ebd8d247d8 Merge pull request #544 from diizy/monstro
Monstro
2014-03-31 14:25:22 +02:00
Hannu Haahti
643de68907 kicker: add some presets to demonstrate its new features 2014-03-31 06:41:56 +03:00
Hannu Haahti
243c66e0e8 kicker: backwards compatibility 2014-03-31 06:34:58 +03:00
Oskar Wallgren
df6fa14bf3 New arpeggio direction - Down, up 2014-03-31 00:50:05 +02:00
Vesa
8f065c198a Monstro: add sync mechanism, make LFOs running, fix remaining small bugs 2014-03-31 01:37:38 +03:00
Tobias Doerffel
2a237c7c74 Merge pull request #542 from grejppi/master-browser
fileBrowser: keep filter after refresh
2014-03-30 23:14:55 +02:00
Hannu Haahti
d2a0723e14 fileBrowser: keep filter after refresh 2014-03-30 21:59:42 +03:00
Vesa
fc7c985c54 Monstro - envelope fix 2014-03-30 16:11:12 +03:00
Vesa
3b80ec74d1 Monstro - fixes, new waveforms 2014-03-30 15:18:29 +03:00
Tobias Doerffel
bbe6ee226e Merge pull request #539 from grejppi/kicker
Improvements to Kicker (work in progress)
2014-03-30 12:45:25 +02:00
Tobias Doerffel
d6efd028e1 TrackContainerView: disable undo/redo for track creation/removal
Due to the complex implementation of BB tracks it's hard to implement
a reliable undo/redo journalling for whole TrackContainerViews.

Closes #531.
2014-03-30 12:40:05 +02:00
Tobias Doerffel
75d8ab54be TrackContainerView: add journal checkpoints in view rather than model 2014-03-30 12:39:12 +02:00
Tobias Doerffel
bd1d9356b5 TrackContentObjectView: add journal checkpoint in remove() rather than close()
The remove() slot is only called upon user interaction (i.e. right click)
and thus the correct place where to make checkpoints.
2014-03-30 12:37:28 +02:00
Tobias Doerffel
118fb5122e Merge remote-tracking branch 'origin/stable-1.0' 2014-03-30 12:30:02 +02:00
Tobias Doerffel
083d1889ee BbEditor: use foreach() loop 2014-03-30 12:29:25 +02:00
Tobias Doerffel
e924888eb6 BbTrack: replaced static numOfBBTrack() by proper index() method 2014-03-30 12:28:53 +02:00
Tobias Doerffel
1adbac9009 Song: revert accidental change 2014-03-30 12:27:23 +02:00
Tobias Doerffel
445bdb69e3 Song: cleanup and coding style improvements 2014-03-30 12:21:37 +02:00
Vesa
32e981a518 Monstro - more alg. tweaks - getting better 2014-03-30 04:08:26 +03:00
Vesa
9f594268c8 Monstro - More fixes.. 2014-03-30 01:43:20 +02:00
Vesa
252e0609fa Monstro: fix again... 2014-03-30 00:32:26 +02:00
Vesa
c892c7a819 Monstro: Fix previous stupidity... 2014-03-30 00:29:03 +02:00
Vesa
8aad594cbd Monstro: algorithm tweaks, fixes, optimizations 2014-03-30 00:21:07 +02:00
Vesa
460bb0420c Negative volume env. fix 2014-03-29 23:23:04 +02:00
Vesa
8eaf629439 Add applyrelease 2014-03-29 23:08:25 +02:00
Vesa
78bcb8423f New instrument... Codename: Monstro. May be subject to a rename later. 2014-03-29 23:01:44 +02:00
Hannu Haahti
09630f1d56 kicker: reordered knobs 2014-03-29 21:18:01 +02:00
Hannu Haahti
b4421700fa kicker: some cleanup 2014-03-29 16:14:30 +02:00
Hannu Haahti
29c2d3fb1a kicker: possible to play notes too 2014-03-29 16:14:29 +02:00
Hannu Haahti
0967d91f44 paranoid 2014-03-29 16:14:29 +02:00
Hannu Haahti
8d987aabd4 kicker: noise improvements, decay -> length 2014-03-29 16:14:29 +02:00
Hannu Haahti
f1f6c71aa1 kicker: noise option + artwork 2014-03-29 16:14:29 +02:00
Hannu Haahti
172cffa3c5 kicker: envelope slope 2014-03-29 16:14:29 +02:00
Hannu Haahti
f53ecdf023 kicker: click param 2014-03-29 16:14:29 +02:00
Hannu Haahti
a4f0707939 slope param for kicker 2014-03-29 16:14:29 +02:00
Tobias Doerffel
ebc11f8558 ZynAddSubFX: update 2014-03-29 10:08:53 +01:00
Tobias Doerffel
f06119e787 Merge pull request #526 from diizy/loops
AFP: Add loopback point
2014-03-28 22:43:25 +01:00
Tobias Doerffel
66f5915425 Merge pull request #530 from softrabbit/bugs_283_303
AutomationEditor: horizontal grid drawing improvements
2014-03-28 22:41:54 +01:00
Vesa
8c0b22eca8 Forgot to clean some debug code... 2014-03-28 21:27:05 +02:00
Vesa
5c142cb2a4 AFP: add a separate loopback point, and knob to control it. 2014-03-28 21:27:05 +02:00
Raine M. Ekman
166a493eef Removed an unnecessary QDebug include 2014-03-28 19:14:53 +02:00
Tobias Doerffel
78337e5ac6 ZynAddSubFX: integrated latest version 2014-03-27 20:51:47 +01:00
Tobias Doerffel
9738b6ffce Merge remote-tracking branch 'origin/stable-0.4-zynaddsubfx-update'
Conflicts:
	plugins/zynaddsubfx/src/DSP/AnalogFilter.h
	plugins/zynaddsubfx/src/Effects/EffectLFO.h
	plugins/zynaddsubfx/src/Effects/Reverb.h
	plugins/zynaddsubfx/src/UI/EffUI.fl
	plugins/zynaddsubfx/src/UI/EffUI.h
	plugins/zynaddsubfx/src/UI/EnvelopeUI.fl
	plugins/zynaddsubfx/src/UI/EnvelopeUI.h
	plugins/zynaddsubfx/src/UI/FilterUI.fl
	plugins/zynaddsubfx/src/UI/FilterUI.h
	plugins/zynaddsubfx/src/UI/PartUI.cc
2014-03-27 20:34:49 +01:00
Tobias Doerffel
255b2a2f49 Merge pull request #513 from diizy/wavetablesynth
Wavetablesynth
2014-03-26 13:03:10 +01:00
Vesa
b272581632 Remove unnecessary if clauses 2014-03-26 13:38:07 +02:00
Vesa
1d30222b90 Watsyn: further optimizations, add two presets 2014-03-26 13:25:14 +02:00
Tobias Doerffel
c00926e777 Merge branch 'master' of github.com:LMMS/lmms 2014-03-26 11:40:55 +01:00
Tobias Doerffel
6650dd356d NotePlayHandle, InstrumentFunctions: reworked stacking and arpeggio handling
Instead of having various flags for realizing the arpeggion functionality
use a more generic approach here using the recently introduced "origin"
property.
2014-03-26 11:40:32 +01:00
Tobias Doerffel
89dc820d7b Merge remote-tracking branch 'origin/stable-0.4-new-fx-mixer'
Conflicts:
	include/PlayHandle.h
	src/core/FxMixer.cpp
	src/core/Mixer.cpp
	src/gui/FxMixerView.cpp
	src/tracks/InstrumentTrack.cpp
2014-03-26 11:21:15 +01:00
Tobias Doerffel
8e4d66d707 Merge branch 'stable-1.0' 2014-03-26 11:06:57 +01:00
Tobias Doerffel
f0b6d34b3a Removed old ChangeLog 2014-03-26 11:06:24 +01:00
Tobias Doerffel
1b08cc0649 CALF: do not compile with -finline-limit=80 when building for OS X 2014-03-26 10:57:04 +01:00
Tobias Doerffel
55396dc981 Merge pull request #511 from diizy/wavetablesynth
Watsyn: Add smart oversampling interpolation
2014-03-26 09:30:34 +01:00
Vesa
07d37e0fbc Forgot to change phasemod constant 2014-03-26 00:39:27 +02:00
Vesa
19b56779e9 Add smart oversampling interpolation 2014-03-26 00:22:14 +02:00
Tobias Doerffel
4c2bf8982f CALF: fixed compilation with clang 2014-03-25 20:09:41 +01:00
Tobias Doerffel
99e1a1b658 Merge pull request #510 from diizy/wavetablesynth
Watsyn: Switch back to linear interpolation...
2014-03-25 10:44:00 +01:00
Vesa
1168dc0558 Switch back to linear interpolation... 2014-03-25 10:45:50 +02:00
Tobias Doerffel
e1eb54cf6f Merge pull request #508 from diizy/wavetablesynth
Watsyn wavetablesynth
2014-03-25 08:58:24 +01:00
Vesa
b118c23123 Rename & refactor to Watsyn, add logo, tweak some algorithms 2014-03-25 02:15:03 +02:00
Vesa
8109d38f2e I forgot how to think... fix all stupidity of the last commit 2014-03-24 21:43:29 +02:00
Vesa
bfa73aa5a5 Changes again - moved frequency calculations to a static method... for some reason this saves a lot of cpu. 2014-03-24 21:43:29 +02:00
Vesa
7f98215c29 Add crosstalk knob, some code changes 2014-03-24 21:43:29 +02:00
Vesa
e38ef81e03 Add waveform load button, better button graphics 2014-03-24 21:43:29 +02:00
Vesa
6eca2b422c fix env tempo sync 2014-03-24 21:43:29 +02:00
Vesa
badd8339f5 fix previous 2014-03-24 21:43:28 +02:00
Vesa
e58e55660a Add hold knob 2014-03-24 21:43:28 +02:00
Vesa
ea8744b2ce Adjust previous 2014-03-24 21:43:28 +02:00
Vesa
ed2b63b1ff Added simple mix envelope 2014-03-24 21:43:28 +02:00
Vesa
10994e3ae5 Copy wavegraphs to synthobject at note start, prevent hangups if wave edited while playing 2014-03-24 21:43:28 +02:00
Vesa
b574e1c1ca Revert earlier 2014-03-24 21:43:28 +02:00
Vesa
f7e107ea2c Add some mixer locks 2014-03-24 21:43:28 +02:00
Vesa
4924dadaa5 Graphics 2014-03-24 21:43:28 +02:00
Vesa
89089886fa Correct phase mod algo (add below-bounds check) 2014-03-24 21:43:27 +02:00
Vesa
861a7d1ce1 Fix mixing / modulation behaviour, add some more buffer safeguards 2014-03-24 21:43:27 +02:00
Vesa
d8d9ac21cd Move stream buffers to the synth object 2014-03-24 21:43:27 +02:00
Vesa
42e44b739f Fixed multiplier weirdness 2014-03-24 21:43:27 +02:00
Vesa
95bf833ace Updates, fixes etc 2014-03-24 21:43:27 +02:00
Vesa
9b394b3660 Changes... now it seems to work 2014-03-24 21:43:27 +02:00
Vesa
da2a26572f Changes 2014-03-24 21:43:27 +02:00
Vesa
23b3179e1f WTSynth files 2014-03-24 21:43:27 +02:00
Vesa
0fa2908f7f Start wavetable synth 2014-03-24 21:43:27 +02:00
Tobias Doerffel
7b8eaa6835 Merge remote-tracking branch 'origin/stable-0.4-undo-redo'
Conflicts:
	include/AutomatableModel.h
	include/MidiPort.h
	include/TrackContainerView.h
	include/surround_area.h
	include/track.h
	src/core/AutomatableModel.cpp
	src/core/TrackContainer.cpp
	src/core/note.cpp
	src/core/track.cpp
	src/gui/PianoRoll.cpp
	src/gui/TrackContainerView.cpp
	src/gui/widgets/LcdSpinBox.cpp
2014-03-24 19:37:26 +01:00
Tobias Doerffel
d32377845b ComboBoxModel: coding style fixes 2014-03-24 19:21:18 +01:00
Tobias Doerffel
2ab5b1da0c AutomatableModel: always fit value from linked model
When using value from linked model, make sure to fit it into own range
as otherwise this can cause out-of-boundary accesses e.g. in ComboBoxModel.

Closes #505.
2014-03-24 19:21:12 +01:00
Tobias Doerffel
02219d908c Merge pull request #507 from diizy/stable-0.4
Compat code to make LMMS compile on Qt <4.8
2014-03-24 19:02:40 +01:00
Vesa
d80a8436c0 Remove spaces 2014-03-24 19:49:33 +02:00
Vesa
11a76c45fc Compat code to make LMMS compile on Qt <4.8 2014-03-24 17:11:42 +02:00
Tobias Doerffel
794e697e22 Made 1.0.0 release
After almost exactly 10 years of development, we proudly bump the version
number to 1.0.0.
2014-03-23 23:55:21 +01:00
Tobias Doerffel
2f4d9c6c66 InstrumentSoundShapingView: display info about single-streamed instruments
Until we have a solution for hiding the ENV/LFO tab, display a sensible
message at least.
2014-03-23 23:52:04 +01:00
Tobias Doerffel
752f48f51c Revert "Do not display ENV/LFO tab in plugin window if controls are disabled in it (SF2 Player and OpulenZ)"
This does not work well if you open an instrument window of a single
streamed instrument, close it afterwards and open an instrument window
of a regular instrument due to widget caching/reuse. We therefore have
to find a better solution which allows dynamically showing/hiding tabs
in the TabWidget class. Until then restore the previous behaviour.

This reverts commit ed29f2b6f6.
2014-03-23 23:44:30 +01:00
Tobias Doerffel
565ebee7d1 Merge pull request #500 from diizy/stable-0.4
Piano widget: fix velocity, Opulenz: increase volume
2014-03-23 09:35:58 +01:00
Vesa
33b9524346 Envelope: fix drawing of envelope graph, scale to fit view if graph gets too long
(also fix typo in last pianoview commit)
2014-03-22 19:09:42 +02:00
Vesa
e4340c630d Do the opl amplification smarter 2014-03-22 13:33:42 +02:00
Vesa
f986f099da Piano widget: make keypresses (gui and keyboard) based on the MIDI base velocity spinner 2014-03-22 12:32:43 +02:00
Vesa
22cb12d066 Increase the volume of OpulenZ, because it is very very quiet and it's better to correct this now before 1.0.0 is released 2014-03-22 12:31:34 +02:00
Tobias Doerffel
6c920df328 Merge pull request #486 from midi-pascal/stable-0.4
Do not display ENV/LFO tab in plugin window if controls are disabled in ...
2014-03-22 08:39:19 +01:00
Paul Giblock
25f2eae67f Revert LB302 db24 switch
Invert it so 3-pole is used for DB24 mode again. Fixes #477
2014-03-22 01:03:28 -04:00
Tobias Doerffel
b02c351fe1 Merge pull request #483 from softrabbit/bug468
basic_filters.h: Saner limits for frequency
2014-03-21 17:24:22 +01:00
Tobias Doerffel
69e02fc37d VeSTige: removed unused array 2014-03-21 17:23:25 +01:00
Tobias Doerffel
e4dd6938cc CMakeLists: updated libpng DLL file name 2014-03-21 17:23:11 +01:00
Tobias Doerffel
13a41b5bff VstEffectControlDialog: remove unused variable 2014-03-21 11:16:45 +01:00
Tobias Doerffel
6a1a295cec More CLANG compiler warning fixes 2014-03-21 11:14:22 +01:00
Tobias Doerffel
6bb16951ad Main: fixed various CLANG compiler warnings 2014-03-21 11:13:30 +01:00
Tobias Doerffel
8e4417e5d9 Mixer: fixed various CLANG compiler warnings 2014-03-21 11:13:20 +01:00
Tobias Doerffel
890993bff0 Vibed: fixed various CLANG compiler warnings 2014-03-21 11:13:05 +01:00
Tobias Doerffel
71eaa4f5e3 TripleOscillator: fixed various CLANG compiler warnings 2014-03-21 11:12:52 +01:00
Tobias Doerffel
1153e85c0c StereoEnhancer: fixed various CLANG compiler warnings 2014-03-21 11:12:39 +01:00
Tobias Doerffel
6e4fbbed87 Papu: fixed various CLANG compiler warnings 2014-03-21 11:12:29 +01:00
Tobias Doerffel
b2c1a04df8 OPL2: fixed various CLANG compiler warnings 2014-03-21 11:12:17 +01:00
Tobias Doerffel
33ea001c31 LB302: fixed various CLANG compiler warnings 2014-03-21 11:12:08 +01:00
Tobias Doerffel
117ca99c85 BitInvader: fixed various CLANG compiler warnings 2014-03-21 11:11:50 +01:00
Tobias Doerffel
9aa6a3fbeb AudioFileProcessor: fixed various CLANG compiler warnings 2014-03-21 11:11:39 +01:00
Tobias Doerffel
bdf234aeb8 ZynAddSubFX: fixed various CLANG compiler warnings 2014-03-21 11:11:15 +01:00
Tobias Doerffel
cce942e5d5 Graph: removed unused member variable 2014-03-21 10:48:43 +01:00
Tobias Doerffel
d4bbaa58b4 SerializingObject: made saveSettings() and loadSettings() pure virtual
All classes inheriting from SerializingObject should also provide
according functionality, therefore ensure, they implement methods for
loading and saving settings.
2014-03-21 10:47:05 +01:00
Tobias Doerffel
729838fa08 ModelView, Model: coding style improvements 2014-03-21 10:46:42 +01:00
Tobias Doerffel
b5eb4f1f7a ControllerView: remove unused member variable 2014-03-21 10:44:56 +01:00
Tobias Doerffel
585f95741c AutomationPattern: define constants outside class declarations 2014-03-21 10:44:22 +01:00
Tobias Doerffel
9ffeae441d AutomatableModel: avoid hiding virtual functions by overload 2014-03-21 10:43:26 +01:00
Tobias Doerffel
6f5a47342b AutomatableModel: coding style improvements 2014-03-21 10:43:07 +01:00
Tobias Doerffel
e1bebbfcad Removed obsolete pch.h include 2014-03-21 10:08:02 +01:00
Tobias Doerffel
246572489b Merge pull request #494 from diizy/stable-0.4
Desktop file modification to correct ubuntu behavior, icon file copied t...
2014-03-20 18:58:47 +01:00
Vesa
9c107f3860 Desktop file modification to correct ubuntu behavior, icon file copied to data/ as lmms.png because it's needed for packaging 2014-03-20 16:44:35 +02:00
Tobias Doerffel
40c67ac5dd Merge pull request #492 from diizy/stable-0.4
GraphModel: fix/improve normalize() function - remove bias before maximi...
2014-03-20 11:40:23 +01:00
Vesa
7a7c9abd9b GraphModel: fix/improve normalize() function - remove bias before maximizing, also add some new slots for future use (which I plan to use for something neat in the future ;) ) 2014-03-20 12:19:55 +02:00
Raine M. Ekman
450bf3a35a basic_filters.h: Tweaked limits for cutoff. 2014-03-19 23:21:48 +02:00
Raine M. Ekman
87d62a6a73 Merge https://github.com/LMMS/lmms into bug468 2014-03-19 23:21:23 +02:00
Tobias Doerffel
2a0f268a89 Merge pull request #484 from grejppi/stable-0.4-sf2velocity
Fix for #481
2014-03-19 09:08:36 +01:00
Tobias Doerffel
376765526a Merge pull request #487 from diizy/stable-0.4
Dual Filter fix: make more efficient -  don't calculate coefficients unn...
2014-03-19 07:42:39 +01:00
Vesa
34ba29cfcd Change Linux Multimedia etc. to LMMS in desktop/package files 2014-03-19 03:26:36 +02:00
Vesa
0b46aa4506 Dual Filter fix: make more efficient - don't calculate coefficients unnecessarily 2014-03-19 03:19:02 +02:00
pascal
ed29f2b6f6 Do not display ENV/LFO tab in plugin window if controls are disabled in it (SF2 Player and OpulenZ) 2014-03-18 21:09:32 -04:00
Hannu Haahti
9ab6699a26 sf2_player: fix #481 2014-03-19 00:31:29 +02:00
Tobias Doerffel
41c154dc95 Control play/pause buttons in slot of MainWindow via signal in Song class
The engine class as the component instance manager is the wrong place to
control the play/pause buttons. Instead emit a signal in the Song class
and update the buttons in a slot in MainWindow. This fixes problems with
GUI/pixmap operations happening outside the GUI thread when exporting a
project.

Closes #435.
2014-03-18 20:39:52 +01:00
Tobias Doerffel
b45c0c5f02 MainWindow: coding style improvements 2014-03-18 20:39:01 +01:00
Raine M. Ekman
194088db5f basic_filters.h: Saner limits for frequency 2014-03-18 21:26:08 +02:00
Tobias Doerffel
a4b328e28f Merge pull request #480 from dnl-music/patch-1
Update PianoView.cpp
2014-03-18 20:15:10 +01:00
Tobias Doerffel
78e14739f0 Fixed FX channel of Erazzor preset
Thanks to Tres for pointing out this issue.
2014-03-18 20:04:10 +01:00
Tobias Doerffel
547e6dcc95 Merge pull request #479 from diizy/stable-0.4
Disable Sfxr preview for now, possibly reimplement after 1.0.0
2014-03-18 11:50:17 +01:00
Vesa
66ba074554 Disable Sfxr preview for now, possibly reimplement after 1.0.0 2014-03-18 11:08:34 +02:00
Tobias Doerffel
5e2d299360 MidiPort: introduced internal base velocity property
In order to keep compatibility with projects created with LMMS < 1.0.0
we maintain a property specifying the base velocity (i.e. the velocity
sent to MIDI-based instruments at volume=100%). For new projects this
always will be 64 while compat code enforces a value of 127 for old
projects.

We can also think about hiding the new groupbox in order to hide
complexity from the user.

Closes #430.
2014-03-17 22:30:52 +01:00
Tobias Doerffel
f32c89bd13 InstrumentMidiIOView: coding style improvements 2014-03-17 21:25:50 +01:00
Tobias Doerffel
ab4cebeea0 MidiPort: remove unneccessary line breaks 2014-03-17 21:08:55 +01:00
Raine M. Ekman
23165043c8 Merge https://github.com/LMMS/lmms into bugs_283_303 2014-03-17 20:59:05 +02:00
Tobias Doerffel
a1e7d9e42d LB302: flag as single stream instrument
LB302 doesn't produce per-note-sound, therefore return proper flags in
the virtual flags() method.

Closes #470.
2014-03-16 23:05:35 +01:00
Tobias Doerffel
fb161d5b69 Merge pull request #474 from diizy/effects
Dual Filter
2014-03-16 23:01:13 +01:00
Vesa
719d39df76 Dual Filter: forgot to set volume knobs 2014-03-16 23:29:59 +02:00
Vesa
a585650904 Dual Filter 2014-03-16 23:26:44 +02:00
Raine M. Ekman
16ea5d7f52 Merge https://github.com/LMMS/lmms into bugs_283_303 2014-03-16 10:13:52 +02:00
Tobias Doerffel
ce9cfa6821 Merge pull request #467 from diizy/effects
Amplifier plugin
2014-03-16 09:03:31 +01:00
Tobias Doerffel
91e9802993 Merge pull request #463 from diizy/stable-0.4
Knob: add volumeRatio property to allow showing knobs with ratios other ...
2014-03-15 23:12:55 +01:00
Vesa
a666df0e56 Fix incorrect loading/saving of models on all native effect plugins. Backwards compatible. 2014-03-15 21:37:35 +02:00
Vesa
d269cfe6db BassBooster artwork 2014-03-15 21:16:06 +02:00
Vesa
0ed2b5c4a7 Cmakelist 2014-03-15 21:15:39 +02:00
Vesa
eb63f04f55 Amplifier 2014-03-15 21:14:55 +02:00
Raine M. Ekman
5600d98661 Merge https://github.com/LMMS/lmms into bugs_283_303 2014-03-15 21:06:23 +02:00
Vesa
cf925d7c5b Knob: add volumeRatio property to allow showing knobs with ratios other than 100 in dBV
Waveshaper, Dynamics processor: make input/output knobs respect the show in dBV setting
2014-03-15 17:19:31 +02:00
Vesa
7dac1137bc Knob: add volumeRatio property to allow showing knobs with ratios other than 100 in dBV
Waveshaper, Dynamics processor: make input/output knobs respect the show in dBV setting
2014-03-15 10:45:55 +02:00
Tobias Doerffel
5e3d7fa720 Merge pull request #461 from diizy/stable-0.4
Graph widget: fix off-by-one error in drawing code, inconsistency in smo...
2014-03-14 22:15:02 +01:00
Vesa
cf341c7bdf Graph widget: fix off-by-one error in drawing code, inconsistency in smoothing algorithm 2014-03-14 22:52:19 +02:00
Raine M. Ekman
eeb8ebdf4e Merge https://github.com/LMMS/lmms into bugs_283_303 2014-03-14 20:44:27 +02:00
Tobias Doerffel
325a8cf842 Merge pull request #460 from diizy/stable-0.4
SampleBuffer: Remove mp3 from the list of supported files
2014-03-14 17:34:12 +01:00
Vesa
cea7394e86 SampleBuffer: Remove mp3 from the list of supported files 2014-03-14 17:34:41 +02:00
Tobias Doerffel
3637359506 Merge pull request #456 from diizy/stable-0.4
Improve pattern name text visibility
2014-03-14 13:54:46 +01:00
Vesa
daa0476205 Improve pattern name text visibility 2014-03-14 13:21:59 +02:00
Tobias Doerffel
847edd624c Merge pull request #449 from diizy/stable-0.4
Fix sfxr crashing on very high notes
2014-03-13 18:12:59 +01:00
Tobias Doerffel
a54e665e7a Merge pull request #450 from zonkmachine/capitalization
Fix capitalization in some plugins description
2014-03-13 18:12:48 +01:00
Oskar Wallgren
dbea815931 Fix capitalization in some plugins description 2014-03-13 17:37:36 +01:00
Vesa
b8e2f3f785 Fix sfxr crashing on very high notes 2014-03-13 18:23:43 +02:00
Tobias Doerffel
7af2930a45 Merge pull request #436 from softrabbit/bug433
LB302: make filter selection sync with GUI
2014-03-12 21:58:05 +01:00
Tobias Doerffel
1725498bef Merge pull request #442 from softrabbit/bug440
Export: check for end of export in ticks, not in tacts.
2014-03-12 21:57:48 +01:00
Raine M. Ekman
fab41306ac Export: check for end of export in ticks, not in tacts.
This works better with time signature changes.
2014-03-12 20:18:39 +02:00
Tobias Doerffel
6a86fccfa1 Merge pull request #439 from diizy/stable-0.4
Fixes for Triple osc, LB302 logos
2014-03-12 09:36:36 +01:00
Vesa
24c5b2367e Fixes for Triple osc, LB302 logos 2014-03-12 10:32:19 +02:00
Tobias Doerffel
a394bb099c Merge pull request #438 from diizy/stable-0.4
Highlight the currently selected instrument/automation patterns in the s...
2014-03-12 09:21:06 +01:00
Vesa
ba7e5e5f5c Highlight the currently selected instrument/automation patterns in the song editor 2014-03-12 07:14:29 +02:00
dnl-music
6a6711b088 Update PianoView.cpp
Add new keys to control (Windows, Linux), replace Windows "/" key.
2014-03-12 09:58:40 +07:00
Raine M. Ekman
ab69c2d44b LB302: make filter selection sync with GUI on initialisation and preset load 2014-03-11 21:57:31 +02:00
Tobias Doerffel
288a3162c5 Third release candidate for 1.0.0
Bumped version number to 0.9.92 in CMakeLists.txt, README and lmms.rc.in.
2014-03-10 19:19:32 +01:00
Tobias Doerffel
06289781e4 AutomationEditor: update pause icon manually
As we have a special semantic for automation pattern playback (i.e. we
don't playback the pattern itself but its container component like
Song Editor, Piano Roll etc.).

Closes #292.
2014-03-10 19:12:50 +01:00
Tobias Doerffel
ed6ccddc6c Song: do not stop playback twice
Otherwise we reset data which doesn't need to be reset when stopped
already.

Closes #255.
2014-03-10 18:50:33 +01:00
Tobias Doerffel
9e86990f41 Song: reset milli seconds counter when looping BB or pattern
Closes #252.
2014-03-10 18:45:19 +01:00
Raine M. Ekman
b7410f81d0 Merge https://github.com/LMMS/lmms into bugs_283_303 2014-03-10 18:42:00 +02:00
Tobias Doerffel
8d52387926 Merge pull request #428 from diizy/stable-0.4
Graphics updates
2014-03-10 15:15:44 +01:00
Vesa
fd681b5c51 GUI: Lots of icon updates 2014-03-10 14:16:43 +02:00
Vesa
86564e11fb Change icon of bb-editor window to one that fits better, also: remove add_controller.png which isn't used anywhere 2014-03-10 11:46:27 +02:00
Vesa
2bca23bddc GUI: improvements on icon graphics, missing updated setup dialog icons 2014-03-10 11:38:46 +02:00
Tobias Doerffel
0674e1434c SongEditor: renamed class and file name to match current coding style 2014-03-09 23:25:38 +01:00
Tobias Doerffel
24a9ef01f9 PianoRoll: renamed class and file name to match current coding style 2014-03-09 23:19:46 +01:00
Tobias Doerffel
5b0ddf7e5c Projects: install sample project templates
Also install sample project templates in order to make the open-from-
template button usable per default.

Closes #425.
2014-03-09 22:48:39 +01:00
Tobias Doerffel
66da544ceb PianoRoll: don't play test notes while recording
This is a partial revert of 2e799718d6.
As playing test notes generate MIDI events as well, they get recorded
like any other notes resulting in undesired behaviour.

Closes #368.
2014-03-09 22:42:48 +01:00
Tobias Doerffel
27ea577ed5 Merge pull request #427 from diizy/stable-0.4
Waveshaper, Dynamics processor: some code improvements
2014-03-09 15:38:30 +01:00
Vesa
bcd604edc6 Waveshaper, Dynamics processor: some code improvements 2014-03-09 15:31:03 +02:00
Raine M. Ekman
84f1e1a6da AutomationEditor: fix grid drawing, now both time signatures other than 4/4 and scrolling should work quite a bit better. 2014-03-09 14:51:19 +02:00
Tobias Doerffel
d834131645 Merge pull request #423 from diizy/stable-0.4
Triple osc: make buttons more visible (fix #306)
2014-03-09 02:09:30 +01:00
Vesa
f2b2a8c4be Triple osc: make buttons more visible (fix #306) 2014-03-09 00:39:54 +02:00
Tobias Doerffel
7c685bdd18 Merge pull request #421 from diizy/stable-0.4
More bug fixes: #419, #286
2014-03-08 19:42:32 +01:00
Tobias Doerffel
56ee27ed9b Midi: added MidiDefaultVelocity to be used for test notes etc. 2014-03-08 13:22:51 +01:00
Tobias Doerffel
b01f093e37 InstrumentTrack: hide sound shaping widgets for single-streamed instruments
We currently don't apply envelopes/LFOs and filters to single-streamed
instruments, therefore hide the GUI.
2014-03-08 13:17:55 +01:00
Tobias Doerffel
4803c3542d InstrumentSoundShaping: coding style improvements 2014-03-08 13:17:11 +01:00
Tobias Doerffel
3d0c5e9f48 InstrumentTrack: another explicit for single stream property 2014-03-08 13:15:27 +01:00
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
Vesa
ee043f9b68 Fix previous 2014-03-08 13:14:21 +02: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
Vesa
0947bcf70f Song editor: fix jittery tracks bug (issue #286) 2014-03-08 11:43:05 +02:00
Vesa
31fa7ca061 AutomationPattern: fix a bug I accidentally introduced in length() 2014-03-07 11:54:17 +02:00
Vesa
aff2987a43 Patternview: improve note drawing code, fix bugs (fixes #419) 2014-03-07 10:26:47 +02: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
Vesa
103ac21922 Some cleanup (remove temporary comments) 2014-02-25 21:35:01 +02:00
Vesa
e7b097d255 Define all pattern colours in CSS and make them stylable
also coding style improvements (remove leading underscores from header guards)
2014-02-25 21:30:39 +02:00
Tobias Doerffel
2100bf8c0c Merge pull request #382 from grejppi/stable-0.4-bbcolour
Automatically change old B&B default colour to the new one
2014-02-25 08:22:08 +01:00
Hannu Haahti
fcfcee1895 one hardcoded default colour less 2014-02-25 03:56:11 +02:00
Tobias Doerffel
5b5feca4eb Note: use qBound() instead of tLimit() 2014-02-25 00:29:19 +01:00
Tobias Doerffel
9eafca3615 Note, NotePlayHandle: no default arguments for setVolume() and setPanning() 2014-02-25 00:27:11 +01:00
Tobias Doerffel
b5c713e0ea Removed traces of old SurroundArea implementation 2014-02-25 00:26:03 +01:00
Tobias Doerffel
7db99cc04c NotePlayHandle: coding style fixes 2014-02-24 23:29:01 +01:00
Tobias Doerffel
b28b00ff23 NotePlayHandle: emit midiNoteOff() signal in noteOff()
Instead of emitting InstrumentTrack::midiNoteOff() in destructor of
NotePlayHandle do this where it actually happens -> noteOff().

Fixes length of recorded notes when there's e.g. a long release.

Closes #378.
2014-02-24 23:24:11 +01:00
Tobias Doerffel
a18604d574 Merge pull request #379 from diizy/stable-0.4
Updated knob code, now everything seems to work really smoothly regardle...
2014-02-24 21:18:41 +01:00
Vesa
ab73c0c133 Updated knob code, now everything seems to work really smoothly regardless of knob type or range.
Also some graphics tweaks here and there.
2014-02-24 22:14:54 +02:00
Tobias Doerffel
a0c6f958fc Merge pull request #377 from diizy/stable-0.4
Knob behaviour fix
2014-02-24 18:36:22 +01:00
Vesa
867afc6ffb Coding style.. 2014-02-24 18:39:25 +02:00
Vesa
3e22c747d7 Coding style.. 2014-02-24 18:38:37 +02:00
Vesa
79edbf7f52 Knob behaviour fix 2014-02-24 18:33:16 +02:00
Tobias Doerffel
154742f203 Merge pull request #373 from diizy/stable-0.4
More updates to song editor graphics based on feedback and IRC discussio...
2014-02-24 09:19:38 +01:00
Tobias Doerffel
5c19d3ef4c Merge pull request #374 from grejppi/stable-0.4-vst
Little things in RemoteVstPlugin behaviour
2014-02-24 08:12:06 +01:00
Vesa
7c585c9dd8 Fix display of too long names in instrument windows 2014-02-24 04:15:01 +02:00
Vesa
3ccc0685b7 More updates to song editor graphics based on feedback and IRC discussions
also fixed the automation pattern rendering which had some slightly bad behaviour
2014-02-24 01:52:03 +02:00
Hannu Haahti
a34a0932d1 RemoteVstPlugin: don't mess with plugin internals 2014-02-24 00:57:03 +02:00
Hannu Haahti
1e3dcdec0d RemoteVstPlugin: close the plugin properly 2014-02-24 00:56:40 +02:00
Tobias Doerffel
8b138202ca SpectrumAnalyzer: fixed spectrum painting
Variable aliasing due to code style fixes introduced a regression in the
darken() method.
2014-02-23 18:51:04 +01:00
Tobias Doerffel
05e4cdaaef Revert "FxMixer: no need to check for master channel"
This reverts commit 1adc8f8ba3.

Closes #279.
2014-02-23 18:31:08 +01:00
Tobias Doerffel
4903190759 Removed old ladspa_effect directory
Something went wrong with the rename in 9c9372f0c8.
2014-02-23 17:35:22 +01:00
Tobias Doerffel
dd1a227963 EffectSelectDialog: sort effect keys instead of plugin names
Commit 360bfe5089 broke mapping between
displayed and internal effect list. Fix this by sorting the effect key
list itself.
2014-02-23 17:34:40 +01:00
Tobias Doerffel
ed973bd8be LadspaEffect, VstEffect: shortened plugin name
In order to display less redundancy in EffectSelectDialog, the plugin
names were shortened to "LADSPA" and "VST".
2014-02-23 15:24:15 +01:00
Tobias Doerffel
9c9372f0c8 LadspaEffect: renamed source directory to match coding style 2014-02-23 15:23:57 +01:00
Tobias Doerffel
360bfe5089 EffectSelectDialog: sort plugin names
Sort plugin names and make sure that effects without sub plugins (i.e.
native LMMS effects) are listed first in order to better advertise our
cool plugins.

Closes #331.
2014-02-23 15:20:16 +01:00
Tobias Doerffel
feecf52b57 DynamicsProcessor: fix e758f80536 2014-02-23 15:19:47 +01:00
Tobias Doerffel
408c98f473 VstEffect: fixed some messages 2014-02-23 15:08:19 +01:00
Tobias Doerffel
67d363ef79 SpectrumAnalyzer: coding style / naming conventions improvements 2014-02-23 14:58:51 +01:00
Tobias Doerffel
e758f80536 DynamicsProcessor: no underscore in plugin filename 2014-02-23 14:42:19 +01:00
Tobias Doerffel
3be2e89d37 DspEffectLibrary: renamed from effectLib 2014-02-23 14:41:23 +01:00
Tobias Doerffel
cde708fe06 LadspaSubPluginFeatures: also show file name for plugin details 2014-02-23 14:41:23 +01:00
Tobias Doerffel
e0837726b0 BassBooster: coding style / naming conventions improvements 2014-02-23 14:41:22 +01:00
Tobias Doerffel
c121cf8906 Merge pull request #370 from diizy/stable-0.4
Song editor, Bitinvader UI tweaks
2014-02-23 01:04:30 +01:00
Vesa
df18a989d9 Bitinvader changes 2014-02-22 22:30:55 +02:00
Tobias Doerffel
b0c662591d ZynAddSubFX: less line breaks / coding style 2014-02-22 20:55:14 +01:00
Tobias Doerffel
b9384c52bb ZynAddSubFX: delete LocalZynAddSubFX instance in destructor
This is a really embarrassing leak causing LMMS to never cleanup internal
instances of ZynAddSubFX.

Closes #357.
2014-02-22 20:55:14 +01:00
Tobias Doerffel
49a28a7960 Merge pull request #369 from softrabbit/stable-0.4
Timer display widget: cosmetic fixes
2014-02-22 20:38:00 +01:00
Raine M. Ekman
92c2491846 Timer display widget: change bar:ticks:milliseconds to bar:beat:ticks, 1-based instead of 0-based 2014-02-22 21:03:33 +02:00
Vesa
490a71313a Slight change to song editor background 2014-02-22 19:18:28 +02:00
Tobias Doerffel
0db83c6ede Merge pull request #366 from diizy/stable-0.4
Dynamics processor peak release fix, also more updates to song editor style
2014-02-22 08:44:46 +01:00
Vesa
9f64e6f428 More tweaks on song editor style 2014-02-22 02:34:26 +02:00
Vesa
3f3cde8332 Dynamics processor peak release fix 2014-02-21 23:01:38 +02:00
Tobias Doerffel
987fdc2e01 Sf2Player: less line breaks and a few other coding style improvements 2014-02-21 20:43:23 +01:00
Tobias Doerffel
7cd7ca46f8 Sf2Player: use qDebug() rather than QTextStream on stdout 2014-02-21 20:43:23 +01:00
Tobias Doerffel
a34f8e722b Merge pull request #365 from diizy/stable-0.4
Updates to song editor style. Also couple of fixes to SID layout.
2014-02-21 20:43:13 +01:00
Vesa
9896d94b09 Updates to song editor style. Also couple of fixes to SID layout. 2014-02-21 21:13:07 +02:00
Tobias Doerffel
418a5e6a75 Merge pull request #361 from diizy/stable-0.4
SID artwork
2014-02-21 13:32:08 +01:00
Vesa
cd2850dcdc SID artwork 2014-02-21 03:03:08 +02:00
Tobias Doerffel
087a8ac159 Revert "Papu: fixed out-of-bounds array access due to too small data types"
This reverts commit ea5f5c4f00 as the actual
off-by-one error has been fixed.
2014-02-20 23:29:43 +01:00
Tobias Doerffel
29fcb9d7b9 Freeboy/Gb_Apu: fixed require() statement
Classical off-by-one error.
2014-02-20 23:28:35 +01:00
Tobias Doerffel
2591378818 LcdSpinBox: adopt naming style convention 2014-02-20 22:17:28 +01:00
Tobias Doerffel
0e8d47cfe0 LADSPA/SWH/Vocoder: fixed instantiation on Win32
Due to the nature of DLL files LADSPA plugins need a little extra care
when building for Win32, otherwise they can't be instantiated and won't
be available.

Closes #356.
2014-02-20 22:01:58 +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
Vesa
2e799718d6 Allow piano roll playing while playing, fixes #21 2014-02-20 10:35:26 +02:00
Tobias Doerffel
2049e00901 Merge pull request #155 from 8tab/warning
Some code cleanup
2014-02-20 08:10:28 +01:00
Paul Giblock
fc1475bf75 Fix leak in last commit
Sorry dudes. This one really fixes #353
2014-02-19 21:25:31 -05:00
Paul Giblock
b19522c55a Hopefully fix race-condition in lb302 db24 switch
So, we were swapping out some pointer mid-process at times.  Instead,
use an atomic pointer, and just have the process function grab the
current value and use it through the entire processing period.

Still has a sound glitch when switching, but this switch was never
intended to be used "live".

Closes #353
2014-02-19 21:21:17 -05:00
Tobias Doerffel
41ce88b68c CMakeLists: added doc directory to dist target 2014-02-19 22:10:28 +01:00
Tobias Doerffel
7daf4f7543 Second release candidate for 1.0.0
Bumped version number to 0.9.90 in CMakeLists.txt, README and lmms.rc.in.
2014-02-19 19:11:16 +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
Tobias Doerffel
7d965e251c RemotePlugin: always use installation directory as working directory
On Windows the working directory is not set to the installation directory
when launching LMMS by opening an associated project file. Because of this
the RemotePlugin programs can't be launched as the required DLL files are
missing.

Closes #351.
2014-02-19 18:31:48 +01:00
Tobias Doerffel
e84b537a60 NSIS/FileAssociation: do not write DefaultIcon registry key
Setting the DefaultIcon registry key uses LMMS' logo instead of a file
icon with the logo inside.

Thanks to Tres Finocchiaro for spotting the issue.
2014-02-19 18:09:27 +01:00
Tobias Doerffel
d39a79220a Travis: remove duplicate libsamplerate0-dev dependency 2014-02-19 17:34:27 +01:00
Tobias Doerffel
3f6ff1deb0 Removed libsamplerate from source tree
Drop another 3rdparty component and rely on system libraries instead.
2014-02-18 23:40:40 +01:00
Tobias Doerffel
0ee88252bb DynamicsProcessor: fixed Win32 build issue
For some reason isnanf() is not defined when building with recent MinGW64
toolchain, therefore define it manually if neccessary.
2014-02-18 23:33:17 +01:00
Tobias Doerffel
f512c63017 LadspaEffect: fixed default value if hints are sample rate dependent
When hints are sample rate dependent we also need to scale default
value accordingly as well.

Closes #334.
2014-02-18 23:03:36 +01:00
Tobias Doerffel
7d6f661590 ZynAddSubFX: update submodule reference 2014-02-18 23:00:54 +01:00
Tobias Doerffel
989361e859 Merge pull request #330 from diizy/stable-0.4
New icon and splash images
2014-02-18 20:57:02 +01:00
Tobias Doerffel
1cf3daed93 ZynAddSubFX: update submodule reference 2014-02-18 20:54:39 +01:00
Tobias Doerffel
296a1585bd ZynAddSubFX: update submodule reference 2014-02-18 20:48:50 +01:00
Tobias Doerffel
66ca51bf43 RemoteZynAddSubFX: start/stop NIO system
Fixes crash when showing GUI of ZynAddSubFX.
2014-02-18 20:48:21 +01:00
Tobias Doerffel
df53432289 ZynAddSubFX: define PLUGINVERSION macro
Removes exit confirmation dialogs etc. in MasterUI.fl
2014-02-18 20:47:54 +01:00
Tobias Doerffel
a5f21cf61b ZynAddSubFX: initialize IO engine after setting up synth instance 2014-02-18 20:28:34 +01:00
Tobias Doerffel
71103a71ba VeSTige: adapt rename of MidiMaxKey constant 2014-02-18 20:24:36 +01:00
Tobias Doerffel
ed56bdc47d ZynAddSubFX: Use upstream icon file 2014-02-18 20:03:41 +01:00
Tobias Doerffel
9209ef59e3 Initial integration of updated ZynAddSubFX 2014-02-18 19:59:40 +01:00
Tobias Doerffel
f969bd4650 Added separate ZynAddSubFX repository as submodule 2014-02-18 19:59:26 +01:00
Vesa
33a924d45b New icon and splash images 2014-02-18 17:48:26 +02:00
Tobias Doerffel
db305c1d1d Merge pull request #329 from diizy/stable-0.4
AudioFileProcessor knob fix
2014-02-18 08:05:27 +01:00
Vesa
a2484bc9c0 AudioFileProcessor knob fix 2014-02-18 01:42:28 +02:00
Tobias Doerffel
34ee048fd8 Merge pull request #327 from diizy/stable-0.4
Vestige artwork retouch
2014-02-17 22:45:37 +01:00
Vesa
ec7e4e044b Vestige: Change text "Preset" dark grey 2014-02-17 21:47:59 +02:00
Vesa
e9baa33706 Updated LMMS icon 2014-02-17 21:44:44 +02:00
Vesa
11af0635ef New scale/note icons by John, afp knobs back to non-styled 2014-02-17 21:38:27 +02:00
Vesa
6841a694b8 Vestige artwork retouch 2014-02-17 17:59:09 +02:00
Tobias Doerffel
b25e2150a9 Merge pull request #324 from diizy/waveshaper
Dynamics processor
2014-02-17 16:21:59 +01:00
Vesa
0dd96faf59 Layout fix 2014-02-16 19:51:52 +02:00
Vesa
4eacba7e3b Some fixes 2014-02-16 13:38:22 +02:00
Vesa
289f498737 Dynamics processor, first commit 2014-02-16 11:15:25 +02:00
Lukas W
7ec2c5e683 README: Add libfltk as build dependency
Needed since 0f4182e084
[skip ci]
2014-02-15 10:24:36 +01:00
Tobias Doerffel
d59ee225be Merge pull request #313 from diizy/stable-0.4
Waveshaper updates: added amplitude +/- buttons, toggle led to clip inpu...
2014-02-14 22:19:14 +01:00
Vesa
45625d2a34 Slight fix to the wavegraph: grow height by 1 px to make default state look better 2014-02-14 19:48:29 +02: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
6b54cf90d1 Merge pull request #310 from wongcc966422/issue309
AFP: revert changes
2014-02-14 13:53:19 +01:00
Wong Cho Ching
9d913d13b1 AFP: revert changes 2014-02-14 15:44:32 +08:00
Tobias Doerffel
b05c3ee283 SideBar: add tooltips to buttons
Closes #259.
2014-02-13 17:13:38 +01: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
Tobias Doerffel
cdb8197c5d AutomatableModel: use nearbyintf() for rounding
For some reason roundf() causes an exception on Win32 when calling with
negative values. This caused LMMS to crash when turning an external MIDI
pitch wheel downwards.

Closes #281.
2014-02-13 01:14:06 +01:00
Tobias Doerffel
f329bccb6b AutomatableModel: remove bogus assigment if step size is 0
No idea why we set value to m_minValue in case the step size is 0. There
shouldn't be models with step size 0 nevertheless.
2014-02-13 01:13:22 +01:00
Tobias Doerffel
592ab25c57 Merge pull request #297 from Lukas-W/stable-0.4-doc
Add CMake doc target
2014-02-12 23:23:51 +01:00
Tobias Doerffel
20c86b7fe5 Merge pull request #302 from diizy/waveshaper
Waveshaper
2014-02-12 23:23:35 +01:00
Vesa
bb145b4b53 Higher range in gain knobs 2014-02-12 22:21:12 +02: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
4b125abc0e Added reset & smooth buttons, graphics, fixed graph smoothing behaviour 2014-02-12 16:21:46 +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
Lukas W
5b13a11748 Add CMake doc target
* Added doc/CMakeLists.txt with doxygen target
* Moved Doxyfile to doc/
* Updated Doxyfile (removed obsolete variables)
2014-02-11 21:58:23 +01:00
Vesa
2405a6a25e Waveshaper, first working version... 2014-02-11 15:19:04 +02:00
Vesa
30940fc112 Initial commit - copied files from bassbooster to modify into new plugin 2014-02-11 10:11:29 +02:00
Vesa
a612deee24 Resize zoom & quantize comboboxes in piano roll to conserve space 2014-02-11 10:02:00 +02:00
Vesa
b66f83dff0 Betterified the icon in zyn artwork 2014-02-11 10:02:00 +02:00
Tobias Doerffel
0f4182e084 ZynAddSubFX: removed FLTK source code
As FLTK 1.3 is available in all recent Linux distributions as well as
our MinGW-X PPA there's no need to maintain a copy of the FLTK source
code inside LMMS.
2014-02-11 00:27:54 +01:00
Andrew Kelley
e0e5aa3c58 Merge pull request #295 from unfa/stable-0.4
Removed the dependancy of "AMP_GCIA" plugin.
2014-02-10 17:53:49 -05:00
unfa
21a2d585e4 Removed the dependancy of "AMP_GCIA" plugin. 2014-02-10 23:46:45 +01:00
Tobias Doerffel
0c63d7cf5e Merge pull request #294 from Lukas-W/stable-0.4
Fix wrong quoting in CMake
2014-02-10 15:32:57 +01:00
Lukas W
c41f8e6528 Fix a CMake quote sign problem
Caused by 95b0a4305e
2014-02-10 15:23:54 +01:00
Lukas W
58796a6d15 Add verbose make output to Travis CI 2014-02-10 14:45:18 +01:00
Lukas W
568d0de8e5 Revert ab44ef221e
libfreetype6-dev is not necessary, it is already part of other dependencies.
2014-02-10 14:44:45 +01: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
Tobias Doerffel
ab44ef221e Travis: added libfreetype6-dev as build dependency
We need libfreetype6-dev for building ZynAddSubFX/FLTK.
2014-02-09 22:37:33 +01:00
Alexandre Almeida
def1154971 Update AutomationEditor.h 2014-02-09 19:04:34 -02:00
Alexandre Almeida
e6ec932848 Update bb_editor.cpp 2014-02-09 19:02:07 -02:00
Alexandre Almeida
f10d856290 Update engine.cpp
A better way to update the play button icons, which requires less "if" checks and method calls in total.
2014-02-09 18:57:03 -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
Alexandre Almeida
40c35f2092 Update AutomationEditor.cpp
A better way to update the play button icons, which requires less "if" checks and method calls in total.
2014-02-09 18:47:51 -02:00
Alexandre Almeida
5239afb3e4 Update piano_roll.cpp
A better way to update the play button icons, which requires less "if" checks and method calls in total.
2014-02-09 18:46:39 -02:00
Alexandre Almeida
774d09b7a1 Update song_editor.cpp
A better way to update the play button icons, which requires less "if" checks and method calls in total.
2014-02-09 18:44:51 -02:00
Tobias Doerffel
0e5f148dce Merge pull request #231 from elfring/Complete_quoting_for_parameters_of_some_CMake_commands
Complete quoting for parameters of some CMake commands.
2014-02-09 18:57:51 +01:00
Tobias Doerffel
a522e42562 Merge pull request #288 from softrabbit/stable-0.4
AutomationEditor: fixed calculation of Y-coordinates for grid and values...
2014-02-09 18:14:32 +01:00
Raine M. Ekman
c14d19409c AutomationEditor: fixed calculation of Y-coordinates for grid and values. 2014-02-09 16:00:08 +02:00
Tobias Doerffel
9419ed71bc Merge pull request #285 from diizy/stable-0.4
AFP artwork, Zyn artwork update
2014-02-09 13:49:10 +01:00
Vesa
d29b5fa5e8 AFP artwork, Zyn artwork update 2014-02-09 12:29:48 +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
124ce9823b ZynAddSubFX: commented out debug messages 2014-02-07 00:34:03 +01:00
Tobias Doerffel
1adc8f8ba3 FxMixer: no need to check for master channel
The m_used property will always be true for the master channel as soon
as data was received from at least one FX channel.
2014-02-06 23:43:01 +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
1266278229 InstrumentTrack: skip processing for IPH-driven instruments when silent
InstrumentPlayHandle-driven instruments (i.e. instruments producing only
one sound stream for all notes) are running all the time even if no notes
are running. The plugin itself usually does not consume much CPU time
while silent but all effects afterwards inside LMMS unneccessarily
consume lots of CPU time for processing silent buffer.

Typical case: a song with lots of instruments like ZynAddSubFX.

With this change, all processing is skipped on silent buffers which
notably decreases CPU load for many projects. All effects in following
effect chains continue to run until they're silent as well.

Closes #267.
2014-02-06 22:59:14 +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
6c1835bdd1 FxMixer, Mixer, AudioPort: minor coding style fixes 2014-02-06 22:18:58 +01:00
Tobias Doerffel
f44843d95c VstEffect: added NULL pointer check in closePlugin()
We must not call methods on m_plugin in case there's no valid instance
e.g. due to missing DLL files.

Closes #245.
2014-02-06 20:58:30 +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
Tobias Doerffel
7cddb23fbf Merge pull request #271 from zonkmachine/chromatic-scale
Added scales (chromatic scale again)
2014-02-06 20:45:19 +01:00
Tobias Doerffel
b661c9b369 Merge pull request #270 from zonkmachine/ghost-files
Remove remaining files from Covers. Fixes #264
2014-02-06 20:44:15 +01:00
Tobias Doerffel
92bfd71c63 ComboBox: more checks for valid model + coding style
Before accessing the model, we have to check whether it is valid at all
in order to avoid a crash.

Closes #273.
2014-02-06 20:42:29 +01:00
Tobias Doerffel
2f4fb1a173 Merge pull request #278 from M374LX/stable-0.4
Fix a segmentation fault
2014-02-06 08:19:29 +01:00
Alexandre Almeida
5550377fe2 Fix a segmentation fault
Fix the segmentation fault caused by clicking on the "Cancel" button of the export dialog, as in issue #249.
2014-02-05 23:26:32 -02:00
Tobias Doerffel
cf5ecc052b Refreshed all translation files 2014-02-05 23:40:20 +01:00
Tobias Doerffel
ea0c6cc775 Merge pull request #274 from diizy/stable-0.4
Adding MIME-type icon to the data directory for packagers to use
2014-02-04 23:02:55 -08:00
Tobias Doerffel
9f78d541bd Merge pull request #275 from wongcc966422/issue273
Fixes crashes on ctrl+drag
2014-02-04 22:58:06 -08:00
Wong Cho Ching
6fca8814cb Fixes crashes on ctrl+drag.~ 2014-02-05 13:05:59 +08:00
Vesa
d8e41d9818 Adding MIME-type icon to the data directory for packagers to use 2014-02-05 05:35:56 +02:00
Tobias Doerffel
2f0cd8b7c4 InstrumentTrack: load pitch range model before pitch model
As the pitch range model defines the range of the pitch model we have
to load it first so the range of m_pitchModel gets adjusted accordingly.

Closes #272.
2014-02-04 23:45:23 +01:00
Tobias Doerffel
056e63416f Merge pull request #268 from softrabbit/stable-0.4
Cleaned Bubbly_days.xpf of solo and FX channel settings
2014-02-04 14:15:43 -08:00
Oskar Wallgren
c7e7748bc3 Added scales 2014-02-04 20:12:46 +01:00
Oskar Wallgren
330f7c0000 Remove remaining files from Covers. 2014-02-04 19:29:12 +01:00
Raine M. Ekman
69212f2bda Cleaned Bubbly_days.xpf of solo and FX channel settings 2014-02-04 18:14:33 +02: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
a2bb484058 First release candidate for 1.0.0
Bumped version number to 0.9.90 in CMakeLists.txt, README and lmms.rc.in.
2014-02-03 21:47:03 +01:00
Tobias Doerffel
2e7733eaa1 DataFile: renamed from old multimediaProject class + coding style fixes 2014-02-03 21:21:36 +01:00
Raine M. Ekman
c4b34b4368 Added Doxyfile. 2014-02-03 22:10:32 +02: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
3837ea0087 Merge pull request #243 from diizy/stable-0.4
Bill's setup icons
2014-02-03 11:57:45 -08:00
Tobias Doerffel
7500c98f8d MidiPort: do not change key of MIDI note events
There's no need to transpose MIDI events inside a MidiPort instance. Any
correction to the outer world should (if at all) happen in the according
MIDI backends.

Closes #242.
2014-02-03 20:56:23 +01:00
Vesa
f333ce2e65 Bill's setup icons 2014-02-03 21:47:51 +02:00
Tobias Doerffel
8da3c78f62 Song: update VstSyncController in new playback control methods
As of commit c60e7ba8d1 the whole playback
control has been revised. As this was an old patch, it didn't take care
of the VST sync functionality. This is fixed now for the most part.

Closes #184.
2014-02-03 20:13:36 +01: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
fd971ee3a2 VstSyncController: print a warning if VST sync support is not enabled
Users might wonder why VST sync does not work as they didn't notice the
option in the configuration dialog.
2014-02-03 20:05:51 +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
Tobias Doerffel
5e6066e6b6 Merge pull request #239 from zonkmachine/stable-0.4
Added myself to the author list. :)
2014-02-02 06:37:00 -08:00
Oskar Wallgren
496e8dc5dc Added myself to the author list. :) 2014-02-02 15:18:59 +01:00
Tobias Doerffel
101e41186e Merge pull request #236 from mikobuntu/stable-0.4
Fix compact track bug in BB_Editor fixes #73
2014-02-02 05:48:48 -08:00
Tobias Doerffel
539d0f4a9e Merge pull request #237 from wongcc966422/issue27
Automation Tweaks and Bugfixes
2014-02-02 05:41:45 -08: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
mikobuntu
65b1c99d13 Fix compact track bug in BB_Editor fixes #73 2014-02-02 11:39:10 +00:00
Tobias Doerffel
a14b9b46ca Merge pull request #235 from wongcc966422/issue225
Fixes crash on loading instrument with peak controller
2014-02-02 02:45:00 -08:00
Wong Cho Ching
287276db6f Automation: No longer getting destroyed after exporting PLUS rendering bugfix 2014-02-02 18:29:16 +08:00
Wong Cho Ching
64195eb645 Fixes crash on loading instrument with peak controller 2014-02-02 10:28:24 +08:00
Tobias Doerffel
ed148306f0 Merge pull request #230 from diizy/stable-0.4
Added mikobuntu to AUTHORS file, edited my email in same
2014-02-01 17:07:31 -08:00
Tobias Doerffel
34600c7a8a Merge pull request #228 from wongcc966422/sfxr
Fixes sfxr labeling
2014-02-01 17:06:32 -08:00
Markus Elfring
95b0a4305e Bug #175: Completed quoting for parameters of some CMake commands
A Wiki article pointed out that whitespace will only be preserved for parameters
in CMake commands if passed strings will be appropriately quoted or escaped.
http://cmake.org/Wiki/CMake/Language_Syntax#CMake_splits_arguments_unless_you_use_quotation_marks_or_escapes.

Quoting was added so that more places should also handle file names correctly
which contain space characters eventually.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
2014-02-01 15:20:27 +01:00
Vesa
c1de8b52cc Added mikobuntu to AUTHORS file, edited my email in same 2014-02-01 14:38:26 +02:00
Wong Cho Ching
fb924166c4 Fixes sfxr labeling 2014-02-01 20:26:32 +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
71b9b585c7 Merge pull request #224 from wongcc966422/hideRange
Hide RANGE spinbox when the instrument is not bendable
2014-02-01 03:44:10 -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
Tobias Doerffel
bfdf8feaf5 Merge pull request #218 from wongcc966422/issue1
render circles on automation points; Increased INITIAL_WIDTH
2014-02-01 03:41:08 -08:00
Tobias Doerffel
571bdeb053 Timeline: additionally allow moving left loop point with middle mouse button
Commit 3a53473d10 aimed at allowing users
without a middle mouse button (like on touchpads) to move the left loop
point. However nothing stops us from keeping the old behaviour as well,
so here we go!
2014-02-01 12:39:03 +01:00
Tobias Doerffel
5504c9c9cf Merge pull request #227 from wongcc966422/patch-1
May I be added to the author list?
2014-02-01 02:13:38 -08:00
Wong Cho Ching
c2a753f4b8 Merge branch 'issue220' of https://github.com/wongcc966422/lmms into issue220 2014-02-01 18:10:42 +08:00
Wong Cho Ching
c4b6a41aea Further fixes backward compatibility issue 2014-02-01 18:09:46 +08:00
wongcc966422
5507410c35 May I be added to the author list?
Thanks. :)
2014-02-01 16:59:23 +08:00
wongcc966422
9b2d620dc8 Replace spaces with tab 2014-02-01 14:50:10 +08:00
Wong Cho Ching
7d96a2d533 Fixes crash when opening file with Peak Controller 2014-02-01 14:46:15 +08:00
Wong Cho Ching
edbe8336cc Hide RANGE spinbox when the instrument is not bendable 2014-02-01 10:42:21 +08:00
Vesa
75c8e903da Fixed load/save of custom waveform settings on LFO controllers. 2014-02-01 00:14:34 +02:00
Vesa
cc810effda Fix cancel button behaviour on waveform open dialog 2014-02-01 00:01:42 +02: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
Vesa
4bcc31a80c Added custom waveforms to sample directory 2014-02-01 00:01:42 +02:00
Vesa
a7f41d7487 Updated sfxr logo 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
694c861318 Merge pull request #215 from wongcc966422/issue174
AudioFileProcessor: Fixed wave view rendering; added validation
2014-01-31 06:42:01 -08:00
Tobias Doerffel
9fe1f32ec8 Merge pull request #216 from wongcc966422/issue204
Exporting: fixes LFO sync
2014-01-31 06:41:16 -08:00
Wong Cho Ching
8483acb705 Exporting: fixes LFO sync 2014-01-31 21:17:57 +08:00
Wong Cho Ching
3985dffb21 Fixed wave view rendering; added validation 2014-01-31 21:08:49 +08:00
Tobias Doerffel
76b0562bae Merge pull request #213 from wongcc966422/issue174
[not ready]Temporary fix for audio file processor knobs
2014-01-31 04:08:27 -08:00
Wong Cho Ching
0ecb1e05df temporary fix for audio file processor knobs 2014-01-31 19:15:30 +08:00
Tobias Doerffel
4ecc6cb6db Merge pull request #211 from wongcc966422/issue208
Fixes #208
2014-01-31 01:52:00 -08:00
Tobias Doerffel
403f8d0b91 Merge pull request #209 from wongcc966422/issue204
Makes LFO sync with the timeline of the song
2014-01-30 22:12:51 -08:00
Tobias Doerffel
e06bf2551f Merge pull request #212 from wongcc966422/issue210
Stutter playback mode now save state
2014-01-30 22:05:41 -08:00
Wong Cho Ching
d4a2a48a1e Stutter playback mode now save state 2014-01-31 12:52:25 +08:00
Wong Cho Ching
df69bffdb3 Fixes #208 2014-01-31 12:41:47 +08:00
Wong Cho Ching
fc44b7902f Resolve conflicts 2014-01-31 12:08:49 +08:00
Wong Cho Ching
37dd8fc5ac Makes LFO sync with the timeline of the song 2014-01-31 12:05:15 +08:00
Tobias Doerffel
673ddfe36d Merge pull request #205 from wongcc966422/issue204
[NOT ready]reset LFO controllers when playing is started
2014-01-30 15:39:39 -08:00
Tobias Doerffel
9266bc328d Merge pull request #206 from diizy/stable-0.4
Artwork
2014-01-30 11:28:24 -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
Tobias Doerffel
9f6b894351 Merge pull request #200 from wongcc966422/issue28
Fixes removing controller in controller rack bug
2014-01-30 11:26:38 -08:00
wongcc966422
f707f3f665 Update song.cpp 2014-01-31 03:13:44 +08:00
Wong Cho Ching
c484ee8345 reset LFO controllers when playing is started 2014-01-31 03:07:18 +08:00
Vesa
b4f78fdcb3 Fixes: Sfxr artwork, triple osc + lb302 logos 2014-01-30 21:01:18 +02: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
Vesa
9e1a3af55e Sfxr artwork updates 2014-01-30 13:14:30 +02:00
Wong Cho Ching
e19e763120 Added title for the confirm message 2014-01-30 16:40:11 +08:00
Tobias Doerffel
c83115d0d6 Merge pull request #191 from zonkmachine/stable-0.4
Fixed envelope sustain response
2014-01-30 00:36:57 -08:00
Tobias Doerffel
988218f06e Merge pull request #199 from wongcc966422/bitInvaderSmoothGraphic
Bit Invader: added active and inactive graphic for smooth button
2014-01-30 00:32:50 -08:00
Wong Cho Ching
600232967a Fixes removing controller in controller rack bug 2014-01-30 16:32:25 +08:00
Wong Cho Ching
e7df29d2e6 Bit Invader smooth button active and inactive graphic 2014-01-30 13:54:56 +08:00
Oskar Wallgren
1e98cb7b58 Envelope graph shooting over target 2014-01-30 03:44:37 +01:00
Oskar Wallgren
ba69e70bdb More envelope sustain respon fixes 2014-01-30 01:01:58 +01:00
Tobias Doerffel
0ff636b363 RemoteVstPlugin: fixed handling of MIDI pitch bend events
Fix a regression introduced with commit 94f991848e.

Closes #172.
2014-01-30 00:00:44 +01: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
Tobias Doerffel
b4c4b293a0 sfxr: use instrumentTrack() instead of maintaining own variable
No need to maintain instrument track on our own here. Furthermore minor
coding style improvements.
2014-01-29 22:49:45 +01:00
Tobias Doerffel
b1b5c56d0f Merge pull request #198 from softrabbit/stable-0.4
Check for TTY app before updating icons
2014-01-29 13:48:02 -08:00
Tobias Doerffel
f872bb2fab Merge pull request #195 from wongcc966422/sfxr
Added sound preview when button is clicked
2014-01-29 13:47:43 -08:00
Tobias Doerffel
83476c3481 Merge pull request #192 from wongcc966422/ghostPeakController
Fixed duplicate controllers issue
2014-01-29 13:45:48 -08:00
Raine M. Ekman
8945f95d21 Merge https://github.com/LMMS/lmms into stable-0.4 2014-01-29 19:30:00 +02:00
Wong Cho Ching
e81423949a updated include file 2014-01-30 00:16:08 +08:00
Wong Cho Ching
cdedd34474 remove stdio.h 2014-01-30 00:05:42 +08:00
Wong Cho Ching
3500cde6a4 fixes compiler error, 2nd attempt 2014-01-30 00:04:45 +08:00
Wong Cho Ching
fa1b337517 Merge remote-tracking branch 'origin/stable-0.4' into sfxr 2014-01-30 00:02:54 +08:00
Wong Cho Ching
277ff5b99e fix strict compiler error 2014-01-29 23:51:35 +08:00
Wong Cho Ching
20eb81c955 bug fix 2014-01-29 23:48:34 +08:00
Wong Cho Ching
575494361b Added sound preview when button is click 2014-01-29 22:21:49 +08:00
Wong Cho Ching
207bd9974f checkout fltk-config 2014-01-29 19:58:36 +08:00
Wong Cho Ching
39a3b4c6cb set m_effectId to random value when it is not loaded from project. 2014-01-29 19:57:13 +08: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
Oskar Wallgren
4a1417821f Fixed envelope sustain response 2014-01-29 02:29:19 +01:00
Tobias Doerffel
daad00e822 Merge pull request #186 from softrabbit/stable-0.4
OpulenZ: LGPL added in sources, a handful of presets added
2014-01-28 15:39:46 -08:00
Tobias Doerffel
a16942603e Merge pull request #190 from diizy/stable-0.4
UI: small fixes, improvements, clean-up & requested changes
2014-01-28 15:39:34 -08:00
Vesa
f6ee1dd25d New files 2014-01-29 00:49:46 +02:00
Vesa
c267265148 Retouched transport icons, commented stylesheet for better documentation, fixed faint line in bitinvader knob 2014-01-29 00:45:03 +02:00
Vesa
f7d58114b2 Added object names for transport buttons (for theming purposes), fixed alignment issues on track labels 2014-01-28 22:17:44 +02:00
Raine M. Ekman
4c39f839ce song.cpp: Check for TTY app before calling engine::updatePlayPauseIcons() 2014-01-28 21:54:31 +02:00
Raine M. Ekman
554c78b583 Merge https://github.com/LMMS/lmms into stable-0.4 2014-01-28 20:53:00 +02:00
Raine M. Ekman
a36f59ab35 Moved LGPL to OpulenZ source dir, added presets. 2014-01-28 20:39:03 +02:00
Tobias Doerffel
65252d3f40 Merge pull request #182 from wongcc966422/sfxr
sfxr: reduced CPU usage
2014-01-28 00:55:47 -08:00
Wong Cho Ching
ec71c08816 Reduced CPU usage 2014-01-28 11:21:46 +08:00
Tobias Doerffel
8fba196897 CMakeLists: removed deprecated win32-pkg target
We've been using CPack for ages so there's really no need for the old
win32-pkg target.
2014-01-28 00:27:59 +01:00
Tobias Doerffel
b8149c1d88 EffectView: fix crash when removing dummy effect plugin
If a certain effect plugin fails to load a dummy plugin is inserted
instead which has no sub window and thus caused a crash in EffectView
destructor.
2014-01-28 00:26:29 +01:00
Tobias Doerffel
2a1ec97113 Merge pull request #178 from zonkmachine/stable-0.4
Removed copyrighted material and moved some files to CoolSongs.
2014-01-27 13:01:13 -08:00
Raine M. Ekman
1b5c2a0112 Added LGPL text, as needed by the OPL2 emulator used in OpulenZ 2014-01-27 21:12:54 +02:00
Oskar Wallgren
0195bbaf7f Removed copyrighted material and moved some files to CoolSongs.
Directory Covers removed.
2014-01-27 20:01:32 +01:00
Tobias Doerffel
f2c4d144c8 FxMixerView: set minimum width for EffectRackView
The EffectRackView was a little bit too small in Win32 build, therefore
explicitely set minimum width.
2014-01-27 00:34:55 +01:00
Tobias Doerffel
bc4b83f443 LADSPA/CMT: fixed global initialization on Win32
Global initialization happens via a global startup/shutdown handler
instance. For some reason this does not work properly when building
a DLL file, therefore create this startup/shutdown handler instance
as a static variable in ladspa_descriptor().

Furthermore marked ladspa_descriptor as extern-C.
2014-01-27 00:31:22 +01:00
Tobias Doerffel
6217201184 Added initial versions of new logo 2014-01-27 00:08:36 +01:00
Tobias Doerffel
ea5f5c4f00 Papu: fixed out-of-bounds array access due to too small data types
Build failed on Win32 with GCC 4.8.
2014-01-26 23:45:49 +01:00
Tobias Doerffel
d5113d0059 MidiWinMM: fixed MidiPort API calls 2014-01-26 23:45:29 +01:00
Tobias Doerffel
84f57b776d ZynAddSubFX: fixed compiler warning on Win32 2014-01-26 23:45:09 +01: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
ef4f9b1b60 InstrumentTrack: partly revert ad27039b9b
Even though there are probably not many old projects out there, at least
old presets didn't load properly anymore as of ad27039b9b.
Fix this by reintroducing compat code.
2014-01-26 23:18:59 +01:00
Tobias Doerffel
db0570b130 InstrumentSoundShaping: more sanity checking 2014-01-26 23:14:59 +01:00
Tobias Doerffel
09395a2f3e NotePlayHandle: stop properly when arpeggio is played via MIDI
If a note is played via MIDI (e.g. with infinite frame count) and arpeggio
is enabled the NotePlayHandle never got deleted as framesLeft() always
returned a big value even after release.

Closes #169.
2014-01-26 19:09:11 +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
7103bb31d6 InstrumentTrack: more coding style improvements 2014-01-26 16:02:35 +01:00
Tobias Doerffel
ad27039b9b InstrumentTrack: removed compat code for loading old projects
We should not need compat code for project files < 0.4.x anymore.
Anybody who wants to load project files made before 2008 is advised to
open them in LMMS 0.4.x first and save them so they get upgraded.
2014-01-26 15:56:10 +01:00
Tobias Doerffel
1fae0ce74a Merge pull request #166 from wongcc966422/fileDialogSegfaultFix
Fixes segfault when clearSelection() is called with a new instance of FileDialog
2014-01-26 06:49:41 -08:00
Tobias Doerffel
6dfc4b77aa Merge pull request #167 from softrabbit/stable-0.4
OpulenZ: added pitch bend range MIDI message handling
2014-01-26 06:48:58 -08:00
8tab
869229025c restored fltk-config 2014-01-26 15:44:51 +01:00
Raine M. Ekman
29f04d8056 OpulenZ: added pitch bend range MIDI message handling 2014-01-26 16:33:43 +02:00
Tobias Doerffel
20700b1c71 InstrumentTrack: fixed range for pitch model 2014-01-26 14:22:41 +01:00
Tobias Doerffel
a5588d2f75 ZynAddSubFX: default pitch wheel bend range to 100
Even though ZynAddSubFX does not support pitch wheel sensitivity RPN
events and thus we can't update the pitch range from LMMS automatically,
at least default to 100 semitones pitch wheel bend range so behaviour
is consistent with default pitch range in LMMS.
2014-01-26 14:11:42 +01:00
Tobias Doerffel
43f76f5357 Sf2Player: update pitch wheel sensitivity based on pitch range
Fluidsynth supports setting the pitch wheel sensitivity, therefore make
use of it and set values from the recently introduced pitch range model.
2014-01-26 14:09:05 +01:00
Tobias Doerffel
0a5665ae16 InstrumentTrack: send RPN update in updatePitchRange()
When changing the pitch range all we can do for MIDI is to update the
MIDI pitch bend sensitivity RPN even though this is only supported by
some MIDI instruments.

Closes #129.
2014-01-26 14:07:15 +01:00
Tobias Doerffel
52d2274e19 InstrumentTrack: coding style fixes 2014-01-26 14:07:06 +01:00
Tobias Doerffel
0e00fc6aa1 InstrumentTrack: replaced numbers by newly introduced constants 2014-01-26 14:06:46 +01:00
Tobias Doerffel
8c9778c945 AutomatableModel: do not change init value when adjusting range
This causes e.g. the default value of the pitch model to be changed
when changing the pitch range.
2014-01-26 14:05:22 +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
Tobias Doerffel
bd6fb03d44 Midi: added constants for pitch bend 2014-01-26 14:02:05 +01:00
Wong Cho Ching
e4cca6a0b3 Added semi-colon to make it build 2014-01-26 20:45:34 +08:00
Wong Cho Ching
91d73bba2b Fixes segfault when clearSelection() is called with a new instance of FileDialog 2014-01-26 19:40:52 +08:00
Tobias Doerffel
f519bec995 MainWindow: remove undo/redo actions from edit menu for the time being
As undo/redo are not working properly at the moment, do not expose
according menu items to the user. This will be fixed in upcoming releases.

Closes #152.
2014-01-26 12:34:12 +01:00
Tobias Doerffel
4ba5edc32c InstrumentTrack: generally do not forward NoteOn/NoteOff/KeyPressure events
If we receive MidiNoteOn, MidiNoteOff or MidiKeyPressure events we always
kind of handle them in processInEvent() so do not forward them to the
instrument.

This fixes a freeze when loading VST plugins as PianoView::focusOutEvent()
tried to send MIDI events to the not yet completely loaded and thus locked
VST plugin.

Closes #160.
2014-01-26 10:17:10 +01:00
Tobias Doerffel
5d1335f390 RemoteVstPlugin: fix build failure due to out-of-bounds-array-access-warning
Newer versions of GCC seem to assume an array size of 0 for arrays whose
size is not specified explicitely. This causes a warning about an
out-of-bounds array access.
2014-01-26 10:04:03 +01:00
Tobias Doerffel
80a58df124 MidiPort: coding style improvements 2014-01-26 10:01:54 +01:00
Tobias Doerffel
c05826b6eb Merge pull request #165 from eagles051387/stable-0.4
added another author to the file
2014-01-26 00:51:27 -08:00
Tobias Doerffel
78ac2d6d2c Merge pull request #162 from wongcc966422/opulenzInitializeVoices
Fixed OpulenZ segfault bug when it is dropped on another instrument.
2014-01-26 00:49:17 -08:00
Tobias Doerffel
c5ab13e5c5 InstrumentTrack: check for instrument instance in processOutEvent()
There are situations where processOutEvent() is being called while
loading instrument track settings e.g. when loading the pitch model
whose dataChanged() signal is connected to InstrumentTrack::updatePitch()
which in turn calls processOutEvent(). At this time we do not have an
instrument instance and therefore have to skip processing.

Closes #164.
2014-01-26 09:48:15 +01:00
Jonathan Aquilina
20333ad4ca added another author to the file 2014-01-26 09:46:06 +01:00
Wong Cho Ching
b502ae9da4 Changed the placement of code 2014-01-26 14:23:32 +08:00
Wong Cho Ching
b15942d120 Amended initialize code 2014-01-26 14:19:33 +08:00
Wong Cho Ching
5816a2ae5d Fixed OpulenZ segfault bug when it is dropped on another instrument. 2014-01-26 13:29:52 +08:00
Andrew Kelley
13917973c5 Merge pull request #161 from wongcc966422/sfxr
sfxr plugin: Reduced the volume
2014-01-25 21:03:43 -08:00
Wong Cho Ching
d4e5648dca Reduced the volume 2014-01-26 12:37:26 +08:00
Andrew Kelley
31c0f77248 fix incorrect type; makes smooth knobs actually smooth 2014-01-25 23:04:05 -05:00
Andrew Kelley
c2124fe1dd Merge pull request #159 from wongcc966422/sfxr
sfxr plugin: Added pitch support
2014-01-25 19:53:39 -08:00
Wong Cho Ching
959d5e98e6 remove debug message 2014-01-26 11:38:52 +08:00
Wong Cho Ching
12b153a275 Added pitch support: Now the pitch knob and the key being pressed have effect on the pitch produced. 2014-01-26 11:37:43 +08:00
Andrew Kelley
15aaf6f4ca add TIMEOUT 1 to git shortlog in configure script
For some reason executing git shortlog in Qt Creator cmake project
import hangs. This is a workaround so that it is still possible to
use Qt Creator without changing the normal build, in which git shortlog
will certainly complete in 1 second.
2014-01-25 22:20:34 -05:00
Andrew Kelley
186aedda93 add another mailmap entry 2014-01-25 21:54:00 -05:00
Andrew Kelley
143c801c71 add .mailmap to make git shortlog more accurate 2014-01-25 21:33:33 -05:00
Andrew Kelley
ba826e4aca clearer configure output for libsamplerate 2014-01-25 20:42:56 -05:00
Tobias Doerffel
ad554ff1e8 sfxr: fixed Win32 build
Need time.h for the time() function.
2014-01-26 02:03:29 +01:00
Tobias Doerffel
52270aebc1 MidiWinMM: adapted MIDI changes
Fixes build failure after recent API changes.
2014-01-26 01:49:33 +01:00
Tobias Doerffel
417a1566a0 LADSPA/SWH: fixed compiler warnings resulting in Win32 build failure 2014-01-26 01:48:53 +01:00
Tobias Doerffel
0063b891a8 FileDialog: add EXPORT macro
The FileDialog class is used by plugins and therefore needs to be exported
for platforms like Win32.
2014-01-26 01:48:15 +01:00
Tobias Doerffel
94f991848e RemoteVstPlugin: adapted MIDI changes
Fixes build failure after recent API changes.

Closes #157.
2014-01-26 01:47:29 +01:00
Tobias Doerffel
519a29e608 SampleBuffer: define OV_EXCLUDE_STATIC_CALLBACKS
Define OV_EXCLUDE_STATIC_CALLBACKS in order to suppress compiler warnings
about unused static instances when building Win32 version.
2014-01-26 01:18:19 +01:00
Tobias Doerffel
049951438a Do not pass default time to processInEvent()
We introduced default parameters for MidiTime parameters so there's no
need to construct them manually.
2014-01-26 01:15:43 +01:00
Tobias Doerffel
c144a2baa2 Instrument: return true in default implementation of handleMidiEvent()
Supress warnings about unhandled MIDI events e.g. on PianoView focus out
by returning true in Instrument::handleMidiEvent().
2014-01-26 01:10:18 +01:00
Tobias Doerffel
5808c8b786 NotePlayHandle: fixed minor auto replace typo 2014-01-26 00:59:12 +01:00
8tab
eb8fb3134a tap_rotspeak - cleanup 2014-01-26 00:56:30 +01:00
Tobias Doerffel
d2aab11130 InstrumentTrack: work with transposed MIDI event and key in processOutEvent()
In processOutEvent() initialize and use a MidiEvent object with transposed
key as well as the key variable.
2014-01-26 00:38:23 +01:00
Tobias Doerffel
b6e4860fdb InstrumentTrack: do not set state of piano in processInEvent()
As processInEvent() is responsible for starting/stopping notes, we do
not have to set the state of the piano. This is done in processOutEvents()
already.
2014-01-26 00:33:51 +01:00
Tobias Doerffel
1fddc81c04 InstrumentTrack: removed option for disabling activity indicators
Probably never used by anyone and just makes code unneccessarily complex.
2014-01-26 00:25:32 +01:00
Tobias Doerffel
7d395c00fa InstrumentTrack: removed option for disabling PianoView visual feedback
Probably never used by anyone and just makes code unneccessarily complex.
2014-01-26 00:19:16 +01:00
Tobias Doerffel
3a827f061f Reworked MIDI event handling in InstrumentTrack and renamed MIDI classes
The MIDI event handling in InstrumentTrack was complex and buggy. It has
been simplified now such that processInEvent() tries to handle note on,
note off and key pressure events. The actions taken should result in
equivalent calls to processOutEvent() by NotePlayHandle instances. The
processOutEvent() function sends according MIDI events to the attached
instruments. All unhandled MIDI events are directly forwarded to the
instrument in processInEvent().

It's possible that some corner-cases are not handled yet with the new code
and we have regressions now.

Furthermore renamed midiTime/midiEvent to MidiTime/MidiEvent to match
coding style.

Closes #72.
2014-01-26 00:08:12 +01:00
Tobias Doerffel
790266f0c1 Merge pull request #154 from softrabbit/stable-0.4
OpulenZ improvements: pitch bend, velocity, aftertouch
2014-01-25 14:32:26 -08:00
8tab
3dad5f2940 fixed code formatting 2014-01-25 21:31:55 +01:00
8tab
592adf19e1 fixed some errors from static analyzer 2014-01-25 21:04:07 +01:00
8tab
3f41759677 gitignore updated 2014-01-25 21:04:07 +01:00
8tab
b1ec5e1b6c more warnings 2014-01-25 21:04:06 +01:00
Tobias Doerffel
1f35143927 Fader: fixed drawing of peaks
As the fader background graphics recently have changed, the code for
drawing the peaks had to be fixed as well.
2014-01-25 20:49:02 +01:00
Raine M. Ekman
2116cf840b OpulenZ: Velocity works OK now. 2014-01-25 21:48:24 +02:00
Raine M. Ekman
46a38b7245 Merge https://github.com/LMMS/lmms into stable-0.4 2014-01-25 21:43:43 +02:00
Tobias Doerffel
fa0201ffd7 AUTHORS: small updates & typo fixes 2014-01-25 20:41:20 +01:00
Tobias Doerffel
7e552f92a5 Merge pull request #153 from wongcc966422/sfxr
LMMS port of sfxr
2014-01-25 11:30:16 -08:00
Wong Cho Ching
a8d7f1e4a8 added artworks 2014-01-26 03:20:21 +08:00
Tobias Doerffel
e268c4627a Merge pull request #151 from Hexasoft/stable-0.4
Added a vocoder LADSPA plugin into the tree.
2014-01-25 11:18:33 -08:00
Tobias Doerffel
628ec62ee8 Merge pull request #149 from diizy/stable-0.4
Final UI updates
2014-01-25 11:17:03 -08:00
Wong Cho Ching
139db3d57a Ported synth function 2014-01-26 03:13:27 +08:00
Tobias Doerffel
8b4e2fc216 Merge pull request #145 from wongcc966422/ghostPeakController
Fixes Ghost Peak Controller Bug
2014-01-25 11:13:13 -08:00
Tobias Doerffel
021b9229ad Merge pull request #143 from Lukas-W/stable-0.4
Fix a mismatched delete, update authors
2014-01-25 11:10:27 -08:00
Hexasoft
14e9694ecc Added a vocoder LADSPA plugin into the tree. 2014-01-25 17:37:05 +01:00
Vesa
dbe80e9f2b Peak controller artwork fix 2014-01-25 18:20:48 +02:00
Vesa
8a508eff27 Graphics tweaks here and there. Lots of palette adjustments, rest of the most important icons done. CPULoad widget fix to allow transparent background without glitching. 2014-01-25 17:40:21 +02:00
Vesa
84926cae4c Oscilloscope, tripleosc gfx fix 2014-01-25 17:40:21 +02:00
Vesa
485d4fc595 New Zyn plugin artwork 2014-01-25 17:40:21 +02:00
Wong Cho Ching
6cda610f48 Fixes build issue 2014-01-25 22:49:41 +08:00
Raine M. Ekman
d515c4e573 Merge https://github.com/LMMS/lmms into stable-0.4 2014-01-25 16:05:45 +02:00
Wong Cho Ching
5fb9afc15a GUI Completed. 2014-01-25 21:42:22 +08:00
Lukas W
3f26fdfbf1 Update AUTHORS: Add Lukas W [skip ci]
Adding myself to the author list somehow feels awkward.
2014-01-25 14:42:03 +01:00
Lukas W
4d306c3855 Fix mismatched delete
delete was called on memory allocated with malloc() which results in
undefined behaviour. Fixed by using free() instead of delete.
2014-01-25 14:40:09 +01:00
eagles051387
304f36fac8 Merge pull request #140 from eagles051387/stable-0.4
Updating Authors file with new contributors
2014-01-25 05:34:33 -08:00
Jonathan Aquilina
cbc5fb56c9 Updating Authors file with new contributors 2014-01-25 13:44:45 +01:00
Wong Cho Ching
5ffc36ea68 Copied readme file and make it compile 2014-01-25 11:45:55 +08:00
Wong Cho Ching
f34be7bf16 Create dummy files 2014-01-25 11:34:41 +08:00
Tobias Doerffel
89f5359ddc Merge pull request #138 from grejppi/stable-0.4-rdudr
another new demo song
2014-01-24 16:36:16 -08:00
Tobias Doerffel
e95d32ed67 Merge pull request #137 from Lukas-W/stable-0.4-iss130
Issue #130: Controllers Naming: Prevent duplicate names
2014-01-24 16:34:45 -08:00
Tobias Doerffel
ec45c381c3 Renamed instrument function classes and instances
Arpeggiator got InstrumentFunctionArpeggio and ChordCreator got
InstrumentFunctionNoteStacking. All related views and instances have
been renamed for better consistency.
2014-01-25 01:27:28 +01:00
Hannu Haahti
dc63bb28fd added a demo song and reorganized LICENSES.TXT alphabetically 2014-01-25 02:11:57 +02:00
Tobias Doerffel
c6b7ccd9f7 InstrumentFunctionViews: manage widgets using layouts 2014-01-25 01:10:47 +01:00
Tobias Doerffel
730ba403cd TempoSyncKnob, Knob: allow construction without parent 2014-01-25 01:10:25 +01:00
Tobias Doerffel
ddf63cb924 ComboBox: added sizeHint() + coding style 2014-01-25 01:10:09 +01:00
Tobias Doerffel
c12afd53d5 FileDialog: added music folder and working directory to sidebar 2014-01-25 00:05:16 +01:00
Tobias Doerffel
7b4aaa6dfa Merge pull request #98 from Lukas-W/stable-0.4-iss90
Update file open/save dialogs
2014-01-24 14:56:23 -08:00
Tobias Doerffel
84b3c5b8df Merge pull request #127 from wongcc966422/LFOBitinvaderVibedCustomWaveforms
Make LFO controller, Bit Invader and Vibed accept custom waveforms
2014-01-24 14:56:04 -08:00
Tobias Doerffel
e6338c9583 Merge pull request #125 from wongcc966422/timelineDoc
Loop marker: Changed tooltip text.
2014-01-24 14:54:31 -08:00
Lukas W
2aeecda9ad Controllers Naming: Prevent duplicate names
For this, iterate through all given names and use the next name that's available.
2014-01-24 23:54:21 +01:00
Tobias Doerffel
37b6393893 Merge pull request #132 from Lukas-W/stable-0.4
Update about window
2014-01-24 14:54:03 -08:00
Tobias Doerffel
9f39867256 Merge pull request #134 from Lukas-W/stable-0.4-travis
Set build type to RelWithDebInfo
2014-01-24 14:53:28 -08:00
Tobias Doerffel
2567dab873 Merge pull request #135 from Lukas-W/stable-0.4-iss106
Plugin browser: Sort plugins by display name
2014-01-24 14:51:12 -08:00
Tobias Doerffel
f0b4ec7120 Merge pull request #136 from unfa/stable-0.4
Added unfa-Static.mmpz to /data/projects/CoolSongs and updatet LICENSES....
2014-01-24 14:50:29 -08:00
unfa
5dd38f0685 Added unfa-Static.mmpz to /data/projects/CoolSongs and updatet LICENSES.txt file there. 2014-01-24 22:42:39 +01:00
Lukas W
4200662e98 Plugin browser: Sort plugins by display name 2014-01-24 22:38:11 +01:00
Lukas W
ac54fcdac2 Fix some warnings 2014-01-24 22:04:37 +01:00
Raine M. Ekman
67382654eb OpulenZ: added velocity & aftertouch, cleaned up some unneeded code 2014-01-24 22:37:36 +02:00
Lukas W
b1835c99d3 Travis: Set build mode to RelWithDebInfo
This may lead to build errors, as variables that are only used in asserts
will get optimized out and because of -Werror being set (unused variables).
2014-01-24 20:02:11 +01:00
Lukas W
da65f629e2 #67: Add list of all committers to about window 2014-01-24 19:28:18 +01:00
Lukas W
e94cec5ffc About window: Update copyright year to 2014 2014-01-24 19:28:18 +01:00
Lukas W
453290f1b9 About window: Make homepage link clickable 2014-01-24 19:28:18 +01:00
Wong Cho Ching
b7e6200433 Fixes Ghost Peak Controller Bug https://github.com/LMMS/lmms/issues/115 2014-01-25 01:56:44 +08:00
Raine M. Ekman
fc23839f6c Merge https://github.com/LMMS/lmms into stable-0.4 2014-01-24 17:49:03 +02:00
Raine M. Ekman
842d4ee74c Merge https://github.com/LMMS/lmms into stable-0.4
Conflicts:
	plugins/opl2/opl2instrument.cpp
2014-01-24 17:48:26 +02:00
Wong Cho Ching
9237a1d015 Tooltip: Changed tooltip text of LFOControllDialog of custom waveform 2014-01-24 23:10:18 +08:00
Wong Cho Ching
c45aafc748 Make LFO controller accept custom waveforms 2014-01-24 22:55:32 +08:00
Lukas W
84a6d0bf02 Add "Save as new version" action to project menu
Use Shortcut Ctrl+Alt+S. Part of issue #86
2014-01-24 15:45:13 +01:00
Lukas W
5c186eba0e Add new class VersionedSaveDialog
A file save dialog (inherits FileDialog) that provides buttons to
increment or decrement a version which is appended to the file name.
(e.g. "MyProject-01.mmpz")
2014-01-24 15:37:41 +01:00
Lukas W
2e7bfe17e6 Update code to use FileInfo instead of QFileInfo
Also removed all blocks similar to
```
#if QT_VERSION >= 0x040806
	filedialog.setOption( QFileDialog::DontUseCustomDirectoryIcons );
#endif
```
as this now takes place in the new subclass's constructor.
2014-01-24 15:37:41 +01:00
Lukas W
0bbfd907ae MainWindow: Moved FileDialog to own subclass 2014-01-24 15:37:26 +01:00
wongcc966422
b136eee573 Update timeline.cpp 2014-01-24 19:26:34 +08:00
Wong Cho Ching
3b8214bab8 Loop marker: Changed tooltip text. 2014-01-24 18:39:00 +08:00
Tobias Doerffel
9435cfd8b8 Merge pull request #122 from diizy/stable-0.4
Some UI stuff
2014-01-24 01:42:07 -08:00
Vesa
772491b9fb Revert knob dots, make knob arc use palette, remove bb-editor image... bye bye TR-808 :( 2014-01-24 01:58:51 +02:00
Vesa
34d67da5a1 Knob dots by Tobiasz 2014-01-24 01:23:26 +02:00
Tobias Doerffel
39922df115 EnvelopeAndLfoParameters: added center values for amount models 2014-01-24 00:16:32 +01:00
Tobias Doerffel
7c1baa016f Knob: draw arc + arc background for all unstyled knobs 2014-01-24 00:16:02 +01:00
Tobias Doerffel
e9347ade61 InstrumentTrack: set center values for pitch and panning 2014-01-23 23:36:32 +01:00
Tobias Doerffel
f2bfa3b4d2 Knob: draw arc around knob
Initial work on improved knob usability by drawing an arc around knob
indicating current state as well.
2014-01-23 23:35:44 +01:00
Tobias Doerffel
5540a356f7 AutomatableModel: added centerValue property
The optional centerValue property can be used by views to display the
center somehow. It defaults to minimum value.
2014-01-23 23:35:26 +01:00
Tobias Doerffel
4e69e05a7d Integrated new splash screen
Also removed ugly code for displaying translucent splash images.
2014-01-23 22:33:34 +01:00
Tobias Doerffel
a701b5f8f3 Merge pull request #114 from diizy/stable-0.4
Graphics update
2014-01-23 11:16:29 -08:00
Vesa
5ed8491c66 Icons. 2014-01-23 21:14:19 +02:00
Vesa
51fd06b837 More icons 2014-01-23 21:14:19 +02:00
Vesa
56bd9d300f Stylesheet, wrench icon, 3osc logo 2014-01-23 21:14:19 +02:00
Tobias Doerffel
df650c6298 Merge pull request #111 from grejppi/stable-0.4-pitchautomation
Increase detuning interval to 0.5 semitones
2014-01-23 10:59:07 -08:00
Andrew Kelley
f9c0f63bff add -Wno-strict-compare. closes #112 2014-01-23 13:56:28 -05:00
Hannu Haahti
e453b38d02 increase detuning interval to 0.5 semitones 2014-01-23 19:21:10 +02:00
Tobias Doerffel
031b93d830 Merge pull request #102 from LMMS/warnings
fix all warnings and add -Werror
2014-01-23 00:36:34 -08:00
Tobias Doerffel
243c441b6b Merge pull request #108 from groboclown/stable-0.4
Add "stutter" capability to the audio file processor.
2014-01-23 00:34:48 -08:00
Andrew Kelley
52d4f0fd3f fix all warnings and add -Werror 2014-01-22 22:09:36 -05:00
groboclown
b7b361414a Add "stutter" capability to the audio file processor. 2014-01-22 20:05:10 -06:00
Tobias Doerffel
3a53473d10 Timeline: use right click + shift to move left loop point
Moving the left loop point is now possible using right click + shift
instead of the middle mouse button (which is difficult on laptops).

Furthermore some coding style improvements.

Closes #81.
2014-01-22 23:15:53 +01:00
Tobias Doerffel
12149d5089 LedCheckBox: fixed label alignment
After switching to wide rectangular LED pixmaps and increasing the font
size we need to adjust aligment of label.
2014-01-22 23:02:51 +01:00
Tobias Doerffel
8ecaef1f30 InstrumentSoundShapingView: shorter label for filter frequency knob 2014-01-22 22:57:29 +01:00
Tobias Doerffel
68fd7edfd8 InstrumentTrack: shorter label for FX channel spinbox 2014-01-22 22:57:19 +01:00
Tobias Doerffel
aaad405f99 UI: increased font sizes
As texts were not readable on high resolution screens the font size for
many widgets has been changed.

Closes #82.
2014-01-22 22:55:20 +01:00
Tobias Doerffel
27fab982ec Merge pull request #104 from diizy/stable-0.4
Lots of UI stuff again
2014-01-22 13:09:20 -08:00
Tobias Doerffel
c8eccff4cd Merge pull request #103 from JohannesLorenz/stable-0.4
Fixes and improvements for FR 144 (SF version). Tested and working.
2014-01-22 13:05:07 -08:00
Tobias Doerffel
4ca85d8d87 AudioJack: replaced old Uint32 type 2014-01-22 22:03:56 +01:00
Tobias Doerffel
2dc02001b7 Instrument: also render sound for MIDI-based instruments when muted
In order to provide smooth muting functionality (i.e. immediate proper
sound when unmuting) always render audio buffers for MIDI-based
instruments. This is more important than potentially reduced CPU usage
while muted.

Closes #69.
2014-01-22 21:55:33 +01:00
Vesa
322e44f907 More new icons, triple osc artwork, scrollbars, etc. 2014-01-22 22:36:55 +02:00
Vesa
8a5e0ede01 More artwork updates. New LCD numbers, triple osc artwork, lots of icons, some colour changes. 2014-01-22 22:36:55 +02:00
Raine M. Ekman
9a9a867e7d Added pitch bend 2014-01-22 20:57:02 +02:00
Raine M. Ekman
110a5d85d6 Merge https://github.com/LMMS/lmms into stable-0.4
Conflicts:
	plugins/opl2/logo.png
2014-01-22 20:55:39 +02:00
Tobias Doerffel
3ff6d8499a Organic: fixed tooltips for knobs that do not need a unit
For some knobs it doesn't make sense to use a percentage sign as unit.

Thanks to Tobiasz Karoń for pointing out this issue.
2014-01-22 18:35:58 +01:00
Tobias Doerffel
42cc2fd18c Merge pull request #99 from Lukas-W/stable-0.4
Add Markdown Readme for display on GitHub
2014-01-22 09:07:02 -08:00
Lukas W
eadc829a2d Add Markdown Readme for display on GitHub [skip ci] 2014-01-22 17:54:37 +01:00
Lukas W
f073c6d11b Added two standard paths to file open/save dialog
In particular Desktop and Downloads have been added.
Also introduced a new function to create a file dialog
in order to prevent code duplication.
2014-01-22 17:52:02 +01:00
Johannes Lorenz
ebc111e7f7 Fixes and improvements for FR 144 (SF version). Tested and working. 2014-01-22 16:25:54 +01:00
Tobias Doerffel
03ab3a3b7d Merge pull request #77 from LMMS/smooth-knob
UI: smoother knobs
2014-01-21 15:19:40 -08:00
Tobias Doerffel
a6b3f2a123 ZynAddSubFX: fixed logical error
Fixed logical nonsense reported when compiling with -Wlogical-op

Closes #80.
2014-01-22 00:11:12 +01:00
Tobias Doerffel
b1a47db7d8 CMakeLists.txt: fixed shortcut names generated by NSIS installer
Use "LMMS" instead of "Linux MultiMedia Studio" as shortcut name. This
allows to search for LMMS in the start menu on Win32.

Closes #88.
2014-01-21 23:09:15 +01:00
Tobias Doerffel
d9203b2cbc PianoRoll: increase start key by one octave
When opening the Piano Roll for the first time and clicking on "A", you
would expect the same note that is previewed in the preview pane (A5),
but it is instead one octave lower (A4).

Fixed this by adusting INITIAL_START_KEY.

Closes #94.
2014-01-21 23:07:25 +01:00
Andrew Kelley
bd16700dd9 Merge pull request #95 from Lukas-W/stable-0.4-travis
Update .travis.yml: Install g++-multilib for VST
2014-01-21 12:19:26 -08:00
Lukas W
17ba5caeef Update .travis.yml: Install g++-multilib for VST 2014-01-21 20:29:42 +01:00
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
Tobias Doerffel
6920de4f61 Merge pull request #79 from diizy/stable-0.4
More graphics
2014-01-21 09:07:00 -08:00
Tobias Doerffel
533bf39073 Merge pull request #93 from Lukas-W/stable-0.4-travis
Add .travis.yml for continuous integration
2014-01-21 09:05:41 -08:00
Lukas W
5b810474f9 Add .travis.yml for continuous integration 2014-01-21 18:01:41 +01:00
Vesa
4e7522194c Applying new colour palette 2014-01-21 17:38:05 +02:00
Vesa
ec65319869 gfx fixes 2014-01-21 14:59:45 +02:00
Vesa
db84c38cc9 More artwork updates 2014-01-21 11:16:55 +02:00
Vesa
53d3961647 New gfx for fx panel 2014-01-21 11:16:55 +02:00
Tobias Doerffel
419da0715b PeakControllerEffectControlDialog: fixed layouts 2014-01-21 00:11:30 +01:00
Andrew Kelley
15e85494bd UI: smoother knobs
This updates knobs to feel smoother and allow the user to have finer
control over the value of the knob by multiplying the mouse drag delta
by a smoothness factor.

Also since it is significantly easier to point the knob where you want
it, I removed the magnet effect. This can easily be put back in; try it
out and see what you think.
2014-01-20 18:04:50 -05:00
Andrew Kelley
9e5ed88d25 add CMakeLists.txt.user to .gitignore
This file is generated if you edit lmms with Qt Creator.
2014-01-20 18:03:57 -05:00
Tobias Doerffel
11e3e2b3a1 Default style: do not add extra borders and backgrounds to FX chain
The FX chain background should look consistently and not change with
various numbers of inserted effects. Also IMHO we don't need extra
frames here. The drop shadow for the effects should be fixed as well.
2014-01-20 23:58:44 +01: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
Vesa
fc61899c43 Slight colour tweak! 2014-01-21 00:37:27 +02:00
Tobias Doerffel
2bc8d12826 NotePlayHandle: only use detuning automation if it exists at all 2014-01-20 23:37:20 +01:00
Tobias Doerffel
80b8e91fd1 InlineAutomation: improved hasAutomation()
Pprevent saving inline automation if there's just one value which equals
value of model which is going to be saved anyways.
2014-01-20 23:34:46 +01:00
Tobias Doerffel
1aea884821 AutomationPattern: coding style 2014-01-20 23:31:34 +01:00
Vesa
8c881bb928 Layout & bg artwork for peak controller, matching bg artwork for lfo controller & bass booster 2014-01-21 00:28:37 +02: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
Tobias Doerffel
1a99ed8e2f AutomatableModel: added isAtInitValue() 2014-01-20 23:05:45 +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
7644d2c559 Revert "Revert "Extensions for peak controller. Fulfills request 144.""
Now that we solved the problem with wrong default values in newly
introduced models when loading older projects we can safely implement
the new PeakController features.

This reverts commit 9cb52ccf0d.
2014-01-20 21:28:10 +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
Tobias Doerffel
91a98d07da Merge pull request #63 from Lukas-W/stable-0.4
Fix for #42: Make search path for plugins relative
2014-01-19 02:55:10 -08:00
Vesa
589a435b81 Fix lb302 text (Umcaruje) 2014-01-19 09:52:47 +02:00
Vesa
502e1f4bd7 LB302 artwork, tweaks to transport icons 2014-01-19 01:11:57 +02: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
Tobias Doerffel
e2575fe0fe Merge pull request #58 from bhattigurjot/stable-0.4
[Patch] Save solo states for tracks
2014-01-18 08:41:23 -08: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
c894e0f68a LB302 artwork, OPL2 logo 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
9cb52ccf0d Revert "Extensions for peak controller. Fulfills request 144."
The change breaks existing projects that use PeakController (i.e. they
sound completely different which is not acceptable) as there's no sane
default value for the new amount multiply model (why do we need it at all
BTW instead of just advancing the range of the existing amount model?) and
the changed math results in calculation of completely different RMS values.

This reverts commit 5e8dbb6157.
2014-01-18 14:01:26 +01: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
Tobias Doerffel
68177a1fdc Vestige: remove additional compile flag
The git logs do not indicate why we need to set _FORTIFY_SOURCE, therefore
remove it in order to fix a compiler warning.
2014-01-18 11:56:49 +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
e65fe4b323 ZynAddSubFX/CMakeLists: fix Freetype2 detection for older versions 2014-01-18 11:52:40 +01: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
Tobias Doerffel
b10a254d12 VstBase: workaround for broken wineg++ in WINE 1.4 2014-01-18 11:33:28 +01:00
Tobias Doerffel
04602c93de CMakeLists: remove SVN cleanup from dist target
Fixes CMake warning as well.
2014-01-18 09:22:16 +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
Tobias Doerffel
c521b2865e VstPlugin: use regular int for version property 2014-01-18 02:13:42 +01:00
Tobias Doerffel
a356fadb5b RemoteVstPlugin: use intptr_t for X11 window ID 2014-01-18 02:13:37 +01:00
tobydox
2f9ddeffd0 Merge pull request #53 from JohannesLorenz/stable-0.4
Extensions for peak controller. Fulfills request 144.
2014-01-17 16:42:51 -08:00
Raine M. Ekman
ce6dc80c9e OpulenZ: new logo, some refactoring. 2014-01-17 23:21:54 +02:00
Johannes Lorenz
5e8dbb6157 Extensions for peak controller. Fulfills request 144. 2014-01-17 20:47:03 +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
12939c24df InstrumentTrack: set range of FX channel model to infinite when loading settings
When loading a project, instrument tracks usually are instantiated/loaded
before the FX mixer settings are loaded which results in an empty FX mixer
and thus 0 FX channels. The actual FX channel value for the instrument track
would be lost that way. Therefore set a big value which is being corrected
later by the FxMixerView for all instruments.
2014-01-17 20:01:24 +01:00
Tobias Doerffel
c868d691ab Merge branch 'stable-0.4' into stable-0.4-new-fx-mixer
Conflicts:
	src/core/FxMixer.cpp
	src/gui/FxMixerView.cpp
2014-01-17 19:56:51 +01:00
Tobias Doerffel
dddf5eb61c FxMixer: ignore mute state in addChannelLeaf() to fix lockup
Even if we do not process the FX chain later, we at least have to enqueue
all related FX channels to the job queue in order to prevent a lockup.
2014-01-17 19:53:05 +01: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
Paul Giblock
218f478909 Merge pull request #45 from grejppi/stable-0.4-pianorollresize
Prevent piano roll window from being resized to 0px height
2014-01-17 07:47:00 -08: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
tobydox
6d0c54443b Merge pull request #41 from grejppi/stable-0.4-pitchautomation
WIP: Pitch automation improvements in Piano Roll
2014-01-17 01:32:16 -08: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
Hannu Haahti
a183fb2504 pitch automation in piano roll doesn't require first point to be 0 2014-01-17 09:49:35 +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
Tobias Doerffel
abc3c8080f Merge branch 'stable-0.4' into stable-0.4-new-fx-mixer 2014-01-16 23:08:04 +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
e7c24767bb Merge pull request #37 from Lukas-W/stable-0.4
ZynAddSubFX/FLTK: The last freetype fix, I promise.
2014-01-16 14:05:50 -08:00
Lukas W
79b31a9926 ZynAddSubFX/FLTK: The last freetype fix, I promise.
Using FREETYPE_INCLUDE_DIRS turned out to break the build as it is a list consisting of two paths.
During configuring, the list is then concatenated to "path1 path2". This makes cmake to think of the second path as the directory to configure.
Fixed by manually concatenating the strings with a ";" character.
2014-01-16 19:21:13 +01:00
Tobias Doerffel
ee9160c024 Merge branch 'stable-0.4' into stable-0.4-new-fx-mixer 2014-01-16 18:25:39 +01: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
tobydox
7f604dfd52 Merge pull request #36 from Lukas-W/stable-0.4
ZynAddSubFX/FLTK: Yet another fix for finding freetype
2014-01-16 09:07:56 -08:00
Lukas W
3a456cd1e3 ZynAddSubFX/FLTK: Yet another fix for finding freetype
Revert changes of commit 17babf6abc as commit 26665dde55 was complete indeed regarding the FIND_PACKAGE statement.
Add REQUIRED statement to FIND_PACKAGE(Freetype)
Use FREETYPE_INCLUDE_DIRS instead of FREETYPE_INCLUDE_DIR_freetype2 or FREETYPE_INCLUDE_DIR_ft2build
2014-01-16 17:55:55 +01: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
tobydox
c57664d6a8 Merge pull request #33 from grejppi/stable-0.4-pianorollsegfaultfix
fixed segfault in piano roll when no pattern is open
2014-01-16 06:26:13 -08:00
Hannu Haahti
4f0a73e9fa fixed segfault in piano roll when no pattern is open 2014-01-16 16:20:48 +02:00
Raine M. Ekman
a482c8101c Merge pull request #1 from LMMS/stable-0.4
pulling changes
2014-01-16 06:13:00 -08:00
tobydox
302a04f0ef Merge pull request #31 from grejppi/stable-0.4-displaywaveform
config option to enable waveform display by default
2014-01-16 04:58:48 -08:00
tobydox
f37e69a383 Merge pull request #30 from softrabbit/stable-0.4
PianoRoll: fix odd time signature issues (bugs 274 and 172 at SF)
2014-01-16 04:58:13 -08:00
Hannu Haahti
9fc64418bd config option to enable waveform display by default 2014-01-16 12:01:35 +02:00
Raine M. Ekman
50a49c52fe PianoRoll: fix odd time signature issues (bugs #274 and #172 at Sourceforge) 2014-01-16 07:55:54 +02:00
Tobias Doerffel
b4030478c3 AutomatableModelView: adopted new coding style 2014-01-16 00:01:47 +01:00
Tobias Doerffel
17c1ede50c AutomatableModelView/ContextMenu: option for unlinking all controls
Integrated patch by Rodrigo Rodrigues da Silva which adds an option
to all AutomatableModelView's context menu allowing to unlink all
linked controls.
2014-01-15 23:50:13 +01:00
Tobias Doerffel
17babf6abc ZynAddSubFX/FLTK: fixed detection of freetype2 include path once more
Commit 26665dde55 was not complete as we have
to find the Freetype package and also look for freetype2 include path.
2014-01-15 23:11:59 +01:00
Tobias Doerffel
6993eda404 Merge branch 'stable-0.4' into stable-0.4-new-fx-mixer
Conflicts:
	src/gui/FxMixerView.cpp
2014-01-15 22:59:49 +01:00
tobydox
4728fb425a Merge pull request #25 from diizy/stable-0.4-new-fx-mixer
Ported the FX mixer UI changes from stable-0.4
2014-01-15 13:20:21 -08:00
Vesa
037b977137 Ported the FX mixer UI changes from stable-0.4 2014-01-15 21:51:35 +02:00
tobydox
8e165bdbcf Merge pull request #24 from diizy/stable-0.4
Merge for now and let's fix things later.
2014-01-15 10:29:03 -08:00
Vesa
7d534eaabc Fixed typo :P 2014-01-15 20:24:08 +02:00
Vesa
cf2fb230a2 Stylesheet changes, added palette customizability, fx mixer obeys palette, etc... 2014-01-15 20:08:33 +02:00
tobydox
14e6b71150 Merge pull request #22 from Lukas-W/stable-0.4
Fix build problems: Find wine and freetype headers
2014-01-15 08:58:54 -08:00
Lukas W
22ca7acb81 Add FindWine module and use it in main CMakeLists.txt
Old CheckLibraryExists implementation didn't work on my system.
A find module should be better and also easier to maintain.
2014-01-15 17:17:29 +01:00
Lukas W
26665dde55 ZynAddSubFx: Fixed fltk not finding freetype header files.
In cases where the freetype headers are not in /usr/include, fltk wouldn't find ft2build.h.
2014-01-15 15:56:06 +01:00
Vesa
1b8e2b003b New led graphics, initial style sheet changes (work still in progress), other theme changes 2014-01-15 11:45:46 +02:00
Vesa
00346d5ec1 Final tweaks to SF2 artwork (based on feedback), moved chorus & reverb buttons a bit to fit them better with new artwork 2014-01-15 11:45:46 +02:00
Vesa
2b336d6cf4 New SF2 plugin artwork 2014-01-15 11:45:46 +02:00
Tobias Doerffel
31e712a675 PianoRoll: fixed typo leading to big white key at wrong position when pressed 2014-01-14 23:36:27 +01:00
Tobias Doerffel
df76921226 PianoRoll: always use the PianoModel for note on/off + other improvements 2014-01-14 23:34:49 +01:00
Tobias Doerffel
8c8763721c Piano: added optional velocity argument to handleKeyPress() 2014-01-14 23:34:03 +01:00
Tobias Doerffel
7dfaf2d44b Added volumeToMidi() helper function 2014-01-14 23:33:49 +01:00
Tobias Doerffel
7e4db63de5 PianoRoll: coding style improvements 2014-01-14 23:19:37 +01:00
Tobias Doerffel
c40b8350ef Piano: refactored class to be usable without friend classes 2014-01-14 23:12:43 +01:00
tobydox
340789c191 Merge pull request #17 from bhattigurjot/stable-0.4
PianoRoll: added support for pressed keys
2014-01-14 13:52:46 -08:00
Tobias Doerffel
dbb4a8e6ab FxMixerView: fixed clear()
Before calling refreshDisplay() we have to actually clear the backend model.
2014-01-14 18:18:59 +01:00
Tobias Doerffel
27b51c2508 Song: added missing refresh of FxMixerView when loading project
Missed this call when backporting.
2014-01-14 18:17:51 +01:00
Tobias Doerffel
5b480dd898 FxMixer: rewrote loop for adjusting FX channel models in deleteChannel() 2014-01-14 18:04:51 +01:00
Tobias Doerffel
af693c562c Merge branch 'stable-0.4' into stable-0.4-new-fx-mixer 2014-01-14 18:02:13 +01:00
Tobias Doerffel
9a7ad0264f SampleBuffer, SamplePlayHandle, SampleRecordHandle, SampleTrack: new coding style
Renamed file and class names.
2014-01-14 18:01:14 +01:00
Tobias Doerffel
4e5507a30a TrackContainer, TrackContainerView: adopted coding style
Renamed file and class names.
2014-01-14 17:39:02 +01:00
Gurjot Singh
61ac073cc2 Merge branch 'stable-0.4' of https://github.com/bhattigurjot/lmms into stable-0.4 2014-01-14 22:02:50 +05:30
Gurjot Singh
d4a2e33bf5 adds piano_roll key presses 2014-01-14 21:58:43 +05:30
tobydox
7105c8ac90 Merge pull request #14 from diizy/fix32
SampleBuffer: fix import of 32-bit floating point samples
2014-01-14 00:30:39 -08:00
Vesa
79119149ef Fix import of 32-bit floating point samples 2014-01-14 03:32:33 +02:00
Tobias Doerffel
39f904117f DetectMachine.cmake: do not use lib64 as LIB_DIR anymore
Installing to $prefix/lib64 is not usual anymore and thus we change it here
to just install all libraries to $prefix/lib.
2014-01-12 18:20:32 +01:00
Tobias Doerffel
fc7cd1bd40 Song: use Kicker as default instrument in B+B-Editor
Using TripleOscillator as default instrument in B+B-Editor doesn't
make much sense so use Kicker instead.
2014-01-12 15:36:06 +01:00
Tobias Doerffel
e8190dc01e Merge remote-tracking branch 'ranft/notelabels-2' into stable-0.4 2014-01-09 23:23:34 +01:00
Tobias Doerffel
a955fb755a FxMixer, Mixer, FxMixerView: backported FX send support from master branch
There once have been huge efforts to implement FX send support in the
master branch. In order to make it available on a stable base here's
a backport which is non-trivial as there have been major rewrites of
the mixer's worker thread architecture.

There still seem to be bugs which we have to fix before merging into
stable branch.

Thanks to Andrew Kelley for the original work.
2014-01-08 23:21:41 +01:00
Tobias Doerffel
0ff1f91c1b Mixer: renamed class and file name
The mixer class is now named "Mixer" and accessible via engine::mixer().
2014-01-08 22:35:14 +01:00
Tobias Doerffel
40290117ff Song: fixed tracking of elapsed milliseconds
After merging play/pause button corrections there are a few other places
where we have to take care of m_elapsedMilliseconds.
2014-01-08 22:07:25 +01:00
Tobias Doerffel
9f35042e3e Mixer: use MixHelpers for mixing buffers of AudioPort 2014-01-08 22:01:33 +01:00
Tobias Doerffel
4a99b953b5 MixHelpers: helper functions for mixing buffers
Introduced central helper functions for mixing buffers in order to
reduce local loops all around LMMS.
2014-01-08 21:58:03 +01:00
Tobias Doerffel
6f7b6978bd FxMixerView: use LcdWidget for FX lines
We only need to display numbers in LCD style, therefore use new LcdWidget
class instead of LcdSpinBox.

Fixes display problems introduced in commit f568a81c7a.

Thanks to Vesa for pointing out this issue.
2014-01-08 00:27:50 +01:00
Tobias Doerffel
c9ea6a559d SongEditor: do not add extra spacing
In commit a73e8636eb we introduced an extra
spacing which is not neccessary and causes layout problems.

Thanks to Vesa for pointing out this issue.
2014-01-08 00:22:42 +01:00
Tobias Doerffel
3c1e3c17b4 TimeDisplayWidget: expand all LcdWidgets to 3 digits
Most songs have more than 99 bars and in some situations also more
than 99 ticks.

Thanks to Vesa for pointing out this issue.
2014-01-08 00:20:14 +01:00
Joel Muzzerall
6249b23f1f AutomationEditor: add option for smooth lines and curves
Besides discrete automation it's now possible to setup interpolation
modes such as linear and cubic-hermite.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2014-01-08 00:08:21 +01:00
Tobias Doerffel
4f9ec51d7a JournallingObject: header cleanups
No need to include various QtCore header files anymore. Fix resulting
missing headers in some other files.
2014-01-07 23:51:31 +01:00
Tobias Doerffel
4641a8001b JournallingObject, ProjectJournal: global checkpoint management
There's no need for having each JournallingObject maintain it's own
checkpoints and build a complex (and buggy) logic in ProjectJournal
in order to manage all the JournallingObject with their checkpoints.

Instead do it the simple way: in ProjectJournal maintain a stack for
undo checkpoints and a stack for redo checkpoints. On each undo or redo
operation simply push and pop to/from the according stacks and save
and load states of the concerned JournallingObject.

This basically strips most functionality from JournallingObject. All
what's left is the management of its ID which unluckily is still
required in order to properly implement undo/redo of additions and
removals of JournallingObject.
2014-01-07 23:50:27 +01:00
Tobias Doerffel
1f203a10f9 Widgets/Knob: only restore journalling state on release of left mouse button
Do not try to restore the journalling state of the underlying model when
releasing e.g the right mouse button as this causes a crash otherwise.
2014-01-07 23:49:07 +01:00
Tobias Doerffel
d0f6eaef3b PianoRoll: initial undo/redo support
Most editing operations in PianoRoll are now tracked by the revised
journalling and thus are included in global undo/redo.
2014-01-07 23:48:48 +01:00
Tobias Doerffel
a5c3cf6a99 Revised journalling (undo/redo) to record full states instead of changes
Recording single changes of objects or their specific properties is
completely superfluous as we have full implemented state tracking in all
objects already. Therefore use SerializingObject::saveState() and
SerializingObject::restoreState() in order to implement the undo/redo
functionality.

This is just an initial commit and needs some further work (especially
regarding stability). However even things like undo/redo of
addition/removal of Tracks and TrackContentObjects do work already.
2014-01-07 23:48:09 +01:00
Tobias Doerffel
ddad2da162 Merge remote-tracking branch 'origin/next' into stable-0.4 2014-01-07 23:24:26 +01:00
Mike Choi
d82227aefb Vestige: Path to VST plugins stored as relative, if opened from default VST plugin path
Path to VST plugin will be stored as relative, if plugin is opened
from default VST plugin path. Should remain compatible with project saves
from old releases or vice versa.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2014-01-07 23:11:02 +01:00
Raine M. Ekman
440da8ba15 OpulenZ: fixed export problems 2014-01-07 23:06:47 +01:00
Tobias Doerffel
c0c10cf9d8 Merge remote-tracking branch 'origin/stable-0.4-test' into stable-0.4
Conflicts:
	include/song.h
	src/core/song.cpp
2014-01-07 23:04:21 +01:00
Raine M. Ekman
8fa4866ff8 Added OpulenZ, an FM synth for LMMS
Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2014-01-06 21:29:13 +01:00
Tobias Doerffel
90024c3699 LcdWidget: decreased spacing between text label and LCD label 2014-01-06 21:18:20 +01:00
Tobias Doerffel
a73e8636eb SongEditor: integrated new TimeDisplayWidget 2014-01-06 21:17:48 +01:00
Tobias Doerffel
8a4440936c TimeDisplayWidget: new widget for displaying current playback time
This new widget displays current playback times in LCD style. An initial
basic implementation has been provided by by Rubén Ibarra Pastor.
2014-01-06 21:15:28 +01:00
Tobias Doerffel
5cc2483958 Song: added functions to maintain playback time information
We now also maintain information about playback time in order to display
it later.

Most of the code provided by Rubén Ibarra Pastor <pastorrub/at/msn/dot/com>.
Further improvements by Raine M. Ekman <raine/at/iki/dot/fi>.
2014-01-06 20:46:46 +01:00
Tobias Doerffel
f568a81c7a LcdSpinBox: use LcdWidget as base class
We can now use the new LcdWidget class as base class for actually
displaying our model's values.
2014-01-06 20:40:28 +01:00
Tobias Doerffel
ec6c30549a LcdWidget: new class for displaying numbers in LCD style
Code based on LcdSpinBox implementation.
2014-01-06 20:39:50 +01:00
Tobias Doerffel
5c7b32cf51 AutomatableModelView: removed deprecated setValue() helper
The setValue() helper method dates back to when we introduced model/view
separation. It's not required anymore.
2014-01-06 20:38:24 +01:00
Tobias Doerffel
f17285581d EnvelopeAndLfoView: directly alter models instead of views
Do not make use of deprecated AutomatableModelView::setValue() method
anymore and alter the models directly instead.
2014-01-06 20:36:41 +01:00
Tobias Doerffel
87cf991c32 MidiAlsaSeq: protect concurrent sequencer accesses with mutex
The ALSA sequencer interface is not reentrant and thus we can't queue
MIDI events for output from different threads (which happens with multicore
rendering as processOutEvent() is being called by individual note play
handles). We therefore have to care that we don't call the ALSA sequencer
functions concurrently.

Thanks to Benjamin Kusch for providing a testcase.

Closes #531.
2013-11-20 23:54:31 +01:00
Ruediger Ranft
dc86474589 Added an option do en/disable the note labels. 2013-10-27 17:05:18 +01:00
Ruediger Ranft
11402b49b7 Refactoring: Calculate the size of the tab widget based on the number of items. 2013-10-27 16:41:18 +01:00
Ruediger Ranft
f63600b3fe Added the drawing of the note names. 2013-10-15 20:43:29 +02:00
Tobias Doerffel
e4d18e76d5 Added Galician localization files
Thanks to Xosé <xosecalvo/at/gmail/dot/com> for the contribution!
2013-09-13 23:46:22 +02:00
Tobias Doerffel
03931e8b17 Added Progressive House preset and demo project
Preset and demo project provided as public domain by
Salehen Shovon Rahman <salehen/dot/rahman/at/gmail/dot/com>.
2013-09-13 23:07:36 +02:00
Raine M. Ekman
d43eb46d81 PianoRoll: fix crash when trying to mark octave chord 2013-09-13 22:43:20 +02:00
Tobias Doerffel
7633affa20 Use new QFileDialog::DontUseCustomDirectoryIcons flag for faster file dialogs
In Qt 4.8.6 there's a new option QFileDialog::DontUseCustomDirectoryIcons
promising much better performance when there are many folders.

Closes #511.
2013-09-13 21:29:53 +02:00
Tobias Doerffel
3fce2dd666 ZynAddSubFx: finalize controller connections in toggleUI()
As controller connections are not fully restored via
AutomatableModel::loadSettings(), a call to
ControllerConnection::finalizeConnections() is neccessary to do so.
Normally this function is called at the end when loading a project but
when the user just toggles ZASF's UI settings are saved/loaded without
finalizing connections which results in connected knobs which are not
reacting to the controller they are connected to.

Closes #544.
2013-07-25 22:22:43 +02:00
Tobias Doerffel
05f1b45ab7 Made 0.4.15 release
Bumped version number to 0.4.15 in CMakeLists.txt, README and lmms.rc.in.
2013-06-11 17:46:42 +02:00
Tobias Doerffel
7eafca807b AudioFileWave: do not use UTF-8 filenames on Windows
As libsndfile does not seem to have an UTF8-compatible implementation
on Windows we have to pass the filename as local 8 bit encoding in order
to make the file written properly.

Closes #530.
2013-06-11 16:29:58 +02:00
Tobias Doerffel
0aaed00cc1 AutomationPattern: initialize with current value of first object
When attaching a control object to an AutomationPattern initialize the
value at position 0 with the current value of the control object.

This is similiar to the behaviour found in LMMS < 0.4.14 and has been
reintroduced as requested by some users.

Closes #535.
2013-06-11 14:50:51 +02:00
Tobias Doerffel
f83b9b04a3 AutomationPattern: removed unused member variable
The variable m_hasAutomation is not required anymore and thus can be
dropped.
2013-06-11 14:50:27 +02:00
Tobias Doerffel
005f2dde50 InstrumentFunctions/ChordCreator: fixed major pentatonic
The last key of the major pentatonic chord was wrong and has been fixed.

Thanks to Mike804 for reporting the issue.

Closes #538.
2013-06-11 13:48:58 +02:00
Tobias Doerffel
d4478461a3 AudioFileOgg: test for properly opened output file
Do not pretend things gone right if output file could not be opened
for some reason.

Closes #539.
2013-06-11 13:38:07 +02:00
Tobias Doerffel
4bdc94c608 AudioFileWave: test for properly opened output file
Do not pretend things gone right if output file could not be opened
for some reason.

Closes #539.
2013-06-11 13:37:07 +02:00
Tobias Doerffel
44c37775a4 Sf2Player: preserve custom track name when loading settings
Commit a184bc039e introduced a regression
which causes a custom track name not being preserved when loading
setings.

Closes #534.
2013-06-11 13:25:18 +02:00
Raine M. Ekman
8e2ec9e48f AudioFileProcessor: Make AFP cursor configurable
Add possibility to turn off playback cursor in AFP. Might be good
for weaker systems.

Closes Patch #40.
2013-06-11 13:19:00 +02:00
Raine M. Ekman
0f3851d597 AudioFileProcessor: fix crash with reversed samples
AudioFileProcessorWaveView::slideSampleByFrames() gets called before the
knobs are created and/or after they are destroyed if the sample is
reversed. Added checks for nonexistant knobs.

Closes Patch #41 and Bug #525.
2013-06-11 13:18:05 +02:00
Tobias Doerffel
e29de773b3 InstrumentTrack: fix freeze when forwarding MIDI events to instrument
In commit a3abcdb2e0 we introduced
multitimbral MIDI support. However the new code path causes the mixer
not being unlocked at exit and thus causes a freeze of LMMS.

Thanks to nuio for pointing out this issue and providing a patch.

Closes #532.
2013-05-01 21:51:37 +02:00
Paul Giblock
bedba617f4 Merge branch 'upgrade-preset' into next 2013-02-27 17:34:49 -05:00
Paul Giblock
b6b7cc11f5 Merge branch 'stable-0.4' into next 2013-02-27 17:34:21 -05:00
Tobias Doerffel
92ce4ad3da Made 0.4.14 release
Bumped version number to 0.4.14 in CMakeLists.txt, README and lmms.rc.in.
2013-02-27 22:29:42 +01:00
Tobias Doerffel
8bc7f8ce54 Updated chord and scale icon based on new note icons 2013-02-27 22:29:06 +01:00
Tobias Doerffel
fe35743ef0 Default theme: new graphics for note icons
Thanks to John Serafino <lzrblade/at/gmail/dot/com> for the creative work.
2013-02-27 22:13:52 +01:00
Tobias Doerffel
9268398626 AboutDialog: updated copyright year 2013-02-27 21:48:49 +01:00
Paul Giblock
867b13691d Add support for upgrading to standard output
Useful for me to initially import LMMS presets for use in lmms-lv2.
2013-02-27 15:46:48 -05:00
Paul Giblock
8bbbdacfcb Add support for upgrading presets
This is in addition to songs.  Simply use multimediaProject.  Don't
screw around with Song().  Also, needed to move creation of xml
preamble (processing instruction) due to duplicate entry when
doing a load/save.

Conflicts:
	src/core/main.cpp
2013-02-27 15:36:12 -05:00
Paul Giblock
b2dc6375b9 Update copyright date to 2013 in usage
Conflicts:
	src/core/main.cpp
2013-02-27 15:36:12 -05:00
Paul Giblock
e5b3975b12 Initialize line-drawer in AutomationEditor
Possible endless loop if these two state variables are not intialized.
Now a line will have the origin of (0,0) if drawn (shift-click) without
previously clicking on a starting spot.  Perhaps not the best fix, but
it works. And I think allowing this first line (instead of blocking it)
is better for the enabling the user to accidently discover the feature.

Conflicts:
	src/gui/AutomationEditor.cpp
2013-02-27 15:36:12 -05:00
NoiseByNorthwest
2375b7f0a0 Fixes #3604316: LMMS crashes using AudioFileProcessor
Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2013-02-27 17:30:40 +01:00
Mike Choi
50c2242caa VST sync patch: compatibility fix for 64bit builds
It seems 64bit builds for some reason have problems with VST Sync feature on,
workaround seems to be converting VST sync patch from double to floats,
which does work both with 32 and 64bit builds. Double precision
seems to produce odd numbers with 64bit build. (tested on VirtualBox Linux
Mint 14.1 64 bit OS)
(cherry picked from commit 011f87e6e60cccd16f3783e9c4885e03d95c1e56)

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2013-02-27 17:29:00 +01:00
Mike Choi
0b39426953 VST Effects: Open each effect only once, when loaded from project file
Folowing change should ensure VST effect is opened just once, once
loaded from project file.

Double opening seems to trace back to commit 184ddc4d1c
from 2006, when this VST effect save / load feature was introduced as new.

Anyway VST effect parameters seems to load corectly in
VstEffectControls::loadSettings, from project file even without double
VST effect opening.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2013-02-09 12:35:01 +01:00
Mike Choi
7084ec0be6 VST Effects: preserve effect name after LMMS project reload
This patch will set plugin name (information which is not stored with lmms
project file) according plugin file, without *.dll, when is LMMS project
loaded from the file.

Future verion could maybe use PluginBrowser or EffectSellectDialog for the
same.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2013-02-09 12:34:53 +01:00
Mike Choi
0ef2997ece VST to host sync
This patch should bring VST to host synchronization for LMMS.
 (e.g. for plugins like dBlue Glitch, TAL Filters).

Synchronization is done via shared memory, missing song time
positions are reccalculated and added to PPQ position sync values
(SHM - common input interface for sync of all VST plugins)
2013-02-09 12:33:22 +01:00
Tobias Doerffel
7682bc6ef9 Song: added h2song file extension to file import dialog
After we added the HydrogenImport plugin we should also change the
file import dialog such that the user can chose h2song files.
2013-02-09 12:29:45 +01:00
Frank Mather
0acfff036f Added HydrogenImport plugin
This is a new plugin that imports hydrogen drum machine songs.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2013-02-09 12:29:34 +01:00
Tobias Doerffel
26625b137f InstrumentTrack: do not evaluate realOutputChannel() for the time being
When deciding whether to forward a MIDI event directly to the instrument
plugin do not evaluate realOutputChannel() for the time being as it is
ranged from 0 to 15 and has no don't-care-state like the input channel.

This is a workaround - we need a better solution here.
2013-01-23 23:26:23 +01:00
Tobias Doerffel
a3abcdb2e0 InstrumentTrack: directly forward MIDI events under special circumstances
In the special case that a MIDI event comes from a MIDI port, the
instrument is MIDI based (VST plugin, Sf2Player etc.) and the user did
not set dedicated MIDI output channel, directly forward the MIDI event
to the instrument plugin so properties such as MIDI channels are kept.

Based on patch by nuio <numa_shsk/at/mail/dot/goo/dot/ne/dot/jp>, 2013-01-20
2013-01-23 23:12:04 +01:00
Tobias Doerffel
2327581da7 MidiPort: coding style fixes 2013-01-23 23:11:47 +01:00
Tobias Doerffel
8a6aecfbdc MidiPort: set fromMidiPort-flag of MidiEvent instances
This completes the functionality introduced with commit
edf93d04cb.

Based on patch by nuio <numa_shsk/at/mail/dot/goo/dot/ne/dot/jp>, 2013-01-20
2013-01-23 23:10:13 +01:00
Tobias Doerffel
edf93d04cb Midi: added new property fromMidiPort
This new property is going to signal whether a specific event comes from
a MIDI port is was generated internally.

Based on patch by nuio <numa_shsk/at/mail/dot/goo/dot/ne/dot/jp>, 2013-01-20
2013-01-23 23:08:03 +01:00
Mike Choi
c1a2c6b1fa VST effects: secure master channel freezing
Master channel keeps freezing, when VST effects are placed directly
into Master channels FxChain, on slower computers.

Provided solution prolongs VST initialisation phase, by waiting on two extra messages,
which usually follows initialisation and are possibly not yet implemented well.

IdSampleRateInformation,
IdBufferSizeInformation

This seems to prevent Master channel freezes e.g. on VST effects like Tiny-Q.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2013-01-23 22:46:16 +01:00
Mike Choi
32e9ddc6e4 VST effect control window re-design
New outlook for VST effect control window

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2013-01-23 22:45:20 +01:00
Mike Choi
1c9c76f399 VST GUI fixes, improvements
Various fixes improvements:

+ Added support for VST parameters control for windows.
+ New `Close` button for VST parameter controls.
+ Faster GUI for all instruments, effects-loading, not only VSTs,
  and both one-instrument track window mode and normal window
  mode should be supported.
+ Better integration for VST GUIs on Linux, e.g. plugin window
  should not stay always on top of other windows.
+ VST GUI overlook should remain same with different wine setups
  ( except for whole virtual desktops emulations ).
+ VST effect control window merged with VST effect editor window
  should be more easier to control.
+ Little corections at effectviews model updates of instrument
  tracks effect chains.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2013-01-16 23:52:04 +01:00
Tobias Doerffel
a184bc039e Sf2Player: update track name after loading file
For consistent behaviour with other plugins such as AudioFileProcessor
and ZynAddSubFX update the track name after loading a file.
2013-01-14 23:13:21 +01:00
Tobias Doerffel
071358bd98 PixmapButton: added parentheses to fix ambiguity
Fixes compiler warning.
2013-01-14 23:06:02 +01:00
Tobias Doerffel
d943182a6c ZynAddSubFX: increased polyphony to 128
It occured to me that ZASF reported polyphony overflows when using it
in combination with LMMS' arpeggio and chord functionality.
2013-01-13 19:07:12 +01:00
Mike Choi
b784d3daf0 VST Effects: fix for uncontrollable plugin window
Supposed fix for 3595560, see also
http://sourceforge.net/apps/phpbb/lmms/viewtopic.php?f=7&t=778
http://sourceforge.net/tracker/?func=detail&aid=3595560&group_id=105168&atid=640434

VST effects pluginWidget is not deleted, when we close General Settings of instrument track,
on which are directly attached VST effects, but only when we remove this VST effects or tracks itself.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2013-01-13 18:56:47 +01:00
Tobias Doerffel
99efe8aef3 LocalZynAddSubFx: include/forward MIDI channel information
When sending MIDI events to the ZynAddSubFX engine do not statically
send them on channel 0 but on the MIDI channel which is set as output
MIDI channel of the instrument track. This adds some flexibility when
it comes to multipart ZynAddSubFX presets which are connected to
different MIDI channels.
2013-01-13 18:48:35 +01:00
Tobias Doerffel
6940ceca44 InstrumentFunctions: added natural minor scale
A natural minor scale was missing which lead to some irritations about
the harmonic and melodic minor scales. Had to add the new scale at the
end of the chord table in order to not break existing projects and
presets in which simple chord table indices are saved.

Closes #3594824.
2013-01-13 18:13:18 +01:00
Tobias Doerffel
4a1642abc7 InstrumentFunctions/ChordCreator: fixed wrong 6add9 chord
Various seventh chords were wrong and have been fixed.

Thanks to Mike804 for pointing out issues with some chords.

Closes #3600618.
2013-01-13 17:45:51 +01:00
Tobias Doerffel
1a981f50c8 InstrumentFunctions/ChordCreator: fixed wrong 6add9 chord
The 6add9 played a normal major chord which is wrong and has been fixed.

Thanks to Mike804 for reporting this bug.

Closes #3600618.
2013-01-13 16:57:35 +01:00
Tobias Doerffel
128d94b261 German localization: fixed wrong chord name translation
The chord name 6add9 should stay 6add9.
2013-01-13 16:56:49 +01:00
Tobias Doerffel
27e2b5e4ea BbTrack: fixed openInBBEditor() to reliably show the BB Editor
Use the function provided by MainWindow to reliably show the BB Editor.

Thanks to Tres Finocchiaro for pointing out this issue.
2013-01-07 22:07:52 +01:00
Tobias Doerffel
e3e2e48b71 MainWindow: pass optional parameter to toggleWindow() to force showing window
There are use cases where we want to force to show a certain window.
2013-01-07 22:06:37 +01:00
Raine M. Ekman
9ec7613678 InstrumentTrack: Add support for more MIDI commands
MIDI commands All Notes Off, All Sound Off and Omni/Mono/Poly mode will
now silence all playing notes, as they should.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2013-01-07 21:14:04 +01:00
Raine M. Ekman
174037c31a ExportProjectDialog: fix static file extension on multitrack export
When using the multitrack export feature the output files always had
the extension ".wav", even if exported as OGG. This patch fixes this
issue.

Closes #3595157.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2013-01-07 20:28:15 +01:00
Tobias Doerffel
59300906d7 AutomationEditor: fixed drawing of empty automation patterns
Due to recent changes to AutomationPattern the inner draw loop needs
to be adjusted.
2013-01-07 00:36:43 +01:00
Tobias Doerffel
80106138c8 AutomationPattern: removed magic value at position zero
In automation patterns there always had to be a value at position zero
which also had a special semantic concerning the initial values of
connected objects. However that logic was buggy and confusing.
I therefore completely removed the neccessity for a value at position
zero (automated value will be 0 until the first set point).
2013-01-07 00:36:27 +01:00
Tobias Doerffel
99091e9ce3 AutomatableModelView: added context menu action for removing song-global automation
Up to now there was no possibility to remove song-global automation from
a control once created. Overcome this issue by adding an according action
in the context menu of all AutomatableModelView instances.
2013-01-06 23:42:33 +01:00
Tobias Doerffel
1612a25349 ExportProjectDialog: fixed broken cancel button
The cancel button functionality was lost during introduction of the
multi track export functionality.

Closes #3598342.
2013-01-06 23:13:59 +01:00
Mike Choi
b9c926dabd VST parametr control window: window title as trackname
Window title for VSTi parameter controlling window should be set according to
actual track name, not from VST plugin name as its now, it is hard to get to know
which window belongs to where when same plugin is e.g. opened several times, so
with the same name. Now this is handled in paint event, but TBD whenever is
that track name changed. tbd, temporary solution.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2013-01-06 23:02:08 +01:00
Mike Choi
f4cc037321 VST Control: Right window title for parameter manual edit
When you double-click on some knob to change its VST parameter value
manually, new dialog window now has same title as what was that knobs
name. (instead of "lmms" title string)

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2013-01-06 23:01:52 +01:00
Mike Choi
5b6fa164e7 VST Automation: Filter for automated parameters
Filter to display only automated / all knobs (new button) on LMMS VST parametr control window.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2013-01-06 23:01:27 +01:00
Mike Choi
ba03b70457 State of VST controls in LMMS control wrapper is reloaded after Save/Load, from plugins state
After project save/load unsaved VST control parameters in LMMS VST control wrapper are not set to zero now, but reloaded according plugins saved state.

No need to sync values manualy again, after project save, load.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2013-01-06 23:01:13 +01:00
Mike Choi
e8bdc7b3c1 VST Automation: Sync button fix
Only not automated values are synced from VST plugin, no need to sync already automated values.

Synced values are now not trackable with undo / redo, before all changes were tracked individualy,
but user could lose ability to undo easily changes before sync buton was pressed.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2013-01-06 22:59:47 +01:00
Mike Choi
c2e9918c8a VST Automation: crash prevention
Fixed destuctors for various types of VST automation panel removal.

Automated signals correct disconection on panel removal.

When you load new VST plugin in the place of old one, while automation
is already connected and active there, this should not result in LMMS crash
or reuse of that old automation connections and automation window destructor
should not leave zombie VST plugins on application exit.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2013-01-06 22:59:40 +01:00
Mike Choi
3cc01560be VST Automation: lock prevention
src/core/RemotePlugin.cpp @ RemotePlugin::process

Above function should be now more thread safe, but functionality remains.
This prevent lmms locks, when automation is connected to lmms VST plugin wrappers controler / knob on Linux.
On win32 build whenever is lmms wrapper parameter controler / knob  amended.

plugins/vst_base/VstPlugin.cpp @ VstPlugin::setParam
plugins/vst_base/RemoteVstPlugin.cpp @ RemoteVstPlugin::processMessage

In above functions we dont wait for message confirmation when parameter setter function finish, and dont send such confirmations.
This workaround prevent locks on Linux, whenever there is automation connected and if you try to move with VST plugin
(not via lmms plugins wrapper, but with VSTs internal window) than it freezes, on win32 build it will freeze whenever you connect
automation and than if you move your mouse above this VST plugin window.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2013-01-06 22:57:45 +01:00
NoiseByNorthwest
2960f67beb AudioFileProcessor: fixed crash for samples with zero length
This is a fix for #3598536.

Closes #3598536.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2013-01-06 22:53:59 +01:00
Tobias Doerffel
716146848c ZynAddSubFx: when loading a preset set preset name as track name
Based upon the suggestion of Tres Finocchiaro we use the filename of a
ZASF preset for determining the preset name and set it as track name.
2013-01-06 22:48:41 +01:00
Tobias Doerffel
dcf7245fe8 Presets: fixed track names to reflect actual preset names
Thanks to Tres Finocchiaro for pointing out this issue and many thanks
to Mike Choi for providing a helper script for automatically fixing
the preset files.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2013-01-06 22:41:19 +01:00
Paul Giblock
750b01500b Add .gitignore and .gitattributes 2012-12-18 21:57:40 -05:00
Paul Giblock
487335a4ec Fix drag-drop for buttonGroups
Previously a boolean model would be dragged when Ctrl-Dragging on a
button belonging to a button group.  This fix causes the integer-model
of the group to be dragged instead.

The original behavior would allow the user to toggle multiple values
simultaneously by using several automation tracks.  Plus, I would think
this new behavior is more convenient.

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1968 0778d3d1-df1d-0410-868b-ea421aaaa00d

Conflicts:
	ChangeLog.old
	src/gui/widgets/automatable_button.cpp
2012-12-18 21:25:30 -05:00
Paul Giblock
642aa97198 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

Conflicts:
	ChangeLog.old
	src/core/track.cpp
2012-12-18 20:59:22 -05:00
Tobias Doerffel
70304f9800 Release candidate 1 for 0.4.14
Bumped version number to 0.4.14-rc1 in CMakeLists.txt.
2012-12-10 21:28:25 +01:00
Tobias Doerffel
639763dbb2 FxMixerView: do not set size constraint on parent MDI window
As reported by Mikobuntu on 2012-12-06 there's a problem when minimizing
the FX mixer window. The problem disappears when not setting a size
constraint on the mixer's MDI window.
2012-12-09 17:29:14 +01:00
Tobias Doerffel
c27c321778 RemotePlugin: increased SHM_FIFO_SIZE again
As there are plugins whose parameter dumps are bigger than 64 KB
increased SHM_FIFO_SIZE to 512 KB.
2012-12-09 17:25:59 +01:00
Tobias Doerffel
60017ae6e3 RemoteVstPlugin: decreased locking overhead in getParameterDump() 2012-12-03 00:07:56 +01:00
Tobias Doerffel
890a8a4ba9 RemoteVstPlugin: new method pluginDispatchNoLocking() 2012-12-03 00:07:32 +01:00
Tobias Doerffel
3bad03d56e RemotePlugin: improved management of shared memory keys 2012-12-03 00:06:25 +01:00
Tobias Doerffel
efe3b47810 RemotePlugin: return number of bytes sent in sendMessage() 2012-12-03 00:05:57 +01:00
Tobias Doerffel
a00a922119 RemotePlugin: smaller buffers for printing numbers 2012-12-03 00:05:36 +01:00
Tobias Doerffel
fdea64c0d6 RemotePlugin: more sanity checks 2012-12-03 00:05:06 +01:00
Tobias Doerffel
f28601db5d RemoteVstPlugin: less verbose debug message 2012-12-02 22:09:28 +01:00
Tobias Doerffel
5f298c0c48 RemoteVstPlugin: coding style fixes 2012-12-02 22:09:15 +01:00
Tobias Doerffel
ef68156c71 RemoteVstPlugin: compile with -O3 as otherwise incorrect code is generated
There seems to be a bug in current MinGW GCC which leads to incorrect
code (crash for no obvious reason) in RemoteVstPlugin process.
2012-12-02 22:09:06 +01:00
Tobias Doerffel
e864c8057a DrumSynth: removed unused variable 2012-12-02 19:04:45 +01:00
Tobias Doerffel
2cac30f495 RemoteVstPlugin: use size_t for loop index to fix compiler warning 2012-12-02 19:01:37 +01:00
Tobias Doerffel
c4e29da412 RemoteVstPlugin: fixed out-of-bound array access 2012-12-02 19:01:09 +01:00
Tobias Doerffel
40a92d8417 FlpImport/unrtf: renamed malloc.h to ur_malloc.h for not conflicting with system headers 2012-12-02 19:00:06 +01:00
Tobias Doerffel
8a75c40fd6 Widgets/Fader: open input dialog on double click
There have been requests to have an input dialog when double clicking
the fader (like we have it for knobs for ages already).

Closes #3588157.
2012-11-28 00:10:11 +01:00
Tobias Doerffel
8db0d0b0fa Widgets/Fader: improved usability by not jumping to mouse click position
The previous behaviour was very annoying because starting to drag the
knob almost always resulted in a value change. This has been changed
by a rewritten logic for mouse click and move behaviour.

Closes #3588157.
2012-11-28 00:07:56 +01:00
Tobias Doerffel
3739ef82c6 Widgets/Fader: generic knob drawing code
Instead of hard-coding pixmap sizes, calculate everything dynamically.
2012-11-27 23:58:10 +01:00
Tobias Doerffel
3b72f1e9d9 Widgets/Fader: increment/decrement by 1 via scroll wheel
As per popular demand, incrementing/decrement fader value by 1 instead
of 5 when using the scroll wheel.
2012-11-27 23:36:42 +01:00
Tobias Doerffel
0dc2060ea2 ExportProjectDialog: fixed non-multi-track export once more
There was another bug causing LMMS to crash when using regular export
feature.

Thanks to Mikobuntu for reporting this bug.
2012-11-27 23:29:55 +01:00
Jens Lang
da87fd4e55 RemotePlugin: use atomic operation for lock
Use GCC's builtin atomic add/subtract operation for incrementing/
decrementing the recursive lock variable. This is needed to avoid race
conditions and is much faster than using mutexes etc.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2012-11-26 22:59:02 +01:00
Tobias Doerffel
6817631c91 RemoteVstPlugin: more locking, range checking etc. 2012-11-26 20:49:31 +01:00
Tobias Doerffel
e43f34914f RemoteVstPlugin: renamed presetName() to programName() 2012-11-26 20:23:41 +01:00
Tobias Doerffel
bdaedcdf86 VstPlugin, RemoteVstPlugin: update program name via new idle update messages
Introduced new idle update messages for exchanging data periodically but
not inferring audio processing.
2012-11-26 20:16:06 +01:00
Tobias Doerffel
9d610e5108 RemoteVstPlugin: use pluginDispatch() everywhere for thread safety
Calling plugin dispatcher without lock is potentially dangerous.
2012-11-26 20:00:55 +01:00
Tobias Doerffel
533f086600 AutomatableModel: initialize m_value and m_initValue in constructor
Even though we call setInitValue() in AutomatableModel constructor,
initialize according class members before.
2012-11-26 19:48:37 +01:00
Tobias Doerffel
0d80f0c569 VstPlugin, RemoteVstPlugin: save/restore current program of VST plugin
Not all plugins save current program in their chunk (or do not restore
it properly). We therefore have to save and restore the current program
manually.

Closes #3581879.
2012-11-26 19:30:26 +01:00
Tobias Doerffel
56b07e29c2 RemoteVstPlugin: send updates of current program name if changed
Send current program name back to host if current program has changed.
2012-11-26 19:18:20 +01:00
Tobias Doerffel
1b7ae1f7a9 RemotePlugin, VstPlugin: reorganized and partly rewrote program/preset related functions
The code for managing programs/presets of RemotePlugin instances was
very confusing, mainly within the VstPlugin and RemoteVstPlugin class.
I therefore started to reorganize and rewrite functions.
2012-11-26 19:18:07 +01:00
Kristi
59732b05ed ExportProjectDialog: added option for exporting song as loop (backport)
This patch adds the option to remove the extra silence at the end,
so that the exported song can be seamlessly looped.

This is a backport of commit 8f1657164a.

Closes #3588890.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2012-11-25 12:01:15 +01:00
Tobias Doerffel
9e08849d63 ExportProjectDialog: fixed crash when exporting whole project as one track
We have to use the new semantics of the ProjectRenderer management when
exporting the whole project as one track as well. Otherwise the program
crashed as it tried to utilize the ProjectRenderer instance twice.
2012-11-25 11:47:18 +01:00
Tobias Doerffel
4a962c58d9 ExportProjectDialog: coding style fixes 2012-11-25 11:46:40 +01:00
Tobias Doerffel
3be675ac7b Vestige: send NoteOff events for all possible MIDI keys
In VestigeInstrumentView::noteOffAll() do not only send MIDI NoteOff
events for all LMMS keys but for the whole range of MIDI keys.
2012-11-11 23:40:48 +01:00
Tobias Doerffel
3842cb3d61 RemoteVstPlugin: fixed too short arrays for preset names
The dimension of preset name arrays was too small. Fixed this
by raising it from 30 to 64 characters.
2012-11-11 23:13:01 +01:00
Tobias Doerffel
295dd63b0e SetupDialog: turn off auto save per default
Due to various bug reports, I think we should turn off auto save per
default. Users who want this feature can turn it on explicitely (and
live with problems when they have big projects).
2012-11-11 22:55:38 +01:00
Tobias Doerffel
3a1c117a37 CMakeLists: make fftw3 a requirement and not optional anymore
We have too many components in LMMS relying on FFTW3. Building LMMS
without them cripples LMMS' functionality substantially, so simply
make fftw3 a requirement.

Closes #3495736.
2012-11-11 22:42:04 +01:00
Tobias Doerffel
d3d6d65836 Track: do not load height information if greater than default height
This is a workaround for issue #3585927. Once we found the source of
this issue, we can revert this commit.
2012-11-11 22:17:11 +01:00
Tobias Doerffel
c9d5c1dd06 Track: coding style fixes 2012-11-11 22:11:49 +01:00
Tobias Doerffel
37651dad20 AudioPort: made destructor virtual
It is recommended to make destructors virtual if the class is
polymorphic.
2012-11-11 19:45:24 +01:00
Tobias Doerffel
c39512403b InstrumentTrack, NotePlayHandled: added initial sustain pedal support 2012-11-11 19:39:27 +01:00
Tobias Doerffel
aae89e186c MidiEvent: added controllerNumber() and controllerValue() 2012-11-11 19:39:01 +01:00
Tobias Doerffel
b998ef6e13 Midi: added more controller related constants 2012-11-11 19:38:11 +01:00
Raine M. Ekman
3aa03da5af InstrumentMidiIOView: added support for fixed output notes
It came to me that having LMMS output one fixed note from a track could
be useful for controlling drum machines or something like that, so here's
a new spinbox for the MIDI tab.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2012-11-10 12:50:56 +01:00
Tobias Doerffel
6f7572b949 PianoView: do not include Xlib.h header file anymore
This file is a relict from times when we evaluated X11 events for the
virtual keyboard functionality.
2012-11-10 12:28:36 +01:00
Raine M. Ekman
3a59fdea58 InstrumentMidiIOView: fix number of digits for MIDI channel spinboxes
MIDI channels are in range 1 to 16, so there's no need for 3 digits
here.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2012-11-10 12:17:28 +01:00
Tobias Doerffel
075b7b354a ExportProjectDialog: remove obsolete header
No need for iostream header in LMMS.
2012-11-03 19:38:50 +01:00
Tobias Doerffel
2c3e7483aa MainWindow: fixed ambiguous hotkey for export operations
The new export operation had the same hotkey as the classical one. This
is not a good idea and is now fixed.
2012-11-03 19:37:28 +01:00
devin
929b44f14b Added individual BB tracks to multi export
Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2012-11-03 19:37:16 +01:00
Devin Venable
eb60d9e06e Added multiple track export feature.
Here is the patchset for my multiple track export feature. It works now
the way I originally envisioned.

For example, after I export tracks on my little song, I see this in the
directory I created:

devin@devin-studio:~/lmms/projects/fff$ ls
0_Defaultpreset.wav  3_Defaultpreset.wav      6_csidSouwav.wav
1_Defaultpreset.wav  4_spacenoiseswavwav.wav  7_HHOPENwav.wav
2_Defaultpreset.wav  5_csidkickwav.wav        8_HHOPENwav.wav

Each instrument or sample track is exported individually, regardless of
whether in its own song track or playing as part of a BB track. The
name is taken from either the song track name or from the BB track name.
My goal was to get the tracks individually exported, so that I could
combine them with other tracks in Ardour.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2012-11-03 19:28:40 +01:00
Raine M. Ekman
69947a624b Track: allow smaller height
Here's one way to cram more stuff onto small screens, or otherwise help
reducing visual clutter: Allow tracks to be shift-dragged all the way
down to 8 px height.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2012-11-01 21:36:31 +01:00
Tobias Doerffel
e7605ea045 Localizations: renamed ir.* to fa.* for ISO 639 conformance
As proposed by Octosquidopus renamed translation files containing
Farsi translations from ir.* to fa.*
2012-10-27 23:01:37 +02:00
Tobias Doerffel
95e1ef1c78 InstrumentTrack: show FX mixer when double clicking FX line LCD spinbox
As proposed by Danil <baza-nsk@ya.ru> on 2012-03-12.
2012-10-27 22:50:16 +02:00
Tobias Doerffel
c1368ddb1a SetupDialog: added option for disabling auto save feature
As requested by various users, it should be configurable whether the
auto save feature is active or not.
2012-10-27 22:45:59 +02:00
NoiseByNorthwest
d448e6743d Ergonomic enhancements for AudioFileProcessor plugin (interactive wave view).
This patch includes:
* sampleBuffer::visualise(): add possibility to specified a range to visualize instead of the whole sample
* add sampleBuffer::sampleRate() and sampleBuffer::sampleLength() getters
* definition of AudioFileProcessorWaveView and AudioFileProcessorWaveView::knob classes for AudioFileProcessor plugin
* knob::getValue() specified “virtual” to allow redefinition in child class  AudioFileProcessorWaveView::knob
* delete audioFileKnob class (made obsolete by AudioFileProcessorWaveView::knob)
* add audioFileProcessor::isPlaying() signal, which is emitted in audioFileProcessor::playNote
* change type of AudioFileProcessorView::m_startKnob and AudioFileProcessorView::m_endKnob (AudioFileProcessorWaveView::knob instead of audioFileKnob)
* replace AudioFileProcessorView::m_graph (QPixmap) by AudioFileProcessorView::m_waveView (AudioFileProcessorWaveView)

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2012-10-27 22:32:09 +02:00
Tobias Doerffel
ad3af97798 MidiClientRaw: fixed parsing of MIDI events
A break was missing in the function where MIDI events are generated from
raw MIDI data. This always has been broken as of commit d188056683
but was not observed as the code for all switch-cases has been identical.
2012-10-27 22:22:23 +02:00
Jesse Dubay
4ba4d8b4e0 ControllerConnectionDialog: fix crash on autodetect when using raw MIDI client 2012-10-27 22:17:13 +02:00
Tobias Doerffel
370ff26c2b LocalZynAddSubFx: added missing header include
ZASF fails to build with GCC 4.7 due to missing header include.

Thanks to Alexander Liebendorfer for pointing out the issue.
2012-10-27 22:01:08 +02:00
Raine M. Ekman
04c1a0906f AutomationEditor: show tooltip with exact value
Added tooltip telling the exact value under the cursor when editing
automation.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2012-05-20 19:01:21 +02:00
Tobias Doerffel
8b66dfc860 ZynAddSubFX: fixed possible buffer overflow
bankdir could be overflowed in the strncat function since the length
limit is not correctly specified.

Closes #3510466.
2012-05-20 18:55:30 +02:00
Raine M. Ekman
02db2fbd2f Piano roll: fix scale marking algorithm and improve rendering
A patch to fix the scale marking algorithm and possibly improve on the
looks

Closes #3493928.
2012-05-20 18:50:27 +02:00
Alexandre Almeida
c60e7ba8d1 Song, SongEditor, BB-Editor, Piano-Roll: correction of play button problems
Initial implementation of corrected play buttons in individual editor
windows.
2012-05-20 18:25:28 +02:00
Tobias Doerffel
12221d221f Updated Polish localization files
Thanks to Radek Słowik <radek/at/vibender/dot/com> for the contribution!
2012-02-13 22:04:14 +01:00
NoiseByNorthwest
0b057ec5df Fixed bugs with magnetic knobs
The problem comes from AutomatableModel::m_initValue wich is not fitted
either in constructor or in setter. Idem for m_value in constructor, imo
this is not enough consistent.

I propose to:
- call fittedValue() in init value setter.
- always call setter to initialize current & init values.
2012-02-13 22:02:03 +01:00
Tobias Doerffel
5d5189b1f4 Updated Polish localization files
Thanks to Radek Słowik <radek/at/vibender/dot/com> for the contribution!
2012-02-03 00:18:21 +01:00
Tobias Doerffel
68861678f6 Made 0.4.13 release
Bumped version number to 0.4.13 in CMakeLists.txt, README and lmms.rc.in.
2012-02-02 23:22:12 +01:00
Tobias Doerffel
60b93e331e ZynAddSAubFX Microtonal: Fixing formatting of detune values
- Fixes bug that prints values like "4.0123" as "4.123"
(cherry picked from commit 5a1fa4f3c522f2f438e052273a544091133bb0eb)
2012-02-02 22:40:03 +01:00
Tobias Doerffel
59da243fed ZynAddSubFX: Pruning code from static analysis
Static analysis performed with cppcheck and clang
(cherry picked from commit 7540c6b46e2e6158a38464aeb9a8b35fefc3c9a9)
2012-02-02 22:28:44 +01:00
Tobias Doerffel
376f11a6c0 ZynAddSubFX: Env: fixing envelope scaling
Fixing bug introduced in 56d7e2e6ec
2012-02-02 22:21:50 +01:00
Tobias Doerffel
88d0c59903 CALF: revert upstream commit 460642bfae534679b4094e6887714828c90d8172
Upstream commit 460642bfae534679b4094e6887714828c90d8172 removes LADSPA
support from CALF which definitely is not desired for LMMS. Therefore
simply revert it in our sources.
2012-02-02 21:59:45 +01:00
Tobias Doerffel
c1db55c56a CALF: updated up to commit 657b36073cae77d9f0e191a7f09b6b8d2099aade 2012-02-02 21:45:36 +01:00
Tobias Doerffel
5f377ecdf2 German localization: updates and completions
Updated/completed various strings which have changed or not been
translated before.
2012-02-02 20:58:45 +01:00
Tobias Doerffel
6eb708ccee VeSTige/VstEffectControlDialog: fixed spelling error
Fixed minor spelling error.
2012-02-02 20:55:38 +01:00
Tobias Doerffel
edb540da52 AboutDialog: advanced copyright
We're living in 2012 now.
2012-02-02 20:55:19 +01:00
Tobias Doerffel
89078c09a2 3rdparty/libsamplerate: updated to version 0.1.8
Updated 3rdparty libsamplerate to version 0.1.8 and bumped requirement
to system's libsamplerate to version 0.1.8.
2012-02-02 20:45:02 +01:00
Tobias Doerffel
5662ef9d44 PianoRoll: fix minimum and initial width
The PR window always had a too small initial size. Fix this by setting
a proper minimum width and set initial width to this value as well.
2012-02-02 20:24:30 +01:00
Tobias Doerffel
2e7e09fd6b ZynAddSubFX: workaround for bug in Win64 GCC
When building LMMS with recent stable versions of GCC it generates
wrong code for the implicit REALTYPE specialization of the template
method stringFrom<T>() (problem in std::stringstream implementation).
By writing a custom template specialization which uses sprintf() the
bug can be circumvented.
2012-02-02 20:21:03 +01:00
Tobias Doerffel
2900e13dac CMakeLists.txt: include libpng15-15.dll for Win32/Win64 builds
The MinGW64 environment recently has been updated to ship an external
libpng library. The according DLL has to be shipped with LMMS as well.
2012-02-01 23:28:30 +01:00
Tobias Doerffel
03fcc1b5fc LVSL/RemoteVstPlugin: use big enough buffer when gathering preset names
The RemoteVstPlugin process crashed for plugins with lots of presets
as there was an overflow of the presName buffer. Chosing a bigger buffer
size fixes the problem.

Additionally initialize len variable in loadChunkFromPresetFile().
2012-02-01 23:26:28 +01:00
Tobias Doerffel
50bb56da05 InstrumentFunction/Arpeggiator: fixed upper loop boundary
The upper loop boundary was wrong as the size of a single chord was
taken instead of the whole chord table.
2012-02-01 17:22:27 +01:00
Tobias Doerffel
39010a12a3 InstrumentFunctions/ChordCreator: fixed localization support for chords
Recent commits broke localization support for chord names. Static strings
to be used with tr() have to be marked as QT_TRANSLATE_NOOP.
2012-02-01 17:21:05 +01:00
NoiseByNorthwest
59242adadc Piano-roll: bypass fixed initial width of the window
Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2012-02-01 16:58:24 +01:00
NoiseByNorthwest
a6ae31a08e Piano-roll: scale & arpeggio combobox + micro refactoring of ChordCreator::Chord
Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2012-02-01 16:58:24 +01:00
Tobias Doerffel
1a09828ad4 SID instrument plugin: fixed missing save/load for coarseModels
The coarseModel instances were not saved/loaded. Thanks to Mikobuntu for
pointing out the issue and providing a solution!

Closes #3394109.
2012-01-29 23:52:42 +01:00
Raine M. Ekman
14f41fe7b3 TrackViews: added compact mode
Added an option to shrink the track buttons horizontally, mainly by
moving the track name into a tooltip.

Closes #3459241.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2012-01-29 23:49:16 +01:00
Tobias Doerffel
6899c8378c AudioFileWave: add "LMMS" as software metadata string
By Mikobuntu:

I have created a patch ( tested on stable) that adds a metadata entry
"Software" with the value "LMMS (libsndfile-1.0.21)" I'm not quite sure
what calls in the libsndfile entry as my only field entered was LMMS,
but i guess it does no harm anyway to know ;)

Closes #3374272.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2012-01-29 20:02:36 +01:00
Tobias Doerffel
67ca4d73f6 AutomationPattern: fixed loadSettings() when there's just one value
If the settings for an AutomationPattern contain just one value at
position 0, this value was not loaded properly. Thanks to raine for
pointing out this issue and providing a patch.

Closes #3448562.
2012-01-29 19:54:41 +01:00
NoiseByNorthwest
0fc20dffd3 Add tone marking feature
Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2012-01-29 19:42:23 +01:00
Tobias Doerffel
e5bc77f4c3 Mixer, Pattern: fixed pattern freeze with MIDI-based instruments
When freezing patterns the freezer hung forever as it checked for any
running play handles in order to render echoes etc. after the last note.
However if there are MIDI-based instruments such as LB302, ZASF,
Sf2Player etc. there will always be play handles (InstrumentPlayHandles)
in the mixer's play handle array. Therefore explicitely check for
remaining NotePlayHandles when freezing pattern. Furthermore added a
counter variable for safety reasons so rendering note tails will never
exceed 2000 buffer periods.

Thanks to Mikobuntu for reporting this issue!

Closes #3109262.
2012-01-29 13:07:17 +01:00
Tobias Doerffel
60758172b0 Standard filters: added 24 dB versions of RC filters as well as a vocal format filter
Thanks to Stefan Fendt!

(cherry picked from commit f5057ce6d2)
2012-01-29 12:12:50 +01:00
Paul Giblock
21f19f018b Fix off-by-one enum on new RC filters
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2012 0778d3d1-df1d-0410-868b-ea421aaaa00d
(cherry picked from commit a48b0b6ce0)
2012-01-29 12:11:35 +01:00
Paul Giblock
4712804b28 Initial addition of Stefan Fendt's RC filters, updated and fixed code style.
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2011 0778d3d1-df1d-0410-868b-ea421aaaa00d
(cherry picked from commit 46adbb2b34)
2012-01-29 12:07:17 +01:00
Tobias Doerffel
8c1019cdae MidiController: removed unused variable
The local "bytes" variable is never used and thus can be removed. Fixes
compiler warning.
2012-01-29 12:02:33 +01:00
Tobias Doerffel
3e4b824daf SampleTrack: set/update tooltip for samples when loading project
The tooltip for sample track object views was not restored properly
when loading projects. Thanks to Mikobuntu for pointing out this issue.
2012-01-29 12:01:21 +01:00
Tobias Doerffel
5977041b6e InstrumentTrack, NotePlayHandle: fixed note detuning processing
Note detuning did not work properly for patterns starting after the
first bar in the song editor. This has been fixed by introducing
additional information about parent's song-global offset to
NotePlayHandle objects.

Closes #3462555.
2012-01-29 11:36:24 +01:00
NoiseByNorthwest
132ab41e5d Replace static var by property, see "Add magnetic effect..." commit 2012-01-26 19:06:34 +01:00
NoiseByNorthwest
b3b290f6dd Piano-roll: preserve melody when resizing a note by holding shift 2012-01-26 19:06:34 +01:00
NoiseByNorthwest
7f63351ca6 Piano-roll: remove from selection feature (shift + left-click) 2012-01-26 19:06:34 +01:00
NoiseByNorthwest
9215800114 Add magnetic effect (for init value) on knobs 2012-01-26 19:06:34 +01:00
Tobias Doerffel
cacc0d6c3e Updated SWH plugins and added missing hermes_filter plugin
There were minor updates in SWH Git repository. Incorporated bug fixes
and added missing hermes_filter plugin.
2012-01-13 22:25:44 +01:00
Tobias Doerffel
0bcd267063 CALF: updated up to commit 022dbc37d9d4bf1af2f33a288844156bdc13d27f 2012-01-13 21:53:25 +01:00
Tobias Doerffel
9af89ec862 Updated Polish localization files
Thanks to Radek Słowik <radek/at/vibender/dot/com> for the contribution!
2011-11-24 08:46:20 +01:00
Tobias Doerffel
f4976adcd7 VstEffect: removed unused slot declaration
The openPlugin() slot in VstEffectControls class is not implemented,
therefore do not declare it as otherwise MOC references it.
2011-11-23 13:00:36 +01:00
Tobias Doerffel
774a97f31a Added Polish localization files
Thanks to Radek Słowik <radek/at/vibender/dot/com> for the contribution!
2011-11-23 12:55:29 +01:00
quadro
d57b20ff2f LVSL: improved preset support
Fixed various bugs and crashes.
2011-11-11 23:58:37 +01:00
Tobias Doerffel
63c1928f57 LVSL: fixed Win32 and Win64 build
Some minor tweaks were neccessary in order to properly build the updated
LVSL on Win32 and Win64.
2011-10-24 23:50:38 +02:00
Tobias Doerffel
b65cf661a2 MinGWCrossCompile.cmake: fix cross builds with recent versions of CMake
LMMS failed to build with recent versions of CMake if CMAKE_RC_COMPILER
was not set in MinGWCrossCompile.cmake. Furthermore PKG_CONFIG_FOUND
manually needs to be set to TRUE.
2011-10-22 20:40:06 +02:00
quadro
4d645b335d LVSL: added support for (automatable) VST controls and VST presets
LMMS VST Support Layer has been greatly advanced as it now features
(automatable) VST controls as well as support for VST presets. This
still needs some work as it crashes with various plugins (e.g. z3ta+).

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2011-10-22 20:17:58 +02:00
Tobias Doerffel
c6051e76b4 ZynAddSubFX: fix crash in Echo effect when changing samplerate
As ZynAddSubFX still uses the horrible approach of storing global
settings (such as the currently used samplerate) in global static
variables the Echo effect will crash when the samplerate is changed
for a previously loaded ZynAddSubFX instance.

As a quick fix the original samplerate used for instantiating and
accessing internal arrays (whose size depends on global samplerate
variable) is saved for each instance and used everywhere instead of
SAMPLE_RATE.

Fixes crash when exporting e.g. Saber-FinalStep.mmpz at a higher
samplerate than LMMS normally runs with.
2011-07-10 01:01:42 +02:00
Tobias Doerffel
d60e4d48b3 ComboBoxModel: do not crash in currentText() if model is empty
Catch the case the model is empty in ComboBoxModel::currentText() and
return an empty string instead of crashing. Fixes crash with settings
dialog if no sound devices are accessible via PortAudio.
2011-07-06 10:51:00 +02:00
Tobias Doerffel
5a35d3289c Made 0.4.12 release
Bumped version number to 0.4.12 in CMakeLists.txt, README and lmms.rc.in.
2011-07-02 15:10:36 +02:00
Tobias Doerffel
14cfe77804 InstrumentTrack: make sure m_runningMidiNotes[x] does not become negative
Even though there's no known code path for this event to happen we
should always make sure m_runningMidiNotes[x] does not become negative
as this might mess up future key events.
2011-07-02 14:41:17 +02:00
Tobias Doerffel
83daa2d8fb SampleBuffer: do not use UTF-8 filenames on Windows
As libogg, libsndfile & friends do not seem to have an UTF8-compatible
implementation on Windows we have to pass the filename as local 8 bit
encoding in order to make the file being read properly.

Closes #2952858.
2011-07-02 14:15:52 +02:00
Tobias Doerffel
1e83b1e23b Reset filename when recovering project after unexpected exit
We must not use "recover.mmp" as regular filename after we recovered
the sesion from it as this causes following save cycles to go into
the recovery file. Instead load the recovery file via
song::createNewProjectFromTemplate() so the used will be asked for
a filename when saving the recovered project the first time.

Closes #3294122.
2011-07-02 13:52:44 +02:00
Tobias Doerffel
4d473a36fb ConfigMgr: properly write configuration file if it contains non-ASCII chars
There has been a problem UTF-8 characters in the configuration file
since 2006 (!), as the length of the data to be written was mis-
calculated. We can omit the specification of the data length at all
when just passing a QByteArray object to QFile::write().

Fixes setup dialog appearing each start if one of the configured paths
in the setup dialog contains non-ASCII characters.

Closes #3348920, #3017409, #2812054.
2011-07-02 13:37:36 +02:00
Tobias Doerffel
7b31be67ac ConfigMgr: do not silently fail to parse configuration file
Instead of failing silently when parsing configuration file show a
messagebox with helpful debugging information.
2011-07-02 13:28:02 +02:00
Tobias Doerffel
76a4d88fe4 Added missing plugins from the SWH LADSPA plugin collection
Once I added the SWH LADSPA plugins I just added a small selection of
them in order to improve clarity. However lots of projects use SWH
LADSPA plugins that are not shipped with LMMS and thus can't be
played properly e.g. on Windows. Fix this by adding missing plugins
(except the analog and FM oscillators).
2011-07-02 12:47:49 +02:00
Tobias Doerffel
ddf3d6fceb Data/Projects: completely revised shipped collection of projects
Most of the projects represented LMMS and it's capabilities from a few
years ago. Therefore removed most old projects and added fresh ones from
the sharing platform.

Also started to add licensing information about these files in each
project directory.
2011-07-02 12:44:53 +02:00
Tobias Doerffel
586ffe038e INSTALL: added note for systems without sudo support
Some people might not have sudo installed or configured. Added a note in
the INSTALL file for this case.

Closes #3299883.
2011-06-27 20:55:41 +02:00
Tobias Doerffel
e338b34faf Widgets classes: use "WindowTitle" property instead of "AccessibleName"
As the interface for the "AccessibleName" property might not be available
when Qt was built without accessibility support, use the "WindowTitle"
property instead where appropriate.

Closes #3300101.
2011-06-27 20:43:09 +02:00
Tobias Doerffel
1cc77b72e3 Do not apply FX mixer effects twice when playing frozen pattern
We must not process the FX mixer if we notice that currently a pattern
is frozen. Furthermore renamed some state-reading messages of the
pattern class.

Closes #3316495.
2011-06-27 20:27:03 +02:00
Tobias Doerffel
d4684f3ab1 Faders in FX mixer: added peak value indicator
Based on the patch by Thorsten Müller provided at #3307037, I continued
the work to display nice indicators for the peak value of the last 1500
ms.

Closes #3307037.
2011-06-23 10:53:39 +02:00
Thorsten Müller
ee0f6ccd10 Add tooltips to fxmixer faders
Added tooltips to show the actual value when moving the fader handle.
This works mostly like the same feature we already have for the volume
knobs. Depending on settings the value is shown in a range between
0% to 200% or -inf/-34dBV to 6.02 dBV. Again that's the same as for the
volume knob. Value range could be adjusted easily if necessary.

Closes #3305914.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2011-06-23 10:16:45 +02:00
Tobias Doerffel
8f9d90df5d LadspaManager: really only load shared library on Linux
Testing the last two characters of the filename against "so" is
insufficient as this might cover e.g. ISO files as well. Therefore
explicitely check for ".so".

Thanks to Mikobuntu for the contribution.

Closes #3289932.
2011-06-23 09:56:56 +02:00
Tobias Doerffel
66d36b3071 MainWindow: skip autosave while playing or exporting
It's a very bad idea to autosave while playing as this causes severe
underrun problems. Therefore instead of autosaving, trigger a re-try
timer for 10 seconds.

Closes #3317776.
2011-06-22 11:15:20 +02:00
Tobias Doerffel
34e61f0ea3 ZynAddSubFX: regenerated UI source code files with recent Fluid (2)
Forgot to include one file in commit 13d1e38f4b.
(cherry picked from commit 99113677c4)
2011-06-16 00:21:38 +02:00
Tobias Doerffel
6f00e6d6f3 ZynAddSubFX: regenerated UI source code files with recent Fluid
Now that we updated FLTK we also need to regenerate ZynAddSubFX'
UI source code files using recent Fluid tool. Indentation seems to
have been fixed.
(cherry picked from commit 13d1e38f4b)
2011-06-16 00:13:36 +02:00
Tobias Doerffel
b99d63eaf0 ZynAddSubFX/FLTK: updated to SVN revision 8805
Updated FLTK to SVN revision 8805 of branch-1.3.
(cherry picked from commit c2c315e11f)
2011-06-16 00:13:31 +02:00
Tobias Doerffel
56d7e2e6ec ZynAddSubFX: minor fixes from upstream
* Fixing Envelopes not going to zero
  * FLTK1.3: Applying patch to force code generation
(cherry picked from commit a1006f7a32)
2011-06-16 00:13:23 +02:00
Tobias Doerffel
f791b08840 lmms.rc.in: extended copyright notice
Extended copyright notice in lmms.rc.in which is used as resource file
when building win32/win64 executable.
2011-06-13 23:12:21 +02:00
Tobias Doerffel
ef516627e7 Made 0.4.11 release
Bumped version number to 0.4.11 in CMakeLists.txt and README.
2011-06-06 18:48:40 +02:00
Krzysztof Foltman
bd84a2ee64 CALF/Monosynth: only set frequency-related values in params_changed if note is played. 2011-06-06 18:45:38 +02:00
Tobias Doerffel
2721fbae95 CALF: updated up to commit b22ca910642433a4507f33ec08bcbf8e6d02e3ff
* Fix broken band issue in EQ plugins.
  * Persist extension 0.2
2011-04-25 11:35:00 +02:00
Tobias Doerffel
babf3edff8 Ask whether to recover session after unexpected exit
Instead of always loading the last auto-saved session (which might end
up in an endless cycle if recover.mmp is faulty or causes a crash) ask
the user whether to do so.
2011-04-06 18:35:20 +02:00
Tobias Doerffel
d98acff3bb CAPS: updated to version 0.4.5
Updated CAPS plugins to version 0.4.5 - changes:

  * Narrower plugin added
  * fixed 'configure.py' to work with python3
  * fixed Sin, Roessler and Lorenz gain smoothing on activation

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2011-04-05 14:33:08 +02:00
Tobias Doerffel
a90ffed0a8 SongEditor: made smoooth scrolling an optional feature
As smooth scrolling seems to cause problems for some users it now has
to be enabled explicitely in the settings dialog.

Closes #3194891.
2011-03-17 09:23:38 +01:00
Tobias Doerffel
dd9ba4b2ad AudioPulseAudio: do not initialize volume
Instead of passing an initialized pa_cvolume structure, pass NULL as
recommended by the documentation for pa_stream_connect_playback(). This
fixes the volume erroneously being set to 100% at startup.

Thanks to Thomas Moschny for forwarding the bug report.
2011-01-26 22:08:49 +01:00
Tobias Doerffel
c959b9bee3 Made 0.4.10 release
Bumped version number to 0.4.10 in CMakeLists.txt and README.
2011-01-26 21:52:29 +01:00
Tobias Doerffel
8d61675e3e CALF: updated up to commit 3889df5d1448faf5078b0a2bdd4c220823b82bf9
* Simplify exciter code. No functional change... I hope!
* Work in progress on rotary speaker. May contain bugs.
* Replace allpass vibrato in Calf Organ with a simulation of scanner vibrato.
* Implement switchable vibrato type.
* Initialise delta members in ramp classes.
2011-01-26 11:11:45 +01:00
Tobias Doerffel
4d13085940 Regenerated all localization files
Make minor string changes in LMMS take effect by regenerating all
localization files.
2011-01-24 16:50:40 +01:00
Tobias Doerffel
8a33f58451 German localization: various updates
Updated/completed various strings which have changed or not been
translated before.
2011-01-24 16:50:09 +01:00
Tobias Doerffel
71155e5e07 German localization: fixed typo
It has to be "diese Spur" instead of "dise Spur". Thanks to Capdan for
pointing this out.

Closes #3158102.
2011-01-24 16:36:02 +01:00
Tobias Doerffel
15fabc6a17 LB302: fixed typo
It has to be "imitation" instead of "immitation". Thanks to Capdan for
pointing this out.

Closes #3158102.
2011-01-24 16:35:46 +01:00
Tobias Doerffel
ec9658d205 PeakControllerEffect: properly save and load all settings
The settings for the new attack and decay controls weren't saved and
loaded at all while just the values of all other knobs were saved
(instead automation data, controllers etc.).
2011-01-24 16:02:50 +01:00
Tobias Doerffel
470fb87ae1 Win installer: do not append version to install directory anymore
Per default do not append the version to the installation directory
anymore as this causes unneccessary problems when not properly
uninstalling an older version. Instead files should be overwritten by
recent ones from now on.

Partially closes #3149779.
2011-01-23 23:56:21 +01:00
Tobias Doerffel
f67e8e0af7 ControllerRackView: fixed widget size issues after closing
There were some issues with the ControllerRackView when closing it
with recent Qt versions. Issue seems to be fixed by not setting a
size constraint policy for the QMdiSubWindow.

Partially closes #3149779.
2011-01-23 23:54:06 +01:00
Tobias Doerffel
b8ad5bf025 ControllerView: fixed minor artifacts at widget drop shadow
We must not set the Qt::WA_OpaquePaintEvent attribute when painting
semi-transparent a drop shadow for the ControllerView.
2011-01-23 23:52:59 +01:00
Tobias Doerffel
510f87bfcc Sf2Player: load default soundfont upon instantiation
When creating a new Sf2Player plugin instance, load the default
soundfont. Might decrease performance a little bit when loading projects
which make use of many other soundfonts but for the sake of improved
usability we should accept this.

Partially closes #3149779.
2011-01-23 23:19:31 +01:00
Tobias Doerffel
4cad9517aa Add BB track when adding track to empty BB editor
When there's no BB track but a track is added to the BB editor,
automatically create a BB track so that the user doesn't get confused
by new empty track (not even showing clickable beats).

Partially closes #3149779.
2011-01-23 23:10:04 +01:00
Tobias Doerffel
a494f4b160 PeakController: initial work on attack- and decay-support
The decay knob didn't actually do anything before. Now it's useful
together with newly introduced attack knob. One can do much better
sidechaining now without disturbing artifacts due to too responsive
volume changes.
(cherry picked from commit 9615ceabd5)
2011-01-16 22:49:47 +01:00
Tobias Doerffel
60970495b0 CMT LADSPA plugins: get rid of -nostartfiles linker flag
Using the -nostartfiles linker flag makes the CMT LADSPA plugin
library not being linked against neccessary libraries on recent Linux
systems. Therefore remove it.
2011-01-16 18:53:12 +01:00
Tobias Doerffel
4851839327 LadspaManager: print error string when failing to load LADSPA library
In order to ease debugging of problems with the LADSPA library loader
print QLibrary::errorString() if loading a library fails.
2011-01-16 18:50:01 +01:00
Andrew Kelley
7b7dc0bfb2 don't change the current project when auto-saving
every time auto-save ran, it would change the current project to
"recover.mmp". Now it doesn't do this because Song has
guiSaveProject(), guiSaveProjectAs(), and saveProjectFile().
(the latter is used for auto-save)
(cherry picked from commit 953522f34a)
2011-01-12 17:09:45 +01:00
Andrew Kelley
d75677b9d3 auto-saves every minute and recovers upon crash
auto-save time is not configurable yet. saves "recover.mmp" to
WORKING_DIR every 60 seconds. Deletes recover.mmp on successful
close of LMMS. If recover.mmp is found upon start, it loads that
project.
(cherry picked from comit f73ccadc17)
2011-01-12 17:09:14 +01:00
Tobias Doerffel
6280fd9faf Mixer: free m_inputBuffer[i] at exit
In Mixer::~Mixer make sure to free resources allocated in the
m_inputBuffer[] array.
(cherry picked from commit 1f6039340b)
2011-01-08 01:30:02 +01:00
Tobias Doerffel
cfce2bc827 Fixed various minor semantic glitches
There were various minor semantic glitches reported by cppcheck and
Andrei Smirnov.
(cherry picked from commit a4de8fa16a)
2011-01-08 00:19:11 +01:00
Tobias Doerffel
ea94e6aa32 SongEditor: added smooth autoscroll
Instead of flipping to next page when the play position marker reaches
the right edge, scroll to next page smoothly using the QTimeLine class.

Closes #3144318.
2011-01-05 12:36:14 +01:00
Tobias Doerffel
6be555d61a SongEditor: always bring up to front after loading a project
When just opening a song in order to listen to it, it's very annyoing to
manually bring up the song editor each time, therefore do it
automatically.
2011-01-05 11:53:56 +01:00
Tobias Doerffel
2bb08099b3 CALF: updated up to commit b9b6dc839c40cebbd632ca776817a11c2543265c
There were many changes in the CALF repository. Cherry picking all of
them individually would be lot's of work, that's why I just applied
a diff made up from the following commits:

 * Add ChangeLog entries of the remaining bugfix 0.0.18 releases.
 * First attempt to update ChangeLog with the changes from last 2 years.
 * Fluidsynth: set sample rate on a synth instance.
 * Monosynth: allow modulation matrix when configure is available.
 * Improve LADISH level 1 integration. Doxygenize host_session a little bit.
 * Avoid starting LASH just to display the help text.
 * Reuse instance IDs of removed plugins.
 * Don't crash on failure of the save operation.
 * Remove by pointer, not by position - better for rearranged lists.
 * Mark the reorder function as experimental. Print new plugin order to stdout.
 * Add channel number to internal MIDI API. Fix stack overflow in Calf Organ.
 * Ignore data type for now, to help diagnosing restore issue with Ardour.
(cherry picked from commit a6c6e18508)
2011-01-03 00:01:57 +01:00
Tobias Doerffel
a04df066bd ZynAddSubFX: fixed improved packaging of ZynAddSubFxCore library
When packaging the ZynAddSubFxCore library (Windows builds), there's no
need for including the DLL import library, so skip it. Furthermore make
sure to strip the ZynAddSubFxCore library which decreases its size from
8 MB to about 1 MB.
(cherry picked from commit 4616a53eb2)
2011-01-02 23:45:01 +01:00
Tobias Doerffel
aed2d69ff8 Build system: revised Qt4 detection for Win32/Win64 builds
I updated the MinGW cross compiling packages to come alogn with
Qt 4.7 and a revised build architecture. Qt's devel tools such as
qmake, moc & friends are now built natively and allow using them like
native Qt installations. This means there's less to hardcode in the
MinGWCrossCompile file.
2011-01-02 00:59:46 +01:00
Tobias Doerffel
a38c762730 Build system: removed FindPkgConfig.cmake
Removed FindPkgConfig.cmake as it's part of all even less recent
CMake installations.
2011-01-02 00:58:25 +01:00
Tobias Doerffel
4641fcc6d3 Audio: Re-enabled PortAudio backend
The PortAudio backend lay down broken for quite a while. However as it
offers much better realtime capabilities on Windows compared to SDL, I
started to resurrect it, removed support for PortAudio < 1.9 and fixed
various bugs and crashes.
2011-01-02 00:54:43 +01:00
Tobias Doerffel
a9717c0cc3 NotePlayHandle: send correct MidiNoteOff events if base note changed
When changing an InstrumentTrack's base note while NotePlayHandles are
active, they will send a wrong MidiNoteOff event due to the masterKey()
translation in InstrumentTrack::processOutEvent().

Therefore in NotePlayHandle remember the original base note value and
add the difference between original and current base note to the value
returned by NotePlayHandle::key(). Fixes hanging notes in MIDI-based
instruments such as ZynAddSubFX.

Furthermore some coding style improvements.

Closes #3146975.
2010-12-31 13:23:08 +01:00
Tobias Doerffel
65a0313807 Merge branch 'win64-vst'
* win64-vst:
  VST support layer: fixed non-working 64 bit VST plugins
  VST support layer: added 32 bit VST plugin support for Win64
  Win64Toolchain: added 32 bit compiler configuration
  ZynAddSubFX: use new RemotePlugin::init() method
  RemotePlugin: added support for running remote process multiple times
(cherry picked from commit 65c073ec63)
2010-12-26 11:25:54 +01:00
Tobias Doerffel
269234fd09 SpectrumAnalyzer: fixed multiple instantiations
When instantiating the SpectrumAnalyzer plugin more than once the
processed data somehow got invalid and caused all but the first
SpectrumAnalyzer instance not to work at all. This can be fixed easily
by clearing m_buffer in SpectrumAnalyzer's constructor.

Closes #3137877.
(cherry picked from commit ab814c03a7)
2010-12-24 00:37:58 +01:00
Tobias Doerffel
dc1c43bb0a Build system: fixed CPACK_NSIS_DISPLAY_NAME
Use "LMMS ${VERSION}" for the CPACK_NSIS_DISPLAY_NAME variable. This
affects the start menu entries on Windows where we want the user to be
able to distinct between various installed versions of LMMS easily.
2010-12-20 01:30:45 +01:00
Tobias Doerffel
482f89d03e Made 0.4.9 release
Bumped version number to 0.4.9 in CMakeLists.txt and README.
2010-12-15 00:20:18 +01:00
Tobias Doerffel
a352341080 CMakeLists.txt: new filename for Fluidsynth DLL
When packaging for Win32 use the new filename for the Fluidsynth DLL.
2010-12-14 10:38:15 +01:00
Tobias Doerffel
1590dd0d39 ZynAddSubFX: link against -lws2_32 on Win32
Once more explicit linking is required with recent MinGW toolchains.
2010-12-06 10:42:29 +01:00
Tobias Doerffel
49b6f25b2d Build system: explicitely link against WinMM library on Win32
When building for Win32 with recent MinGW64 runtime we have to link
against WinMM library explicitely.
2010-12-05 23:58:34 +01:00
Tobias Doerffel
8c4a8182ab MidiWinMM: fixed compiler warning
Pass 0 instead of NULL for 3rd and 4th argument of midiOutOpen().
2010-12-05 23:29:23 +01:00
Tobias Doerffel
625e70d50a Build system: fixed relative linker paths warnings
Fixed the warnings about relative linker paths issued by CMake >= 2.8.
2010-12-05 23:27:55 +01:00
Tobias Doerffel
b1b63364d5 Merge branch 'calf-updates'
* calf-updates:
  Reimplement modulation matrix (and tables in general) using configure variables. Slow and most likely incomplete, but a good start.
  Add extra checks to detect when param_count != param array size - 1.
  Fix another install-related crash, this time due to invalid params in fluidsynth. (cherry picked from commit 034e3a47cd40eb6bb7d221274fda2a5c1c79f42f)
  Fix the infamous crash on install. (cherry picked from commit f0568e2f8a4c7d0003cc5a15e300aa2ebb3f93cb)
  The range given in the comment wasn't really correct. (cherry picked from commit 292cdaa81dab7e7d948f597041cb86d70dc5ff92)
  Use symmetric dB range for EQ plugins.
  Fix a few bugs in compilation of limited versions (DSSI without GUI, no JACK host).
  Initialise the vintage delay properly... hopefully this time. (cherry picked from commit c96ff1d680148cc877fab3b641d666068eea06aa)
  Unbreak Monosynth by changing listview to use a 'key' attribute instead of 'param'.
(cherry picked from commit c562952800)
2010-12-05 23:11:43 +01:00
Tobias Doerffel
20d6852cda Refreshed French QM file
For some reason the "lrelease" utility produced an incomplete QM file.
Releasing from within the Qt Linguist seems to work.
2010-11-07 17:04:46 +01:00
Tobias Doerffel
884116e6a6 Updated French localization files
Thanks to Bernard Opic <bernard/dot/opic/at/media-tips/dot/com> for the
contribution!
2010-11-07 17:02:13 +01:00
André Hentschel
1ea719c7c4 vst_base: Fix winelib build on x86-64 2010-11-04 17:09:35 -04:00
Tobias Doerffel
af17d00821 Merge branch 'calf-updates'
* calf-updates:
  Make meters in compressor/EQ/distortion modules sample-rate-dependent. (cherry picked from commit 47a87c696223625d31cf106e12ed08cd3293be14)
(cherry picked from commit 6581a11a45)
2010-10-17 18:19:32 +02:00
Tobias Doerffel
60d302d09e InstrumentTrackView: use QMdiArea's window activation history
There's no need to implement an own (buggy) window activation history
for InstrumentTrackWindows. Use QMdiArea::subWindowList(...) instead.
Fixes buggy keyboard focus when switching between InstrumentTrackWindows.
(cherry picked from commit c05965117c)
2010-10-06 10:17:48 +02:00
Tobias Doerffel
3ae2b40eec InstrumentTrackView: added one-window-mode + global piano focus
Added a one-window-mode which allows to have only one instrument track
window open at a time. The content of this window is replaced each time
you open a different track.

Furthermore added global reception and forwarding of key events to the
piano widget of the top-most instrument track window. This for example
enables the user to play test sounds while tweaking some effects in a
different subwindow.
(cherry picked from commit 93681760d2)
2010-10-05 11:25:43 +02:00
Tobias Doerffel
384a024bae Fixed alternating row color in QTreeView (Sf2 patch selector)
With Qt 4.7 the alternating row color in the Sf2 patch selector dialog
somehow was messed up. Fixed this by explicitely setting the alternating
row color in the style's CSS files.
(cherry picked from commit fd40743772)
2010-09-29 16:33:53 +02:00
Tobias Doerffel
66b83dfaec SampleTrack: do not hide EffectRackView forever when closing subwindow
Whenever closing the sample track effects window using its own close
button and trying to open it again there was only a really small window
without functionality. Fixed this by explicitely also showing subwindow
content in showEffects().

Closes #3075205.
(cherry picked from commit 830c2cb975)
2010-09-29 16:10:52 +02:00
Tobias Doerffel
f1f5040ddc Merge branch 'calf-updates'
* calf-updates:
  LADSPA/CALF: removed unused file
  One table_edit_iface per table; start implementing a bridge class. (cherry picked from commit 2019ae2d8f9636b7d5cdb0c1fdd5f0d6f2b47e3d)
  Move the table_edit_iface out of plugin_metadata_iface, where it should have never been in first place. (cherry picked from commit 6907dc9670eae2313707b142c552a8d9e8b477b5)
  Fix organ crash in calfjackhost. (cherry picked from commit b2853103199b3f5f3a5d22271c5d89122514dd53)
  Remove the forgotten leftover references to the old extensions. (cherry picked from commit deb8b77bdb1e1648a38589b3be3d4d66175b4934)
  Replace string port/message context using persist extension. (cherry picked from commit b8e69ceb2ff7aca549efd939d04447e2f08ad5a8)
  Comment out the barfage when passing configure variables via message_run. (cherry picked from commit 1e767ff88578011c2f65466d5516953271e2cafd)
  Add a crude incomplete implementation of persist extension support. (cherry picked from commit 3ec11c04799fc08fd408c4ef2350df65f88ccfde)
  Add LV2 persist extension by paniq. (cherry picked from commit 1965282a28c6940164ffff7ebd106b27cafd7f2a)
  More refactoring of the VUs. The goal: to be able to add peak meters without major hassle. (cherry picked from commit 00ee132cc2ebe3b664c7d5760260d76dda37bf26)
  Fix handling of very short notes in Monosynth. (cherry picked from commit 5965d9922a0753e2dce4f743a23b9512be01a7ac)
(cherry picked from commit 01c91b6ce3)
2010-09-28 23:44:33 +02:00
Tobias Doerffel
79d6cff46f Made 0.4.8 release
Bumped version number to 0.4.8 in CMakeLists.txt and README.
2010-09-03 00:22:33 +02:00
Tobias Doerffel
49d833c2fd VstEffectControlDialog: fixed preprocessor macro logic
Fixed preprocessor macro logic that was messed up in commit
fa9e0f762c.
(cherry picked from commit 342ea2ba05)
2010-09-02 23:48:58 +02:00
Tobias Doerffel
1bf3768c1c VstEffectControlDialog: workaround for invisible GUI on Linux
For some reaons with recent versions of Qt we can't embed the VST FX
GUI into an existing EffectControlDialog anymore. As a workaround, embed
it into a new subwindow and added an additional show/hide button.

Closes #3028717.
(cherry picked from commit fa9e0f762c)
2010-09-02 17:38:05 +02:00
Tobias Doerffel
d396a29c06 ZynAddSubFX: only re-instantiate ZASF if m_hasGUI has changed
Do not re-instantiate ZynAddSubFX if m_hasGUI is different from the
value of the according push button.
(cherry picked from commit f05c510f4d)
2010-09-02 17:23:31 +02:00
Tobias Doerffel
bac2b28ad7 ZynAddSubFX: save which controllers were modified and restore them
We must not only restore the controller knobs but also send updates
to ZynAddSubFX. However this only applies to knobs that were modified.
Therefore save and remember which knobs this applies for.
(cherry picked from commit b2cc802528)
2010-09-02 17:23:28 +02:00
Tobias Doerffel
2c99688f91 ZynAddSubFX: fixed identifier for filter resonance controller
The filter resonance controller erroneously was labeled with something
like "cutoff" which is definitely wrong. Use "resonance" instead.
(cherry picked from commit 1546b7cec0)
2010-09-02 16:24:57 +02:00
Tobias Doerffel
1c4d1f4ed3 PianoView: send NoteOff MIDI events for all keys on focus out
Commit 491910357b was a first try to fix
bug #3052228 but it broke InstrumentPlayHandle-driven instruments.
When losing focus now simply send NoteOff MIDI events for all keys
regardless of the state indicated by Piano::m_pressedKeys.

Closes #3052228.
(cherry picked from commit f8e73c5293)
2010-09-02 01:54:20 +02:00
Tobias Doerffel
706201dd79 Revert "PianoView: call InstrumentTrack::silenceAllNotes() on focus out"
This reverts commit 491910357b.
2010-09-02 01:47:28 +02:00
Tobias Doerffel
a2a1277660 SID: improved artwork+logo once more
The first version of mikobuntu's logo had a white semitransparent
background. This has been fixed. Additionally the background artwork
of the SID plugin has been changed as well to include the new logo.
Thanks to pgib for preparing this.
(cherry picked from commit eb673c0ad5)
2010-09-02 00:07:07 +02:00
Tobias Doerffel
491910357b PianoView: call InstrumentTrack::silenceAllNotes() on focus out
If we lose focus, call InstrumentTrack::silenceAllNotes() after
explicitely sending NoteOff MIDI events for all keys for which presses
were recorded. In case the arpeggiator is enabled this is not
sufficient. Fixes hanging notes when switching active subwindow while
pressing keys in an instrument track window with arpeggiator enabled.

Closes #3052228.
(cherry picked from commit 2f921303eb)
2010-09-01 23:56:28 +02:00
Tobias Doerffel
18d3c886a6 ZynAddSubFX: properly load preset data if knobs are automated/controlled
Commit 534c4debb5 introduced a regression.
If knobs have a song-global automation or controllers attached, they
save these settings in a sub XML node which confused the ZASF preset
loader which assumed the first child node would always be the ZASF
preset data. Fix this by explicitely searching for an XML element named
"ZynAddSubFX-data".

Closes #3057275.
(cherry picked from commit 4e695a4ea8)
2010-09-01 23:29:30 +02:00
Tobias Doerffel
58462500d0 SID: added new logo by mikobuntu
Added a logo remake by mikobuntu. Thanks!
(cherry picked from commit 56ee4db565)
2010-09-01 23:29:28 +02:00
Tobias Doerffel
59f3d81d37 Mirror Commodore logo on SID instrument (v2)
This is an attempt to improve commit c17bb3ba18. The logo has
been mirrored using ImageMagick which doesn't seem to mess up the 8 bit
alpha channel.
(cherry picked from commit 4763da4daa)
2010-09-01 00:26:24 +02:00
Tobias Doerffel
3fae87ae3d CMakeLists.txt: explicitely search for pthread and link against it
On Linux and OS X search for pthread library and link against it
explicitely. This fixes link problems on recent Linux distributions
where indirect linking (by dependencies) is disabled. Thanks to thm
for pointing out this issue.
(cherry picked from commit 1b84b360f4)
2010-08-31 19:21:33 +02:00
Tobias Doerffel
bf595cf285 ZynAddSubFX: added LED checkbox to disable forwarding of MIDI CC events
After introducing the control knobs it's not always desired to forward
all MIDI Control Change events to ZynAddSubFX. Therefore added an LED
checkbox which allows to disable forwarding of such events.

Closes #3055332.
(cherry picked from commit 0b7e37ca6a)
2010-08-31 16:41:23 +02:00
Tobias Doerffel
1669daa788 ZynAddSubFX: forward all MIDI events but NoteOn if muted
There's no reason for not forwarding MIDI events such as NoteOff,
ControlChange etc. when muted. Therefore only do not forward NoteOn
when muted.
(cherry picked from commit 39918f8835)
2010-08-31 16:41:20 +02:00
Tobias Doerffel
611a36e56b MidiEvent: added read method for type property
Even if the type property of the MidiEvent class is still public, there
should be a method for reading it.
(cherry picked from commit 1d5b62d61a)
2010-08-31 16:41:16 +02:00
Paul Nasca
c407bbe15b Bugfix extra "for" in adsynth
(cherry picked from commit e6bc35ff98e3f430a4d091aae8f059b7925179f3)
(cherry picked from commit ab2e117ed8)
2010-08-31 11:48:12 +02:00
Tobias Doerffel
380b0bfa9b Merge branch 'calf-updates'
* calf-updates:
  Use generic single VU meter in some dynamics plugins as well. (cherry picked from commit 50505a2d304555bb3b766c43af5cd1a27de331e2)
  Refactor metering code out of distortion plugins. (cherry picked from commit 84d873861da7b4ad205061b00fcc9f73c47140b6)
  More variable initialisation. (cherry picked from commit 40bbe048f27fc7190001383f93097127119ee667)
  Initialise old-state variables to prevent "stuck" graphs. (cherry picked from commit 2a795084ee9e73712a4b690b84158cc745ff1d30)
(cherry picked from commit cb52114261)
2010-08-31 11:41:50 +02:00
Tobias Doerffel
8ebdee61f6 PianoRoll: respect stacking order of notes
Notes are always drawn on-top of each other starting from the left
to the right. However the behaviour when clicking notes was reverse,
which made it quite hard to edit notes sometimes. Now the top most
note is edited/selected/moved/resized if notes overlay.

Closes #2808603.
(cherry picked from comit 28eb7e00bf)
2010-08-24 18:47:39 +02:00
Tobias Doerffel
9288998686 Merge branch 'calf-updates'
* calf-updates:
  Add Sidechain Gate, rename Gate to Expander, cleanups etc.
(cherry picked from commit 80a1b6b8e8)
2010-08-24 09:34:05 +02:00
Tobias Doerffel
819e6392cd SampleBuffer: for OGG files try with OGG Vorbis decoder first
This is workaround for a bug in libsndfile or our libsndfile decoder
causing some OGG files to be distorted. Therefore try the OGG Vorbis
decoder first if filename extension matches "ogg".

Closes #2957937.
(cherry picked from commit 6e64bcfc42)
2010-08-22 02:22:45 +02:00
Tobias Doerffel
d91c703725 ZynAddSubFX/QtXmlWrapper: fixed loading of oddly formatted presets
Some ZynAddSubFX presets have one or more leading blank lines which
confuses the QtXml module. Therefore dynamically remove characters from
the beginning of the data until we encounter a '<' character.

Closes #3047560.
(cherry picked from commit 32dbda5b33)
2010-08-22 01:03:47 +02:00
Tobias Doerffel
3a79dc1741 PianoRoll: allow chaning volume and panning of step notes
There's no reason to not allow changing volume and panning of step notes
in PianoRoll. Therefore simply check whether the length is not equal to
zero (which might be disabled step notes) instead of checking for length
being greater than zero.

Closes #2836799.
(cherry picked from commit 8286c1031d)
2010-08-19 00:17:41 +02:00
Tobias Doerffel
4e3072137b PianoRoll: fixed messed up editing modes when pressing Ctrl
There were some bugs when pressing Ctrl while in SelectMode. Fix this
by always setting m_ctrlMode and m_editMode in keyPressEvent() when
Ctrl was pressed.

Closes #2854958 and #2836576.
(cherry picked from commit 46c20bdcbd)
2010-08-18 23:58:49 +02:00
Tobias Doerffel
9cf0f4932a Song: reset global models in clearProject()
We have to reset global models such as tempo, master volume etc. before
clearing the global automation patterns attached to them. Fixes bug with
persistent automation on these controls when clearing project.

Closes #3046039.
(cherry picked from commit 2614474246)
2010-08-16 23:40:48 +02:00
Tobias Doerffel
54ce5b96f6 MeterModel: clear global automation patterns in reset()
When resetting a MeterModel we also have to clear global automation
patterns attached to it. Fixes bug with persistent automation data on
e.g. time signature widget when clearing project.
(cherry picked from commit 23a3efcac0)
2010-08-16 23:40:44 +02:00
Tobias Doerffel
89eae05a16 Renamed all automation related files and classes to match new coding style
All automation-related files and classes have been renamed to match the
new coding style.
(cherry picked from commit 9b280ffb3e)
2010-08-16 23:40:33 +02:00
Tobias Doerffel
b16e81ebff ControllerRackView: do not loose focus when adding controller
For an unknown reason the ControllerRackView looses focus when adding
a new controller. Fix this by explicitely calling QWidget::setFocus()
at the end of ControllerRackView::addController().

Closes #3046041.
(cherry picked from commit 676a6fbad1)
2010-08-16 23:39:04 +02:00
Tobias Doerffel
564ef08127 InstrumentTrackWindow: correctly disconnect from track's signals
We used QObject::disconnect() the wrong way leading to multiple
connections from InstrumentTrack::instrumentChanged() to
InstrumentTrackWindow::updateInstrumentView(). This resulted in
loading times being doubled each time you loaded a preset on the same
InstrumentTrack.

Closes #2934099.
(cherry picked from commit 9acb47a7a8)
2010-08-15 14:22:38 +02:00
Tobias Doerffel
cd08109847 InstrumentTrack: do not try to load "libconnection.so" in compat code
In compat code of InstrumentTrack::loadTrackSpecificSettings() also
check for nodeName being equal to ControllerConnection::classNodeName().
This avoids trying to load the non-existing instrument "connection".
In master branch this has been fixed ugly in commit 22c877d4 before,
however implement a cleaner solution which is also suitable for
backporting.

Closes #3021259.
(cherry picked from commit 65311ef2b4)
2010-08-15 14:00:11 +02:00
Tobias Doerffel
b9f5795da6 EffectView: fixed artifacts with semitransparent widget shadow
We must not set the Qt::WA_OpaquePaintEvent attribute when using a
semitransparent background image in paintEvent(). Fixes artifacts
in EffectView's shadowed border.
(cherry picked from commit d830e7f622)
2010-08-15 12:44:29 +02:00
Tobias Doerffel
48891a7de3 VstPlugin: use guarded pointer for pluginWidget
The pluginWidget of a VstPlugin (i.e. the VST editor) might be destroyed
outside VstPlugin's control resulting in a dangling pointer. This leads
to crashes for example when changing the model of an EffectView where a
VST plugin is attached, i.e. when re-opening a InstrumentTrackWindow of
an InstrumentTrack with a VST effect inside.

This can be fixed easily by using QPointer.

Closes #3045102.
(cherry picked from commit f4b84a6058)
2010-08-15 12:44:27 +02:00
Tobias Doerffel
6a99bb11af SampleTrack: fixed non-functional solo and mute buttons
The SampleTrackView did not explicitely have a SampleTrack model
attached and thus trackView::modelChanged() was not called. This way
SampleTrackView's mute and solo buttons were not connected to the
according models of the SampleTrack model. Fix this by calling
setModel() in SampleTrackView::SampleTrackView() (as done in
constructors of other track types too) and overload the
SampleTrackView::modelChanged() method.

Closes #3043836.
(cherry picked from commit 311bc92bde)
2010-08-14 00:26:34 +02:00
Tobias Doerffel
0770bda441 Renamed PATH_SEPARATOR to LADSPA_PATH_SEPARATOR and fixed it
Commit 4e9ebd09c6 introduced PATH_SEPARATOR
but with wrong syntax. Fixed this and renamed it to LADSPA_PATH_SEPARATOR.
2010-08-12 10:30:59 +02:00
Paul Giblock
09b5bc906e Use proper path seperator for LADSPA_PATH
According to http://www.ladspa.org/ladspa_sdk/shared_plugins.html,
LADSPA_PATH is supposed to be delimited by colons.  This patch does so,
except on Windows.  On Windows we use ';' instead of ':' since colon is
a legal character for a path.
2010-08-12 09:12:04 +02:00
Tobias Doerffel
d8594fad15 TrackContainerView: fixed dragged presets into BB Editor
When dragging preset files into BB Editor the patterns were messed up
because simple serializing was not enabled (and thus newly created
patterns were removed again). Fix this by enabling simple serializing
mode before calling InstrumentTrack::loadSettings().

Closes #3041686.
2010-08-11 17:54:41 +02:00
Tobias Doerffel
1d50e6b42e Default theme: improved tooltip appearence
Thanks to mikobuntu for this patch.
(cherry picked from commit 2ed12b138d)
2010-08-11 17:31:51 +02:00
Tobias Doerffel
6c9dc19eb4 ZynAddSubFX: save and restore settings of new knobs
When adding the new knobs for automatable parameters of ZynAddSubFX,
I forgot to include them in the save/load routines.
(cherry picked from commit 534c4debb5)
2010-08-11 00:48:33 +02:00
Tobias Doerffel
3502bbccf8 CMakeLists: print warning about missing Mallets instrument instead of Stk
The Vibed plugin has nothing to do with STK. Instead the Mallets
instrument plugin is meant. Fixed.
(cherry picked from commit a0ef88908c)
2010-08-11 00:29:13 +02:00
Tobias Doerffel
ec19be69cd Added missing FileAssociation.nsh
Commit 07a7442758 includes the new file
FileAssociation.nsh which was not added in that commit. Fix this.
2010-08-06 01:38:10 +02:00
Tobias Doerffel
07a7442758 Win32/64 installer: associate LMMS project files with LMMS
Added some NSIS commands to associate LMMS project files with LMMS
during installation.
2010-08-06 01:33:49 +02:00
Tobias Doerffel
9e98dec0c4 Manpage: fixed duplicate help item and updated program description
Thanks to pgib who pointed out the duplicate help item for the
--interpolate option. Additionally updated the program description.
(cherry picked from commit 5f131f1a69)
2010-08-06 01:31:41 +02:00
Tobias Doerffel
12d2cd3064 Made 0.4.7 release
Bumped version number to 0.4.7 in CMakeLists.txt and README.
2010-08-02 16:36:34 +02:00
Tobias Doerffel
e1e36e6831 ZynAddSubFX/FLTK: added missing source file
The Windows builds of FLTK require Fl_GDI_Printer.cxx. Add it here.
2010-07-31 20:51:00 +02:00
Tobias Doerffel
eeaa13f7d0 CMakeLists.txt: copy zlib1.dll into Windows package
The MinGW packages have changed such that zlib is an external library
again (instead of built-in into QtCore), therefore we need to copy the
according DLL into the Windows package.
2010-07-31 20:48:41 +02:00
Tobias Doerffel
042dda146c CMakLists.txt: added lmmsconfig.h.in and build_mingw64 to dist target
Added lmmsconfig.h and build_mingw64 to dist target so they get packaged
into a release tarball.
2010-07-29 14:00:29 +02:00
Tobias Doerffel
f2b9c8e34f More MinGW64 fixes
Some more trivial fixes for successfully compiling for Win64.
(cherry picked from commit 7b85371a38)
2010-07-28 21:28:43 +02:00
Tobias Doerffel
632dee611d TextFloat: fixed size calculation in simple mode
The height of TextFloat objects was not sufficient e.g. when used as
tooltips for knobs (while changing their values). Fixed improper
geometry calculation and static values in TextFloat::paintEvent().
(cherry picked from commit db8de3450c)
2010-07-28 20:16:24 +02:00
Tobias Doerffel
ef6c3d45f8 ZynAddSubFX: added knobs for MIDI controls
Added knobs for some MIDI controls that are recognized by ZynAddSubFX.
This allows to automate some basic parameters of ZynAddSubFX inside LMMS.
(cherry picked from commit 7a4f110af3)
2010-07-28 20:01:24 +02:00
Tobias Doerffel
4b6de6b07b Default theme: replaced background artwork with a more decent one
The previous blurry background artwork was reported to be quite
annoying. Therefore replaced it with a more decent one.
(cherry picked from commit 4d532371e7)
2010-07-26 16:17:27 +02:00
Tobias Doerffel
2b73083100 AudioJack: do not use QVector in processCallback()
Using QVector involves calls to malloc & friends which are not RT safe
and thus must not be used in AudioJack::processCallback(). Instead
allocate the required array upon initialization.
(cherry picked from commit ae7a4e4c2f13432d39b13c25b66231bdd6a1cc65)
2010-07-26 15:59:32 +02:00
Tobias Doerffel
2ba532bf30 AudioJack: more optional code for AudioPort support
There's been some more code that is only required if AUDIO_PORT_SUPPORT
is set. Added according #ifdefs and fixed a typo in AudioPort support
code.
(cherry picked from commit e98726ae992c77fb2dfdb6668319b5521ff8aaef)
2010-07-26 15:59:27 +02:00
Tobias Doerffel
3929848ec4 Merge branch 'zynaddsubfx-master'
* zynaddsubfx-master:
  FLTK/CMakeLists.txt: fix CMAKE_MODULE_PATH, don't use 3rdparty code
  ZynAddSubFX/FLTK: updated to SVN revision 7680
  ZynAddSubFX: check whether QDomDocument::setContent() succeeded
  ZynAddSubFX: completely reinitialize config after changing working dir
  ZynAddSubFX: set working directory before setting preset directory
  ZynAddSubFX/CMakeLists.txt: use global binary dir as last include dir
  ZynAddSubFX/CMakeLists.txt: remove accidently added subdirectory
  ZynAddSubFX: resynced with upstream (version 2.4.1)
  ZynAddSubFX/FLTK: updated to SVN revision 6970
  Misc: Minor changes to filter_ to reduce warnings (cherry picked from commit e2b1eb9b1077e6516c0cc4e2283e5c886bed0e58)
  Cleanup: Separated Presets into Presets/PresetsArray
  ZynAddSubFX: fixed commit d61283ad93
  ZynAddSubFX/FLTK: updated to SVN revision 6943
  small changelog fix (cherry picked from commit c8d411b5f7e7a295286c1ac2c09ae22f15a1db51)
  VirKeyboard: Fixed possible segfault
  small changes on Bandwidth on Reverb (cherry picked from commit d0b0a4e00a44559a4e78035fd04568bd4bab9651)
  ZynAddSubFX: new QtXmlWrapper, a QtXml-based XML backend for ZASF
(cherry picked from commit 278b70384e)
2010-07-26 15:15:56 +02:00
Tobias Doerffel
e8c8054535 CMakeLists.txt: install libFLAC-8.dll for win32 build
After updating some external libraries, libFLAC-8.dll is now required
as well, so install it into the win32 package.
2010-07-25 19:29:13 +02:00
Tobias Doerffel
8561c3cc09 RemotePlugin: use debugMessages() instead of fprintf for error messages
Printing error messages using fprintf() does not help much with
RemotePlugins as their stdout/stderr usually is not redirected to the
parent process. Instead use the debugMessage() function.
(cherry picked from commit a55d71cf7f)
2010-07-25 19:27:58 +02:00
Tobias Doerffel
1513b0c437 Win32Toolchain: define CFLAGS/CXXFLAGS in top level build_mingw32 script
All flags which are used now for building Win32 version of LMMS are now
defined in the top level build_mingw32 script instead of the
Win32Toolchain cmake files.
2010-07-25 19:22:28 +02:00
Tobias Doerffel
6da391ea69 ZynAddSubFX: save configuration file in LMMS working directory
On non-Linux platforms configuration file was saved in the application
path which definitely is not desired and also will not work in many
situations. Therefore always save ZynAddSubFX configuration file in
LMMS working directory.
(cherry picked from commit 000f67d01d)
2010-07-25 19:21:49 +02:00
Tobias Doerffel
610f01b0f9 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
(cherry picked from commit b25f6f3911)
2010-07-25 18:50:42 +02:00
Tobias Doerffel
ea4f034fa8 ZynAddSubFX: added window icon (win32 version only)
Added a window icon to ZynAddSubFX windows for better appearance.
This is currently only possible for the win32 version a lot more hacks
are required to achieve this for X as well :-(
(cherry picked from commit 30060e41b7)
2010-07-25 17:03:12 +02:00
Tobias Doerffel
9b39b483e9 CMakeLists.txt: rename config.to to src_config.h
Commit e07ed33827 renamed config.h to
src_config.h. Also reflect that change in CMakeLists.txt.
(cherry picked from commit a7aff505c1)
2010-07-25 16:54:40 +02:00
Tobias Doerffel
6203fdaa4f ZynAddSubFX: allow hiding UI by closing main window
It's now possible to hide the ZynAddSubFX UI by simply closing its main
window instead of going back to LMMS and toggle the "Show UI" button.

Furthermore moved code for GUI thread into a non-static member function
of RemoteZynAddSubFx and removed the old code for handling IdHideUI
messages.
(cherry picked from commit fe7486750b)
2010-07-25 15:21:20 +02:00
Tobias Doerffel
4689484ef7 lmms.rc.in: updated copyright year
Updated copyright year in win32 resource file.
(cherry picked from commit 5c2c356ba4)
2010-07-25 14:39:39 +02:00
Tobias Doerffel
ade301a51a 3rdparty/libsamplerate: renamed config.h to src_config.h
We must not have any file called config.h in directories which are added
to global include directories. For example when building the CALF plugin
the file config.h from libsamplerate was used rather than CALF's local
one. Fixes missing LADSPA symbols in CALF library if no usable
libsamplerate was found in the system at configure time.

Also bumped version number in src_config.h.
(cherry picked from commit e07ed33827)
2010-07-25 14:36:45 +02:00
Tobias Doerffel
08c0916916 RemoteVstPlugin: silence compiler warning
Initialize variable of type DWORD with 0 instead of NULL.
(cherry picked from commit 5f33f1ea77)
2010-07-25 11:35:35 +02:00
Tobias Doerffel
4b89814e3a TrackContentObject: keep position in paste()
When calling TrackContentObject::paste(), only the content should be
pasted, not the position. This fixes pasting for example note patterns
and is also a more generic solution for the bug fixed in commit
4ec5c6afe1.

Closes #3005649.
(cherry picked from commit 5306f7b0ca)
2010-07-25 01:27:23 +02:00
Tobias Doerffel
6990ecd829 When cloning BB track, indicate this fact in name of cloned BB track
Cloning a BB track can be rather confusing (e.g. two "Beat/Bassline 0").
Therefore prepend an indication to the name of the cloned BB track.
(cherry picked from commit 3b642271a8)
2010-07-25 01:14:16 +02:00
Tobias Doerffel
4ec5c6afe1 Fixed cloning of BB tracks
Not sure when it broke but cloning BB tracks erroneously cloned
positions of TCOs as well which made the source BB track have
two TCOs one upon the other while the destination BB did not have
any TCOs at all.

The fix is to save the position of the destination TCO before and
restore it manually after paste().
(cherry picked from commit c16e04c0dd)
2010-07-25 01:14:10 +02:00
Tobias Doerffel
74f4cb0368 ZynAddSubFX: on Linux link against libfontconfig
FLTK requires libfontconfig on Linux, therefore link against it.
(cherry picked from commit 7b0b932441)
2010-07-25 01:14:01 +02:00
Tobias Doerffel
7d78268f85 ExportProjectDialog: guess file format from extension
If we choose to export an OGG file in the first dialog, it's really
annoying having to select OGG a second time. Therefore guess file
format from extension (backport from master).
2010-07-25 00:33:48 +02:00
Tobias Doerffel
a2aafd79d0 NotePlayHandle: fix broken note detuning feature
Commit 884b9ca671 completely broke the
note detuning feature as the detuning value was not incoorporated into
the frequency calculation anymore. Fix this by adding the detuning value
to the pitch variable.
(cherry picked from commit b30e91042b)
2010-07-25 00:24:17 +02:00
Tobias Doerffel
199d78de59 Merge branch 'calf-updates'
* calf-updates:
  Fix incorrect plugin class (spotted by Luis Garrido).
  Add windowing-based antialiasing to hard sync in Monosynth; update last stretch even if synth is idle. (cherry picked from commit d64a0487d88f6730ef90dd6d79b892ad4a114138)
(cherry picked from commit 8ef98b63db)
2010-07-24 23:43:28 +02:00
Tobias Doerffel
47f56ed460 Do not use -ftree-vectorize per default anymore
The compiler flag -ftree-vectorize brings only little advantages in
some special cases. In all other cases either worse or even wrong code is
generated due to bugs in GCC (especially for Win32). Therefore remove it.
2010-07-24 23:32:19 +02:00
Tobias Doerffel
57540de703 AboutDialog: show correct copyright years
It's been two years that the copyright years were not updated in the
AboutDialog. Fix this.
2010-07-23 22:17:54 +02:00
Tobias Doerffel
f85898ba6e Plugins: export PluginDescriptors and lmms_plugin_main function
Various plugins were missing the PLUGIN_EXPORT declaration with their
PluginDescriptor instantiations and lmms_plugin_main implementation
which made some plugins not show up with latest Win32 build.
2010-07-23 22:16:06 +02:00
Tobias Doerffel
9b76a4b6b4 ZynAddSubFx: MinGW64-specific fixes
Some minor modifications were neccessary in order to build LMMS with
the latest MinGW64 environment.
(cherry picked from commit 456abc4cde)
2010-06-16 23:14:37 +02:00
Tobias Doerffel
48b0b1efb9 CALF: minor LMMS-specific updates
Silence a compiler warning introduced by custom changes and fix a
possible compile failure by including another header file in a header
file that we cleared before.
(cherry picked from commit 4393ec8281)
2010-06-16 23:11:11 +02:00
Janne Sinisalo
d1d0ac47b4 Newer ZynAddSubFX plugin tab background
Replaced the background for ZynAddSubFX plugin tab in the instrument window again.
(cherry picked from commit 401652a100)
2010-06-16 23:11:00 +02:00
Janne Sinisalo
4fc4f19093 New ZynAddSubFX plugin tab background
Replaced the background for ZynAddSubFX plugin tab in the instrument window.
(cherry picked from commit 45fc5c6ac7)
2010-06-16 23:10:54 +02:00
Tobias Doerffel
9af1112f33 Merge branch 'calf-updates'
* calf-updates:
  Cleanups/bugfixes in Monosynth.
(cherry picked from commit 1fd115afea)
2010-05-26 12:40:04 +02:00
Tobias Doerffel
d63270cd06 Themes: explicitely set background and text color for tooltips
As the colors of QToolTip depend on the desktop environment used,
explicitely set background and text color for fixing cases like
white text on bright yellow background.

Closes #3006955.
(cherry picked from commit d7ce7d485b)
2010-05-26 12:30:18 +02:00
Andrew Kelley
6a52e6430a Save/Discard instead of Yes/No
Integrates Sami Boukortt's patch described below:

I have made a patch for the “Save changes?” dialog box to let the user choose
between “Save”, “Discard” and “Cancel” instead of “Yes”, “No” and “Cancel”.

I find this way more intuitive, since it enables Qt to reorganize the buttons
properly according to the platform and to give them an icon (at least on X11).

It also allows users to know what is going to happen without having to read
the question.
(cherry picked from commit f9015ac945)
2010-05-25 08:58:27 +02:00
Tobias Doerffel
eab1153561 Merge branch 'calf-updates'
* calf-updates:
  CALF: Added missing config.h
(cherry picked from commit 9c856454d1)
2010-05-22 01:32:49 +02:00
Tobias Doerffel
6a1daf5bc8 Merge branch 'calf-updates'
* calf-updates:
  CALF: rebased to CALF master branch
  Moved CALF headers to  proper location
(cherry picked from commit d2a4a9dbd0)
2010-05-21 17:10:23 +02:00
Tobias Doerffel
c4b378c337 Improved .desktop and menu file
Thanks to Fryderyk Dziarmagowski for providing a patch for the .desktop
file of LMMS. It should be standard conform now. An icon is now
explicitely installed in /usr/share/pixmaps so the .desktop and menu
files can specify a generic icon name rather than an absolute file path
to a PNG file of LMMS' default theme.
(cherry picked from commit 4d3040297c)
2010-05-21 15:56:59 +02:00
Tobias Doerffel
908a917021 EnvelopeAndLfoParameters: moved global instances management into helper class
It's a bad style to manage global instances of an object in the object
itself. Therefore introduced a nested helper class which manages all
instances of EnvelopeAndLfoParameters globally. It is now responsible
for global reset/triggers of LFOs. In contrast to previous state, this
is now done thread-safe. Fixes crashes for example while importing
MIDI files.
(cherry picked from commit 5f6c42f19c)
2010-05-21 14:14:00 +02:00
Tobias Doerffel
488337f6eb Engine: introduced deleteHelper() function
The new deleteHelper() template function takes a pointer, saves it
to a temporary, sets the passed pointer to NULL and then deletes the
object it was referring to before. This way we can spot bugs caused by
undesired references to global objects at shutdown more easily.
(cherry picked from commit fe7d5e3d5a)
2010-05-21 14:13:11 +02:00
Tobias Doerffel
95b0c827d1 InlineAutomation: delete attached AutomationPattern immediately
It was not safe to immediately delete the AutomationPattern attached to
an InlineAutomation object before commit "InlineAutomation: delete
attached AutomationPattern immediately" as the AutomationPattern
destructor sometimes fiddles around with AutomationEditor (GUI!).
However this has changed now and this enables us to delete the
AutomationPattern immediately. This fixes some random crashes with
scheduling AutomationPatterns for later deletion.

Closes #2982696.
(cherry picked from commit a9abdc3e75)
2010-05-21 14:11:55 +02:00
Tobias Doerffel
aa992e8e1b AutomationEditor: thread-safe handling of AutomationPattern pointer
It was not possible to call any of the functions of AutomationEditor
from threads other than the main GUI thread as the m_pattern pointer
was not protected by a mutex. It is however desired to be able to call
for example AutomationEditor::setCurrentPattern(...) from different
threads (mainly required when deleting AutomationPatterns in other
threads). Thus made this method and all accesses to the m_pattern
pointer thread-safe.
(cherry picked from commit afba8a7ad4)
2010-05-21 14:11:32 +02:00
Tobias Doerffel
566a3334aa LadspaEffect/Controls: fixed non-working global channel link checkbox
The global channel link checkbox did not work as expected as of the
M/V-split during 0.3.x -> 0.4.x development. Connected the slot
responsible for updating individual ports after toggling checkbox and
fixed the logic behind.

Closes #2964800.
(cherry picked from commit ace2266529)
2010-05-21 01:08:55 +02:00
Tobias Doerffel
c59fe081ee Improved support for MinGW cross compile builds
Cross compile support for Win32 and Win64 has been unified,
simplified and adapted to the new MinGW64-based build environment.
This finally allows to produce working Win64 binaries.
(cherry picked from commit 51103bb674)
2010-05-17 23:43:52 +02:00
Tobias Doerffel
48fdc70893 Sf2Player: disable per-note-panning support for the time being
The per-note-panning support is broken (not sure whether this is a bug
in FluidSynth or our code) and leads to improperly panned sounds all
the time - even with all notes being panned to center. Thus disable it
until we have a proper fix for it.
(cherry picked from commit 22489ae321)
2010-05-17 23:37:29 +02:00
Tobias Doerffel
9b0925432a SpectrumAnalyzer: skip processing if UI is not visible
There's currently no need for analyzing the sound data if
SpectrumAnalyzer's view is not visible. This saves some CPU time
if SpectrumAnalyzer's view is not shown.
(cherry picked from commit 70b80efec1)
2010-05-17 23:36:54 +02:00
Tobias Doerffel
48bbfad53d EffectControl: store visibility information of attached EffectView
For some effects it is helpful to know whether their attached EffectView
is visible or not. This mainly concerns effects that actually do not
touch the sound data but analyze it and display the results.
(cherry picked from commit 9c9bca7098)
2010-05-17 23:36:46 +02:00
Tobias Doerffel
463d73ea48 Merge branch 'calf-updates'
* calf-updates:
  Simplify Multiband Compressor code and fix several bugs.
  Remove zombie small plugin code.
  Remove small plugins together with all the supporting infrastructure.
  Add Doxygen documentation for plugin_registry class.
  More refactoring.
  General refactoring. Start implementing external GUI.
  + LV2: add external UI header (not used for anything yet)
(cherry picked from commit ceacb484a1)
2010-04-03 13:10:54 +02:00
Tobias Doerffel
7c16094811 Fixed spelling errors
Fixed some spelling errors found by Lintian while checking the Debian
package of LMMS. Thanks to Patrick Winnertz for pointing out this issue.
(cherry picked from commit 9fd3dacb67)
2010-01-25 23:27:43 +01:00
Tobias Doerffel
1ad1c99e35 Merge branch 'calf-updates'
* calf-updates:
  CALF: resync source files due to forgotten commits
  + JACK host: implemented Save/Save as...; Open not implemented yet - who could possibly want THAT?
  + EQ: Fix adding EQ plugin using menu in calfjackhost
  Some changes in style, smaller h/v-scale added
  + LADSPA: make plugin IDs unique across Calf plugins, add an install-time check
  + EQ-5: refactoring to eliminate code duplication, side effect: stereo meters
  + EQ-n: shorter names for calfjackhost and others
  + Equalizers: convert lists of per-band parameters using macros (ugly, but effective)
  + EQ-8, EQ-12: reduce copypasta by using a class template
  + Compatibility: workaround for GStreamer crash bug in Ubuntu 9.10 (thanks to Stefan Kost for diagnosing the problem and suggesting the workaround)
  + Compressor simplification, added optional audio ports
(cherry picked from commit c8a444d026)
2010-01-04 00:46:49 +01:00
Tobias Doerffel
be2b6ec9b0 Merge branch 'calf-updates'
* calf-updates:
  + Deesser: use correct threshold
  + Equalizer: remove unused variables
  + Gain reduction module: clearer authorship information
  + Framework: placeholder for waveshaper class (need it to merge further changes from Markus)
(cherry picked from commit 774bd74c77)
2010-01-04 00:46:44 +01:00
Tobias Doerffel
595d50fc20 Merge branch 'calf-updates'
* calf-updates:
  New widget: Tube with light and falloff
  New Deesser, some minor bugs in sc-comp
  Sidechain compressor bugs/settings, 3 equalizer
  Minor bugs, sidechain frequency display
  New FX: Sidechain compressor
  New button (big mama), VU-meters with falloff and hold, bug in delay (value)
  In the middle of nowhere
  Fully redesigned
  Sidebars, GUI layouts, black buttons again, input knob for compressor
  Added 6 new LED's and peak hold function for VU-meters
  meter_gain in gain_reduction module with falloff
(cherry picked from commit 083c2e1b0b)
2010-01-04 00:46:37 +01:00
Tobias Doerffel
3348a4378f Base64: realize decode() as template function
In Base64::decode() we mess around with pointers so it's more type-safe
to realize everything as a template function. This also silences compiler
warning about dereferencing type-punned pointer in Vibed plugin.
(cherry picked from commit 81cea79c38)
2009-12-26 01:09:56 +01:00
Tobias Doerffel
93eb03612d Made 0.4.6 release
Bumped version number to 0.4.6 in CMakeLists.txt and README.
2009-12-25 00:47:13 +01:00
Tobias Doerffel
d0e769c052 Win32 build: copy new libFLAC-8.dll into package
External FLAC support recently has been added to mingw-x-libsndfile.
Therefore we now require libFLAC-8.dll in our package.
2009-12-25 00:43:15 +01:00
Tobias Doerffel
cc821a1a03 Win32 toolchain: various fixes + march=i686
In build_mingw32 script fixed path to Win32Toolchain.cmake. In this
file set march=i686 and mtune=generic.
(cherry picked from commit c2e0cde213)
2009-12-25 00:42:08 +01:00
Tobias Doerffel
6d890557a7 ConfigMgr: fix initialization of various paths if they do not exist
We should not only test whether a specific path (e.g. STK or LADSPA
path) is empty but also whether it does not exist so we can reset it
to a sensible default value (for example when upgrading LMMS on Win32
where the program's path will change).

Furthermore default to "C:\Program Files\VstPlugins" for the VST
directory on Win32 which is the default location for VST plugins.
2009-12-25 00:38:14 +01:00
Tobias Doerffel
092c288a33 VeSTige: set VeSTige logo as window icon for plugin GUI subwindow
Up to now the MainWindow's icon was used for VST plugin GUI subwindows.
Improve this a little bit by using the VeSTige logo now.
(cherry picked from commit 5e711875f5)
2009-12-22 00:51:51 +01:00
Tobias Doerffel
cf680c4175 Removed some old projects
Removed some old projects that did not represent LMMS and its abilities
anymore. We also need to replace most of the "Cool songs" and replace
them by more recent projects from LSP.
(cherry picked from commit ca2440d1c4)
2009-12-22 00:41:39 +01:00
Tobias Doerffel
e852c8b267 MainWindow: stop playing song when asking whether to save project
Users reported the last buffer played repeatedly while the dialog asking
whether to save project is shown. This behaviour even continued while
loading a project. An easy workaround for this is to stop playing song
(or whichever TrackContainer is active at the moment) in
MainWindow::mayChangeProject().

Closes bug #2904781.
(cherry picked from commit 04699ba412)
2009-12-17 21:19:21 +01:00
Tobias Doerffel
275eb7ac2b TrackContainer: fix Qt header includes
Always prefix Qt header includes with name of according module.
(cherry picked from commit bb57d53770)
2009-12-14 09:37:00 +01:00
Tobias Doerffel
d7ae99a5e8 TrackContentWidget: fixed background tile pixmap updating
The background tile pixmap used to draw the background of
TrackContentWidgets was only updated on size changes but not on
changes of zoom level in according editor. Fix this by updating
background pixmaps in trackContainerView::setPixelsPerTact().
2009-12-07 01:38:17 +01:00
Tobias Doerffel
f82a25c3a2 Mallets: build properly with Stk 4.4
As of Stk 4.4 all classes and types have been moved to the namespace "stk".
This breaks build of the Mallets plugin. This can be easily fixed by
using the namespace "stk". For compatibility reasons we have to declare
the namespace before, because it did not exist in previous versions.

Closes #2870878.
(cherry picked from commit bf0f0151d2)
2009-12-06 23:23:33 +01:00
Tobias Doerffel
206715d82b RemoteVstPlugin: allocate buffer for chunk on heap rather than stack
It's not a good idea to allocate the buffer for VST chunk data on the
stack as chunks might become quite big (several megabytes) and thus
could cause a stack overflow. Fix this by using new/delete.
(cherry picked from commit 5f241e6374)
2009-12-06 01:04:11 +01:00
Armin Kazmi
8e86863a86 AudioPulseAudio: fixed latency and underrun problems
Try to adjust latency of PulseAudio according to our settings of mixer
so it does not have such a bad latency anymore.

Furthermore force PulseAudio to play silence instead of rewinding
streams in case of underruns.
(cherry picked from commit 92047f5e9e)
2009-11-20 23:10:49 +01:00
Tobias Doerffel
5309e7a374 AudioPulseAudio: fixed improper shutdown + free allocated resources
There have been some problems with the threading logic in the
AudioPulseAudio backend resulting in an endless loop when quitting LMMS.

Furthermore allocated PulseAudio resources were not freed properly.
Thanks to Armin Kazmi <armin.kazmi@tu-dortmund.de> for pointing out
this issue.
(cherry picked from commit 168805745e)
2009-11-20 22:36:06 +01:00
Tobias Doerffel
6e6d6e89c1 Refresh localization files with strings from UI files
As we have quite a few Qt Designer based dialogs now, there's a whole
bunch of new strings to be translated for each language.
(cherry picked from commit 52fbd3694d)
2009-11-12 10:00:21 +01:00
Tobias Doerffel
62a8b77a13 Build system: pass UI files to lupdate
For whatever reason I did not add UI files to lupdate calls, so strings
in Qt Designer based dialogs could not be translated. Trivial fix.
(cherry picked from commit b3b038eaf6)
2009-11-12 09:57:39 +01:00
Tobias Doerffel
6174ccf0eb Updated German localization files
There have been some changes to strings in the program lately that
weren't translated to German yet.
2009-11-02 22:26:11 +01:00
Tobias Doerffel
1eb4c31607 SideBar: rewritten to use QToolBar instead of KMultiTabBar
Rewrote implementation of class SideBar to use QToolBar instead of
KMultiTabBar. We can style the SideBar now easily via CSS and do not
have to ship 3rd party KDE code with LMMS. Also the QToolBar based
SideBar integrates much better into the according widget style.

Furthermore renamed SideBar related classes and files to match new
coding style.
(cherry picked from commit 822a22ca37)
2009-10-31 13:38:17 +01:00
Nikos Chantziaras
4849c9a11b ZynAddSubFX: link fftw3f after ZASF core libs
Commit 3c18e436cd makes it impossible to
build LMMS with embedded ZynAddSubFX if "-Wl,--as-needed" is used in
LINKER_FLAGS during the link step of RemoteZynAddSubFx:

  Linking CXX executable RemoteZynAddSubFx
  libZynAddSubFxCore.so: undefined reference to `fftwf_plan_r2r_1d'
  libZynAddSubFxCore.so: undefined reference to `fftwf_execute'
  libZynAddSubFxCore.so: undefined reference to `fftwf_destroy_plan'

This happens because fftw3f, which is a system lib, is linked to before
the ZASF core libs when linking RemoteZynAddSubFx. With "--as-needed",
correct library order matters.
(cherry picked from commit 0f28295ac7)
2009-10-31 13:38:12 +01:00
fundamental
40331b0cdd Params: added pthread.h include to fix compile
Added #include <pthread.h> in PADnoteParameters.h to fix windows compile error
Patch by: Tobias Doerffel
(cherry picked from commit 14d2751bed1e6bb11805bb17e4a73e622c85a4ac)
(cherry picked from commit 415a966d25)
2009-10-29 23:36:06 +01:00
Tobias Doerffel
337e6f3389 VstPlugin: flush temporary data exchange file
VstPlugin creates a temporary file for exchanging data chunks of VST
plugins with the remote process. After calling QFile::write(...) data
has not neccessarily been written due to QFile's internal write buffer.
Therefore explicitely call QFile::flush() so all data is guaranteed
to be written.

Fixes problems with plugins which save small data chunks.
(cherry picked from commit 4b8ddcc14f)
2009-10-29 23:14:56 +01:00
Tobias Doerffel
7f75793995 ZynAddSubFX: flush temporary data exchange file
LMMS' ZynAddSubFX plugin creates a temporary file for exchanging XML
data with the remote process. After calling QFile::write(...) data
has not neccessarily been written due to QFile's internal write buffer.
Therefore explicitely call QFile::flush() so all data is guaranteed
to be written.

Closes #2877916.
(cherry picked from commit 17b388d482)
2009-10-29 23:14:50 +01:00
Tobias Doerffel
db89dfa181 Removed usage of ASCII C strings in several places
Still QString::toAscii() & friends were used in several places causing
problems such as failed access to files with non-ASCII characters in
name.

Closes #2884115.
(cherry picked from commit 1633cf2593)
2009-10-27 17:59:06 +01:00
Tobias Doerffel
89fc626533 ZynAddSubFX/FLTK: updated to SVN revision 6921
Updated FLTK to SVN revision 6921 of branch-1.3:

  - Managing all Widget flags in a single location now (STR #2161)
  - Fixed all color related call to Fl_Color type (STR #2208)
  - File chooser preview now recognizes utf8 encoded
    text files (STR #2218)
  - Empty functions in Fluid no longer create an
    implementation (STR #2259)
  - Fixed Fluid dependency on X11 (STR #2261)
  - Updated the bundled libpng to v1.2.40 (released Sep. 10, 2009)
  - Fixed Fl_Choice contrast with light-on-dark settings (STR #2219)
  - Fixed X server "lock", if a modal dialog window is opened
    while a menu is active (STR #1986)
  - Updated mirror sites in documentation (STR #2220)
  - Setting a default font for Xft (STR #2216)
  - Temporarily limited builds to 32-bit on OX S to stay
    compatible to Snow Leopard
  - Fixed Windows compile bug with "#define USE_COLORMAP 0"
    (STR #2241)
(cherry picked from commit c734023be2)
2009-10-27 10:25:58 +01:00
Tobias Doerffel
722c6b0dd1 Merge branch 'zynaddsubfx-master'
* zynaddsubfx-master: (28 commits)
  ZynAddSubFX: explicitely link RemoteZynAddSubFx.exe against Core library
  Revert "ZynAddSubFX/FLTK: updated to SVN revision 6909"
  Style: Restylized entire codebase
  SUBnote: integrated memcpy/memset
  ADnote: started to use memset/memcpy
  ADnote: Documented/added const usage
  OSS: Added failsafe based upon Jrmie Andri patch
  Unison improvements
  Bandwidth effect on Reverb
  Started to rewrite the Reverb's Bandwidth effect (based on a better idea)
  ZynAddSubFX/FLTK: updated to SVN revision 6909
  Merge branch 'master' into newXML
  ZynAddSubFX: rebuilt UI files with non-buggy Fluid
  ZynAddSubFX: rebuilt source files from UI files
  Merge branch 'master' of ssh://zynaddsubfx.git.sourceforge.net/gitroot/zynaddsubfx/zynaddsubfx
  Started to implement Bandwidth to the Reverb effect.
  Small enhancements and bugfixes to Unison
  Made unison vibratto LFO smoother
  Other improvements and bugfixes on Unison.
  Bugfixes
  ...
(cherry picked from commit fbacebca65)
2009-10-27 10:24:29 +01:00
Tobias Doerffel
39f87898c4 ZynAddSubFX: resynced with their Git repo
ZynAddSubFX has gained some new developer power so development has been
going on well for quite a while now in their Git repo. It's time for
the first big resync so future changes can be integrated easily.
(cherry picked from commit 3c18e436cd)
2009-10-27 10:24:24 +01:00
Tobias Doerffel
2e7414ef94 Regenerate QM files
After refreshing TS files in commit 8641023053
we need to regenerate final localization files (*.qm) to make changes
take effect.
(cherry picked from commit a3cac6ae79)
2009-10-24 17:44:21 +02:00
Tobias Doerffel
ff8205a7cc Refresh localization files with improved lupdate command
Due to changes introduced by commit 5685663233
we need to refresh localization files. This also fixes problems with
translations not working anymore due to class name changes.
(cherry picked from commit 8641023053)
2009-10-24 17:43:29 +02:00
Tobias Doerffel
1b0a327bc0 Suppress location information in *.ts files and drop obsolete strings
By passing two additional parameters to lupdate we can suppress useless
location information for messages in *.ts files. Furthermore drop
obsolete translated strings when updating a localization file for not
cluttering repository.
(cherry picked from commit 5685663233)
2009-10-24 17:41:42 +02:00
Paul Giblock
2b714fd686 Rename "All Files" to "All file types" release QM
Translations didn't work because I didn't "release" within Linguist.  I
wonder how to update the *.ts files with missing strings...
(cherry picked from commit 49c2f6bad1)
2009-10-24 17:41:05 +02:00
Paul Giblock
340be43acd Proper File import extensions and translations
Previously, the extensions were stored in the translations, this i18n
more difficult, additionally, there was a preprocessor statement that
would cause the translated phrase to change! Hence, no translations if
you didn't have ZIP file support.  The text is now split into seperate
translations and I added "All Files".
(cherry picked from commit beb92563f1)
2009-10-24 17:37:26 +02:00
Paul Giblock
e959af4ec2 Increase import filter for *.midi and *.riff
Fix song.cpp and translations so the somewhat common *.midi extension is
recognized.
(cherry picked from commit c504bc84d4)
2009-10-24 17:35:16 +02:00
Tobias Doerffel
55daaef0f3 Build system: another stupid compiler flag fix for OS X
All versions of OS X except Snow Leopard ship GCC 4.0 which does not
understand the "-finline-functions-called-once" flag. Therefore do not
use this flag when building for OS X.
(cherry picked from commit 01ae99d6aa)
2009-10-17 23:55:37 +02:00
Tobias Doerffel
b8bae65a17 Build system: remove ChangeLog from "dist" target
ChangeLog has been removed as of commit
c896488e13, therefore "dist" target fails.
Removing ChangeLog from list of files to be copied into tarball fixes
this issue.
(cherry picked from commit de8e13b44b)
2009-10-17 23:47:20 +02:00
Tobias Doerffel
ed23c82c23 Merge branch 'calf-updates'
* calf-updates:
  + DSP primitives: fix a rather stupid bug in clamping functions
  + Monosynth: fix type bug that made it impossible to compile with g++ 4.2
  + AutoHell: update AUTHORS file
  + GUI, Multiband Compressor, Toggle button: apply more fixes and additions by Markus Schmidt
  + Multiband Compressor: better metadata
  + Multiband Compressor: new module (first version, by Markus Schmidt, based on code by me and Thor) plus associated refactoring and graph colour scheme update
(cherry picked from commit 65f6bb7135)
2009-10-17 23:35:38 +02:00
Krzysztof Foltman
dd055b210b + Organ, Framework: use std::vector::front() instead of std::vector::data() (may possibly fix the MacOS X compilation problem reported by Daniel Klaffenbach and Tobias Doerffel)
(cherry picked from commit 628eb1543591f5137e6001abad439d01942ffd4a)
(cherry picked from commit 1294ff62ee)
2009-10-05 23:48:21 +02:00
Tobias Doerffel
a1c720d728 Revert "CALF: removed usage of non-standard std::vector::data()"
This reverts commit dd260245ec.

The commit fixed the compilation problem but according to upstream
causes new problems because of the huge data structures on the stack.

Upstream provided a better patch which will be applied next.
(cherry picked from commit 68bd237061)
2009-10-05 23:48:17 +02:00
Tobias Doerffel
bbe796b496 CALF: removed usage of non-standard std::vector::data()
The std::vector::data() method is a special feature of GCC and
therefore not portable. This causes a compile failure of CALF plugin
on OS X. Therefore I replaced the code with standard arrays
allocated on stack.

Upstream needs to be informed about this patch.

Thanks to Daniel Klaffenbach for pointing out this issue.
(cherry picked from commit dd260245ec)
2009-10-03 01:21:32 +02:00
Krzysztof Foltman
b9c4451d09 + Monosynth: code cleanup (move more things to .cpp file, ignore the negligible performance hit)
(cherry picked from commit 24f4661a73fe39e70db8e74b9a5c1279859b6fb3)
(cherry picked from commit 66a5ae5066)
2009-10-03 01:21:05 +02:00
Tobias Doerffel
2fa6c6ee29 CALF: moved some files to allow easy cherry-picking from CALF Git
Source directory structure of the CALF plugin shipped with LMMS was
not equal with original one which makes cherry-picking commits from
CALF Git impossible.
(cherry picked from commit b8d339e196)
2009-10-03 01:20:52 +02:00
Tobias Doerffel
dc050296ae Fix issue with knobs in 3xOsc and AudioFilePro.
The knobs were broken because the classnames of these instruments was
changed without properly changing the selectors in the style.css
(cherry picked from commit 2622edd140)

Conflicts:

	data/themes/cusis/style.css
2009-09-28 22:53:43 +02:00
Tobias Doerffel
132b7c7df4 RemoteVstPlugin: removed plugin dispatching in hostCallback
There's no need to call plugin dispatcher in hostCallback. It makes
plugins like Garritan Personal Orchestra 4 lock up. After removing
these calls the affected plugins work.
(cherry picked from commit 44e25a6ad5)
2009-09-28 22:52:48 +02:00
Tobias Doerffel
8f258e0f5e Moved ChangeLog file to ChangeLog.old
As it's not maintained anymore but should be kept for archival reasons
I moved ChangeLog to ChangeLog.old.
(cherry picked from commit c896488e13)
2009-09-28 22:52:43 +02:00
Tobias Doerffel
18a677cec3 ZynAddSubFX: fixed compilation failure due to 0.4.x specific code
After cherry-picking massive changes to ZynAddSubFX (and not resolving
conflicts properly) some 0.4.x specific code did not compile anymore.
This commit fixes those issues.
2009-09-16 00:07:36 +02:00
Tobias Doerffel
75a93a0e83 CMakeLists.txt: also search for UI files in src/gui/Forms
As location of UI files has changed in master and we cherry-picked
some related commits we have to look for UI files to process in
src/gui/Forms as well.
2009-09-16 00:06:26 +02:00
Tobias Doerffel
6e93dd1feb ZynAddSubFX: eliminate global data in favour of per-synth data
OscilGen::tmpsmps and OscilGen::outoscilFFTfreqs were static member
variables initialized once in LocalZynAddSubFx class. However having
this data global is not a good idea because it gets modified by each
synth (possibly in parallel), causing heavy distortion under various
circumstances. Now that this data is allocated and used per-synth
everything works fine.
(cherry picked from commit b73474ca73)
2009-09-15 23:51:10 +02:00
Tobias Doerffel
f7da4a0f7e InstrumentPlayHandle: do not process if InstrumentTrack is muted
While regular instruments were excluded from processing when muted
this did not happen for InstrumentPlayHandle-based instruments. Muting
for exampling tracks with VSTi's inside did not decrease CPU usage.
Checking whether related InstrumentTrack is muted before calling
Instrument::play() fixes this issue.

Closes #2857426.
(cherry picked from commit 6940d19969)
2009-09-15 23:51:00 +02:00
Tobias Doerffel
3c9dd294dc ZynAddSubFX: fix plugin descriptor name
While fixing the name of the plugin library in commit
883836aa8a the plugin descriptor
structure has not been updated.
(cherry picked from commit 5c96adbd6d)
2009-09-15 23:50:50 +02:00
Tobias Doerffel
146f75b90a ZynAddSubFX: keep plugin filename lower case
If we'd rename all plugins like I did with ZynAddSubFX, we'd run into
serious troubles, therefore keep plugin names lower case.
(cherry picked from commit 883836aa8a)
2009-09-15 23:50:41 +02:00
Tobias Doerffel
abe411cd26 ZynAddSubFX: added GUI-less mode
Added a new GUI-less mode to ZynAddSubFX instrument plugin which allows
to let ZynAddSubFX audio processing happen within LMMS, giving a much
better realtime behaviour.

As soon as showing up the GUI settings of GUI-less ZynAddSubFX instance
are saved and a traditional RemoteZynAddSubFx process is being launched
and the settings are applied there.
(cherry picked from commit f1d383d04d)
2009-09-15 23:49:45 +02:00
Tobias Doerffel
ccc9f7ed73 ZynAddSubFX: lots of cleanups in RemotePlugin implementation
Moved all ZynAddSubFX instance related functions and variables into
RemoteZynAddSubFX class so there're no globals anymore. Also removed
some unused headers and ZynAddSubFX' main.c.

Additionally make use of full 80 chars/line with ts=4.
(cherry picked from commit d2eea754bc)
2009-09-15 23:47:06 +02:00
Paul Giblock
cc1cdfa664 Fix bug 2819817: main window scrollbars
Fix problem with main-window scrollbars not adjusting when toggling
off-screen children.  Seems like Qt bug #260116.
(cherry picked from commit 669b4e7198)
2009-09-15 23:13:43 +02:00
Tobias Doerffel
18a8ffc674 RemotePlugin: do not skip audio processing when debugging
If DEBUG_REMOTE_PLUGIN was set, RemotePlugin::process() always returned
as RemotePlugin::isRunning() returned false. Fix this by always
returning true when debugging.
(cherry picked from commit ee63a13f2d)
2009-08-29 00:09:57 +02:00
Tobias Doerffel
7c6577bf23 ZynAddSubFX: fixed win32 compilation of FLTK and MXML
Some platform-specific constants got renamed during sed-mass-replace.
Fix this by reverting concerning constant names.
(cherry picked from commit 78536d9065)
2009-08-29 00:09:43 +02:00
Tobias Doerffel
5ba1340ed0 Plugin: typedef DescriptorList + more const improvements
Instead of writing QVector<Plugin::Descriptor> everywhere, mix up
iterators etc. centrally define Plugin::DescriptorList and use it
everywhere.

Additionally made pointers to Plugin::Descriptor and
Plugin::Descriptor::SubPluginFeatures::Key const in various places
so we can use ConstIterator everywhere when iterating through
Plugin::DescriptorList.
(cherry picked from commit 2287eca802)
2009-08-29 00:07:05 +02:00
Tobias Doerffel
ba4296136b Plugin::Descriptor::SubPluginFeatures: made some methods const
We can safely make fillDescriptionWidget() and listSubPluginKeys()
const methods. Furthermore descriptor pointer to listSubPluginKeys()
can be const as well. Might allow more optimizations by the compiler.
(cherry picked from commit 1c76c77d22)
2009-08-29 00:02:55 +02:00
Tobias Doerffel
c2f9fcd14f Plugin::Descriptor: renamed sub_plugin_features to subPluginFeatures
Renamed field sub_plugin_features to subPluginFeatures in
Plugin::Descriptor struct.
(cherry picked from commit e8c3c21f7f)
2009-08-29 00:02:47 +02:00
Tobias Doerffel
fc72b1a6a4 EffectSelectDialog: rewritten using Designer
All of the GUI code of EffectSelectDialog has been replaced by an
according UI file. Also merged EffectListWidget class into
EffectSelectDialog to further simplify logic.
(cherry picked from commit cb85bfc906)
2009-08-29 00:02:20 +02:00
Tobias Doerffel
c32567ce2f Fixed mistakes made by sed-mass-replaces
Some variables got renamed the way the shouldn't. Doesn't have any
functional impact but fix it for the sake of cosmetics.
(cherry picked from commit d7365e4cf3)
2009-08-29 00:01:24 +02:00
Tobias Doerffel
f4dbb2ff5c sed: s/( void )/(), s/FALSE/false/, s/TRUE/true
Replaced remaining occurences of old constants and superfluous "void"
on empty argument list of functions.
(cherry picked from commit 166701f9f3)
2009-08-25 01:42:20 +02:00
Tobias Doerffel
1d5cb23385 File and class renames part 1
Most files and most of the core classes and their methods have been
renamed to match new coding style conventions:

391 files changed, 25400 insertions(+), 25598 deletions(-)

Furthermore splitted some files where model and view classes were
declared or implemented together in the same file.

Should be tested thoroughly as I might have missed renaming some virtual
methods or SIGNAL/SLOT parameters.
(cherry picked from commit 8c9a9dd14c)
2009-08-25 01:30:41 +02:00
Tobias Doerffel
62f40dafec Build system: pass -nw as option for MOC to QT4_WRAP_CPP macro
Passing -nw as option for MOC to QT4_WRAP_CPP macro silences warnings
about non-MOCable headers (which confused a lots of users).
(cherry picked from commit f7af62eab4)
2009-08-24 23:39:41 +02:00
Tobias Doerffel
6a8b285932 AutomatableModel: do not return an out of range value in fittedValue()
If a certain step was set for a model, the fitted value (i.e. value
divided by step, rounded and multiplied with step again) could become
smaller than minValue or greater than maxValue. Therefore explicitely
check those cases after performing the described calculation.

Closes #2840202.
(cherry picked from commit b5d9fab944)
2009-08-23 23:43:37 +02:00
Tobias Doerffel
2f8b9c5a61 TAP LADSPA plugins: updated to version 0.7.1
After (exactly) 5 years of silence, there's a new relase of TAP LADSPA
plugins. It fixes issues on 64 bit machines, uninitialised variables
and denormal issues.
(cherry picked from commit 6a9e45f733)
2009-08-19 14:33:25 +02:00
Tobias Doerffel
cbd2dcbfda ZynAddSubFX: restructured initialization and shutdown code
Most of the stuff that was in main(...) function before directly is
related to creating a new instance of ZynAddSubFX master class,
therefore moved initialization and shutdown code into constructor
and destructor of RemoteZynAddSubFX class. Should have no functional
impact.

The shutdown code was extended to properly destroy the ZynAddSubFX
instance.
(cherry picked from commit 9c5e04ba73)
2009-08-18 23:26:28 +02:00
Tobias Doerffel
58f2aefece AudioAlsa/AudioOss: set FD_CLOEXEC flag for file descriptors
Per default child processes inherit all file descriptors of their
parent process. This applied for file descriptors pointing to sound
devices as well. Reopening sound devices while e.g. a ZynAddSubFX
process was running always failed due to this "feature".

By manually setting the FD_CLOEXEC flag for the sound device file
descriptors they do not get inherited by child processes anymore.
(cherry picked from commit 80f101cec6)
2009-08-18 23:24:42 +02:00
Tobias Doerffel
c46c4ff3d1 ZynAddSubFX: forward MidiControlChange events to ZynAddSubFX core
So far we ignored all events other than MidiNoteOn, MidiNoteOff and
MidiPitchBend. By also processing MidiControlChange events one can
control some basic parameters of ZynAddSubFX via MIDI now.
(cherry picked from commit 49ebb835af)
2009-08-18 01:31:53 +02:00
Tobias Doerffel
c355d71716 MidiAlsaSeq: print error message if snd_seq_event_input() failed
Evaluate return value of snd_seq_event_input() and print an error
message if it failed.
(cherry picked from commit dfae570700)
2009-08-14 15:38:12 +02:00
Tobias Doerffel
0503f5353f ControllerConnectionDialog: improved auto detect feature for controllers
When opening up the ControllerConnectionDialog by default auto detect
is enabled and all MIDI input devices are selected. Upon the first
event all devices but the one the event came from get unchecked. This
eases the process of assigning MIDI controls to software controls.
(cherry picked from commit 27f5d20e05)
2009-08-14 15:38:05 +02:00
Tobias Doerffel
e2b1b5de60 MidiEvent: allow querying name of port which it came from
Added functionality to query the name of the source port of a MidiEvent
by calling MidiClient::sourcePortName( const MidiEvent & ).
(cherry picked from commit 5ec96a9483)
2009-08-14 15:37:57 +02:00
Tobias Doerffel
14930d0446 RemotePlugin: added missing include + coding style fixes
The header cstdlib is required for NULL pointer definition. Additionally
some minor coding style fixes.
(cherry picked from commit 2475cf982b)
2009-08-14 15:37:48 +02:00
Tobias Doerffel
a77688ee65 MidiWinMM: fixed typo that caused writablePorts() not being overloaded
The MidiClient::writablePorts() method was not overloaded properly in
MidiWinMM implementation due to a typo. This should fix list of output
devices being empty on win32.
(cherry picked from commit 40c56de898)
2009-08-14 15:37:36 +02:00
Tobias Doerffel
bf68a565da MidiAlsaSeq: construction of port name in separate function
A port name is constructed from snd_seq_* structures at various places,
therefore separate it into a static helper function. This avoids
redundancy and eases maintainability.
(cherry picked from commit bfe90a8ade)
2009-08-14 15:37:29 +02:00
Tobias Doerffel
d8f9b685b2 MidiAlsaSeq: improved MIDI event polling loop
Use poll() with a finite timeout so we can quit the thread properly
without manually writing stuff into the pipe.

Check for pending events at the beginning of the loop so we can't end up
in an endless loop.

Furthermore check return value of snd_seq_event_input() and get out of
loop if it indicates an error.
(cherry picked from commit 9d811bf080)
2009-08-14 15:37:23 +02:00
Tobias Doerffel
b31a63fd00 MidiAlsaSeq: QString related fixups
Use QString::isEmpty() rather than comparing against an empty string.
Furthermore use QStrin::toUtf8() instead of QString::toAscii() for
retrieving name of a MidiPort.
(cherry picked from commit 295b332650)
2009-08-14 15:37:13 +02:00
Andrew Kelley
be91af0cb8 RemoteVstPlugin: add include directory
If libraries are being used from somewhere other than
/usr/include or /usr/local/include, building vst_remote would fail.
Now it checks CMAKE_INSTALL_PREFIX/include.
(cherry picked from commit 7d0c1ef6c2)
2009-08-14 15:35:26 +02:00
Andrew Kelley
629c076be5 BuildPlugin.cmake: add include directory
If libraries are being used from somewhere other than
/usr/include or /usr/local/include, building plugins would fail.
Now it checks CMAKE_INSTALL_PREFIX/include.
(cherry picked from commit a86ca968b7)
2009-08-14 15:35:15 +02:00
Tobias Doerffel
b8ebfbd06a Renamed MIDI and audio related classes/files to match new style
Renamed all MIDI and audio related classes/files to match new style.
Additionally various cleanups.
2009-08-13 00:52:21 +02:00
Paul Giblock
edc2cae4c2 Add Korean translation
(cherry picked from commit 2a69917d51)
2009-08-12 11:58:55 +02:00
Peter Nelson
ff7b296db8 AudioJACK: removed incorret JACK transport code
The audio_jack driver currently treats the jack transport status as a
flag for whether or not to output audio. This is incorrect and
unintended usage of jack transport. The attached patch simply removes
all references to jack transport from the driver, so that LMMS will
always be able to produce audio.

Closes #2816029.
(cherry picked from commit 1fe0c689b0)
2009-08-12 11:54:47 +02:00
Tobias Doerffel
427e0d6727 Made 0.4.5 release
Bumped version number to 0.4.5 in CMakeLists.txt and README.
2009-08-11 18:21:56 +02:00
Tobias Doerffel
d9490f9203 TODO list: moved over items from master branch TODO list
Moved over all items that concern 0.4.x series from TODO list in
master branch and removed deprecated items.
2009-08-11 14:49:13 +02:00
Tobias Doerffel
57c79759c8 MidiWinMM: added missing break directive after case-block
A break directive was missing in MidiWinMM::handleInputEvent(), leading
to inappropriate calls to qWarning() on pitch bend.
(cherry picked from commit 58023cf2cf)
2009-08-10 13:53:54 +02:00
Tobias Doerffel
ad1124cde9 Added CALF LADSPA plugins
As per popular demand I added CALF LADSPA plugins to be shipped with
LMMS. After some minor modifications the plugins compile and work on
win32 platform too.
(cherry picked from commit 35ca0aab69)
2009-08-10 13:50:20 +02:00
Tobias Doerffel
3e62853de5 FlpImport: fixed crash on invalid notes
Added a range check for channel parameter when adding notes. This fixes
a crash when for example importing the project posted on lmms-devel
by Andew Kelley lately.
(cherry picked from commit ee9d88e2d4)
2009-08-09 11:23:26 +02:00
Tobias Doerffel
9a4cfedf67 FlpImport: changed most printf()s to qDebug()s and qWarning()s
This improves structure of messages when importing FLP files.
(cherry picked from commit 20eda9a756)
2009-08-09 11:21:57 +02:00
Tobias Doerffel
e714a68fe5 Updated German localization files
There have been some changes to strings in the program which weren't
translated to German lately. Furthermore improved existing
translations and fixed mis-spellings.
2009-08-09 00:37:55 +02:00
Janne Matti Sinisalo
a4f9682069 Added cheese_enthusiast's new piano keys
Added cheese_enthusiast's <bdreed@woh.rr.com> new, better-looking piano keys. Also includes pressed piano-roll keys.
(cherry picked from commit 367d8360fc)
2009-08-09 00:29:33 +02:00
Paul Giblock
5138ed6722 Rename all Controller-family classes to new style
Adjust capitialization on all Controller-related classes to new
standards and update all calling code
(cherry picked from commit f1d60958f0)
2009-08-09 00:29:16 +02:00
Paul Giblock
9eed60c068 Hotfix for resizable controller rack
Apparently I didn't compile the latest version of my changes and there
was a lurking error.  This has been fixed.
(cherry picked from commit a9a3c796f7)
2009-08-08 18:26:22 +02:00
Paul Giblock
e109f3e550 Make Controller-Rack resizable
Per request, make the Controller-rack vertically sizable.  This is also
part of our effort to slowly deprecate old fixed-positioning code in
favor of layouts.
(cherry picked from commit bb76ba5121)
2009-08-08 10:30:10 +02:00
Tobias Doerffel
93a456c67a MainWindow: removed HQ mode button
Switching to HQ mode in standard workflow doesn't make much sense and
is likely to cause problems. Therefore remove the HQ mode button for
for time being. One can still export projects in high(er) quality.
(cherry picked from commit d66c71ebf8)
2009-08-07 18:58:38 +02:00
Tobias Doerffel
d7df990e6c MidiWinMM: use qWarning() rather than printf()
Using printf() is really old C-style, therefore changed all printf()s
to qWarning()s.
(cherry picked from commit 94c5c5a46f)
2009-08-06 13:48:47 +02:00
Tobias Doerffel
5891a37635 Win32Toolchain: define MINGW_PREFIX and QT_HEADERS_DIR
MINGW_PREFIX is a better variable name than CC_PREFIX (cross copmling
prefix), therefore rename it. Furthermore define QT_HEADERS_DIR due to
changed logic in CMake's FindQt4 module.
(cherry picked from commit 94ebcf30bc)
2009-08-06 13:48:30 +02:00
Tobias Doerffel
8485cf3157 ZynAddSubFX/FLTK: updated to SVN revision 6826
Updated FLTK to SVN revision 6841 of branch-1.3:

- Fixed glibc 2.10 compiler problems (Fedora 11 and others)
  with scandir() and strchr() (STR #2222)
- Fl_Scroll mods for global scrollbar size control
- various other minor stuff (see SVN log)
(cherry picked from commit 803fd68a56)
2009-08-05 19:11:30 +02:00
Tobias Doerffel
84e0dc1b81 Sf2Player: removed trailing spaces in code
There were some unsolicited trailing spaces in the code. Removed them.
(cherry picked from commit 964c6532f2)
2009-08-05 18:09:42 +02:00
Tobias Doerffel
99791ddf25 Sf2Player: fixed crash and race conditions
Do not crash if no fluid_voice could be determined in
sf2Instrument::playNote() (which for example happens if no soundfont
is loaded). Furthermore protect the FluidSynth API calls in the
envelope and panning code with global synth mutex.
(cherry picked from commit 144f0c6c80)
2009-08-05 18:04:06 +02:00
Tobias Doerffel
31b2b00ba4 Sf2Player: added panning and volume envelope support
Finally there's proper support for panning and volume envelopes. This
is achieved by changing parameters of individual voices (one voice is
being created for each note). The new code also replaces the old
panning hacks which played notes on different channels and changed
panning of individual channels.

Closes #2010818.

(cherry picked from commit 4baf459da2)

stable-0.4 branch: forward-ported various trivial changes from master.
2009-08-05 17:38:50 +02:00
Tobias Doerffel
d536d851a4 PianoRoll: removed duplicate function call in testPlayNote()
There's no need to send a MidiNotePanning event twice in
PianoRoll::testPlayNote(). Removed the duplicate function call.
(cherry picked from commit 4cdcd1a670)
2009-08-05 17:19:59 +02:00
Tobias Doerffel
852976ed74 Panning: fixed wrong type-conversion in panningToMidi()
Casting to panning_t in calculation in panningToMidi() leads to
integer overflows and thus to miscalculations. This resulted for
example in wrong panning during note preview when editing panning
of a note in PianoRoll. Casting to int instead fixes the issue.
(cherry picked from commit 6e3e1513c7)
2009-08-05 17:19:53 +02:00
Tobias Doerffel
edf2d4d104 Whole code base: various cleanups, removed SINGLE_SOURCE_COMPILE relicts
* cleaned up code and improved coding style
* removed old SINGLE_SOURCE_COMPILE macro relicts
* use QString::toUtf8() instead of QString::toAscii() wherever possible

(cherry picked from commit 0bb54199b0)
2009-08-05 17:17:57 +02:00
Tobias Doerffel
f969b7d892 Mixer: fixed wrong macro logic leading to potential performance loss
The macro logic for defining the SPINLOCK_PAUSE macro tested against
LMMS_HOST_X86_64 twice instead of testing against LMMS_HOST_X86_64 and
LMMS_HOST_X86. This caused the SPINLOCK_PAUSE macro not being set on
x86.

(cherry picked from commit bf8f823751)
2009-08-03 18:57:33 +02:00
Tobias Doerffel
6d6bbe3b32 CAPS: updated to version 0.4.3
Updated CAPS plugins to version 0.4.3 - changes:

  * basics.h cleanup / comments
  * minor Makefile cleanup
  * comment cosmetics
  * Eq and Eq2x2 per-band Q changed to 1.414 (= 1 octave)
  * Eq lowest band default value fixed to read 0
  * Niclas' fix for the bessel function implemented
  * uninitialised plugin states eliminated thanks to Damon
  * linker options for OSX added to the Makefile

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit e0df82056c)
2009-08-03 18:56:17 +02:00
Tobias Doerffel
7bddad1895 ZynAddSubFX: really fix compilation error
I should always try to compile before committing... Works now!
2009-08-03 18:51:55 +02:00
Tobias Doerffel
3504e49119 ZynAddSubFX: fixed compilation error
Fixed compilation error introduced by commit
f3e13c4427.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 27d9c17e3f)
2009-08-02 18:24:06 +02:00
Tobias Doerffel
42b1584cbe RemotePlugin: added QSTR_TO_STDSTR macro and use it in LVSL/ZASF
QString::toStdString() is not aware of locale specific characters (it
just converts to ASCII). Therefore added new macro QSTR_TO_STDSTR which
converts a QString to std::string with UTF8 characters.

Use this new macro in LMMS VST Support Layer and ZynAddSubFX plugin.
This fixes for example VST plugins not being loaded when the path to
the DLL contains non-ASCII (e.g. cyrillic) characters.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit f3e13c4427)
2009-07-29 17:13:47 +02:00
Tobias Doerffel
54dadfcf48 MidiTime/Pattern: fixed divisions by zero with time sigs 1/16+
Setting time signatures 1/16+ lead to divisions by zero in two places.
Fixed this by adding according qMax() call (closes #2818125).

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit cb72bf2260)
2009-07-10 17:50:55 +02:00
Tobias Doerffel
29d0d2b43a RemoteVstPlugin: fixed typo in 4ad5add745
Commit 4ad5add745 introduced a typo which
lead to compilation failure. This commit fixes it.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit c4c94985a6)
2009-07-09 12:54:59 +02:00
Tobias Doerffel
6883e0479c RemoteVstPlugin: typedef VstMidiEventList
Added a typedef for VstMidiEventList so actual type does not have
to be hard-coded each time in the code.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 4ad5add745)
2009-07-09 12:54:59 +02:00
Tobias Doerffel
598d1dc816 RemoteVstPlugin: don't process MIDI events in GUI thread
Don't process MIDI events in GUI thread as this might corrupt MIDI
event array if both GUI and processing thread access it. Fixes
possible crashes.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit e7ab8e5670)
2009-07-09 12:54:59 +02:00
Tobias Doerffel
9fc0d8962d RemoteVstPlugin: encapsulate locking in separate inline functions
Locking the plugin is now achieved by calling RemoteVstPlugin::lock()
and RemoteVstPlugin::unlock().

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 2240d6644d)
2009-07-09 12:54:59 +02:00
Tobias Doerffel
91912e143a MidiPort: added realOutputChannel() returning zero-based MIDI channel
MidiPort::outputChannelModel is ranged from 1 to 16 for displaying
user-friendly values. However internally MIDI channels are ranged from
0 to 15. Therefore added realOutputChannel() which returns zero-based
MIDI channel which should be used everywhere except for the GUI.

Fixes MIDI events being sent to VST plugins on channel 2 instead of
channel 1. Makes some more VST plugins actually usable.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 4f249400ac)
2009-07-09 12:54:14 +02:00
Tobias Doerffel
00ca278f2f RemoteVstPlugin: removed different threading models
Different threading models aren't used anymore as SplittedThreadingModel
after all recent improvements works fine for all plugins tested so far.
It even shows that a lot more VST plugins are running now properly.
Therefore all support for TraditionalThreadingModel has been removed
which greatly simplifies code and makes it much more maintainable.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 41c9318be8)
2009-07-09 12:43:57 +02:00
Tobias Doerffel
0424c5cec8 RemoteVstPlugin: prefer chunks over parameters for settings
When saving or restoring settings, prefer chunks over parameters.
This fixes some problems with plugins which get confused e.g. if you
restore individual parameters rather than the whole chunk.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit dffd9ecfbe)
2009-07-07 21:22:28 +02:00
Tobias Doerffel
9b2e3fc262 TrackContentWidget: fix graphical glitches with Qt 4.5
Starting with Qt 4.5 there were minor graphical glitches in
TrackContentWidget. Fix this by not setting Qt::WA_OpaquePaintEvent
attribute.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 1015868e1f)
2009-07-07 21:22:20 +02:00
Tobias Doerffel
c66fa25dfe RemoteVstPlugin: define O_BINARY to 0 on Linux
O_BINARY flag is not supported on Linux, therefore define it to 0.
Fixes compilation failure on Linux.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit d6a451bdf5)
2009-07-07 18:37:32 +02:00
Tobias Doerffel
c1f5075e16 RemoteVstPlugin: open file with O_BINARY when reading/writing chunks
When writing chunk to file or read it back from file, open file with
O_BINARY flag. Otherwise on win32 for example line endings (\n) are
converted (\r\n) and with real binary data this screws up things.

Thanks to Oleg Sharonov for pointing this out.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 48a3d4ebe4)
2009-07-07 17:09:41 +02:00
Tobias Doerffel
d555db6109 PianoRoll: switch back to draw note after pasting notes
When pasing notes via Ctrl+V somehow the edit-tool was left in an
undefined state. Therefore explicitely switch back to draw mode so
user can move pasted notes (closes #2808607).

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit cf7539caaf)
2009-07-07 10:49:09 +02:00
Tobias Doerffel
a0b198fb38 ZynAddSubFX/FLTK: updated to SVN revision 6826
Updated FLTK to SVN revision 6826 of branch-1.3:

- Corrected const methods of Fl_Text_{Buffer|Display|Selection}
  to be declared const, corrected an Fl_Text_Buffer attrib. typo
- Fixed OpenGL shared context handling (STR #2135)
- Fixed gray-scale images with alpha channel (STR #2105)
- Fixed unexpected shortcut behavior for Win32 (STR #2199)
- Fixed documentation for Fl_Progress (STR #2209)

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 0de2949aed)
2009-07-07 02:13:05 +02:00
Tobias Doerffel
c0f221e984 ZynAddSubFX: now build on OS X as well
Now that we fixed RemotePlugin support on OS X, we can enable build of
ZynAddSubFX on OS X. Some GUI threading issues still have to be solved
though.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit ea376e90fe)
2009-07-07 01:59:22 +02:00
Tobias Doerffel
f50d5ce943 RemotePlugin: refactored system feature configuration
Variuos features (native/Qt semaphores/shared memory) are now
configured by macros like USE_QT_SHMEM and USE_QT_SEMAPHORES. This
allows central and individual configuration of features according to
the platform to build for at the beginning of the file.

Finally makes RemotePlugin work on OS X by not using native semaphores
rather than QSystemSemaphore's.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 2ef5dffec0)
2009-07-07 01:59:14 +02:00
Tobias Doerffel
3c80a079a2 InstrumentTrack: fixed muting of frozen patterns in BB tracks
In InstrumentTrack::play(...) the local variable "bb_track" always
was either undefined or NULL due to a lost call (probably during M/V
architecture switch) to bbTrack::findBBTrack(...). This could lead to
crashes and/or misbehaviour when playing frozen patterns in BB tracks.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit fb58dc00ab)
2009-07-07 01:59:04 +02:00
Tobias Doerffel
fb56b6757d Track.h: removed unused class declaration "bbTrack"
The class forward declaration for "bbTrack" is neither used nor
required, therefore remove it.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 913aa5a6e8)
2009-07-07 01:58:54 +02:00
Tobias Doerffel
8fd507bcff RemotePlugin: added DEBUG_REMOTE_PLUGIN macro
Added new DEBUG_REMOTE_PLUGIN macro. If it is set, the process won't
be launched. Instead important information are printed allowing the
developer to run the process with according parameters in a debugger.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 33ce491caf)
2009-07-07 01:58:44 +02:00
Tobias Doerffel
7c2b3e6240 RemoteVstPlugin: print number of inputs/outputs as debugg message
When input/output count changes, always print new number of inputs and
outputs as debugg message.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 5838f63d0b)
2009-07-07 01:58:09 +02:00
Tobias Doerffel
d8c616afcf RemoteVstPlugin: reset m_inputs and m_outputs in updateInOutCount()
Reset m_inputs and m_outputs to NULL after deleting the memory they're
pointing to. Fixes possible crash if new input or output count is 0
and the count changes again later.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 206d906c10)
2009-07-07 01:58:00 +02:00
Tobias Doerffel
4e81299729 RemoteVstPlugin: workaround for early host callbacks by some plugins
Some plugins call host callback from within their main function,
causing RemoteVstPlugin::m_plugin not to be set yet. Therefore
explicitely set RemoteVstPlugin::m_plugin if it's NULL. Makes plugins
by Wallander Instruments (and possibly others as well) work.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 38f7552ce4)
2009-07-07 01:57:50 +02:00
Tobias Doerffel
7ef61b04d7 RemoteVstPlugin: thread-safe plugin dispatching
Plugin dispatcher was called without any protection from various threads
leading to regular crashes or deadlocks within the plugin. The plugin
dispatching is now encapsulated into one central function which protects
the dispatcher by a mutex.

Furthermore improved handling of audioMasterIdle and
audioMasterUpdateDisplay in host callback by posting a message to GUI
thread asking for idle processing instead of directly calling plugin
dispatcher.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit e65b282166)
2009-07-07 01:57:42 +02:00
Tobias Doerffel
33917e4340 RemoteVstPlugin: coding style fixes
Renamed class remoteVstPlugin to RemoteVstPlugin + other minor coding
style fixes.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit cca39513d0)
2009-07-07 01:57:32 +02:00
Tobias Doerffel
1e0acbef85 RemoteVstPlugin: fixed threading issues with saving/restoring chunks
Saving and restoring chunks from/to plugin seems to work now after a
few tweaks regarding memory-allocation and threading (according
functions need to be called from withing GUI thread). However needs the
new code some testing (especially whether it breaks previously working
plugins).

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit db878b664d)
2009-07-07 01:57:23 +02:00
Tobias Doerffel
798c179b58 RemoteVstPlugin: added more NULL checks
Check for m_plugin being NULL in RemoteVstPlugin::inputCount(),
RemoteVstPlugin::outputCount() and RemoteVstPlugin::pluginVersion().
Makes various VST's load properly now.

Thanks to Oleg Sharonov for pointing this out.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 9b5c0d19f8)
2009-07-07 01:57:12 +02:00
Tobias Doerffel
12aaffe149 VstBase: initial support for saving/restoring chunks
Some VST plugins save their state as chunks rather than parameters.
According code to save/restore those chunks has been taken from FST 1.9.
However restore currently is disabled as it mostly fails for whatever
reason.
(cherry picked from commit 0abd4aad70)
2009-07-07 01:56:39 +02:00
Tobias Doerffel
cfe9c35f41 Sf2Player: allocate temporary buffer on stack if possible
When compiling with GCC always allocate a temporary buffer for
resampling on stack rather than doing an expensive heap allocation.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit d1353247d9)
2009-07-05 16:43:03 +02:00
Tobias Doerffel
fa21cf10a9 Do not build ZynAddSubFX on OS X
Do not build the ZynAddSubFX plugin on OS X until a proper replacement
for unnamed semaphores (which for whatever reason are not supported on
OS X) has been implemented. Using the win32 code (QSystemSemaphore)
could be an option but needs testing.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit fd9d2b0e61)
2009-06-28 23:43:50 +02:00
Tobias Doerffel
35eeb55704 Various fixes for properly building on OS X
There were various (trivial) problems with settings of the build system
which prevented LMMS from being built on OS X.

Thanks to Daniel Klaffenbach for providing his Mac for development
purposes.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit ed30985aa4)
2009-06-28 23:43:44 +02:00
Tobias Doerffel
facab0c2d8 AutomationEditor: set pen for painter outside inner loop
Set pen for drawing automation pattern outside of inner loop. This
might save some CPU cycles.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit ddf3d3dc66)
2009-06-22 22:14:03 +02:00
Tobias Doerffel
c222c062c5 PianoRoll: fixed crash with detune tool
When clicking at an invalid position with the detune tool, LMMS could
crash as an invalid iterator was referenced (closes #2808589).

Furthermore renamed PianoRoll::ModeOpen to PianoRoll::ModeEditDetuning.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 9ca93040de)
2009-06-18 23:33:21 +02:00
Tobias Doerffel
7a632277b8 Renamed type noteVector to NoteVector
Renamed type noteVector to NoteVector as well as ::iterator to
::Iterator and ::const_iterator to ::ConstIterator.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit e12476f79c)
2009-06-18 23:32:32 +02:00
Tobias Doerffel
87e44aa241 Pattern: properly advance iterator when removing notes
We must not keep the iterator at the same position when erasing notes
from the m_notes array. This usually is not a problem when using QVector
but we might switch to QList somewhen later.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 2d5dfc7b15)
2009-06-18 23:07:43 +02:00
Tobias Doerffel
0098ff874a NotePlayHandle: fixed crash at playback of subnotes
Commit 08ea133aa2 uncovered a flaw in
NotePlayHandle::play(...). When iterating over subnotes for each subnote
after playing it, we check whether it is finished. If this is true, the
according subnote gets erased from the m_subNotes array. However we have
to set the subnote iterator to what QList::erase(...) returns instead of
keeping it where it was before. This accidentally worked when using
QVector as type for NotePlayHandle arrays but caused a crash now that
we're using QList.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 0d6ba6291b)
2009-06-18 23:07:31 +02:00
Tobias Doerffel
621512a7b7 Song: reset window title after creating new project from template
Reset window title when creating new project from template (after
actually loading template file). Furthermore do not reset window title
at the beginning of load process anymore.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit cf0a91637b)
2009-06-18 23:07:22 +02:00
Tobias Doerffel
0faaab4521 PlayHandle: use QList instead of QVector for PlayHandle array
Use QList instead of QVector when using a set of PlayHandle's. QList
has faster insert/remove operations and in most cases we iterate through
the array using iterators so there's no performance drop.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 2cc49b8010)
2009-06-17 10:43:51 +02:00
Tobias Doerffel
cafb24fe9a NotePlayHandle: cleanups, header dependency reductions etc.
* do not include instrument_track.h in note_play_handle.h by making
  two functions non-inline
* renamed notePlayHandleVector / constNotePlayHandleVector to
  NotePlayHandleList / ConstNotePlayHandleList and changed typedef
  to QList (which has faster insert- and remove-operations).
* removed unused method willFinishThisPeriod()

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 08ea133aa2)
2009-06-15 16:40:22 +02:00
Tobias Doerffel
33dd77f55c MMP: detect compressed files rather than guessing by extension
Detect whether a given file is compressed by first trying to parse
its content as XML data. If it failed, try to uncompress and
parse again. This is more flexible than just looking whether the
filename extension is "mmpz".

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit c0794d0c41)
2009-06-15 16:28:09 +02:00
Tobias Doerffel
93a19e43f1 InstrumentTrack: new method silenceAllNotes()
Added new method silenceAllNotes() which is a replacement for
invalidateAllMyNPH() and also resets m_runningMidiNotes array.

silenceAllNotes() is now used in destructor as well.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 3c9859da9f)
2009-06-11 01:19:33 +02:00
Tobias Doerffel
57c4a5abc5 MultimediaProject: splitted constructor for loading either file or data
The old constructor treated the string argument either as filename or
as raw XML data, depending on 2nd parameter. This is a mess and quickly
leads to confusion.

Now we have two constructors taking either a filename as string or a
QByteArray with XML data. Loading actual data has been separated into
MultimediaProject::loadData( const QByteArray & ).

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 5a00ebd360)
2009-06-11 01:16:30 +02:00
Tobias Doerffel
3d9dc25f0b InstrumentTrack: presetPreviewPlayHandle no longer a friend class
For a long time presetPreviewPlayHandle has been a friend class of
InstrumentTrack as it had to modify MidiPort settings. However the
InstrumentTrack's MidiPort is now accessible via getMidiPort() so
there's no need for keeping presetPreviewPlayHandle a friend class
anymore.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit a6090ebe23)
2009-06-11 00:57:10 +02:00
Tobias Doerffel
5bb9af15ab RemoteVstPlugin: use SplittedThreading model for Proteus VX
Proteus VX requires SplittedThreading model in order to run properly.
Issues with actually working UI interaction still need to be worked
out although it rather looks like a bug in WINE.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit b3c5d498e2)
2009-06-02 00:51:29 +02:00
Tobias Doerffel
66147bebf0 ZynAddSubFX: fixed compilation failure of FLTK if glibc >= 2.10
Fixed compilation failure of FLTK on systems with glibc newer than
version 2.9 where the signature of scandir(...) has changed.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit dc539d88de)
2009-06-01 00:56:27 +02:00
Tobias Doerffel
6b71db0640 ZynAddSubFX: fixed compilation failure of FLTK
Fixed compilation failure of FLTK on broken systems where strchr()
takes a non-const char pointer.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 3003163e9b)
2009-06-01 00:56:20 +02:00
Tobias Doerffel
0c8fdec27c MinGW cross compiling script: fixed invocation of cmake
Fixed invocation of cmake in the MinGW cross compiling script so it
works properly when doing an out-of-tree build (which should be the
default way of building LMMS).

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 8c50e0ef9a)
2009-05-31 18:57:32 +02:00
Tobias Doerffel
ca5ba2971b ZynAddSubFX: processed UI files with Fluid from FLTK 1.3 branch
Processed all Fluid UI files with Fluid from FLTK 1.3 branch so the
generated code is up to date.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 5b1900c4d0)
2009-05-31 18:56:01 +02:00
Tobias Doerffel
e0bb2cd043 ZynAddSubFX: integrated FLTK 1.3.0 branch from SVN
Integrated FLTK 1.3.0 branch from SVN which brings UTF8 support and
fully integrated Xft support (SVN rev. 6791).

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 8affa66c61)
2009-05-31 18:55:49 +02:00
Tobias Doerffel
41efb51518 TrackView: do not set Qt::WA_OpaquePaintEvent attribute
Due to optimizations in Qt 4.5 setting Qt::WA_OpaquePaintEvent attribute
for TrackView widgets caused a line of distorted pixels at the bottom of
the left part so do not set this attribute anymore (closes #2795861).
(cherry picked from commit cdcc158c03)
2009-05-25 13:48:27 +02:00
Tobias Doerffel
168a68c1b3 ControllerConnection: fixed segfault when finalizing invalid controller
In ControllerConnection::finalizeConnections() we did not check whether
the current controller ID really exists in Song's controller array.
Fixes segfault when loading projects with screwed controller settings.
(cherry picked from commit 6d77f83ae9)
2009-05-19 18:37:11 +02:00
Tobias Doerffel
6066209ef3 lmms.rc.in: advanced copyright notice
Advanced copyright notice in lmms.rc.in which is used as resource file
when building win32 executable.
(cherry picked from commit 34e607f5bb)
2009-05-18 14:35:36 +02:00
Tobias Doerffel
5cd54b3f20 PianoRoll: removed unused variable
Removed unused variable volumeHandles in
PianoRoll::computeSelectedNotes(bool) which as a side-effect also fixes

/usr/include/qt4/QtCore/qvector.h: In member function ‘void PianoRoll::computeSelectedNotes(bool)’:
/usr/include/qt4/QtCore/qvector.h:421: warning: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
/usr/include/qt4/QtCore/qvector.h:114: note: initialized from here
(cherry picked from commit 24353ca248)
2009-05-16 17:02:02 +02:00
Tobias Doerffel
1c38473255 NotePlayHandle: use public method for accessing pitch model
Do not use private m_pitchModel member variable of InstrumentTrack even
if NotePlayHandle is a friend class. Instead use the already existing
InstrumentTrack::pitchModel() method.
(cherry picked from commit 9dcb62c630)
2009-05-16 17:01:57 +02:00
Tobias Doerffel
a6f8e11128 Fixed linker flags when building for OS X
Linker flag "-E" is not supported on OS X so drop it if LMMS_BUILD_APPLE
is defined.
(cherry picked from commit 582393cdba)
2009-05-16 02:50:54 +02:00
Andrew Kelley
27a828e579 don't coerce the installer to use /usr when cmaking.
(cherry picked from commit c53df545ae)

Conflicts:

	INSTALL
2009-05-06 20:22:12 -07:00
Achim Settelmeier
2f5dd60fd9 MainWindow: fixed problems with maximized window-state when using FVWM2
Added a workaround for FVWM2 as showMaximized() does not work with it
unless the window is already visible.
(cherry picked from commit 515f0243b9)
2009-05-05 23:36:25 +02:00
Frederik
03ecb86494 Allow compilation with -Werror=format-security
This commit fixes some calls to functions that are taking a format
string and an optional set of parameters as arguments. At some places
no format string was specified if only a simple C string was to be
sprintf()ed.  However for security reasons this is bad and was replaced
by code like

	sprintf( dest, "%s", str );
(cherry picked from commit af284e980f)
2009-05-05 23:25:35 +02:00
Andrew Kelley
1bc94beae6 fixed dependency on libfluidsynth which did not check LMMS_HAVE_FLUIDSYNTH in 0.4.4 2009-05-05 04:25:08 -07:00
Tobias Doerffel
e565e2e740 Made 0.4.4 release
Bumped version number to 0.4.4 in CMakeLists.txt and README.
2009-05-05 00:42:23 +02:00
Tobias Doerffel
cbc4c7c0aa Pass main window as parent for progress dialog when loading project
Make progress dialog when loading project a proper sub-window of LMMS
by passing main window as parent to constructor of QProgressDialog.
Fixes default window icon and additional taskbar item.
(cherry picked from commit 6929caa777)
2009-05-04 23:26:15 +02:00
Tobias Doerffel
2188ac9741 ZynAddSubFX: added preset collection by Will Godfrey
Added first external ZynAddSubFX preset collection by Will Godfrey.
Downloaded from http://www.musically.me.uk/Collection.zip on May 4th 2009.
License is GPLv2 or later (as of http://www.musically.me.uk/stuff.html).
(cherry picked from commit c2757d6991)
2009-05-04 14:28:03 +02:00
Tobias Doerffel
31b393af58 README: Synced with master branch
Synchronized changes in README in master branch.
2009-05-04 12:31:39 +02:00
Tobias Doerffel
8201a19d4c 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.
(cherry picked from commit ccb65f4b40)
2009-05-03 16:11:01 +02:00
Tobias Doerffel
6b0c083ce5 LadspaControl: set name property for tempoSyncKnobModel
For each model but the tempoSyncKnobModel the name property was properly
passed to the according constructor. This made time-based knobs in LADSPA
effects have no internal name, e.g. there were blank captions in the
knob's context menu or empty titles when used in combination with
automation patterns.
(cherry picked from commit ebd3d26531)
2009-05-03 15:33:39 +02:00
Tobias Doerffel
9c4dc40de1 VstEffect: check whether VST effect has an editor
Depending on whether VST effect has an editor return 1 or 0 in
VstEffectControls::getControlCount(). This prevents the EffectView in
the effect rack from showing a "Controls" button and creating an empty
subwindow.
(cherry picked from commit 3a4ae3a434)
2009-05-03 15:16:59 +02:00
Tobias Doerffel
894ee9ea48 VstPlugin: added hasEditor() method
Added inline method hasEditor() with returns true or false depending on
whether the class received a window ID from the remote plugin.
(cherry picked from commit 044d671471)
2009-05-03 15:16:54 +02:00
Tobias Doerffel
f687591986 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).
(cherry picked from commit 9cced2957c)
2009-05-03 15:16:42 +02:00
Tobias Doerffel
ed02d1d501 InstrumentTrackWindow: clear focus on closeEvent
When closing an InstrumentTrackWindow make sure it doesn't still have
keyboard focus (looks like a bug in Qt) and set focus on
trackLabelButton instead (closes #2780590).
(cherry picked from commit 12d26ed0aa)
2009-04-25 16:41:42 +02:00
Tobias Doerffel
c94d003683 ZynAddSubFX: added support for d'n'd XIZ files onto ZASF plugin
This commit allows the user to drag'n'drop DLL files onto ZynAddSubFX
instrument (inside LMMS).
(cherry picked from commit d38d437349)
2009-04-18 23:56:07 +02:00
Tobias Doerffel
4995b3a87c InstrumentTrackView: save and restore last position of window
When closing a InstrumentTrackWindow save its position so it can be
restored later when showing it. Fixes windows always popping up
somewhere else when toggling instrument track button repeatedly.
(cherry picked from commit 232c1de404)
2009-04-18 18:29:14 +02:00
Tobias Doerffel
8f735d4b06 ZynAddSubFX: do not lock up after rendering project
Do not lock up after rendering project by calling waitForInitDone()
on our own (instead of in RemotePlugin constructor) with busy waiting
disabled.
(cherry picked from commit 75382de976)
2009-04-18 18:18:00 +02:00
Tobias Doerffel
1f99455e67 RemotePlugin: allow waitForInitDone() without busy waiting
An additional parameter to waitForInitDone() allows to disable busy
waiting which could be desired in various places to avoid deadlocks.
(cherry picked from commit 1802b91e55)
2009-04-18 18:17:54 +02:00
Tobias Doerffel
02149d66f5 ZynAddSubFX: do not subclass RemotePlugin
Create an own RemotePlugin object rather than inheriting from it.
This allows to restart ZASF RemotePlugin which for example is required
upon samplerate changes (closes #2626249).

Furthermore this commit cleans up some old unused stuff.
(cherry picked from commit dfab704100)
2009-04-18 18:17:44 +02:00
Tobias Doerffel
c16d1be0a8 RemotePlugin: made lock() and unlock() methods public
Made RemotePlugin::lock() and RemotePlugin::unlock() public allowing
to use RemotePlugin class without subclassing it.
(cherry picked from commit 7200eb8158)
2009-04-18 18:17:38 +02:00
Tobias Doerffel
9009d745e9 ZynAddSubFX: made MIDI pitch bend work
Always send MIDI pitch bend events to MIDI channel 0 for the time being.
Makes MIDI pitch wheel work with ZynAddSubFX.
(cherry picked from commit 9873b880e2)
2009-04-18 14:17:42 +02:00
Tobias Doerffel
601b6c7c59 ZynAddSubFX: properly load/save instrument presets
When loading external XIZ presets, the embedded ZynAddSubFX plugin didn't
apply them completely so it did not save them properly later. This made
ZASF instruments play the default preset when loading the LMMS project
later. Now presets properly get applied to the selected instrument part.
(cherry picked from commit 7a176c8fbb)
2009-04-18 14:17:36 +02:00
Tobias Doerffel
e940acd3cb ZynAddSubFX: integrated into stable-0.4 series
Embedded ZynAddSubFX plugin now is considered to be mature enough to
be part of the stable-0.4 series. This eases builds for everyone as well
as cutting down maintainance work dramatically as we can easily
cherry-pick fixes from master branch now.
2009-04-18 01:02:05 +02:00
Tobias Doerffel
e0a26a35fc 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).
(cherry picked from commit efb335cea7)
2009-04-17 15:13:44 +02:00
Tobias Doerffel
0edc0db7bd 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.
(cherry picked from commit 6f0388be7c)
2009-04-16 10:46:54 +02:00
Tobias Doerffel
52bab63548 RemotePlugin: never lock up if remote plugin died
Up to now there were insufficient checks whether the remote plugin
has died and so the result usually has been a complete lock-up of LMMS
(especially when using buggy VST plugins or similiar). By adding
according checks to remotePlugin::lock() and remotePlugin::unlock()
as well as remotePluginBase::waitForMessage() those lock-ups are gone.
(cherry picked from commit 656b195cfd)
2009-04-14 00:40:17 +02:00
Tobias Doerffel
0d0288eabe VeSTige: added support for d'n'd DLL files onto VeSTige instrument
This commit allows the user to drag'n'drop DLL files onto VeSTige
instrument. Furthermore VeSTige now registers itself as handler for
loading DLL files.
(cherry picked from commit 1b77346ded)
2009-04-14 00:05:13 +02:00
Tobias Doerffel
833610ea1c FileBrowser: added file type VstPluginFile
Added file type VstPluginFile in order to allow loading DLL files by
an according plugin directly from file browser.
(cherry picked from commit e0d352dc2c)
2009-04-14 00:05:07 +02:00
Tobias Doerffel
9dee41c017 Plugin: try to load all shared libraries first
Try to load all shared libraries before resolving any symbols. Fixes
problems with plugins that are linked against other shared libraries
located in LMMS' plugin directory.
(cherry picked from commit 9a4b4f3cfe)
2009-04-14 00:05:00 +02:00
Tobias Doerffel
1ed140eec4 InstrumentTrack: fixed calculation in midiPitch()
InstrumentTrack::midiPitch() returned 16384 instead of 16383 if pitch
was set to +100 cents. This commit fixes the calculation.
(cherry picked from commit 76662a3a51)
2009-04-13 16:15:38 +02:00
Tobias Doerffel
b93d62124c VstBase/CMakeLists.txt: do not fail with broken wineg++
With newer versions of wineg++ (1.1) errorneously adds the suffix ".exe"
to the target binary. This causes "make install" to fail. Therefore
rename remote_vst_plugin.exe if it exists.
(cherry picked from commit 69ff06e1b9)
2009-04-12 00:11:34 +02:00
Tobias Doerffel
4ec030b518 RemoteVstPlugin: removed obsolete warning
Removed obsolete warning about setting realtime. It's neither important
nor will calling printf()/fprintf() in a RemotePlugin print anything in
LMMS' console output.
(cherry picked from commit 337afffbf1)
2009-04-10 00:08:13 +02:00
Tobias Doerffel
40627ffc53 RemoteVstPlugin: fix issues with uniqueID
Removed the newline character at the end of the uniqueID array, decreased
array size to 5 and initialize last element with 0 after sprintf() call.
(cherry picked from commit 7d1a357076)
2009-04-10 00:07:55 +02:00
Tobias Doerffel
a680dd413d German localization: fixed typo
Fixed typo in German localization file.
(cherry picked from commit f38ccba04a)
2009-04-09 00:28:10 +02:00
Tobias Doerffel
e7b2cfc9f8 InstrumentTrack::masterKey(): fixed miscalculation
Global master pitch wasn't taken into account correctly when calculating
master key of a given key. Made MIDI based instruments behave in the
opposite direction regarding pitch when changing global master pitch.

Thanks to Skiessi for pointing out this issue.
(cherry picked from commit 6e30ae3369)
2009-04-09 00:20:44 +02:00
Tobias Doerffel
315cd1936d RemoteVstPlugin: use std::vector rather than std::list
For some reason, building remote_vst_plugin.cpp with recent
wineg++/gcc-multilib on 64 bit platforms causes undefined symbols:

remote_vst_plugin-JzpHs6.o: In function `std::list<VstMidiEvent, std::allocator<VstMidiEvent> >::_M_insert(std::_List_iterator<VstMidiEvent>, VstMidiEvent const&)':
remote_vst_plugin.cpp:(.text._ZNSt4listI12VstMidiEventSaIS0_EE9_M_insertESt14_List_iteratorIS0_ERKS0_[std::list<VstMidiEvent, std::allocator<VstMidiEvent> >::_M_insert(std::_List_iterator<VstMidiEvent>, VstMidiEvent const&)]+0x35): undefined reference to `std::_List_node_base::hook(std::_List_node_base*)'

Replacing std::list with std::vector for queueing MIDI events seems to
fix this issue. Consider this as a workaround rather than constructive fix.
(cherry picked from commit c0ff1aa95c)
2009-04-07 12:41:15 +02:00
Tobias Doerffel
2e1c7ce8a2 AudioJack: fixed lockup when getting zombified
This commit fixes lockup of the whole audio engine as soon as LMMS'
JACK backend got zombified due to longer delays (e.g. when audio engine
is blocked while loading a project). Restart JACK backend in such cases
and show an according message to the user.

Furthermore this commit includes various cleanups and improvements.
(cherry picked from commit b4e38e3978)
2009-04-07 00:16:12 +02:00
Tobias Doerffel
99807eeb98 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.
(cherry picked from commit ff010da5ee)
2009-04-06 00:10:39 +02:00
Tobias Doerffel
af8862fd2a 3rdparty/libsamplerate: updated to version 0.1.7
Updated 3rdparty libsamplerate to version 0.1.7 and bumped requirement
to system's libsamplerate to version 0.1.7.

Besides minor stuff, version 0.1.7 has one important fix:

  * src/src_sinc.c
  Fix a segfault which occurs when memcpy is passed a bad length parameter.
  This bug has zero security implications beyond the ability to cause a
  program hitting this bug to exit immediately with a segfault.
(cherry picked from commit ca5588f747)
2009-03-27 01:40:15 +01:00
Tobias Doerffel
45eaf1439b panning.h: fixed compiler warning
Fixed compiler warning about converting float to Sint16.
(cherry picked from commit 34bbde53e7)
2009-03-26 09:30:17 +01:00
Tobias Doerffel
45a128512b LVSL: track samplerate/tempo changes in VstPlugin base class
Up to now changes of samplerate or tempo only have been tracked by the
VeSTige plugin while e.g. the VstEffect didn't forward such changes to the
RemotePlugin. Moving according code from VeSTige to VstPlugin base class
fixes this issue.
(cherry picked from commit 5dd68ea7f3)
2009-03-22 16:02:52 +01:00
Tobias Doerffel
0cb99b2d67 VstEffect: set displayName property at initialization
In VstEffect constructor set the displayName property in order to make
EffectView display actual plugin name rather than just "VST Effect".
(cherry picked from commit dce6ae9a7d)
2009-03-22 15:34:54 +01:00
Tobias Doerffel
1046c7afb8 Oscillator: reverted recent fix for PM
As of acaaea8204 a samplerate dependent
ratio has been added into calculation of the local phase. This however is
wrong for PM.
(cherry picked from commit 2547bf8d57)
2009-03-22 15:18:55 +01:00
Tobias Doerffel
4569b635d9 RemoteVstPlugin: use SplittedThreading model for MDA plugins
Most of the MDA VST plugins require the SplittedThreading model in order
to run properly. All plugins whose unique ID starts with "mda" will be
driven with the SplittedThreading model.
(cherry picked from commit 96fb6f5a38)
2009-03-22 14:53:54 +01:00
Tobias Doerffel
2828262459 ControllerConnection: export symbols for win32 build
As of ee9e5680b7, LADSPA effect plugins access
ControllerConnection class. We therefore need to export its symbols.
(cherry picked from commit dc7cc064ce)
2009-03-22 01:05:23 +01:00
Tobias Doerffel
a850c1dd43 Oscillator: fixed samplerate dependence of FM/PM
When doing FM/PM, the value of sub-oscillator is globally/locally added to
phase. However when doing this, a ratio between fixed default samplerate and
actual samplerate needs to be taken into account in the phase calculation.

This commit fixes missounding render output when rendering projects with
FM/PM inside at higher samplerates. (Thanks to Skiessi for his ladspa2.mmpz
which clearly brought up this bug)
(cherry picked from commit acaaea8204)
2009-03-21 10:34:58 +01:00
Tobias Doerffel
8ec501d6c6 LadspaEffect: fixed controller connections on samplerate changes
When global samplerate changes, settings of a LADSPA effect are stored in
a temporary object, the effect is reloaded and the settings are restored.
However, controller connections weren't restored properly as the connections
were not finalized. This commit fixes the issue.
(cherry picked from commit ee9e5680b7)
2009-03-19 00:30:10 +01:00
Tobias Doerffel
844aba46b0 MidiImport: fixed mistransposed notes
When importing MIDI files notes were always mistransposed by 9 semitones.
This commit fixes correction of notes' keys so imported MIDI files sound
just like they should.
(cherry picked from commit 617def002b)
2009-03-18 00:07:26 +01:00
Tobias Doerffel
bf03fa7eb2 Vibed: fixed legacy code in NineButtonSelector
In Qt3 we had to take care of drawing background properly if there were
semitransparent child widgets. This code had been ported to the Qt4 version
but is obsolete and causes a crash when for example dragging a Vibed preset
onto an existing instrument track. This commit removes this code.
(closes #2688270)
(cherry picked from commit d3cc908f43)
2009-03-16 18:25:56 +01:00
Tobias Doerffel
7931d65a89 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.
(cherry picked from commit 9ea3c6660d)
2009-03-16 17:50:00 +01:00
Tobias Doerffel
b46e711205 Sf2Player: truncated LOG440 constant
Having LOG440 as double with a mantissa of 51 digits doesn't help anything.
Truncated to float with 9 digits.
(cherry picked from commit 12fd3206b4)
2009-03-16 16:57:19 +01:00
Tobias Doerffel
ec07aef5ac 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++.
(cherry picked from commit 7449c4f731)
2009-03-15 21:50:38 +01:00
Tobias Doerffel
49ffdcd5bc MidiPort: subscribe writable rather than readable port when settings
When loading MidiPort settings, erroneously readable port was subscribed rather
than writable port. This commit fixes the issue.
(cherry picked from commit d981b32480)
2009-03-14 19:13:48 +01:00
Tobias Doerffel
8bfcadfcaf MidiAlsaSeq: fixed typo which made output ports not work at all
As of 94d13e84ca, MidiClients::writablePorts()
was not overloaded properly anymore and thus no output ports appeared anymore.
(cherry picked from commit fdc065b8b8)
2009-03-14 19:13:32 +01:00
Tobias Doerffel
c0c729412b MidiPortMenu: minor coding style fixes
(cherry picked from commit bd9be061a0)
2009-03-14 19:13:23 +01:00
Tobias Doerffel
4dbb6a20bd FX-Fader: added accessibleName property for FX faders for not displaying
an empty titlebar in context-menu
(cherry picked from commit c24b923b78)

Conflicts:

	src/gui/fx_mixer_view.cpp
2009-03-14 16:10:13 +01:00
Tobias Doerffel
efbe9c94c0 Various fixes for better OpenBSD compatibility (thanks to Jacob Meuser)
(cherry picked from commit 46097b72d7)

Conflicts:

	src/core/main.cpp
2009-03-12 19:35:49 +01:00
Tobias Doerffel
ab35c12552 AutomationPattern: save and restore length of AutomationPattern to avoid
confusions with the previous auto-resize behaviour
(cherry picked from commit 03bf853a4d)
2009-03-12 19:06:07 +01:00
Tobias Doerffel
2b033627e6 MIDI subsystem: fixed misspelled "writeable" into "writable", minor
coding style fixes
(cherry picked from commit 94d13e84ca)
2009-03-12 01:11:55 +01:00
Tobias Doerffel
76252b461b MidiPort: properly emit portChanged signals when loading settings - fixes
MidiPortMenu showing devices not checked although actually connected
(cherry picked from commit 782156cf70)
2009-03-12 01:11:48 +01:00
Tobias Doerffel
345277d34f PeakControllerEffect: corrected calculation for RMS and moved loops out
of if-branches - results however should be nearly the same but more accurate
and not negative
(cherry picked from commit 3084b361ea)
2009-03-12 00:45:45 +01:00
Tobias Doerffel
0f40a68e75 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
(cherry picked from commit 5976ab5ce2)
2009-03-09 22:48:15 +01:00
Tobias Doerffel
a6fbb8bb2d PatternView: if volume of a step is 95 it was not possible to increase
it to 100 by scrolling up (closes #2656024)

Backported from fa3d004f42 (master)
2009-03-04 19:02:18 +01:00
Tobias Doerffel
95b0607745 MidiImport: per default use bank 0 instead of 128
Backported from 402a2d32f7 (master)
2009-03-04 18:46:39 +01:00
Tobias Doerffel
fc38ce4d96 MidiImport: show an information message if no default soundfont has been
set (closes #2660545)

Backported from e4a6fde320 (master)
2009-03-04 18:45:27 +01:00
Tobias Doerffel
12ba546419 NotePlayHandle: call instrumentTrack::deleteNotePluginData() before
invalidating itself in instrumentTrack's m_notes array - fixes
recording with instruments that under certain circumstances call
notePlayHandle::noteOff() on their own (e.g. Kicker)

Backported from 6e4cc7b270 (master)
2009-02-27 14:20:36 +01:00
Tobias Doerffel
9cf48736d9 Fixed file mode for files that were executable although they shouldn't be 2009-02-27 00:25:59 +01:00
Tobias Doerffel
a2c0960810 PeakController: always check for m_peakEffect != NULL before using it as
sometimes it keeps NULL due to bugs in PeakController and
PeakControllerEffect deletion (closes #2616486)
2009-02-26 16:25:03 +01:00
Tobias Doerffel
2ff42ac80b added copy constructor implementation for AtomicInt class - fixes build failure with Qt < 4.4.0, fixed typo
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2074 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-23 22:32:31 +00:00
Tobias Doerffel
640f140ef1 made 0.4.3 release
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2071 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-23 19:57:08 +00:00
Tobias Doerffel
fa7085d80f fixed typos
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2070 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-23 19:55:06 +00:00
Tobias Doerffel
6c7e6571e7 reflect changes in MinGW crosscompiling environment
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2068 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-23 18:55:38 +00:00
Tobias Doerffel
9b533f055a rewrote timing of fading animation for not postponing updates of hidden fadeButton until it becomes visible (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2058 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-19 15:03:23 +00:00
Tobias Doerffel
168b65dfae 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) (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2057 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-19 15:02:41 +00:00
Tobias Doerffel
625c947d7a move timeLine marker in Piano Roll and autoscroll when recording while playing song (closes #2486334) (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2054 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-19 14:27:42 +00:00
Tobias Doerffel
264ad268ba more record-accompany fixes (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2052 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-19 13:57:22 +00:00
Tobias Doerffel
6b875a9181 coding style fixes, improved handling of shared detuningHelper object (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2050 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-19 13:44:19 +00:00
Tobias Doerffel
4c93249aae coding style fixes, improved handling of shared detuningHelper object (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2049 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-19 13:40:24 +00:00
Tobias Doerffel
c720c1f4c8 stable backport:
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/branches/lmms/stable-0.4@2048 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-19 13:39:42 +00:00
Tobias Doerffel
1102f03fde reverted rev 2037 as we have custom changes in this file (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2044 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-14 17:35:24 +00:00
Tobias Doerffel
c5d01d5e0d stable backport:
* added missing slot declaration for abortFreeze(), fixes lockup when freezing pattern (closes #2530320)
* update patternView after freezing
* fixed drawing of frozen pattern



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2042 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-13 23:36:32 +00:00
Tobias Doerffel
e5dddeffb0 stable backport:
* when resampling whole sampleBuffer, set end_of_input = 1 in libsamplerate data struct - fixes lots of zero samples at the end of output buffer (closes #2531452)
* coding style fixes
* removed obsolete save/restore of EOF-property in libsample rate data struct when resampling successively (always use 0)



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2040 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-13 16:37:15 +00:00
Tobias Doerffel
ab180ad254 integrated latest libsamplerate (0.1.6) which is both faster and more reliable (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2038 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-13 16:31:01 +00:00
Tobias Doerffel
e867071e43 disable output monitor per default and show click-hint (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2035 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-13 14:55:46 +00:00
Tobias Doerffel
bc2bf0e30b disable output monitor per default and show click-hint (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2034 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-13 14:54:54 +00:00
Tobias Doerffel
4db2ef1f7d reverted some of the changes from 2008-11-10 which caused distorted graphics when running LMMS with Qt 4.5 (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2031 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-13 11:33:04 +00:00
Tobias Doerffel
95df8100a2 various UI related backports from trunk
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2027 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-13 00:07:20 +00:00
Tobias Doerffel
12b07484aa reflect recent changes to MinGW cross compiling environment (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2026 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-12 23:34:20 +00:00
Tobias Doerffel
fa6e5be636 update patch after loading settings (closes #2486372) (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2024 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-12 23:25:49 +00:00
Tobias Doerffel
84f3ecf76b ensure, cursor is never NULL when painting it in paintEvent()
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2021 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-12 22:53:07 +00:00
Tobias Doerffel
a4ba618828 do not load samples bigger than 100 MB (closes #2458375) (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2019 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-12 22:18:07 +00:00
Tobias Doerffel
83ce3c21b4 integrated pitanga's patch to fix unquantized BB dragging in song editor. Changed ctrl modifier to alt to be consistent (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2009 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-05 13:24:19 +00:00
Tobias Doerffel
48990656b9 integrated pitanga's patch to fix unquantized BB dragging in song editor. Changed ctrl modifier to alt to be consistent (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2008 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-05 13:23:32 +00:00
Tobias Doerffel
d3e6f5a348 better workaround for optimizer bug in GCC >= 4.3 (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2006 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-05 13:19:18 +00:00
Tobias Doerffel
0d90ac3176 cleanups (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2005 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-05 13:18:28 +00:00
Tobias Doerffel
48fe96c9ac added missing header for compilation with GCC 4.4
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2004 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-05 13:17:50 +00:00
Tobias Doerffel
1ffe1c0733 simplified formulas for calculating envelope array resulting in about 3x performance with traditional FPU code; loops now can be vectorized by GCC 4.4
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@2003 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-05 13:17:21 +00:00
Tobias Doerffel
aa575bca83 fixed bug: you can use shift+left to move notes past the beginning (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1997 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-05 09:06:58 +00:00
Tobias Doerffel
b3c9bf011b reworked mixer-threads (synchronization, realization of jobqueue etc.) which results in a much better performance and stability
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1996 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-05 09:03:13 +00:00
Tobias Doerffel
8b3d3f33a7 stable backport of various fixes from trunk
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1972 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-01-27 00:21:37 +00:00
Tobias Doerffel
4fefc16f4b fixed plugins/ directory when updating localization file (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1967 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-22 17:51:51 +00:00
Tobias Doerffel
e1403ee10b in FL_EffectChannel initialize isMuted member - fixes muted FX channels when importing older FLP files (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1965 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-22 16:44:36 +00:00
Tobias Doerffel
6748aa99d1 made 0.4.2 release
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1963 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-19 16:39:05 +00:00
Tobias Doerffel
541d9d5ad6 fixed crash when adding VST effects
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1962 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-19 16:22:10 +00:00
Tobias Doerffel
10f2fab3d2 fixed broken version comparing which indicated 0.x.y to be less than 0.x.y-patch - fixes messed up projects when loading files created with LMMS 0.4.0
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1961 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-19 16:21:34 +00:00
Tobias Doerffel
340c47baf0 made 0.4.1 release
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1956 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-17 23:29:51 +00:00
Tobias Doerffel
3fdf9a1870 added another preset
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1955 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-17 23:29:16 +00:00
Tobias Doerffel
1c7efe8696 added STK support to win32 version of LMMS (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1954 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-17 23:26:47 +00:00
Tobias Doerffel
95729de5ee do not create a instrument track window just for calling dragEnterEvent() - use a static method instead (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1952 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-17 11:53:31 +00:00
Tobias Doerffel
a9f1242841 cache background per-object instead of per-class (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1951 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-17 11:52:46 +00:00
Tobias Doerffel
1737caf1e0 added Andrew Kelley as author (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1950 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-17 11:52:20 +00:00
Tobias Doerffel
fb25a51b5f changed modifier detection from mainWindow::isCtrlPressed etc to Qt framework detection. Fixes a bunch of little glitches and enables horizontal scroll wheels (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1949 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-17 11:51:27 +00:00
Tobias Doerffel
f62830c1ee added support for panning editing of notes (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1948 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-17 11:49:28 +00:00
Tobias Doerffel
3e0f9d0216 added Japanese localization files by Keishi Suenaga <skeishi/at/yahoo/dot/co/dot/jp>
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1947 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-17 11:38:07 +00:00
Tobias Doerffel
77d6f7586a require at least Qt 4.3.0
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1926 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-14 22:11:22 +00:00
Tobias Doerffel
d18cf92277 do not disable automation when just editing first point of an automation pattern (closes #2146230) (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1908 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-11 00:12:15 +00:00
Tobias Doerffel
3115642507 splitted view component out of automation_pattern.* (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1907 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-11 00:11:40 +00:00
Tobias Doerffel
dcb9f4dfb9 removed debugging messages (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1903 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-10 00:46:27 +00:00
Tobias Doerffel
46fe11b395 rewrote wide parts of LVSL backend, see ChangeLog for details (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1901 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-10 00:42:09 +00:00
Tobias Doerffel
55f606bc07 made "int"s to "const int"s, added CCONST macro (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1900 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-10 00:41:44 +00:00
Tobias Doerffel
aaddeb1a28 added support for debug messages from remote plugin (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1899 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-10 00:41:25 +00:00
Tobias Doerffel
56c5390888 win32-version: fixed crash when using VST plugins without GUI (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1890 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-08 20:46:35 +00:00
Tobias Doerffel
e5dc935ec5 export effectChain for properly building FLP import DLL (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1889 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-08 20:45:44 +00:00
Tobias Doerffel
3c767040b3 fixed recent commit (m_timeLine was not declared as member yet)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1886 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-08 20:40:08 +00:00
Tobias Doerffel
7de629794a added missing file
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1884 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-08 10:26:08 +00:00
Andrew Kelley
a08905af5b fixed glitch where song editor would use auto-scroll even if it was disabled (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1883 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-08 04:52:44 +00:00
Tobias Doerffel
b289c7a7a5 explicitely declare updateSampleRate() and updateBufferSize() as virtual (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1868 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-04 19:54:29 +00:00
Tobias Doerffel
19829ebb1c decreased step-property of volumeModel and panningModel from 1.0 to 0.1 for allowing smoother transitions when automating etc. (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1866 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-04 19:48:40 +00:00
Tobias Doerffel
78f4a3b0fc added Japanese localization files by Keishi Suenaga <skeishi/at/yahoo/dot/co/dot/jp> (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1864 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-02 19:48:34 +00:00
Tobias Doerffel
364c837a62 per default play sub-octaves of first oscillator in osc 2 and 3 (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1862 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-01 22:55:51 +00:00
Tobias Doerffel
69c8580a22 fixed wrong logic in automatableModel::setValue() which led to bugs when changing linked controls to 0 (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1846 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-11-22 21:47:37 +00:00
Tobias Doerffel
07f96d132e do not allow to import unhandled file types, e.g. ZynAddSubFX presets if plugin is not available (closes #2326384) (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1844 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-11-22 19:33:53 +00:00
Tobias Doerffel
98371cb148 rewrote FLP import filter, various coding style fixes (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1842 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-11-21 23:22:36 +00:00
Tobias Doerffel
1381709a58 set OpaquePaintEvent attribute for all widgets where suitable (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1836 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-11-11 08:48:12 +00:00
Tobias Doerffel
6f78e46035 fixed broken reference sharing (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1831 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-11-04 20:04:14 +00:00
Tobias Doerffel
062b615bd1 fixed loops when adding a controller to a model which is linked to another model (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1829 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-11-04 11:51:21 +00:00
Tobias Doerffel
92789f843e call saveSettings()/loadSettings() on model rather than loading/saving value directly - fixes lost automation on basic effect controls (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1827 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-11-04 10:46:09 +00:00
Tobias Doerffel
c9aa399e41 added missing README (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1824 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-11-02 22:41:20 +00:00
Tobias Doerffel
6f5029d4ba created stable 0.4.x branch
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1822 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-31 12:14:19 +00:00
Tobias Doerffel
82c7d19fe2 made 0.4.0 release
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1818 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-30 20:28:53 +00:00
Tobias Doerffel
8435030e81 * include all neccessary DLLs in win64 build
* fix versioning for CPack if no VERSION_SUFFIX is set



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1817 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-30 20:07:47 +00:00
Tobias Doerffel
fee4fcfc6d include QtXml/QDomElement rather than Qt/QtXml - fixes compilation on OS X
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1816 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-30 20:03:59 +00:00
Tobias Doerffel
3a1ec3f60d limit processing of TAP Reflector to 192 KHz as it otherwise crashes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1815 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-29 21:03:57 +00:00
Tobias Doerffel
b8923a52e8 fixed the disabling of PortAudio
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1814 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-29 10:41:17 +00:00
Tobias Doerffel
19800a6971 fixed autoscroll feature in piano-roll (closes #2204508)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1813 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-29 08:48:33 +00:00
Tobias Doerffel
ff0a8ab9dd disabled PortAudio support until a fix for the crash when accepting setup-dialog is available
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1812 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-28 23:11:37 +00:00
Tobias Doerffel
cbe6b1fbf3 moved to correct preset directory
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1811 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-28 22:58:47 +00:00
Tobias Doerffel
fbc38495a6 moved to correct preset directory
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1810 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-28 22:57:34 +00:00
Tobias Doerffel
d26f7be35c added some cool presets by Skiessi
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1809 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-27 23:22:03 +00:00
Tobias Doerffel
ef425f4460 also search top-source dir for LMMS import library for windows builds
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1807 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-27 22:37:12 +00:00
Tobias Doerffel
54a62a5668 added Win64Toolchain file
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1806 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-27 22:21:11 +00:00
Tobias Doerffel
a07605fb2d added Freeverb to blacklist as it does not work samplerate independent
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1805 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-27 21:57:35 +00:00
Tobias Doerffel
30c7732665 various fixes for successfully building LMMS for win64
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1804 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-27 21:25:46 +00:00
Tobias Doerffel
9530460fce * initial (not yet enabled) support for binding mixer threads to CPUs to reduce scheduling overhead and cache misses (gives avg. 10% performance boost)
* merged mixer-thread with first worker-thread - no more duplicate code for single- and multicore processing and better scheduling on multicore systems



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1803 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-25 17:53:58 +00:00
Tobias Doerffel
6fc2eba70b do not inline code for fetching value from controller and thus reduce header dependencies
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1802 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-25 15:16:09 +00:00
Tobias Doerffel
f070492fd6 cosmetics
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1801 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-25 14:33:11 +00:00
Tobias Doerffel
061333bb7c made building the WINE-part of VST Support Layer optional to allow packaging it in separate package (e.g. on 64 bit platforms)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1800 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-25 14:01:13 +00:00
Tobias Doerffel
2518ba1490 refreshed localization files
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1799 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-25 13:56:12 +00:00
Tobias Doerffel
cea6e16e3e updated Italian localization
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1798 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-25 13:54:59 +00:00
Tobias Doerffel
d2c5696673 updated German localization file
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1797 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-25 13:54:34 +00:00
Tobias Doerffel
018fbf96f8 fixed strings
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1796 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-25 13:54:10 +00:00
Tobias Doerffel
5e0d94aeb4 renamed class "listView" to "fileBrowserTreeWidget"
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1795 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-25 13:53:52 +00:00
Tobias Doerffel
63848e9b71 allow specifying destination directory for libs via CMAKE_INSTALL_LIBDIR
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1794 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-25 10:14:56 +00:00
Tobias Doerffel
9e4e576de9 * fixed out-of-boundary array access when reversing samples
* optimized loops for loading samples



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1793 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-25 10:12:44 +00:00
Tobias Doerffel
c10eeed4a9 reverted to rev. 1766 - fixes broken label on LADSPA effects
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1792 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-21 20:59:50 +00:00
Tobias Doerffel
edfdab22ae track focusOutEvents in order to unhide cursor in certain situations
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1791 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-21 20:52:24 +00:00
Tobias Doerffel
56f99f0f69 fixed macros describing system
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1790 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-20 10:15:04 +00:00
Tobias Doerffel
363902bf5f made 0.4.0-rc3 release
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1789 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-20 10:08:17 +00:00
Tobias Doerffel
bfe16701f9 various fixes in README
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1788 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-20 10:06:40 +00:00
Tobias Doerffel
ee025f7067 use QTextEdit rather than QPlainTextEdit for Qt 4.3 compatibility
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1787 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-20 09:38:08 +00:00
Tobias Doerffel
87ee43a079 made STRINGIFY_PLUGIN_NAME from embed.h a generic macro STRINGIFY in lmms_basics.h
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1784 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-19 21:48:57 +00:00
Tobias Doerffel
7f713f456b designed-based about dialog
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1783 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-19 21:47:52 +00:00
Tobias Doerffel
a44ce72b0a initially select whole string so it can be overwritten easily
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1782 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-19 21:47:26 +00:00
Tobias Doerffel
3ca9c954f4 moved an item to lmms-extras/AUTHORS
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1781 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-19 21:47:08 +00:00
Tobias Doerffel
04053f53fb improved VST GUI embedding (closes #2167745)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1780 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-19 16:20:38 +00:00
Tobias Doerffel
0d6eeafaba do not call method on deleted trackView but fetch pointer to track before deleting trackView (fixes crash when removing a track)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1779 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-19 16:20:10 +00:00
Tobias Doerffel
727584fc51 more checks before accessing icon - fixes crash when using ZynAddSubFX plugin
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1777 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-18 22:53:49 +00:00
Tobias Doerffel
6008028852 various tweakings in LVSL
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1776 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-18 21:53:36 +00:00
Tobias Doerffel
8b2c46c533 check for focusWidget() being NULL before checking inheritance - fixes crash for example when loading VST plugins
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1775 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-18 21:53:07 +00:00
Tobias Doerffel
60a6ae0282 use "Root directory" rather than "My computer" in non-win32-version
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1774 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-18 20:56:30 +00:00
Tobias Doerffel
5b99179451 do not create alsaconfig.h
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1773 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-18 15:19:54 +00:00
Tobias Doerffel
33c63d011c do not mess around with global static pointers for a single instance of patchesDialog - create a local object instead (closes #2139701)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1772 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-18 14:59:27 +00:00
Tobias Doerffel
a8a3082265 added filter feature allowing quick file access
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1771 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-18 14:31:31 +00:00
Tobias Doerffel
c2ebd98c7f improved reload icon
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1770 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-18 14:30:49 +00:00
Tobias Doerffel
c2bd8eeea9 added cool TripleOsc preset
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1769 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-18 14:11:38 +00:00
Tobias Doerffel
a91b920de5 removed obsolete file
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1768 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-18 14:11:17 +00:00
Tobias Doerffel
f24995bef3 * renamed tab "root" to "My computer"
* on win32 allow browsing drives in "My computer" tab
* improved icons for home and "My computer" browser



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1767 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-18 11:54:53 +00:00
Tobias Doerffel
58c2980507 in instrument tracks draw icon of instrument rather than displaying the full name of the instrument on track label button
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1766 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-18 10:22:43 +00:00
Tobias Doerffel
88f6f1d080 do not call trackView::dragEnterEvent() if instrument track window already accepted drag event - fixes dragging of presets and instruments onto track label button
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1765 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-18 10:21:51 +00:00
Tobias Doerffel
c6bc92e533 do not reclaim keyboard focus if new focus widget is a QLineEdit
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1764 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-18 10:21:21 +00:00
Tobias Doerffel
bc473ef91a removed line which was inserted accidentally
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1763 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-17 22:40:10 +00:00
Tobias Doerffel
820c5ec8ba added helper thread processWatcher which monitors the remote plugin process - if it terminates unexpectedly, invalidate remotePlugin so LMMS doesn't lock up - fixes crashes and lockups when using VST plugins or ZynAddSubFX plugin
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1762 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-17 22:36:08 +00:00
Tobias Doerffel
0610429ea3 reclaim keyboard focus if the current focus-widget lives in the same instrument-track-window as the previously active test piano - this way running notes are not stopped when modifying a control in the same instrument-track-window (closes #2139806)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1760 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-16 20:44:35 +00:00
Tobias Doerffel
d1781362a4 heavily improved performance when adding items to file browser tree-widget (closes #2146218)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1759 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-16 11:51:15 +00:00
Tobias Doerffel
c775cb00e3 updated Italian localization
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1758 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-15 23:42:23 +00:00
Tobias Doerffel
faa8b4fa08 added Czech localization by Ludek Cerny <erl/at/erlmedia/dot/cz>
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1757 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-15 23:31:23 +00:00
Tobias Doerffel
a4939447be move position marker lines even if autoscrolling is disabled
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1756 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-15 23:17:18 +00:00
Tobias Doerffel
772b29409d reverted to rev. 1479 as the optimizations lately completely screwed up things...
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1755 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-15 23:16:46 +00:00
Tobias Doerffel
4d45482d9e cleanups
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1754 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-15 23:16:01 +00:00
Tobias Doerffel
834046163f fixed debug out for 64 bit systems
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1753 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-14 22:25:13 +00:00
Tobias Doerffel
4578b7966f first initial "test"
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1752 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-14 22:06:26 +00:00
Tobias Doerffel
ff846833e8 more debug output when encountering bad jobqueue items
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1751 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-14 22:05:43 +00:00
Tobias Doerffel
3e8639e733 use ordered memory semantics for atomic int
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1750 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-14 21:25:23 +00:00
Tobias Doerffel
bb75274858 improved dependency handling for building manpage
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1749 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-14 13:31:05 +00:00
Tobias Doerffel
d118b13257 renamed types.h to lmms_basics.h
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1748 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-06 18:45:20 +00:00
Tobias Doerffel
b9b8e2b1b7 renamed types.h to lmms_basics.h
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1747 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-06 17:08:36 +00:00
Tobias Doerffel
bad1ea8d12 renamed types.h to lmms_basics.h
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1746 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-06 16:56:10 +00:00
Attila Herman
82263dd288 name change from PAPU to FreeBoy at the plugin browser and added help text to the knobs
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1745 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-06 16:16:18 +00:00
Tobias Doerffel
b38addd9c7 do not crash when pressing right mouse button while moving a note with left mouse button
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1744 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-04 23:25:18 +00:00
Tobias Doerffel
bfb3a7f407 moved constants out of loop
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1743 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-04 23:22:54 +00:00
Tobias Doerffel
f19aa7f1b6 set global alignment via a #define
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1742 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-04 23:22:41 +00:00
Tobias Doerffel
b3154b813d lock mixer while adjusting lengths of notePlayHandles after tempo change
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1741 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-04 23:21:39 +00:00
Tobias Doerffel
796c1af534 fixed typo
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1740 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-04 23:21:25 +00:00
Tobias Doerffel
7c99e38056 coding style fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1739 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-04 23:21:02 +00:00
Tobias Doerffel
97971332de removed fine-granular locking of various playHandle-vectors, just use one global big lock for everything now - prevents various deadlocks (e.g. when previewing samples in file browser)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1738 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-04 23:20:34 +00:00
Tobias Doerffel
6ef914f2be in erase-mode do not remove values without clicking
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1737 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-04 23:00:17 +00:00
Tobias Doerffel
d1d61eede8 fixed what I broke a few hours ago.. (closes #2146864)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1736 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-04 21:15:11 +00:00
Tobias Doerffel
ea55f6ae64 fixed extension for presets
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1735 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-04 20:51:12 +00:00
Tobias Doerffel
9b5b9d0468 fixed lost automation relations when switching samplerate
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1734 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-04 20:47:47 +00:00
Tobias Doerffel
13c00f55a1 * added missing includes to compile with GCC 4.4
* optimized various loops for getting tree-vectorized, especially with upcoming GCC 4.4



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1733 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-04 14:27:55 +00:00
Tobias Doerffel
30a452fd5d use -ftree-vectorize per default - everyone compiling LMMS (which needs Qt >= 4.3.0) will at least have GCC 4.1, anyways only makes sense when setting C(XX)FLAGS=-march=...
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1732 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-04 14:26:48 +00:00
Tobias Doerffel
c318990d83 improved effectLib for not being based on virtual-functions rather than direct function-inlining via template parameter
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1731 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-04 14:26:17 +00:00
Tobias Doerffel
85f92aecb5 removed obsolete supportsParallelizing() method
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1730 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-02 23:02:11 +00:00
Tobias Doerffel
80b4da1e3f fixed volume-scaling for IPH-based but not MIDI-based instruments
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1729 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-02 23:01:53 +00:00
Tobias Doerffel
b822c49af8 use memset() rather than initializing the buffer in a loop with 0
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1728 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-02 23:01:34 +00:00
Tobias Doerffel
0bb64d39ad fetch pointer to LADSPA port descriptor once outside the inner loops - improves performance of ladspaEffect::processAudioBuffer() by 400%
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1727 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-02 21:47:18 +00:00
Tobias Doerffel
baf52ca21c faster floating point comparison
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1726 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-02 21:47:04 +00:00
Tobias Doerffel
6be3579bcb fixed last commit
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1725 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-02 20:49:48 +00:00
Tobias Doerffel
abb6257693 fixed last commit
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1724 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-02 20:46:38 +00:00
Tobias Doerffel
c2ae2db889 added updated Russian localization by Alexey Kouznetsov
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1723 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-02 13:06:23 +00:00
Tobias Doerffel
fce25dc625 fixed a bunch warnings and remarks issued by Intel Compiler
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1722 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-02 11:48:59 +00:00
Tobias Doerffel
e679f8c52f * use one static jobqueue for not getting problems with cached pointers
* check for job being NULL
* improved performance of master mix



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1721 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-02 11:46:29 +00:00
Tobias Doerffel
8ed597ea9f allow overriding compiler flags
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1720 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-02 11:44:40 +00:00
Tobias Doerffel
0a06565908 fixed wrong compiler flags
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1719 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-30 12:08:24 +00:00
Tobias Doerffel
adf8aed93c removed obsolete instrument-parallelization support as this is handled much better by worker threads and adds unneccessary complexity
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1718 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-30 11:14:32 +00:00
Tobias Doerffel
396dbbc1b3 * removed (buggy) PCH support
* added support for CFLAGS and CXXFLAGS environment variables



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1717 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-30 11:10:52 +00:00
Tobias Doerffel
63da74283c use notePlayHandle::getMidiVelocty() rather than notePlayHandle::getVolume() for allowing less bright sounds by decreasing instrument-track's volume (if soundfont supports it)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1716 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-29 19:30:24 +00:00
Tobias Doerffel
880c322cf6 * replaced instrument::notePlayHandleBased() with instrument::isMidiBased()
* renamed bendable() to isBendable()
* if the instrument is MIDI based and instrument-track's volume is below 100, adjust velocity of MIDI events and scaling factor when mixing sound



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1715 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-29 19:29:04 +00:00
Tobias Doerffel
8a3d31464c moved LiveTool to LMMS-extras
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1714 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-25 21:30:50 +00:00
Tobias Doerffel
3358ec3a8f moved (broken) LiveTool to LMMS-extras
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1713 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-25 21:29:48 +00:00
Tobias Doerffel
bd51ed60a6 replaced X11-specific parts by platform independent code but still does not work properly
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1712 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-25 21:28:00 +00:00
Tobias Doerffel
9d49857dd4 play preview notes also while playing (closes #2089399)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1711 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-25 20:51:58 +00:00
Tobias Doerffel
7f2a7d27b3 minor code improvements
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1710 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-25 20:51:39 +00:00
Tobias Doerffel
b1d2c3ab54 properly build on OS X
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1709 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-24 09:33:45 +00:00
Tobias Doerffel
513c7af9bc fixed compiler warnings
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1708 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-24 09:33:01 +00:00
Tobias Doerffel
926df4157f fixed compiler warnings
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1707 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-24 09:22:33 +00:00
Tobias Doerffel
1ba1c097ee do not show splash if environment variable NOSPLASH is set
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1706 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-24 09:22:08 +00:00
Tobias Doerffel
b75c3239f4 do not crash when opening controller connection dialog and using a non-sequenced (raw) MIDI-client
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1705 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-24 09:08:53 +00:00
Tobias Doerffel
b83b56fdf5 fixed compiler warnings
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1704 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-24 09:08:15 +00:00
Tobias Doerffel
f747e7af9c fixed preset name
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1703 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-24 09:07:44 +00:00
Tobias Doerffel
e05c8272fa improved appearence of position line
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1702 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-23 12:42:01 +00:00
Tobias Doerffel
e5889f082e made 0.4.0-rc2 release
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1701 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-23 12:09:59 +00:00
Tobias Doerffel
3b49f27c4e if adding play handle failed for some reason, set internal pointer to it to NULL
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1700 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-23 10:49:01 +00:00
Tobias Doerffel
5c7e07de06 made QThread pointer const
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1699 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-23 10:47:24 +00:00
Tobias Doerffel
4583e48c3d * lock playHandle mutex in mixer::clear()
* moved implementation of mixer::removePlayHandle() from header to source-file
* only delete play-handle in mixer::removePlayHandle() if it was found in playHandle vector (fixes crash when previewing a preset under high load)



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1698 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-23 10:45:05 +00:00
Tobias Doerffel
eb2f5e9cc2 package ZynAddSubFX into win32 build
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1697 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-22 23:48:13 +00:00
Tobias Doerffel
782fd7de09 made remotePluginClient::process() have no return value
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1694 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-22 23:36:37 +00:00
Tobias Doerffel
356af7ca64 install and load Qt translation files on win32
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1692 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-22 22:51:27 +00:00
Tobias Doerffel
28ace82fad fixed file-dialog for choosing export filename
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1691 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-22 22:44:01 +00:00
Tobias Doerffel
7a16ae1311 start render-thread with normal priority on win32 as otherwise the whole GUI is almost frozen
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1690 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-22 22:43:47 +00:00
Tobias Doerffel
c7a3785d15 removed -Wstrict-aliasing=2 warning
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1689 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-22 22:43:35 +00:00
Tobias Doerffel
d96b7ff217 cleanups
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1688 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-22 22:24:39 +00:00
Tobias Doerffel
9aa0ec8313 fixed deadlocks after projectRenderer ran
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1687 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-22 22:24:19 +00:00
Tobias Doerffel
6088193ac0 set PaintOnScreen property for splash for not taking part of compositing management
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1686 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-22 22:23:51 +00:00
Tobias Doerffel
1451ea8000 added a vertical position line
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1685 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-22 20:54:32 +00:00
Tobias Doerffel
d6457f039f added support for MIDI out in WinMM MIDI client
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1684 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-22 20:26:45 +00:00
Paul Giblock
f3d94b0e63 Improve peak-controller deletion, well, partially
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1683 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-22 15:11:55 +00:00
Paul Giblock
668adaa2b2 Fix waveShape max on LB302
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1682 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-22 06:25:12 +00:00
Paul Giblock
4efba3740f Fix broken svn on 64bit
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1681 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-22 05:34:56 +00:00
Tobias Doerffel
778293b31e fixed compiler warnings
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1680 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-21 23:47:02 +00:00
Tobias Doerffel
300baab2f1 refactored MIDI tab in instrumentTrackWindow which now also allows setting arbitrary fixed velocity and defining a program for MIDI output
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1679 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-21 23:45:39 +00:00
Tobias Doerffel
27db56fd8d automatically enable auto-detect LED when selecting a MIDI device
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1678 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-21 23:44:48 +00:00
Tobias Doerffel
5ce914a672 always return a dummy model in plugin::getChildModel() for not crashing if something goes wrong
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1677 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-21 23:44:18 +00:00
Tobias Doerffel
f77a8b40f6 fixed subscription of output ports
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1676 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-21 23:43:03 +00:00
Tobias Doerffel
7e15761b36 removed obsolete/unused support for MIDI maps
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1675 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-21 23:42:18 +00:00
Tobias Doerffel
fd5c9ecc52 enable all compiler warnings per default
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1674 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-21 23:41:28 +00:00
Paul Giblock
65566c92ce Resurrect old lmms background and add to new backgrounds directory
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1673 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-21 20:43:09 +00:00
Paul Giblock
b17bbed325 Hide pitch-bend knob on vibed instrument.
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1672 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-21 19:46:43 +00:00
Paul Giblock
668cc77a47 Add pitchbend to Mallets instrument
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1671 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-21 18:50:03 +00:00
Paul Giblock
424dc3b0e8 Add pitch-bend support to BitInvader, Move smooth button, and some minor coding style corrections
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1669 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-21 17:06:31 +00:00
Tobias Doerffel
58b90a88d2 fixed crashes when exporting as OGG and output file can't be created or OGG encoding settings are wrong
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1665 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-21 12:18:22 +00:00
Tobias Doerffel
08faae6213 fixed crashes when exporting as OGG and output file can't be created or OGG encoding settings are wrong
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1664 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-21 12:17:59 +00:00
Tobias Doerffel
f5d9a50394 fixed automationPattern::length() for cases where the key of the last value was the first tick in a new tact
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1663 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-21 11:26:05 +00:00
Tobias Doerffel
77c40b9b90 * build LADSPA-effect plugin after subdirs have been processed, otherwise LADSPA plugins are linked against Qt4 and so on
* compile with -fno-strict-aliasing, fixes win32 builds of plugins



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1661 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-21 10:00:39 +00:00
Tobias Doerffel
6ad44678aa initialize CMT_PluginDescriptor with correct number of ports
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1660 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-21 09:59:57 +00:00
Tobias Doerffel
e4a4defaba fixed strict aliasing violation
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1659 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-21 09:59:43 +00:00
Tobias Doerffel
1f67d98a50 initialize members
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1658 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-21 09:59:20 +00:00
Paul Giblock
0b24930e20 Improve LB302 with 3 new shapes and button-selectors.
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1657 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-21 08:35:47 +00:00
Paul Giblock
58df304c03 Move drumsynth/r_b to drumsynth/r_n_b
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1656 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-21 06:07:53 +00:00
Paul Giblock
ae03f9f3b1 Add user-configurable background artwork
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1655 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-21 04:32:24 +00:00
Paul Giblock
c4c13399bf Improve default PAPU settings. Add file-type filters to import screen
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1654 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-21 03:03:26 +00:00
Paul Giblock
74ac69ed1a Fix reference sharing in SF2 player
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1653 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-21 00:19:48 +00:00
Tobias Doerffel
b5fd1c5b88 set default path if a path only contains of a dir-separator
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1652 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-20 22:23:19 +00:00
Tobias Doerffel
f45e6cfcfe fixed extension of presets
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1651 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-20 20:21:58 +00:00
Tobias Doerffel
74e82e0a84 added stub config.h
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1650 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-20 20:05:23 +00:00
Tobias Doerffel
718f9769ea don't forget to build Freeverb source files
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1649 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-20 18:40:04 +00:00
Tobias Doerffel
4aaeb5192f added CMT LADSPA plugins - should be enough then :)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1648 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-20 18:30:38 +00:00
Tobias Doerffel
631d84e14f tweakings for win32 build of SWH plugins
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1647 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-20 17:57:46 +00:00
Tobias Doerffel
1bdc8e1837 added missing file for SWH plugins
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1646 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-20 17:47:44 +00:00
Tobias Doerffel
6ac8759c61 added a selection of nice SWH LADSPA plugins
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1645 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-20 17:46:05 +00:00
Tobias Doerffel
0304fc036e fixed compilation
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1644 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-20 13:56:42 +00:00
Tobias Doerffel
dea184a993 fixed quantization when moving selected notes (closes #2118371)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1643 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-20 13:19:16 +00:00
Tobias Doerffel
9c3bd2d306 renamed class SID to cSID for not conflicting with data structure SID in win32 headers
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1642 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-20 12:31:17 +00:00
Tobias Doerffel
529aa59f8f renamed FLOAT constant to FLOATING for not conflicting with FLOAT type in win32 headers
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1641 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-20 12:30:40 +00:00
Tobias Doerffel
b24ed389ca export MIDI class - DLL version of midiImport plugin needs it
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1640 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-20 12:29:51 +00:00
Tobias Doerffel
bea2c289de refreshed localizations
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1638 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-19 15:57:39 +00:00
Tobias Doerffel
ce40d731e2 added "finalize-locales" target
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1637 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-19 15:51:20 +00:00
Tobias Doerffel
a170f7209a fixed paths when starting with no configuration file
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1636 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-19 15:42:32 +00:00
Tobias Doerffel
002e8edd0e directly query translation directory from Qt
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1635 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-19 15:40:53 +00:00
Tobias Doerffel
c128bd727e improved visual appearence of timeline
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1634 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-19 15:22:17 +00:00
Tobias Doerffel
7b42e2df54 improved detection of Qt4 translation directory
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1633 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-19 15:21:26 +00:00
Tobias Doerffel
0eec4c2f35 changed preset's extension from "*.cs.xml" to "*.xpf"
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1632 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-18 22:24:45 +00:00
Tobias Doerffel
6f67de2495 fixed tooltip of mute button
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1631 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-18 22:15:41 +00:00
Tobias Doerffel
af7e00091e * when used on instrumentTrack, also show instrument name on trackLabelButton
* removed obsolete support for choosing custom track icons



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1630 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-18 21:36:27 +00:00
Tobias Doerffel
e282227c6a when just rendering at console, use DEFAULT_BUFFER_SIZE
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1629 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-18 21:33:56 +00:00
Tobias Doerffel
4736aa66ed finally removed obsolete track icons
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1628 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-18 21:33:06 +00:00
Tobias Doerffel
c5147da5f8 updated project to latest version
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1627 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-18 14:20:26 +00:00
Tobias Doerffel
f8bcb7848f added another cool song from Skiessi
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1626 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-17 15:40:23 +00:00
Tobias Doerffel
6f0645c66b try to use relative paths for s_fonts map too as otherwise s_fonts.remove( m_filename ) won't do anything if a full path was inserted and m_filename was made relative - fixes crash when re-opening a soundfont which was shared before
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1625 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-17 09:52:51 +00:00
Tobias Doerffel
c54ba6a66a fixed compilation issue
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1624 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-17 09:50:44 +00:00
Paul Giblock
baf274fac4 Add new piano-roll shortcuts to trunk
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1623 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-17 08:15:06 +00:00
Paul Giblock
18873f7305 Add Portsmf MIDI importing to trunk
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1622 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-17 08:11:38 +00:00
Tobias Doerffel
2831e9f6f0 disabled undo/redo of track/TCO addition/removal as not mature yet and causes unneccessary crashes (closes #2014439, #2100407)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1620 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-16 22:53:28 +00:00
Tobias Doerffel
2214b49009 added two cool projects from Skiessi - more to come
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1619 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-16 22:45:52 +00:00
Tobias Doerffel
9d3b506415 * fixed cloning of automation-patterns (closes #2102218)
* allow dropping automation patterns onto existing automation patterns



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1618 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-16 22:32:25 +00:00
Tobias Doerffel
84ab700f9c improved usage of random number generator (closes #2109211)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1616 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-16 14:02:53 +00:00
Tobias Doerffel
570159868e don't mis-initialize random number generator with default value
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1615 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-16 14:02:34 +00:00
Tobias Doerffel
4327820c42 print name of object which uses ID if another object requests it
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1614 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-16 14:02:02 +00:00
Tobias Doerffel
f7036aade8 make sure we don't return NULL in automationPattern::firstObject()
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1613 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-16 14:01:35 +00:00
Tobias Doerffel
6785d3b436 * do not show messages about missing plugins when previewing presets (closes #2110203)
* clear effect view before loading settings in effectChain



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1612 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-16 12:31:14 +00:00
Tobias Doerffel
540c71922d improved out-of-tree builds
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1611 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-16 12:30:25 +00:00
Tobias Doerffel
f3002cbc94 upgraded from LMMS 0.0.9 and fixed settings
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1610 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-16 12:27:23 +00:00
Csaba Hruska
e9ba002aa8 bugfix: portaudio backend now handles blocked device correctly.
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1605 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-14 11:51:54 +00:00
Paul Giblock
9c356ad09b Improved timeline zero-length loop avoidance
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1604 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-13 21:56:07 +00:00
Paul Giblock
5b449171d1 Keep timeline loop points from being equal
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1603 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-13 16:56:37 +00:00
Tobias Doerffel
b217bbdfd8 * ensure correct thread affinity when deleting play handles - fixes crash when previewing samples and LMMS was linked against Qt 4.3.x
* renamed destroyed()-signals for not conflicting with QObject::destroyed() in Qt 4.3
* made effectChain creation in audioPort optional
* fixed various compiler warnings



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1602 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-11 13:43:43 +00:00
Tobias Doerffel
ee91a2176e whitespace fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1601 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-10 09:40:11 +00:00
Paul Giblock
4d347915a2 (Hopefully) Last fix for papu on 64bit
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1600 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-09 19:35:40 +00:00
Paul Giblock
cf3d400844 Fix papu on 64bit
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1599 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-09 17:39:32 +00:00
Tobias Doerffel
7d7a63dbdf on Linux install manpage
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1596 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-09 00:27:27 +00:00
Tobias Doerffel
742f4aa46d don't install track-icons anymore
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1595 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-09 00:26:58 +00:00
Tobias Doerffel
55fc7ec7ba fixed win32-specific build issues
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1594 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-08 23:41:59 +00:00
Tobias Doerffel
3e38374785 made 0.4.0-rc1 release
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1593 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-08 23:09:01 +00:00
Tobias Doerffel
3cd8b97623 further UI finetuning
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1592 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-08 22:48:43 +00:00
Tobias Doerffel
f7c62d29c8 finally made WinMM MIDI driver work properly by fixing internal data structures
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1591 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-08 22:24:00 +00:00
Tobias Doerffel
d5ac6b97d3 added hint about registered trademark
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1590 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-08 13:00:41 +00:00
Tobias Doerffel
da2fcf130a UI finetuning / recompression of some PNG-files
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1589 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-08 12:47:11 +00:00
Tobias Doerffel
98ddc0df71 improved destruction
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1588 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-08 10:16:45 +00:00
Tobias Doerffel
2ccbbae6ee re-enabled WinMM MIDI
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1587 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-08 09:57:37 +00:00
Tobias Doerffel
947ff586ad create separate thread for WinMM MIDI
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1586 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-08 09:56:46 +00:00
Paul Giblock
82625e6716 Add Csaba and Attila's Gameboy instrument
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1584 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-08 04:03:23 +00:00
Tobias Doerffel
fa1a9f4967 * rewrote the way plugins can handle certain filetypes
* rewrote various parts of file-browser to be less redundant and more stable (closes #2071891)



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1582 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-07 22:38:23 +00:00
Tobias Doerffel
9667fecd8b renamed from sound_file.png
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1581 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-07 22:36:16 +00:00
Tobias Doerffel
49cdd498c3 * apply release of 128 frames
* enable loop mode per default



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1580 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-07 22:35:58 +00:00
Tobias Doerffel
8c3adbdc34 fixed MIDI output channel issues (closes #2098722)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1579 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-07 18:02:28 +00:00
Tobias Doerffel
ac2003ca70 integrated patch by Attila Herman which adds support for colorized graph and quantized values
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1578 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-07 14:34:43 +00:00
Tobias Doerffel
299dd9197d made default VST path to be inside LMMS working directory
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1577 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-07 14:34:25 +00:00
Tobias Doerffel
940d1d2ec5 only restore widget settings if 'visible'-attribute exists
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1576 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-07 13:33:02 +00:00
Tobias Doerffel
01442ab394 moved peridic update-timer from songEditor to mainWindow
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1575 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-07 13:32:30 +00:00
Tobias Doerffel
058d284c8c changed size constraint for scrollArea-widget layout - fixes messed up Song Editor after loading various projects
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1574 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-07 13:31:59 +00:00
Tobias Doerffel
f7d69f1161 set QMdiArea::DontMaximizeSubWindowOnActivation option for not crashing when loading project while a subwindow is maximized (this looks like a bug in Qt) (closes #2077774)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1573 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-07 13:08:21 +00:00
Tobias Doerffel
1d9e040d48 fixed crash when closing controller select dialog and no controller has been selected (closes #2078357)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1572 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-07 12:59:04 +00:00
Tobias Doerffel
408ab3fea5 display message if project is empty and user tries to export it (closes #2091056)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1571 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-07 12:54:23 +00:00
Tobias Doerffel
aa12ee5082 * fixed freeze after adding BB-tracks (closes #2089337)
* replaced bad cast for calling projectNotes::save/restoreState by proper C++ construct



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1570 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-07 12:33:56 +00:00
Tobias Doerffel
3372309f73 properly save and restore position, size, visibility and state of MDI-subwindows
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1569 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-07 12:09:02 +00:00
Tobias Doerffel
ee6eb02c0e fixed hook-mechanism
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1568 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-07 12:08:25 +00:00
Tobias Doerffel
ae8ed9e183 moved peridic update-timer from songEditor to mainWindow
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1567 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-07 12:08:10 +00:00
Tobias Doerffel
dc895f4850 moved old BlueScene theme to LMMS-extras
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1566 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-07 10:58:34 +00:00
Tobias Doerffel
9aa63b8166 added song
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1564 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-07 10:55:38 +00:00
Tobias Doerffel
1f2e4945f2 added more decent background artwork
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1563 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-06 22:59:52 +00:00
Tobias Doerffel
884b9ca671 * improved the way, MIDI-events are internally sent and handled
* fixed names of various member methods of notePlayHandle class
* full MIDI velocity when pressing key on test piano
* send volume changes of a notePlayHandle as MidiKeyPressure events
* send pitch changes of instrument track as MidiPitchBend events
* added detection for running MIDI notes
* correct calculation of MIDI key - makes remotePlugins respect base note settings



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1562 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-06 22:04:03 +00:00
Tobias Doerffel
61bdf0e089 save LADSPA effect filenames without extension and add correct one (depending on platform built for) when loading settings - fixes missing effects when loading songs in Windows which were made in Linux and vice versa
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1561 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-06 22:02:45 +00:00
Tobias Doerffel
54e63881b4 added information about bad latency when using PulseAudio output
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1560 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-06 22:01:51 +00:00
Tobias Doerffel
f2a7d5c44e only use MIDI anymore for controlling VST instruments
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1559 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-06 22:01:31 +00:00
Tobias Doerffel
3972065e06 fixed broken MIDI-output (when masking output events it didn't match against correct output MIDI channel)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1558 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-06 22:00:12 +00:00
Csaba Hruska
e61ea40120 bugfix: removed SID overlapping notes distorsion bug.
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1556 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-06 18:00:59 +00:00
Paul Giblock
0a91791bb4 One last bot test, just to test odds
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1555 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-06 07:13:16 +00:00
Paul Giblock
168dcf9a40 One last bot test, promise
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1554 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-06 07:11:43 +00:00
Paul Giblock
796b0287f0 One last bot test
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1553 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-06 06:28:20 +00:00
Tobias Doerffel
1dfddf50be * moved palette initialization into lmmsStyle class
* added a hack for making titlebar text colors in QMdiSubWindows common on all platforms



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1550 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-05 20:52:27 +00:00
Tobias Doerffel
ee662759f0 hold lock while dumping parameters
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1549 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-04 22:31:24 +00:00
Tobias Doerffel
9b8e8575cb * set common numeric locale to make atof() work properly in Germany
* increased SHM_FIFO_SIZE from 4000 to 64000 for not getting stuck when exchanging bigger messages (e.g. parameter dumps)



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1548 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-04 22:30:50 +00:00
Tobias Doerffel
da59be05c8 cleanups
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1547 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-04 21:49:03 +00:00
Tobias Doerffel
a7e2ca44bb made VST support layer work on native win32
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1546 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-04 16:21:38 +00:00
Paul Giblock
30db9fc779 One
Last
Test



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1545 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-04 13:52:07 +00:00
Paul Giblock
434e97e7b1 SVN is Back
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1544 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-04 13:37:19 +00:00
Tobias Doerffel
5b98f07f22 rewrote VST support layer to use the new remotePlugin-framework
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1542 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-03 16:07:15 +00:00
Tobias Doerffel
014ecfa901 * added channel splitting mode
* made initial wait optional
* messages now can be constructed and set inline



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1541 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-03 16:04:56 +00:00
Tobias Doerffel
8b4c4872a4 added hint about removing CMakeCache.txt when libsndfile is missing
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1540 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-03 16:03:52 +00:00
Tobias Doerffel
3a7955d068 moved from lvsl_server.cpp
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1539 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-03 08:27:20 +00:00
Tobias Doerffel
60587102b8 moved from lvsl_client.h
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1538 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-03 08:26:12 +00:00
Tobias Doerffel
da0c5989a2 moved from lvsl_client.cpp
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1537 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-03 08:25:26 +00:00
Paul Giblock
8807368377 Disallow duplicate automation connections. Busy cursor while loading
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1536 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-03 00:19:09 +00:00
Tobias Doerffel
affa58f6eb use QSystemSemaphore in win32-version as libpthread-w32 does not support process shared mutexes and semaphores
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1533 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-02 15:32:21 +00:00
Tobias Doerffel
2b6e61b66c added include and library-directory of cross compiling environment
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1532 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-02 15:31:13 +00:00
Tobias Doerffel
c73f2e35f1 use QSystemSemaphore in win32-version as libpthread-w32 does not support process shared mutexes and semaphores
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1531 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-02 15:30:43 +00:00
Tobias Doerffel
fb9ecdc24e disabled WinMM MIDI for the time being
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1530 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-02 15:29:43 +00:00
Paul Giblock
72f4062d3d Graph cursor and new piano roll paste.
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1529 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-02 04:41:13 +00:00
Paul Giblock
7980ac086f Improved BitInvader logo and Desktop description
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1528 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-02 03:27:36 +00:00
Paul Giblock
fe7d269c80 Add locking to trackContainer::m_tracks
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1527 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-02 03:09:12 +00:00
Csaba Hruska
da6eef0ec1 added some implementation for record buttons
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1526 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-01 23:29:40 +00:00
Tobias Doerffel
c0c241c9b5 added shmFifo class which replaces communication via pipes and is portable as well
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1524 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-31 21:07:58 +00:00
Tobias Doerffel
9b47d27f56 * improved concept for file types supported by certain plugins
* various small improvements for an even better ZynAddSubFX integration



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1520 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-30 00:07:02 +00:00
Tobias Doerffel
5d6cfc01f8 pass all MIDI events to instrument
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1519 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-30 00:04:42 +00:00
Tobias Doerffel
d3763240b3 added remotePlugin-framework allowing to easily write plugins which actually run as external process
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1518 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-30 00:03:58 +00:00
Tobias Doerffel
d30a530482 fixed broken VST-support
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1517 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-28 23:00:37 +00:00
Tobias Doerffel
894fe8a2f9 completed information about packages needed for building VST support on 64 bit machines
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1516 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-28 19:04:29 +00:00
Csaba Hruska
beec16bc6e removed some forgotted debug code :p
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1515 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-27 23:54:57 +00:00
Csaba Hruska
25bcfb7a87 Fixed segfault in portaudio setup GUI and fixed hangon at portaudio exit
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1514 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-27 23:51:19 +00:00
Csaba Hruska
26873abf7f updated ChangeLog
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1512 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-27 19:20:40 +00:00
Csaba Hruska
3ce92c4f24 portaudio V18 and V19 are supported now.
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1511 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-27 18:51:43 +00:00
Paul Giblock
9bcf42cca5 Refresh painting after chaning PRE Quantization
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1510 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-27 14:26:04 +00:00
Tobias Doerffel
885bdc58b5 added missing blank line
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1509 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-27 13:53:02 +00:00
Tobias Doerffel
1410f2bc92 added basic support for recording sound into sample tracks
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1508 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-27 13:52:21 +00:00
Tobias Doerffel
d1283bc54e added support for PortAudio
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1507 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-27 13:51:39 +00:00
Paul Giblock
f539fce7e1 Improved triplet support in piano roll
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1506 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-27 09:05:37 +00:00
Paul Giblock
48c8bce9c6 Improved triplet support in piano roll
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1505 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-27 09:01:03 +00:00
Paul Giblock
c9bd266479 Add basic help to controllerView
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1504 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-27 08:57:12 +00:00
Tobias Doerffel
3eeb7b8a76 improved detection of machine type
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1493 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-26 09:20:54 +00:00
Tobias Doerffel
a2f33efef5 improved detection of machine type
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1492 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-26 09:17:29 +00:00
Paul Giblock
acd176eda2 Basic controller deletion support
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1491 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-26 05:36:26 +00:00
Tobias Doerffel
2c0c602b48 fixed typo
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1489 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-25 19:38:38 +00:00
Tobias Doerffel
ff1455fb36 made 0.4.0-beta2 release
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1486 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-24 22:12:47 +00:00
Paul Giblock
50223655d6 Fix sid instrument WhatsThis text
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1485 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-24 21:35:59 +00:00
Tobias Doerffel
64236d0080 improved information text
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1484 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-23 23:24:36 +00:00
Tobias Doerffel
874c6bd57b updated German localization-files
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1483 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-23 23:20:44 +00:00
Tobias Doerffel
0400d940ba fixed some messages
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1482 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-23 22:27:56 +00:00
Tobias Doerffel
8c4abb3aec added missing dependency to bin2res-target in order to build properly when using "make -jX"
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1481 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-23 22:22:32 +00:00
Tobias Doerffel
b8b14e3df1 improved summary page (specific information on what to do if a certain feature isn't enabled because something was missing)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1480 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-23 22:22:04 +00:00
Paul Giblock
f4ca1fd758 Fix English grammer, punctuation, and hard to read strings
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1479 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-23 21:10:01 +00:00
Tobias Doerffel
2216a85737 made base-note automatable via drag'n'drop
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1478 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-23 19:18:35 +00:00
Tobias Doerffel
f2e59fe640 added display-name for baseNoteModel
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1477 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-23 19:18:05 +00:00
Tobias Doerffel
989bacb799 if no pixmap was given and parent-widget is valid, use a snapshot of the widget as drag-icon
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1476 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-23 19:17:44 +00:00
Tobias Doerffel
a6e40f5438 coding style fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1475 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-23 19:17:05 +00:00
Tobias Doerffel
7dad07dfeb fixed a translation
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1474 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-23 18:51:42 +00:00
Tobias Doerffel
f5e0d132fe fixed date
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1473 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-23 09:26:01 +00:00
Paul Giblock
9f3406ffc3 Fix warning about depreciated alsa function in new alsa versions
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1472 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-23 04:21:36 +00:00
Paul Giblock
82968f9cba Fix various casting warnings
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1471 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-23 03:47:03 +00:00
Tobias Doerffel
09a1ca505f fixed wrong keycodes again
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1470 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-22 22:44:10 +00:00
Tobias Doerffel
9bde7d2fb6 fixed sampleBuffer::tryToMakeRelative() for win32 - paths to samples are now saved relative in win32-version too (if possible)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1469 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-22 22:43:48 +00:00
Tobias Doerffel
c51a7ba0a2 fixed splash-screen for win32
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1468 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-22 22:43:17 +00:00
Tobias Doerffel
364b4a99c0 fixed keycodes for win32 version
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1467 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-22 21:32:35 +00:00
Tobias Doerffel
308e103695 fixed missing virtual method
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1466 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-22 21:17:17 +00:00
Tobias Doerffel
1661aba15f implemented correct behaviour when cloning BB-tracks (closes #2042409)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1465 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-22 21:02:33 +00:00
Tobias Doerffel
b789cc4c68 fixed strange ALSA-sequencer behaviour when using MIDI-controllers and controlling intrument-tracks via MIDI (closes #2062907)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1464 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-22 20:24:17 +00:00
Tobias Doerffel
8c55ce52ac fixed notes appearing X times in pattern when recording from MIDI-device (closes #2058971)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1463 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-22 19:33:58 +00:00
Tobias Doerffel
ff2d0a403c fixed selection of all bars via Ctrl+A (closes #2048163)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1462 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-22 18:53:00 +00:00
Tobias Doerffel
ee631ad210 fixed crashes when automating start- and end-point in AudioFileProcessor (closes #2048125)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1461 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-22 17:31:45 +00:00
Tobias Doerffel
53384e6bf1 made oscillator::userWaveSample() const
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1460 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-22 17:30:52 +00:00
Tobias Doerffel
c89172a6fe fixed loading presets when dragging them onto existing instrument-track-window (finally closes #2025902)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1459 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-22 13:35:30 +00:00
Tobias Doerffel
06ade7d4c9 fixed moving selected notes (closes #2039248, #2039254, #2043463)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1458 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-22 13:20:31 +00:00
Tobias Doerffel
c361237420 restored old controller-behaviour for all models whose step-size is not 1, i.e. only round for integer models
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1457 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-20 21:59:02 +00:00
Tobias Doerffel
9945e19e1c add trailing slashes to paths where neccessary (closes #2056353)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1456 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-20 21:01:10 +00:00
Tobias Doerffel
4f0089517b fixed messages
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1455 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-20 21:00:37 +00:00
Tobias Doerffel
ebc084a1a5 integrated patch by Csaba Hruska
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1454 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-20 21:00:12 +00:00
Tobias Doerffel
25a6855054 updated Italian localization-file
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1453 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-20 20:54:50 +00:00
Tobias Doerffel
8ebc0cea5e updated German localization file and fixed various messages
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1452 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-20 20:50:37 +00:00
Tobias Doerffel
05d4da6a37 update combobox in BB-editor when renaming BB-track (closes #2056354)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1451 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-20 11:48:14 +00:00
Tobias Doerffel
1087aa77b5 cleanups and coding-style fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1450 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-20 11:28:11 +00:00
Tobias Doerffel
f352c7ecc5 only skip GUI-updates when connected to frequently changing controllers
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1449 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-20 11:27:34 +00:00
Tobias Doerffel
120f929047 minor UI improvements
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1448 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-20 11:27:11 +00:00
Tobias Doerffel
523c198341 when connected to controller and returning current value, respect step-property of automatableModel
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1447 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-20 11:26:44 +00:00
Tobias Doerffel
9148bec609 * fixed crash when changing mode of midiPort
* various small improvements



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1446 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-20 10:32:18 +00:00
Tobias Doerffel
15133bd773 made midiPort of instrumentTrack accessible via getMidiPort()
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1445 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-20 10:31:36 +00:00
Tobias Doerffel
025fa4ec8a fixed reverb/chorus after change of samplerate
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1444 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-19 17:29:10 +00:00
Tobias Doerffel
406aab970e improved documentation of commandline options
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1443 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-19 17:27:24 +00:00
Tobias Doerffel
3d51688526 improved progress information when rendering at console
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1442 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-19 09:51:52 +00:00
Paul Giblock
dc317e282d Fix peak controller display-name
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1441 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-19 03:06:18 +00:00
Paul Giblock
faff20a99b Prevent cycles in controller connections.
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1440 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-19 02:51:00 +00:00
Tobias Doerffel
275a0d30e2 made 0.4.0-beta1 release
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1439 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-07 22:08:44 +00:00
Tobias Doerffel
017c3dcabb removed unused slot-definitions
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1438 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-07 22:08:20 +00:00
Tobias Doerffel
4851c76e01 added missing lmmsconfig.h.in for dist target
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1437 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-07 21:55:06 +00:00
Tobias Doerffel
c663e4263d added SID instrument plugin by Attila Herman and Csaba Hruska
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1436 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-06 09:56:06 +00:00
Tobias Doerffel
7033bdd0fb show context-menu of button-group if a button is part of it
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1435 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-05 20:39:27 +00:00
Tobias Doerffel
578323448f * query data from correct model when activating reverb (closes #2035134)
* convert from note-play-handle's volume to MIDI-velocity when calling fluid_synth_noteon()
* set fluidsynth's internal interpolation-method to high-quality when running LMMS in HQ-mode



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1434 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-05 14:52:30 +00:00
Tobias Doerffel
64188a9b52 use XML rather than binary blobs for saving plugin-/effect-key
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1433 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-04 17:59:44 +00:00
Tobias Doerffel
df86b4c81e use random-number-generator correctly - fixes predictable random numbers and avoids used Journalling-Object-IDs upon loading project (closes #2036745) - anyways this still might happen under rare circumstances and needs a further fix
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1432 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-04 17:58:15 +00:00
Tobias Doerffel
6f05b70b5f made oscillator-phase always being positive which allows further optimizations of fraction()-method
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1431 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-03 13:19:13 +00:00
Tobias Doerffel
632a707e79 improved anti-aliased visualization
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1430 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-01 23:56:59 +00:00
Tobias Doerffel
f21b858f5e heavily improved performance by using QPainter::drawPolylines and disabling anti-aliasing if more than 60000 samples have to be drawn (closes #1938413)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1429 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-01 23:56:19 +00:00
Tobias Doerffel
3ca3e7fa56 fixed typo
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1428 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-01 22:10:17 +00:00
Tobias Doerffel
67095e36b2 * made cmake-files ready for NSIS-packaging
* added win-resource-object to LMMS-binary



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1427 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-01 21:09:32 +00:00
Tobias Doerffel
f3cae379e1 when creating a new project, show main-window afterwards - fixes behaviour when debugging win32-version via WINE
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1426 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-01 21:08:52 +00:00
Tobias Doerffel
d9a5b78f6b do not reset window title twice when creating new project
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1425 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-01 21:08:16 +00:00
Tobias Doerffel
d7e56ba74c added debug-code
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1424 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-01 21:07:56 +00:00
Tobias Doerffel
81bfa8cdad * integrated patch by Csaba Hruska
* fixed spinbox-ranges



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1423 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-01 16:14:29 +00:00
Tobias Doerffel
8e95a8463b another fix for out-of-tree builds
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1422 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-01 15:23:51 +00:00
Tobias Doerffel
26239fc54a fixed include-directories for lvsl_server-target for allowing out-of-tree builds
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1421 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-01 08:20:22 +00:00
Tobias Doerffel
0b5eece51d added win32-pkg target
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1420 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-31 15:50:56 +00:00
Tobias Doerffel
3862229f6b added missing EXPORT-declarations
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1419 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-31 15:50:28 +00:00
Tobias Doerffel
82bc01ebc8 removed some debugging code
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1418 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-31 15:49:57 +00:00
Tobias Doerffel
4541e1abd7 added simple-serializing mode which makes tracks not save their TCOs - used for improved save and restore of presets (closes #2025902)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1417 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-30 22:56:09 +00:00
Tobias Doerffel
63edd1e0d7 removed old raw presets, tuned others and added a few new ones
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1416 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-30 22:55:28 +00:00
Tobias Doerffel
1773795268 * initialize bool-map with correct size - fixes crashes under various circumstances
* do not cast model of effectView as the effect might not exist anymore



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1415 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-30 22:53:54 +00:00
Tobias Doerffel
6bd874ce53 do not cast model to effect for only calling displayName()
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1414 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-30 22:53:20 +00:00
Tobias Doerffel
85017844bf detect incomplete Stk-installation in model rather than view for not crashing when playing without opening the GUI before
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1413 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-30 20:39:32 +00:00
Tobias Doerffel
5efa20d772 moved initialization of RNG to top of main()
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1412 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-30 20:12:49 +00:00
Tobias Doerffel
2e4d336a54 commited pending forgotten changes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1411 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-30 20:03:21 +00:00
Tobias Doerffel
733491d36d * added --dump parameter for easily uncompressing mmpz-files
* try to set realtime priority after command-line parsing as the resulting warning might be annoying at this place



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1410 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-30 20:02:24 +00:00
Tobias Doerffel
a3581d1e93 quirks for loading drumsynth-samples whose directory-names have changed from space to underscore
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1409 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-30 20:01:38 +00:00
Tobias Doerffel
9d47ec9c30 fixed linker-flags
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1408 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-29 08:52:08 +00:00
Tobias Doerffel
aad0e7630b moved FFT-helper functions from Spectrum Analyzer plugin to core to make it also usable by other plugins
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1407 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-29 08:51:03 +00:00
Tobias Doerffel
257e60ab37 reduced header-dependencies
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1406 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-28 21:39:08 +00:00
Tobias Doerffel
38e64dd329 * don't show messagebox if no GUI is running
* if plugin failed to load also tell about the reason



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1405 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-28 21:36:39 +00:00
Tobias Doerffel
11b85eb323 added support for building LMMS on OS X and generating a DMG-package
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1404 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-28 21:35:40 +00:00
Tobias Doerffel
6bdbee96ae reverted previous changes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1403 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-28 16:31:49 +00:00
Tobias Doerffel
24e79d798a removed obsolete files
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1402 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-28 16:31:01 +00:00
Tobias Doerffel
09f17ec57b and back
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1401 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-28 16:30:17 +00:00
Tobias Doerffel
39f9bfc60f win32-compatibility
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1400 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-28 16:21:06 +00:00
Tobias Doerffel
3dce8a1ccd misc minor changes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1399 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-28 16:14:56 +00:00
Tobias Doerffel
d731d0879d moved due to case-sensitivity problems
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1398 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-28 16:12:14 +00:00
Tobias Doerffel
aa2c294bdb upgraded projects to match current file format
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1397 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-28 09:15:41 +00:00
Tobias Doerffel
ddfdb51600 moved frm "cool_songs" to "oldstuff"
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1396 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-28 08:56:08 +00:00
Tobias Doerffel
06f6e2f79c moved frm "cool_songs" to "oldstuff"
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1395 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-28 08:47:26 +00:00
Tobias Doerffel
2d6fa84ab9 moved frm "cool_songs" to "oldstuff"
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1394 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-28 08:41:57 +00:00
Tobias Doerffel
43a2eaa013 moved from "misc" to "oldstuff"
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1393 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-28 08:40:07 +00:00
Tobias Doerffel
5d416fc609 removed obsolete song
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1392 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-28 08:38:47 +00:00
Tobias Doerffel
7eac6423b6 make sure all TCOs are shown after loading project (closes #2016741)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1391 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-28 08:04:41 +00:00
Tobias Doerffel
5567fb3056 when loading legacy automation with only one value in, eliminate global automation pattern right after loading data
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1390 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-28 08:04:21 +00:00
Tobias Doerffel
12c6e194bc * initialize random-number generation - fixes problems with duplicate JO-IDs
* show main-window before loading project given on command-line or creating a new project (closes #2016741)



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1389 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-28 08:03:57 +00:00
Tobias Doerffel
730591e7cd fixed some segfaults in case of invalid objects in object-vector
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1388 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-28 08:03:29 +00:00
Tobias Doerffel
f5b849fd30 * use QTextStream to save uncompressed XML-files
* when encountering problems while parsing XML-file, print line and column of problem



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1387 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-28 06:45:16 +00:00
Tobias Doerffel
dc14b0c869 also allow drawing new dots when clicking inside already existing value (closes #2026120)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1386 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-27 18:35:38 +00:00
Tobias Doerffel
a4b2aa28c4 when connecting object to automation-pattern which has no object connected yet, set default-value (closes #2026102)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1385 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-27 18:13:25 +00:00
Tobias Doerffel
a4caab6fe7 reverted previous change of some models from floatModel to intModel as it caused crashes in knob-class
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1384 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-27 18:12:34 +00:00
Tobias Doerffel
264ffa232d added missing support for out-of-tree builds
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1383 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-27 17:51:18 +00:00
Tobias Doerffel
59b9650d62 updated documentation on how to build LMMS with cmake
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1382 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-27 17:50:05 +00:00
Tobias Doerffel
95f3f5a034 refreshed localizations
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1381 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-27 09:04:27 +00:00
Tobias Doerffel
72f9f3a023 added updated Russian localization by Alexey Kouznetsov
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1380 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-26 20:40:00 +00:00
Tobias Doerffel
20e223fa22 workaround for bug in CMake - fixes update-locales target
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1379 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-26 20:34:57 +00:00
Tobias Doerffel
feb22a1c74 added more files to distclean-target
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1378 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-26 20:27:41 +00:00
Tobias Doerffel
8f861355a2 removed obsolete file
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1377 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-26 20:12:59 +00:00
Tobias Doerffel
eb17210402 added "tarball" target
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1376 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-26 20:08:09 +00:00
Tobias Doerffel
92c315508d added alsaconfig.h to clean-target
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1375 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-26 19:47:20 +00:00
Tobias Doerffel
b30abfca6c * added locale targets
* added "update-locales" target
* added "distclean" target



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1374 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-26 19:45:51 +00:00
Tobias Doerffel
1a2123f69d less header-dependencies and moved some type-definitions
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1373 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-26 19:06:58 +00:00
Tobias Doerffel
30756e7399 less header-dependencies and moved some type-definitions
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1372 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-25 11:16:45 +00:00
Tobias Doerffel
fe55d0cdcc support for cmake < 2.4.8
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1371 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-23 20:19:12 +00:00
Tobias Doerffel
e4c5b9a1ae updated French localization-files by Stephane Thomas
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1370 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-23 20:18:28 +00:00
Tobias Doerffel
64c691af8a support for cmake < 2.4.8
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1369 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-23 18:45:37 +00:00
Tobias Doerffel
5093cc92e1 fixed compiler-warnings
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1368 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-23 15:08:05 +00:00
Tobias Doerffel
97ca022d0a do not compile with -O3 when using GCC 4.1.x as this version segfaults while optimizing
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1367 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-23 15:05:25 +00:00
Tobias Doerffel
7133d69906 fixed compiler-warnings
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1366 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-23 15:04:30 +00:00
Tobias Doerffel
67b5335f98 fixed subscribe/unsubscribe-warnings
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1365 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-23 15:03:58 +00:00
Tobias Doerffel
c40ad0d0e2 fixes for cmake 2.4
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1364 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-23 15:03:29 +00:00
Tobias Doerffel
be0c5b9bc4 various fixes for allowing out-of-tree builds
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1363 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-22 23:50:59 +00:00
Tobias Doerffel
f5ae51b68d fixed installation of LADSPA-plugins
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1362 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-22 23:13:06 +00:00
Tobias Doerffel
7c9b19cd95 * initial support for CPack
* remove old include/lmmsconfig.h from the autotools-era



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1361 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-22 23:05:01 +00:00
Tobias Doerffel
c7e9a130da fixed INSTALL_DATA_SUBDIRS-macro (use normal string-replace instead of regex-replace)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1360 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-22 22:59:40 +00:00
Tobias Doerffel
4db1099f7f fixed clean-target
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1359 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-22 21:47:31 +00:00
Tobias Doerffel
d972ecb9f4 also compile without OGG/Vorbis-support
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1358 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-22 21:45:22 +00:00
Tobias Doerffel
c6240956ed fixes for successfully cross-compiling
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1357 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-22 21:07:19 +00:00
Tobias Doerffel
53abd65d2e initial support for mingw-cross-compiling
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1356 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-22 14:42:34 +00:00
Tobias Doerffel
c238f579c2 added rudimentary WinMM MIDI support
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1355 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-22 13:14:15 +00:00
Tobias Doerffel
42ab630582 switched back to LB302
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1354 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-22 12:01:34 +00:00
Tobias Doerffel
6bafb7986b added pseudo-configure
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1353 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-22 11:58:55 +00:00
Tobias Doerffel
e637495489 migrated build-system to CMAKE
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1352 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-22 11:36:50 +00:00
Tobias Doerffel
9ba34c1ede separate LADSPA-paths with ',' instead of ':' as win32-paths usually contain ':'-characters...
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1351 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 23:49:24 +00:00
Tobias Doerffel
7575e20e30 do not create Makefile.in for obsolete LB302
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1350 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 23:48:47 +00:00
Tobias Doerffel
48fc6ced82 handled rename of up/down arrow graphics
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1349 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 23:47:35 +00:00
Tobias Doerffel
dc213fefb5 also allow LADSPA-plugins which are not realtime capable - not all of them work properly but most do and it's better to provide more of them
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1348 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 23:45:34 +00:00
Tobias Doerffel
6cc20b1e17 cleanups
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1347 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 23:43:57 +00:00
Tobias Doerffel
279c84b6a4 added constructor/destructor-attribute to _init() and _finit()-methods in order to make those LADSPA-plugins work properly in win32-version
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1346 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 23:42:05 +00:00
Tobias Doerffel
3b7bfede22 do not create queued signal-slot-connections
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1345 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 23:39:39 +00:00
Tobias Doerffel
fb7569de9c lock mixer while adding BB-track (finally closes #2014486)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1344 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 22:18:36 +00:00
Tobias Doerffel
a10a7901aa range-checking for keys of input-events
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1343 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 22:17:22 +00:00
Tobias Doerffel
6703c06fcd at destruction check whether mainWindow is still alive
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1342 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 22:17:02 +00:00
Tobias Doerffel
91291b64e8 fixed paths to LADSPA-plugins for win32
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1341 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 22:16:39 +00:00
Tobias Doerffel
51ac2a2d9b fixed win32-packaging
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1340 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 21:09:16 +00:00
Tobias Doerffel
8730d2af17 changed number of frames per callback which seems to fix distorted sound
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1339 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 15:23:36 +00:00
Tobias Doerffel
f40400d162 changed number of frames per callback which seems to fix distorted sound
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1338 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 15:22:50 +00:00
Tobias Doerffel
a47a36c86e removed publicName-properties in various classes and plugin-descriptor and use model::displayName instead
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1337 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 14:02:16 +00:00
Tobias Doerffel
58fe7bbc15 removed declaration of unimplemented slot - fixes win32-build
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1336 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 13:59:50 +00:00
Tobias Doerffel
387d321315 improved GUI-layout
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1335 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 13:59:21 +00:00
Tobias Doerffel
b56b072a3a added more values for displayName-property
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1334 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 13:02:42 +00:00
Tobias Doerffel
0072b78a72 * fixed and improved various tag-renaming-loops
* added upgrade path from LB302 to LB303



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1333 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 13:02:02 +00:00
Tobias Doerffel
dcf4645839 * removed obsolete variable
* fixed wrong behaviour of automationPattern::valueAt()
* in case there's only one initial value in time-map, set it for all objects when loading settings



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1332 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 13:01:30 +00:00
Tobias Doerffel
7b5c911950 save actual instrument-settings in separate sub-node for not mixing up unknown nodes with instruments
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1331 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 13:00:56 +00:00
Tobias Doerffel
d070cb697b only toggle LED on left click
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1330 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 13:00:30 +00:00
Tobias Doerffel
d13ac2a54a fixed behaviour for inline-automations with only one value in time-map
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1329 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 13:00:07 +00:00
Tobias Doerffel
7232170608 fixed master volume
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1328 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 12:09:33 +00:00
Tobias Doerffel
978c0cf428 added values for displayName-property
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1327 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 11:34:59 +00:00
Tobias Doerffel
e56e031179 added values for displayName-property
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1326 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 10:10:40 +00:00
Tobias Doerffel
cd2f51b05b fixed compiler warnings
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1325 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 10:08:37 +00:00
Tobias Doerffel
7ed9d07443 removed lb302 from list of plugins to build
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1324 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 10:07:27 +00:00
Tobias Doerffel
acbbf827b8 improved tempo-automation import
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1323 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 10:06:44 +00:00
Tobias Doerffel
0de1e6ffd3 moved displayName-property from automatableModel to model base-class
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1322 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 10:05:56 +00:00
Tobias Doerffel
3b3a8afe6b improved behaviour in automationPattern::clear() and automationPattern::putValue()
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1321 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 10:04:30 +00:00
Tobias Doerffel
4f44b94230 * moved name_label.* to track_label_button.*
* bigger icons for trackLabelButtons



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1320 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 10:03:19 +00:00
Tobias Doerffel
ec9bd29181 moved from name_label.cpp
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1319 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 09:47:21 +00:00
Tobias Doerffel
7d7656a88e moved from name_label.h
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1318 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 09:45:27 +00:00
Tobias Doerffel
b350ccf773 make sure, hidden automation-tracks are not muted when loading
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1317 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-17 22:37:33 +00:00
Tobias Doerffel
0918f6d3f8 cleanups
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1316 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-17 22:36:45 +00:00
Tobias Doerffel
6c9f82c6f4 fixed tempo-automation
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1315 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-17 22:36:03 +00:00
Tobias Doerffel
f325bcd346 added quirk for fixing projects with broken positions of TCOs inside BB-tracks
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1314 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-17 00:16:33 +00:00
Tobias Doerffel
e80cf4b9fc added minimal width and height when restoring subwindow-states
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1313 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-17 00:16:02 +00:00
Tobias Doerffel
cac0b846aa update views after resolving IDs for drawing bars with proper range
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1312 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-17 00:15:34 +00:00
Tobias Doerffel
43b8eb9393 fixed behaviour of automation-tracks in BB-editor (closes #2014486)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1311 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-16 22:10:15 +00:00
Tobias Doerffel
18eae929ad fixed "Cut"-action on TCOs (closes #2016731)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1310 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-16 21:24:44 +00:00
Tobias Doerffel
54946f8557 missing commit of alpha2-versioning
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1309 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-16 21:08:00 +00:00
Tobias Doerffel
0f89d164dc do not terminate silently if parsing of configuration file failed
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1308 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-12 16:37:41 +00:00
Tobias Doerffel
aca885069f fixed drawing of bars which do not fit within current viewport
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1307 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-12 13:52:39 +00:00
Tobias Doerffel
cb41288b49 upgraded + reverb in master-FX channel
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1306 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-12 13:52:09 +00:00
Tobias Doerffel
a5454ee070 better icon
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1305 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-12 13:51:54 +00:00
Tobias Doerffel
0edc700fc6 removed obsolete files
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1304 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-12 12:48:06 +00:00
Tobias Doerffel
c08cc778fd unified track-view appearence and behaviour
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1303 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-12 12:47:34 +00:00
Tobias Doerffel
3d0a8e95a2 added missing SOURCES-entry for UI-file
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1302 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-11 22:42:16 +00:00
Tobias Doerffel
48b8f931db better position for text-drawing
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1301 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-11 22:41:54 +00:00
Tobias Doerffel
8bfff2a273 use combobox instead of button-group for selecting arpeggio-direction
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1300 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-11 22:41:39 +00:00
Paul Giblock
cb84d8a4ad Initial lb303 (no compat)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1299 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-08 14:35:58 +00:00
Paul Giblock
b166f11ffd Initial lb303 (no compat), fixed auto-detect, fix knob drawing
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1298 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-08 14:34:41 +00:00
Paul Giblock
bbafb51627 LB302 bend-while-sliding fixed
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1297 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-08 01:38:30 +00:00
Paul Giblock
54ee9f03a9 LB302 code cleanup and fixed dropped notes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1296 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-08 01:15:02 +00:00
Paul Giblock
01963f4dba initial LB302 slide support
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1295 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-07 14:28:49 +00:00
Tobias Doerffel
49ba9fe2c6 added compat-code for loading old presets where content-node is named "channelsettings"
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1294 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-07 10:15:32 +00:00
Tobias Doerffel
61f2990c19 sf2player: added support for pitch-bending
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1293 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-07 08:34:27 +00:00
Tobias Doerffel
98a984b94d * additionally provide frequency without pitch-wheel
* added instrumentTrack::midiPitch()



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1292 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-07 08:34:02 +00:00
Tobias Doerffel
1458cb3e2c removed buggy and obsolete support for monophonic instruments
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1291 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-07 08:30:49 +00:00
Tobias Doerffel
7ae4e30bb6 removed buggy and obsolete support for monophonic instruments
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1290 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-07 07:51:29 +00:00
Paul Giblock
06f5e33c0e Show correct name in connection dialog. Remove bypass LED
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1289 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-07 04:50:56 +00:00
Paul Giblock
f2f6b73644 Best version of lb302 yet
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1288 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-07 03:59:04 +00:00
Paul Giblock
f93205469c first IPH-based 302
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1287 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-07 00:24:06 +00:00
Tobias Doerffel
3a9b02fbe4 draw text at correct position in win32-version
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1286 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-06 20:38:48 +00:00
Tobias Doerffel
6839181d53 when building for win32 define powf() as pow() due to symbol-conflicts in win32-libm
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1285 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-06 20:38:11 +00:00
Tobias Doerffel
7ae3a7f575 fixed font-color for what's-this-popups so that they're readable
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1284 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-06 20:37:46 +00:00
Tobias Doerffel
e7106305b5 protect critical section when creating STK-synths as STK is not thread-safe (closes #2005888)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1283 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-05 23:41:25 +00:00
Tobias Doerffel
557e0e1ee2 * set hand-cursor for instrument-track-window button
* in instrumentTrack::processInEvent() lock mixer in outer branch



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1282 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-05 23:26:35 +00:00
Tobias Doerffel
6ed33b3241 cleanups
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1281 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-05 23:25:58 +00:00
Tobias Doerffel
27e0ad32f1 added note for scheduled removal of monophonic-property
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1280 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-05 23:25:43 +00:00
Tobias Doerffel
581dc9074c made m_released volatile
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1279 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-05 23:25:28 +00:00
Tobias Doerffel
df6a874147 * instantly exit noteOff() if already released
* manually unlink references to itself in instrumentTrack (fixes segfaults in various situations)



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1278 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-05 23:25:13 +00:00
Tobias Doerffel
d0e25e77f2 fixed tempo-sync-models (closes #2010776)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1277 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-05 23:24:44 +00:00
Tobias Doerffel
c678dbb495 fixed tempo-sync-models (closes #2010776)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1276 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-05 23:21:28 +00:00
Tobias Doerffel
eb33f6e815 made muting automation-tracks work (closes #2010770)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1275 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-05 22:19:12 +00:00
Tobias Doerffel
58cd1c74a5 made muting BB-tracks work (closes #2010764)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1274 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-05 22:16:18 +00:00
Tobias Doerffel
36af43549e made removing effect-plugins thread-safe (closes #2010984)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1273 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-05 22:11:17 +00:00
Tobias Doerffel
918971aba8 save and restore automationPattern's name (closes #2011011)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1272 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-05 07:15:29 +00:00
Tobias Doerffel
42da7c9ddf delete automation-pattern is in correct thread (closes #2008232)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1271 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-05 07:03:48 +00:00
Tobias Doerffel
0d0be324b6 added hand-cursor for all controls
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1270 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-04 16:43:57 +00:00
Tobias Doerffel
ec4d1dc498 added hand-cursor for all controls
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1269 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-04 16:43:47 +00:00
Tobias Doerffel
4cfad8ba16 common font-size for track-labels
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1268 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-04 16:43:21 +00:00
Tobias Doerffel
661b874318 do not take _initial_name as it can be retrieved from track
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1267 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-04 16:43:02 +00:00
Tobias Doerffel
02651332f2 added name to volumeModel
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1266 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-04 16:42:42 +00:00
Tobias Doerffel
25edfdf846 made trackContentObject and track implement displayName() in order to return their name
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1265 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-04 16:42:16 +00:00
Tobias Doerffel
139c8e6be2 added new commandline option "--upgrade" for upgrading project-files easily
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1264 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-02 22:17:41 +00:00
Tobias Doerffel
bc34c0083f fixed wrong macro-name - fixes unusable Mallets-plugin
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1263 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-02 21:43:14 +00:00
Tobias Doerffel
60e5117a94 removed ui_patches_dialog.h from SOURCES-list
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1262 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-01 16:42:54 +00:00
Tobias Doerffel
04589f98a8 don't mess up projects when loading files being created using 0.4.0-alpha in a later version because "0.4.0-alpha" \< "0.4.0-svn..."
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1261 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-01 16:26:24 +00:00
Tobias Doerffel
fc86f3d7c7 Qt 4.3 compatibility
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1260 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-01 09:27:49 +00:00
Tobias Doerffel
b02eb0b48a made 0.4.0-alpha release
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1259 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-01 01:29:42 +00:00
Tobias Doerffel
69e05e62e8 win32-pkg-fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1258 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-01 01:28:23 +00:00
Tobias Doerffel
3b0fb2357b fixed broken load/save of song-global automation
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1257 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-01 01:26:55 +00:00
Tobias Doerffel
50008b60e9 updated German localization file
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1256 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 23:22:51 +00:00
Tobias Doerffel
e4663243ed made icon on play-button change according to current mode
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1255 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 22:45:39 +00:00
Tobias Doerffel
3fa2d7e823 added toggle-button for controller-rack-view and improved default positions of sub-windows in workspace
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1254 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 22:30:45 +00:00
Tobias Doerffel
9514af19f4 * send posted events after creating a new project - makes project not being marked as modified right after it's been created
* create empty sample-track and automation-track in new projects



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1253 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 22:07:04 +00:00
Paul Giblock
da7312f033 Remove install-version from desktop file, as this item is automatically generated by the user's desktop
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1252 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 21:53:47 +00:00
Tobias Doerffel
459b13aad3 fixed inlineAutomation::hasAutomation()
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1251 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 21:48:21 +00:00
Tobias Doerffel
1464d03b74 again fixed worker-thread destruction
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1250 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 21:47:47 +00:00
Tobias Doerffel
af0dbb3647 clear whole project before deleting everything - fixes segfault when quitting with controllers added
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1249 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 21:47:22 +00:00
Tobias Doerffel
7b59a9f77b fixed crash when an effect failed to load because its sub-plugin is missing (closes #2005910)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1248 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 21:45:45 +00:00
Tobias Doerffel
995e7afdeb * initialize first value in time-map
* better default-model
* change automation-pattern to NULL if opened in automation editor during destruction
* improved default-label
* when used in track-container with fixed TCOs, update length



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1247 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 21:45:03 +00:00
Tobias Doerffel
1f6f51a542 save/restore name-property inside track-class
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1246 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 21:44:10 +00:00
Tobias Doerffel
cfd0fdc9c2 set a proper name per default
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1245 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 21:43:36 +00:00
Tobias Doerffel
ad3a130bc0 queued connections for models for not getting signaled at destruction-time
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1244 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 21:43:20 +00:00
Tobias Doerffel
c97fc932a1 made it possible to add automation-tracks to BB-editor
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1243 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 21:43:03 +00:00
Tobias Doerffel
c84582ad61 common font-size for various push-buttons
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1242 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 21:42:42 +00:00
Tobias Doerffel
9c3fa640ae ask whether to create working-directory if it does not exist
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1241 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 19:57:42 +00:00
Tobias Doerffel
6fb0c2cd42 improved mixer-shutdown
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1240 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 19:56:57 +00:00
Tobias Doerffel
a34b66b2c4 reset mute-model in fxMixer::clear()
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1239 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 19:56:22 +00:00
Tobias Doerffel
6881cfa20d initialize m_quit for worker-threads - fixes lockups at startup
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1238 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 19:50:00 +00:00
Tobias Doerffel
7c02f0a5a3 * removed obsolete static members
* more simple QPen-initialization for not making Qt leak



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1237 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 16:55:51 +00:00
Tobias Doerffel
884c9222ba in automationPattern::valueAt() check whether the time-map is empty
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1236 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 16:54:54 +00:00
Tobias Doerffel
4274c51dae pass _default_constructed-parameter to base-class
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1235 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 16:53:43 +00:00
Tobias Doerffel
6a590b14eb renamed constants so one-unit-compiling is possible
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1234 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 16:53:20 +00:00
Tobias Doerffel
8a80325f51 do not duplicate constants
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1233 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 16:52:55 +00:00
Tobias Doerffel
1c8f252182 make sure LED's default-model is being deleted when changing model
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1232 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 16:52:38 +00:00
Tobias Doerffel
35b1fc8e97 made initialization of dummy-plugin pixmap-loder static
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1231 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 16:52:23 +00:00
Tobias Doerffel
5e77d6b547 properly terminate worker-threads at mixer-destruction
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1230 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 16:52:10 +00:00
Tobias Doerffel
1cfd589658 fixed various leaks
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1229 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 16:51:41 +00:00
Tobias Doerffel
1b7f86f262 replaced compat-code by proper code in multimediaProject::upgrade()
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1228 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 16:51:31 +00:00
Tobias Doerffel
7cae2ba0eb added missing initialization of m_processors member variable
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1227 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 16:51:13 +00:00
Tobias Doerffel
984947e1bc removed obsolete constants
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1226 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 16:51:01 +00:00
Tobias Doerffel
7bf55d3c62 fixed broken logic when updating sample-data
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1225 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 16:50:50 +00:00
Tobias Doerffel
96c4889b24 save/load mute-settings for FX-lines
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1224 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 16:50:27 +00:00
Tobias Doerffel
276fe8b5a3 return default-value if there's no peak-effect
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1223 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 16:50:16 +00:00
Tobias Doerffel
c2d9a5315d removed support for SDL_sound-library as libsndfile and libvorbis do everything we need
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1222 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 12:46:35 +00:00
Tobias Doerffel
7d8a15f2db fixed more leaks
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1221 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 12:38:35 +00:00
Tobias Doerffel
fcfb02fbaa fixed various leaks I found using Valgrind
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1220 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 10:54:46 +00:00
Paul Giblock
8474590f94 subWindow resizing, minimum, and intial sizes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1219 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 04:03:31 +00:00
Paul Giblock
b8c6d8c048 Rename Baseline+BB to Bassline+BB
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1218 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 02:42:25 +00:00
Paul Giblock
b4ff0f1123 Update plugin artwork
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1217 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 02:13:45 +00:00
Paul Giblock
131f910d4a Init MIDI Controller name for new controllers. Tidy bit invader artwork
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1216 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-29 15:43:14 +00:00
Javier Serrano Polo
fa8aeb95c7 updated Catalan translation
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1215 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-29 15:34:53 +00:00
Paul Giblock
29a12b5bd7 Make room for LFO title
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1214 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-29 15:17:07 +00:00
Paul Giblock
02608af089 Add Stereomatrix artwork
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1213 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-29 15:08:58 +00:00
Paul Giblock
51558028c8 Add Stereomatrix artwork
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1212 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-29 15:06:41 +00:00
Paul Giblock
22f15c3955 Start adding LFO artwork
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1211 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-29 13:53:13 +00:00
Tobias Doerffel
8f695eb423 finally resurrected sample-tracks
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1210 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-29 13:43:39 +00:00
Paul Giblock
4463d67629 Improve automationEditor mouse-drawing
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1209 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-29 12:56:03 +00:00
Paul Giblock
cc520a6b2d Fix LIBDIR for non-prefix users
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1208 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-29 11:53:14 +00:00
Tobias Doerffel
2c3307b614 improved drawing/erasing values, fixed moving selected values
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1207 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-29 10:23:30 +00:00
Tobias Doerffel
8d9d033db0 * improved drawing/erasing values
* fixed moving selected values



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1206 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-29 10:22:56 +00:00
Paul Giblock
f44b9beac9 Load/save automationPattern position. Allow dragging autoViews directly onto automationTrack
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1205 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-29 10:14:03 +00:00
Paul Giblock
8a5f5f9fdf Load/save automationPattern position. Allow dragging autoViews directly onto automationTrack
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1204 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-29 10:12:02 +00:00
Tobias Doerffel
30aea72c9c fixed color for drawing pattern-name to make it better readable at orange background
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1203 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-29 09:34:30 +00:00
Tobias Doerffel
40aaf6f169 when drawing automation, do not overpaint border
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1202 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-29 09:30:23 +00:00
Tobias Doerffel
16cfe0654c new icon at 32x32 px to make it scale better to 16x16
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1201 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-29 09:30:14 +00:00
Paul Giblock
221dddc603 Clarify toolbar colors
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1200 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-29 09:00:37 +00:00
Paul Giblock
d83b15ae14 Fix loading/saving for peakController
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1199 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-29 08:32:27 +00:00
Paul Giblock
941c3cdc78 Improve automation track appearance. Fix tempoSyncKnob calculation
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1198 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-29 06:24:23 +00:00
Paul Giblock
f53a76d7ee cancel button for controller-connection-dialog. Draw automation pattern correctly for negative values
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1197 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-29 05:45:08 +00:00
Paul Giblock
3f738ae1a9 Correctly initialize sf2 gain on startup
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1196 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-29 04:30:10 +00:00
Tobias Doerffel
de3e2e3d0b cleanups
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1195 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-28 23:33:47 +00:00
Tobias Doerffel
363f70da7a removed SingerBot-references
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1194 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-28 23:33:30 +00:00
Tobias Doerffel
bcb649f1cb moved Singerbot to LMMS-extras
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1192 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-28 23:12:25 +00:00
Tobias Doerffel
67887b621b splitted "new project"-button and added "recently opened project"-button
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1191 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-28 22:40:04 +00:00
Tobias Doerffel
b71410718b improved artwork and maintoolbar
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1190 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-28 22:01:17 +00:00
Paul Giblock
e863a5ab1b Add new styles for upcoming QToolBar support
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1189 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-28 15:32:39 +00:00
Paul Giblock
22adcdf61e Apply libdir patch (requires reconfiguring)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1188 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-28 15:12:21 +00:00
Tobias Doerffel
8421d4404c * confirm overwrite when exporting file
* set filter when selecting output-file for export



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1187 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-28 13:54:13 +00:00
Tobias Doerffel
70965e3e30 added support for exporting WAVE-files with 32-bit-float format
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1186 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-28 13:43:35 +00:00
Tobias Doerffel
88971109d0 made note-detuning-automation work by making automationPatterns also work without a parent-track and writing a generic inlineAutomation-class
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1185 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-28 10:06:54 +00:00
Tobias Doerffel
ed1e9c68fe fixed node-name
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1184 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-28 10:06:13 +00:00
Tobias Doerffel
05398dc993 fixed crash when encountering invalid samplePlayHandle while previewing
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1183 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-28 10:04:39 +00:00
Tobias Doerffel
854e8ceeb5 added panning-knob to track-settings-widget
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1182 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-27 15:02:38 +00:00
Tobias Doerffel
620b4d8a58 added mute-button for each FX-line
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1181 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-27 15:02:10 +00:00
Tobias Doerffel
563d5b8b5b made enumeration match current coding style
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1180 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-27 15:01:37 +00:00
Tobias Doerffel
4fc41a4694 cleanups
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1179 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-27 15:00:53 +00:00
Tobias Doerffel
f3bba83dc6 coding style fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1178 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-27 14:57:26 +00:00
Tobias Doerffel
beabaa28a7 overwrite-confirm when saving instrument-settings
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1177 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-25 13:00:27 +00:00
Tobias Doerffel
be22b7cd33 when clear()ing, also disable FX-chain (closes #1994482)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1176 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-25 12:43:08 +00:00
Tobias Doerffel
29044e0d9c always load FX-mixer-settings even if there's no GUI
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1175 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-25 12:33:23 +00:00
Tobias Doerffel
3b60d6f86a fixed broken clearAllTracks()
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1174 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-25 12:32:44 +00:00
Tobias Doerffel
50075770f5 name-property in trackContentObject-class
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1173 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-25 11:58:54 +00:00
Tobias Doerffel
939fd8ef44 * added submenu for removing connections
* made automation-pattern rename working



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1172 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-25 11:57:40 +00:00
Tobias Doerffel
0d5f5473df fixed loading song-global automation
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1171 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-25 06:53:03 +00:00
Tobias Doerffel
bdeac9eafe * fixed wrong config.h-inclusion and deprecated macro-names from config.h/lmmsconfig.h at various places - makes Vibed plugin work again
* fixed plugin-instantiation for BitInvader and Vibed
* use int instead of Uint32 in graphModel
* various coding-style fixes



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1170 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-24 22:21:31 +00:00
Tobias Doerffel
21da0b432c * fixed wrong config.h-inclusion and deprecated macro-names from config.h/lmmsconfig.h at various places - makes Vibed plugin work again
* fixed plugin-instantiation for BitInvader and Vibed
* use int instead of Uint32 in graphModel
* various coding-style fixes



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1169 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-24 22:18:43 +00:00
Tobias Doerffel
161e5265dc removed obsolete plugins
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1168 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-24 14:10:11 +00:00
Tobias Doerffel
154df24102 added fftw-DLL to win32-packaging
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1167 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-24 13:21:50 +00:00
Tobias Doerffel
21093adb28 use float-based FFTW-library
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1166 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-24 13:20:20 +00:00
Tobias Doerffel
d82101256b fixes for win32-build
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1165 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-24 13:20:02 +00:00
Tobias Doerffel
9bebe4325b * completely new automation-system with automation-tracks and automation-patterns as well as song-global automation
* made modelView take a QWidget-pointer argument
* trackContentObject-ctor now calls track::addTCO() directly
* optimize various loops to use iterators/const_iterators instead of a running index variable
* drag'n'drop doesn't fool around with pointers anymore - instead use unique journalling-IDs
* moved drag'n'drop handling code from knob to automatableModelView so that all controls can benefit from that



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1164 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-23 22:36:33 +00:00
Paul Giblock
81ec8833f5 Added two project templates
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1163 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-23 21:10:22 +00:00
Paul Giblock
053feaba8f add multiplier to LFO controller and fix temposync
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1162 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-23 17:15:48 +00:00
Tobias Doerffel
66f98a3017 full context-menu for piano-basenote so it can be automated as well as controlled via controller
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1161 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-20 23:34:43 +00:00
Tobias Doerffel
0eb55d120c fixed crash when closing meterDialog and choosing custom-sync afterwards
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1160 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-20 23:34:22 +00:00
Tobias Doerffel
f1050089b6 * when linking knobs via Shift+Drag do not use pointer to model as drag-data rather than model-ID which can be resolved via project-journal
* fixed displayValue()



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1159 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-20 23:17:12 +00:00
Tobias Doerffel
15134568f1 * removed volumeKnob-class and added volumeKnob-property to knob-class instead
* reduced header-dependencies and various cleanups
* removed obsolete settings



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1158 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-20 22:44:49 +00:00
Paul Giblock
38971caebb make SVN compile again
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1157 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-20 07:37:38 +00:00
Paul Wayper
2321e4c1b0 Added Doxygen documentation (main draft) to src/core/piano.cpp
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1156 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-19 19:30:23 +00:00
Paul Wayper
e681070d47 Added Doxygen documentation (main draft) to src/core/track.cpp
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1155 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-19 12:53:04 +00:00
Tobias Doerffel
dc46c78d0a added libfftw3-detection
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1154 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-16 10:38:52 +00:00
Tobias Doerffel
1ae15fb4c7 added metal-brushed background-artwork
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1153 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-16 10:29:11 +00:00
Tobias Doerffel
10c4abdb4b added unit to pitch-knob
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1152 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-16 10:28:51 +00:00
Paul Giblock
842af2812d Flushing my working-copy
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1151 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-16 06:05:39 +00:00
Tobias Doerffel
805ded7a22 fixed leak (delete midiPortMenu)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1150 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-15 21:51:06 +00:00
Tobias Doerffel
6c4fbd5149 refactored midiPortMenu-creation and -management - fixes crash when removing track which had MIDI-in enabled and enabled MIDI-in for another track afterwards
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1149 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-15 21:49:15 +00:00
Tobias Doerffel
0520a02724 * cache pixmap
* only redraw if angle has changed by more than 3 degrees
* cleanups



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1148 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-15 21:48:26 +00:00
Tobias Doerffel
b210809e6e cleanups and small optimizations
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1147 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-15 21:47:52 +00:00
Tobias Doerffel
ce582407f9 directly handle MIDI-pitch-bend events
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1146 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-15 16:21:48 +00:00
Tobias Doerffel
632f9df91c do not load MIDI-settings when loading preset as this might break existing instrument tracks
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1145 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-15 16:21:25 +00:00
Tobias Doerffel
2f02830f0a added pitch-knob to instrument-track
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1144 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-15 15:42:05 +00:00
Tobias Doerffel
0b539d3218 moved STK-voices plugins to lmms-extras
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1139 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-15 12:55:58 +00:00
Tobias Doerffel
9f584e5612 * fixed issue when moving BB-tracks up/down where actual BB-TCOs were not moved
* in trackContentObjectView and trackView, handle deletion of models more gracefully



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1137 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-15 12:52:20 +00:00
Tobias Doerffel
e2b533dcc5 cleanups and more optimized loops
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1136 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-15 12:51:25 +00:00
Tobias Doerffel
cf444364c6 unregister BB-track-view from BB-editor at destruction - fixes crash when removing BB-tracks
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1135 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-15 12:51:00 +00:00
Tobias Doerffel
fbf402dc21 added missing include
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1134 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-15 12:50:31 +00:00
Tobias Doerffel
8cc50c843a * lock mixer while loading project - fixes crashes when loading projects with FX-mixer settings
* update BB-track-container after creating a new project - fixes non-existing TCOs (i.e. patterns) in BB-Editor in new projects



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1133 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-15 12:50:14 +00:00
Tobias Doerffel
4675d60eb5 removed obsolete setMutedOfAllTracks() method
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1132 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-15 12:49:26 +00:00
Tobias Doerffel
137196cec5 removed removed obsolete ctrlClick() signal
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1131 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-15 12:49:04 +00:00
Tobias Doerffel
d0483d9138 made STK-voices-plugins compile after they've not been maintained for a while
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1130 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-15 12:48:24 +00:00
Tobias Doerffel
a046128a59 don't apply window-function to data as this seems to make things only even worse
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1129 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-14 22:25:15 +00:00
Tobias Doerffel
1ea2fd25f8 labeled axes and correct logarithmic view
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1128 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-14 22:01:06 +00:00
Tobias Doerffel
2639a0b290 improved appearence of Spectrum Analzyer
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1127 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-14 20:16:56 +00:00
Tobias Doerffel
d594505cbb fixed upper frequency-boundary
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1126 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-14 17:14:25 +00:00
Tobias Doerffel
25d598745f added initial version of spectrum analyzer - very basic at the moment
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1125 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-14 17:12:21 +00:00
Tobias Doerffel
28c689f953 changed return-type of effectControls::getControlCount()
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1124 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-14 17:11:51 +00:00
Tobias Doerffel
32d5ca7c64 improved support for different file-formats when exporting and fixed bug which made LMMS crash when exporting to OGG-file
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1123 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-12 20:35:20 +00:00
Tobias Doerffel
0638ec5e55 don't use fifoWriter when rendering as we do not have realtime issues here - fixes lockups on various systems when exporting project
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1122 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-10 22:35:13 +00:00
Tobias Doerffel
fc810f4af8 fixed loading files in no-GUI mode
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1121 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-10 22:34:06 +00:00
Tobias Doerffel
42d49faf53 removed obsolete instrumentTrackView::updateName() and made track-button update on name-changes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1120 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-10 09:17:23 +00:00
Tobias Doerffel
6f92953374 enabled LCD-Spinboxes for easily switching banks/patches
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1119 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-10 09:14:12 +00:00
Paul Giblock
f7b160d34f Integrate new SF2 artwork, for the most part :)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1118 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-10 06:49:47 +00:00
Tobias Doerffel
9fa31fcc30 classify .xml-files always as presets and do not examine them more detailed - also improves LMMS-startup-times
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1117 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-09 22:39:33 +00:00
Tobias Doerffel
8ed8db0282 also show *.xiz files in preset-browser
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1116 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-09 22:39:15 +00:00
Tobias Doerffel
ccff4650f4 added a few files to LMMS-headers
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1110 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-09 17:16:07 +00:00
Paul Giblock
00f3cbc1d7 improved peak-control loading/saving
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1108 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-08 19:28:08 +00:00
Paul Giblock
7915537f30 Very first implementation of peak controller
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1107 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-08 19:02:28 +00:00
Paul Giblock
4247c93972 Improve graph and bitinvader
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1106 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-08 13:02:40 +00:00
Paul Giblock
239e4fb4bd Improve graph and bitinvader
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1105 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-08 12:59:42 +00:00
Paul Giblock
efc8c7bbfa Fixed graph for real
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1104 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-08 12:27:23 +00:00
Paul Giblock
f39c9641ab more displayName updates, minor change to controller dialog
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1103 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-08 12:16:32 +00:00
Tobias Doerffel
704a9cf2f4 use lmmsconfig.h rather than config.h and use prefixed macro-names
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1101 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-08 11:40:36 +00:00
Tobias Doerffel
5bcaaf4911 fixed typo
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1100 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-08 11:38:12 +00:00
Tobias Doerffel
8e7285e56b use lmmsconfig.h rather than config.h and use prefixed macro-names
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1099 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-08 11:35:58 +00:00
Paul Giblock
0ab023c4bf Fix graph widget
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1098 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-08 11:35:36 +00:00
Tobias Doerffel
d6262bb556 use lmmsconfig.h rather than config.h and use prefixed macro-names
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1097 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-08 11:30:47 +00:00
Tobias Doerffel
6dcedad4f0 create include/lmmsconfig.h which contains prefixed config.h defines
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1096 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-08 11:29:20 +00:00
Tobias Doerffel
74c8443b0f reset m_modified after loading a project, creating a new one or saving
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1095 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-08 00:10:06 +00:00
Tobias Doerffel
f9876d4e84 added fast and more leight-weight setAutomatedValue() which omits things like journalling - makes things faster and doesn't introduce threading-problems
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1094 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-07 23:05:44 +00:00
Tobias Doerffel
dfb9395160 in song::setModified() only call mainWindow::resetWindowTitle() when being calle with GUI-thread affinity
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1093 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-07 23:05:15 +00:00
Tobias Doerffel
3eaf3ea31b handle renamed midi-node ("midi" -> "midiport")
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1092 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-07 22:37:37 +00:00
Tobias Doerffel
280d9bdcc0 made MidiEventTypes-enum conform coding-style, i.e. MidiNoteOn instead of NOTE_ON etc.
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1091 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-07 22:14:25 +00:00
Tobias Doerffel
15794c095d added support for importing time-signature settings
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1090 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-07 22:13:09 +00:00
Tobias Doerffel
3409fee347 fixed MIDI-IO when using raw MIDI client
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1089 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-07 22:12:45 +00:00
Tobias Doerffel
2cdf5c0b86 rewrote management of MIDI-ports and MIDI-port subscriptions - now it's central and easy to use
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1088 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-07 21:21:04 +00:00
Tobias Doerffel
231bef1349 rewrote management of MIDI-ports and MIDI-port subscriptions - now it's central and easy to use
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1087 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-07 21:20:35 +00:00
Tobias Doerffel
4c4596f9f4 moved from instrument_midi_io.cpp
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1086 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-07 08:06:05 +00:00
Tobias Doerffel
6e1922242a moved from instrument_midi_io.h
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1085 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-07 08:04:43 +00:00
Tobias Doerffel
d5ee064c3c splitted basic functionality of journallingObject into serializingObject so that creating note objects, notePlayHandles etc. does not have all the journalling-overhead (assigning/freeing ID etc.)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1084 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-06 11:42:02 +00:00
Paul Giblock
7cd212a335 Last commit for a few hours. Demonstrate new midi portnames - beta
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1083 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-06 09:39:56 +00:00
Paul Giblock
f003b34791 Fix minor bug and compile time warnings
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1082 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-06 08:55:59 +00:00
Paul Giblock
e29bf1d655 Update rest of plugins for model.displayName
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1081 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-06 08:16:59 +00:00
Paul Giblock
c53ec765dd Update rest of plugins for model.displayName
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1080 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-06 08:13:43 +00:00
Paul Giblock
8654b47182 Update some plugins to use displayName
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1079 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-06 07:42:21 +00:00
Paul Giblock
0aeddf27ff add model.displayName and add midi-seq support to midiController
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1078 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-06 06:15:17 +00:00
Tobias Doerffel
acba64f092 fixed various GCC-warnings
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1077 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-05 17:26:17 +00:00
Tobias Doerffel
7a9e20f1b7 when freeing instrument-window, also free view immediately - fixes crash when removing instrument-track while instrument-track window was open
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1076 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-05 17:25:49 +00:00
Tobias Doerffel
112e932dd8 remove track from within slot in trackContainerView for not deleting object inside its own method - fixes Qt-warning
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1075 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-05 17:23:25 +00:00
Paul Giblock
39534e923b Attempting to add model.displayName
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1074 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-05 15:40:47 +00:00
Tobias Doerffel
dd06154ed6 heavily optimized journal-cleanup - project unloading is now unbelievable fast
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1073 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-05 12:48:53 +00:00
Tobias Doerffel
599d515791 removed obsolete FASTCALL-attributes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1072 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-05 12:48:25 +00:00
Paul Giblock
7b6ab86588 Fix checkmarks on menus
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1071 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-05 08:55:53 +00:00
Tobias Doerffel
686295aaa4 integrated TAP-plugins to be shipped with LMMS
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1070 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-05 06:31:42 +00:00
Tobias Doerffel
bfcbb50eab re-arranged mute- and solo-buttons
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1069 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-05 06:30:50 +00:00
Paul Giblock
0da68d891d Make titlebars shorter
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1068 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-04 14:32:19 +00:00
Tobias Doerffel
a3aa3f9a4d renamed muted() to isMuted() and other coding-style fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1067 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-03 16:03:59 +00:00
Tobias Doerffel
df203dd51e added fully-functional solo-button
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1066 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-03 16:03:31 +00:00
Tobias Doerffel
7a5acc719b use automatableModelView::addDefaultActions()
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1065 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-03 16:02:48 +00:00
Tobias Doerffel
8291fc72e5 re-enabled tooltips
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1064 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-03 16:02:33 +00:00
Tobias Doerffel
e396932e70 improved win32-compat
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1063 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-03 11:04:47 +00:00
Tobias Doerffel
482af58b4d fixed broken automation-drawing for floatModels
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1062 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-03 11:04:09 +00:00
Tobias Doerffel
9418c368ca added separator in edit-menu
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1061 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-03 11:03:47 +00:00
Tobias Doerffel
7c6a7cdea3 fixed platform-dependent sampleBuffer::tryToMakeAbsolute(...)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1060 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-03 11:03:34 +00:00
Paul Giblock
66c050d803 use default context menu for Fader. Connection dialog improvements
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1059 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-02 22:50:52 +00:00
Paul Giblock
fc0e68d7b2 Update default context menu for controllers
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1058 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-02 22:26:39 +00:00
Tobias Doerffel
ecb2f0d943 cleanups
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1057 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-02 21:07:24 +00:00
Tobias Doerffel
32f07361f9 coding style fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1056 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-02 20:53:13 +00:00
Tobias Doerffel
c4043b20c7 try all audio-drivers at startup even if dummy-driver is selected
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1055 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-02 20:48:56 +00:00
Tobias Doerffel
880a7c2bdf properly link against win32-libsndfile
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1054 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-02 20:48:16 +00:00
Paul Giblock
eb4931f321 Load SF2 files from sidebar
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1053 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-02 17:34:50 +00:00
Tobias Doerffel
56cd1738f1 win32-compat
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1052 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-02 15:58:45 +00:00
Tobias Doerffel
e5bc523e39 coding style
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1051 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-02 15:58:26 +00:00
Tobias Doerffel
115f50c490 do not free port_info-structure before actually (un)subscribing - fixes non-working automatic port-subscription
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1050 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-02 15:58:06 +00:00
Tobias Doerffel
25b095e627 customized path to LADSPA-plugins under win32
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1049 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-02 15:57:42 +00:00
Tobias Doerffel
7d9fa3ddaf added code for detecting fluidsynth-DLL
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1048 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-02 15:56:59 +00:00
Tobias Doerffel
f8ce4a57b7 build win32-DLLs properly
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1047 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-02 15:55:43 +00:00
Tobias Doerffel
2ccab064cb export more symbols in order to build all plugins
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1046 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-02 15:53:45 +00:00
Paul Giblock
6b7d69c7cf Default to midi in connection-dialog, correct pointer to autoDetectCheckBox
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1045 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-02 14:30:48 +00:00
Paul Giblock
38a6278619 Remove controller connection when no controller is set
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1044 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-02 07:59:54 +00:00
Paul Giblock
5f6d0af98d Allow editing of connections though context menu
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1043 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-02 06:36:43 +00:00
Paul Giblock
fa5b0a0fec Add support for saving/loading midi-controlled models
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1042 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-02 05:48:53 +00:00
Paul Giblock
248dfcb1ee Fixed user-controller selection
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1041 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-02 05:18:13 +00:00
Paul Giblock
d188056683 Add initial controller support for MIDI CC and various tweaks
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1040 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-02 05:02:09 +00:00
Paul Giblock
1f42dadbd1 fix default config loading
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1039 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-01 23:07:22 +00:00
Tobias Doerffel
d3516cd5c5 made LMMS build for win32, coding-style fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1038 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-01 22:35:02 +00:00
Tobias Doerffel
8618b1474f added PulseAudio-support
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1037 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-01 22:33:11 +00:00
Paul Giblock
b772da01fe Improve some song-editor UI
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1036 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-01 15:00:11 +00:00
Paul Giblock
04975bef9a Improve PRE volume bars
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1035 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-31 16:33:55 +00:00
Tobias Doerffel
ad548e6d90 fixed wrong item in effect blacklist
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1034 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-30 22:27:41 +00:00
Tobias Doerffel
542baec14b use less complex worker-thread-synchronization
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1033 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-30 22:09:12 +00:00
Tobias Doerffel
8be14b8518 use QAtomicInt instead of volatile bool + queue-global mutex for worker-thread jobqueues
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1032 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-29 06:45:01 +00:00
Tobias Doerffel
d5701ac014 reworked automatableModel (not template-based anymore), removed levelObject, splitted comboBox/comboBoxModel-source-files, began to unify context-menu-creation for controls
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1031 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-28 11:47:45 +00:00
Paul Giblock
f6ce2f136c compat-code for time-signature support in older projects
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1030 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-28 04:19:42 +00:00
Paul Giblock
cddc8405e0 Re-added controller renaming
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1029 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-28 04:07:33 +00:00
Paul Giblock
d8848ff6a0 Fix sf2player gain
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1028 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-28 00:42:24 +00:00
Tobias Doerffel
fe80dc9e2a made LMMS compile + cleanups
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1027 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-26 09:45:04 +00:00
Paul Giblock
eb3e3b84d1 fix crash on new project
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1026 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-26 09:39:30 +00:00
Paul Giblock
836cb05316 Enough controller stuff for tonight
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1025 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-26 09:25:49 +00:00
Paul Giblock
f2d2420fc7 More controller-connection stuff
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1024 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-26 08:12:35 +00:00
Paul Giblock
79905590da add class controllerConnection to model link between models and controllers
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1023 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-26 06:16:49 +00:00
Tobias Doerffel
f3168bac1b fixed compilation-error
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1022 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-25 22:59:53 +00:00
Tobias Doerffel
bf077dd520 implemented support for time-signatures other than 4/4
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1021 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-25 22:43:53 +00:00
Tobias Doerffel
49d1acdb41 fixed order of member-initialization and miscellanous coding-style corrections
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1020 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-25 22:42:38 +00:00
Tobias Doerffel
a53256b97b shrinked file-sizes via optipng
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1019 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-25 10:08:53 +00:00
Tobias Doerffel
08b1cd55cd new transparent splash-screen without obsolete text-messages
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1018 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-25 09:58:23 +00:00
Paul Giblock
4788517843 More controller clearing stuff
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1017 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-25 06:39:02 +00:00
Paul Giblock
736a252b53 Load and save controllers to project
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1016 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-25 05:29:00 +00:00
Paul Giblock
6bb836464a Load and save controllers to project
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1015 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-25 05:28:15 +00:00
Tobias Doerffel
7a6fb18e86 * song/songEditor: added meterModel and meterDialog (which actually is just a widget) as preparation for time-signature-support - it doesn't actually work yet!
* style.css: improved appearence of menu in general
* splitted source-files for meterModel and meterDialog and added "simple"-mode for meterDialog



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1014 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-24 22:01:31 +00:00
Tobias Doerffel
4e239eddb6 fixed order of member-initialization
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1013 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-24 20:52:30 +00:00
Paul Giblock
cf0839c7c2 More Controller improvements
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1012 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-22 06:08:59 +00:00
Paul Giblock
1781974657 Add more wave shapes to LFO controller
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1011 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-22 04:03:30 +00:00
Paul Giblock
452a35c1c5 correctly detect presence of fluidsynth, I think
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1010 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-22 02:03:01 +00:00
Paul Giblock
0611909af2 New sf2 artwork
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1009 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-21 06:11:58 +00:00
Paul Giblock
ef69e69c72 Finished organic gui, updated stylesheet
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1008 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-21 05:47:42 +00:00
Paul Giblock
642385f4ce Piano-roll scroll bug fixed. Added record-with-accompaniment demo
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1007 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-21 05:07:32 +00:00
Paul Giblock
e3696c5769 Knob enhancements and missing AFP logo
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1006 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-21 05:04:47 +00:00
Paul Giblock
eff18ad8dc Integrate new audio file processor artwork
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1005 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-21 03:16:37 +00:00
Paul Giblock
d91a93fde2 Improved drawing of tracks
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1004 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-21 00:43:30 +00:00
Paul Giblock
b45878fa08 Improved drawing of tracks
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1003 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-21 00:43:21 +00:00
Paul Giblock
8bed507c08 New vestige artwork
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1002 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-21 00:37:52 +00:00
Tobias Doerffel
9ea1c5433a only create core-application for --help and -h
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1001 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-21 00:36:19 +00:00
Tobias Doerffel
3e27882c47 added missing include
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1000 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-21 00:05:52 +00:00
Tobias Doerffel
aa08d06068 * plugins and core: use new pluginPixmapLoader
* lmmsStyle-class: load stylesheet here
* comboBox/comboBoxModel: use pixmapLoader-pointers rather than QPixmap-pointers
* in plugin-descriptor, hold a pointer to pixmapLoader instead of QPixmap itself
* embed-framework: introduced pixmapLoader and pluginPixmapLoader-classes for abstracting QPixmap-instantiation - models can hold pixmapLoaders without actually instantiating a QPixmap-object and views can access the pixmap
* main-window: removed settings-menu and moved setup-dialog to edit-menu
* config-manager: removed all the obsolete first-startup-wizard-code



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@999 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-20 23:41:45 +00:00
Paul Giblock
895cde07b1 actually include stylesheet changes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@998 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-19 18:40:33 +00:00
Tobias Doerffel
db789b050e * LVSL: call waitpid(...) when closing plugin - fixes zombie processes
* VST-effect: finally made VST-effect plugin work
* core: when rendering from command-line, only create a QCoreApplication - needs further work
* Singerbot: integrated patches from William Steidtmann <billstei/at/hbci/dot/com> which makes Singerbot at least compile - doesn't seem to work yet though



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@997 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-19 16:15:24 +00:00
Paul Giblock
5a39917128 include stylesheet changes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@996 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-19 14:43:36 +00:00
Tobias Doerffel
64a3e8c054 renamed vst_control_dialog.cpp to vst_effect_control_dialog.cpp
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@995 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-19 10:33:43 +00:00
Tobias Doerffel
9ddbe1ca9c renamed vst_control_dialog.h to vst_effect_control_dialog.h
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@994 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-19 10:33:22 +00:00
Paul Giblock
15efba29de Some GUI cleanup
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@993 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-19 09:45:50 +00:00
Paul Giblock
5fb4cc201b Integrated new Triple Oscillator artwork
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@992 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-19 09:08:56 +00:00
Paul Giblock
a4668130ec Updated Singerbot artwrok
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@991 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-18 20:57:32 +00:00
Paul Giblock
781013c8fa Don't draw background on BB-Editor
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@990 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-18 17:29:42 +00:00
Paul Giblock
fa385f6627 Remove casting warning
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@989 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-18 17:24:43 +00:00
Paul Giblock
26f2badfe6 More track view background/flicker changes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@988 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-18 17:21:17 +00:00
Paul Giblock
904f21da3e Fixed patman artwork again
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@987 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-18 15:07:52 +00:00
Paul Giblock
048ffd690f stylable knobs
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@986 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-18 14:23:41 +00:00
Tobias Doerffel
02da5df799 added missing initialization of member-variables which made Mallets play nothing until GUI has been opened
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@985 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-18 14:19:18 +00:00
Tobias Doerffel
dd1db7d2b7 improved overall appearence
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@984 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-18 13:39:25 +00:00
Tobias Doerffel
9f71f3de29 disabled flipped painting of track-view-BG, optimized changePosition()-method for much faster drawing
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@983 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-18 13:38:54 +00:00
Tobias Doerffel
cb301429a2 do not destroy FX-mixer-view when closing
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@982 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-18 11:33:53 +00:00
Tobias Doerffel
6364a099ad * LADSPA-effect: added "Notch Filter" to blacklist
* all effect-plugins: replaced old code with effect::checkGate() call, various cleanups and minor optimizations
* effectChain: added debugging-code for determining buggy effect-plugins at higher samplerates
* plugin: introduced changable publicName-property
* effect: added checkGate()-function for reducing redundant code in effect-plugins



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@981 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-18 11:31:55 +00:00
Paul Giblock
37f059c6be Update patman title
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@980 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-18 01:53:25 +00:00
Tobias Doerffel
fc1b985fe8 * LADSPA-effect-plugin: improved handling of effects which only work at limited samplerates
* audio-port: small optimizations
* mixer: removed obsolete idle-property of worker-threads
* FX-mixer: protect individual buffers of FX-channels from being processed by more than one thread



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@979 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-17 15:50:27 +00:00
Paul Giblock
fc63352e55 Allow selection of first note in pianoroll, as long as the mouse isn't too fast
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@978 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-17 15:35:21 +00:00
Paul Giblock
69555e9afa Integrate new Patman artwork
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@977 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-17 15:28:34 +00:00
Paul Giblock
47f1a985b7 Give pixmap buttons feedback on click
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@976 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-17 15:27:52 +00:00
Paul Giblock
dd28a28745 Allow stereophonic matrix to invert phase
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@975 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-17 14:32:44 +00:00
Tobias Doerffel
18b1081326 added a lot of options for rendering via command-line and finally made it working with new projectRenderer-class
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@974 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-15 16:58:14 +00:00
Tobias Doerffel
ef9c08894c removed 16x oversampling
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@973 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-15 16:57:32 +00:00
Tobias Doerffel
20af9ab9f5 improved UI
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@972 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-13 21:29:10 +00:00
Tobias Doerffel
076a6b14c7 do not crash when removing TCOs
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@971 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-13 18:14:33 +00:00
Tobias Doerffel
d9914d37a0 use new resampling-methods in case we're processing plugins which are known not to work at higher samplerates
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@970 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-13 17:45:09 +00:00
Tobias Doerffel
b2fc03628b made resetWindowTitle() a slot
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@969 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-13 17:44:36 +00:00
Tobias Doerffel
566d65b7ad coding-style stuff
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@968 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-13 17:44:20 +00:00
Tobias Doerffel
c9d55d262b added simple way for plugins to process at lower sample-rates
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@967 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-13 17:44:00 +00:00
Tobias Doerffel
5f2b5500a4 added hard-coded path in case LMMS is installed into /usr/local
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@966 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-13 17:43:23 +00:00
Tobias Doerffel
45a0f35d6a update main-window title-bar while rendering
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@965 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-13 09:35:03 +00:00
Tobias Doerffel
fd40b3e47b do not update visualization-widget while song-export
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@964 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-13 09:26:36 +00:00
Tobias Doerffel
e62eb5b0bb improved usability of project export dialog
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@963 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-13 09:22:33 +00:00
Tobias Doerffel
8b0e95ec5a after changed quality-settings also update interpolation for samplerate-conversion
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@962 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-13 09:22:01 +00:00
Tobias Doerffel
298df38d09 in draft-mode use zero-order-hold interpolation instead of linear interpolation - fixes some issues with resampling, cleanups
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@961 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-12 18:37:05 +00:00
Tobias Doerffel
8cf16971b8 * made bass-booster HQ-mode-capable
* changed float's in bassbooster-FX to SAMPLE



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@960 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-12 13:10:14 +00:00
Tobias Doerffel
7598cd7a8e * sf2Player: retrieve resampling-interpolation from current mixer quality settings
* mixer: made m_writing-variable in fifoWriter volatile
* projectRenderer: change audio-device to file-device from within GUI-thread in order to make slots being connected to sampleRateChanged()-signal being called 
immediately
* audioDevice: made HQ-mode for audio-devices optional



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@959 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-11 23:21:33 +00:00
Tobias Doerffel
e32eed940f * introduced new project-export dialog
* new class for easily rendering a project into a file
* when changing quality-settings tell audio-devices about it so that they can adjust their output-samplerate



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@958 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-11 20:08:34 +00:00
Tobias Doerffel
5cfb1b2f96 made quality-settings (internal processing samplerate, interpolation and so on) independent of audio-devices (final output) and added new qualitySettings-structure to mixer - might be still buggy and HQ-mode is currently not working, this is going to be fixed tomorrow, anyways important preparation for new project-export-dialog
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@957 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-05 23:14:48 +00:00
Tobias Doerffel
2b7b813f2f bumped version
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@956 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-04 22:35:35 +00:00
Tobias Doerffel
8caa277baf added spacing below FX-bank-selector
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@955 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-04 22:34:58 +00:00
Tobias Doerffel
23e1a368bd fixed crash when adding an effect although none is selected and improved overall usability
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@954 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-04 22:33:27 +00:00
Tobias Doerffel
43638ae14f fixed knob-inheritance problems
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@953 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-04 18:32:49 +00:00
Paul Giblock
cd7cc1ea0a Added new organic artwork, need to fix volumeKnobs
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@952 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-04 18:15:05 +00:00
Paul Giblock
6372c0d0cd Fix instrument view size, add new kicker artwork
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@951 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-04 17:13:09 +00:00
Tobias Doerffel
1f6b784c0a fixed move of TCO-selections
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@950 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-03 21:49:47 +00:00
Paul Giblock
389f58e0b7 Fixed piano roll selected note movement for the most part
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@949 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-30 17:21:37 +00:00
Paul Giblock
70d2c6cb8c Fixed piano roll selected note movement for the most part
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@948 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-30 17:11:15 +00:00
Paul Giblock
1a0df6c5a6 Add FX Mixer button to main toolbar
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@947 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-29 23:51:10 +00:00
Paul Giblock
f662081369 revert accidently commited files
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@946 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-29 04:09:46 +00:00
Paul Giblock
388564ddc2 Minor improvements to effect rack and controls
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@945 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-29 03:57:31 +00:00
Paul Giblock
96ba8ef3e6 Minor improvements to effect rack and controls
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@944 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-29 03:53:21 +00:00
Paul Giblock
21049cf3d0 Fixed arpeggio direction loading
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@943 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-28 15:55:28 +00:00
Paul Giblock
564ed100ba Add gain, chorus, and reverb to SF2
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@942 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-28 13:58:16 +00:00
Tobias Doerffel
646d06573b made delay-buffer a simple stereo-buffer instead of surround-frame-buffer, added missing call in constructor to clear newly created delay-buffer - fixes bad distorted sound in various scenarios
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@941 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-26 00:05:49 +00:00
Paul Giblock
557ded6be9 Fixed bitinvader loading
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@940 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-25 15:34:31 +00:00
Paul Giblock
79eeead855 Fix off-by-one bug
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@939 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-25 07:48:45 +00:00
Paul Giblock
fa3105da6a Add doubleclick shortcut on ITW's FX LCD.
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@938 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-25 07:43:35 +00:00
Paul Giblock
000ce83d2c Fixed wet/dry knob in stereo matrix
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@937 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-25 05:35:11 +00:00
Paul Giblock
3dc51ba506 Fixed drawing of piano roll background while scrolling
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@936 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-25 05:25:20 +00:00
Paul Giblock
b5ec90ea39 Piano roll GUI enhancements. Reset LFO counter on song start
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@935 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-25 05:09:11 +00:00
Tobias Doerffel
8ac8fb5ca2 splitted source-files for FX-mixer and its view, create FX-mixer after song, improved layouting of FX-mixer and made FX-lines being organized in 4 banks instead of one big scrollarea
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@934 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-21 08:41:54 +00:00
Tobias Doerffel
8337dcf0bc small cleanups
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@933 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-21 08:41:20 +00:00
Tobias Doerffel
68f850b36d made faders automatable
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@932 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-21 08:39:40 +00:00
Tobias Doerffel
9f5e85a0a1 made automation-track public accessible
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@931 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-21 08:39:14 +00:00
Tobias Doerffel
650a5592e2 use new timer-framework
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@930 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-21 08:38:59 +00:00
Tobias Doerffel
da2472b9ad added fast and leightweight timer-framework - widgets requiring periodic updates can simply connect their update-slots to songEditor::periodicUpdate()
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@929 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-21 08:38:35 +00:00
Paul Giblock
9ccc0e3a59 Fix stereo matrix's save
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@928 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-20 14:03:46 +00:00
Paul Giblock
9385f418d8 Fix stereo matrix's save
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@927 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-20 14:02:40 +00:00
Paul Giblock
086860e634 Fixed sf2-player reference sharing for good
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@926 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-16 04:07:32 +00:00
Tobias Doerffel
53c79c5471 check type of preview-play-handle via type() instead of blindly using dynamic_cast - probably fixes random crashes when previewing a lot of samples and presets
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@925 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-15 22:32:44 +00:00
Tobias Doerffel
536b16088d delete instrument-instance *after* removing all play-handles from mixer as several play-handle-methods rely on instrument - fixes crash when removing track while playing
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@924 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-15 22:31:25 +00:00
Tobias Doerffel
4d073ac18d directly delete view before removing model - fixes crash when removing instrument-track with instrument-track-window open
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@923 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-15 22:30:18 +00:00
Paul Giblock
cf8cdb4ec6 Fixed knob layout
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@922 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-15 19:06:07 +00:00
Paul Giblock
e062c3c9ee Added stereophonic matrix
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@921 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-15 03:12:25 +00:00
Tobias Doerffel
4b8cf35c40 added resampling with Sinc-interpolation in case LMMS processes with higher sample-rate than 96 KHz
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@920 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-14 21:01:45 +00:00
Paul Giblock
5fc7ffe42d Fix segfault when reopening controller dialog
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@919 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-14 18:09:41 +00:00
Paul Giblock
c80d587633 SF2-player HQ support
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@918 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-14 06:32:02 +00:00
Paul Giblock
07e346f4cf SF2-player HQ support
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@917 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-14 05:16:41 +00:00
Paul Giblock
b30eb4dda6 SF2-player HQ support
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@916 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-14 04:20:39 +00:00
Tobias Doerffel
910daa9755 replaced LB_HZ with engine::getMixer()->sampleRate()-calls in order to have a correct pitch in HQ-mode
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@915 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-12 21:25:06 +00:00
Tobias Doerffel
56fd8a3eb2 made LADSPA-effect-hoster handle samplerate-changes so that we've proper effect-processing in HQ-mode
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@914 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-12 15:11:28 +00:00
Tobias Doerffel
6bf1865143 more accurate constants
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@913 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-12 15:10:55 +00:00
Tobias Doerffel
29124a9a59 fixed progress-bar after change of tick-resolution from 64 to 192
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@912 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-12 15:10:26 +00:00
Tobias Doerffel
39786d36d5 made clearAudioBuffer() static
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@911 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-12 15:09:49 +00:00
Tobias Doerffel
4f14e27b75 coding-style-stuff
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@910 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-12 15:09:30 +00:00
Tobias Doerffel
6b7a47aa04 do not synthesize anything if frequency is above half of samplerate
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@909 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-12 15:09:14 +00:00
Tobias Doerffel
2fcd8150d9 changed internal MIDI-time-resolution from 64th to 192th resulting for example in better MIDI-import and allowing to use triplet-notes in LMMS
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@908 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-09 22:16:52 +00:00
Tobias Doerffel
464913a2c4 formatting-issues
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@907 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-09 11:06:46 +00:00
Paul Giblock
7511380b45 Some improvements to LFO controller
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@906 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-09 06:19:44 +00:00
Paul Giblock
fbc37ba9df Last controller commit for a little while
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@905 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-08 08:47:47 +00:00
Paul Giblock
4787071752 Added missing file
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@904 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-08 08:35:26 +00:00
Paul Giblock
3b191ecc2c More controller improvements
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@903 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-08 08:33:25 +00:00
Paul Giblock
78f0a045cc Improvements to controllers
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@902 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-08 08:23:58 +00:00
Tobias Doerffel
40879221cf fixed wrong model-index (=>wrong description-widget) when filtering
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@901 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-07 23:17:35 +00:00
Tobias Doerffel
657eb7633b decreased button-icon-size to 20px
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@900 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-07 23:06:05 +00:00
Tobias Doerffel
e2e34b6ffa process FX-channels until effects signal that there's nothing more to process - closes #1935872
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@899 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-07 22:55:08 +00:00
Tobias Doerffel
bd6ff6d9bb cleanups, fixed broken connection for "Add"-button
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@898 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-07 21:50:52 +00:00
Tobias Doerffel
aa5974bb02 integrated changes from libsamplerate-0.1.3/configure.ac
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@897 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-07 21:50:30 +00:00
Tobias Doerffel
f77606dffe updated German localization-files
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@896 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-07 21:48:36 +00:00
Tobias Doerffel
b69c4a324e integrated libsamplerate 0.1.3 source which has various improvements over 4-year-old version 0.1.2
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@895 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-07 21:37:26 +00:00
Tobias Doerffel
4851df0cf7 set correct value for model when selecting an item whose strings occurs multiple times in the combobox
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@894 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-07 21:24:31 +00:00
Tobias Doerffel
2856928bf9 changed list-widget to be a list-view and added a line-edit for filtering the list
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@893 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-06 17:24:54 +00:00
Tobias Doerffel
0429fe86e3 changed list-widget to be a list-view and added a line-edit for filtering the list
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@892 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-06 17:24:36 +00:00
Paul Giblock
1ffbe12e80 Fixed button icon size
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@891 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-06 17:08:51 +00:00
Tobias Doerffel
c8c5382b35 made rendering happen with one global working-buffer per thread - hopefully improves L1/L2-cache-efficiency
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@890 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-05 19:06:32 +00:00
Tobias Doerffel
7f72593f06 do not examine directories for being empty when adding them - speeds up LMMS-startup a lot
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@889 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-05 14:24:06 +00:00
Paul Giblock
0bb4bf5221 Performance improvements to controller-base
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@888 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-05 04:17:25 +00:00
Tobias Doerffel
f8369195a0 implemented parallelization of FX-channel-processing
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@887 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-04 16:55:47 +00:00
Tobias Doerffel
ed7bbe04a3 cleanups and optimizations in value( int )
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@886 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-04 14:01:25 +00:00
Paul Giblock
dd051fbc63 Reverted back to non-Widgetized autoModelViews
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@885 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-04 08:47:06 +00:00
Paul Giblock
1fbff410f8 apparently we can't make templated typedefs...
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@884 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-04 07:38:03 +00:00
Paul Giblock
3541af29df initial controllers code
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@883 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-04 06:39:00 +00:00
Tobias Doerffel
20b949274d made panning-knob automatable
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@882 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-03 23:29:27 +00:00
Tobias Doerffel
bd1f05e52f fixed surroundarea-compat-code
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@881 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-03 23:09:35 +00:00
Tobias Doerffel
2418ea32ee made song-length being cached and only updated upon changed length or position of TCOs
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@880 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-03 22:50:40 +00:00
Tobias Doerffel
3d46ea2c97 optimized track::length()-method
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@879 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-03 22:50:04 +00:00
Tobias Doerffel
3e005439c4 great improvements on multithreading - one global job-queue protected by a simple mutex where threads pull their jobs from
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@878 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-03 22:49:51 +00:00
Tobias Doerffel
9362c8a894 delete LADSPA-manager after mixer and FX-mixer as LADSPA-effects in FX-mixer access LADSPA-manger at destruction
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@877 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-03 22:49:30 +00:00
Tobias Doerffel
8146dc3d30 - made effect::processAudioBuffer(...) process a sampleFrame- instead of
surroundSampleFrame-array
- divide out_sum by number of frames processed to have a
  period-size-independent value



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@876 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-03 20:29:11 +00:00
Tobias Doerffel
297b57274c renamed value( int ) to levelToValue( int ) as preparation for controller-framework
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@875 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-03 20:27:53 +00:00
Tobias Doerffel
753c5b86a3 - made mixer::buffertToPort accept a stereoVolumeVector as audio-buffers
have stereo-audio-buffers now
- made peakValueLeft() and peakValueRight() take a sampleFrame-pointer
- process in stereo internally



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@874 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-03 20:27:23 +00:00
Tobias Doerffel
f1a2d8bce7 replaced surroundArea with panning-knob
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@873 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-03 20:25:41 +00:00
Tobias Doerffel
98c2a2a3de use sampleFrame-array instead of surroundSampleFrame-array for processing
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@872 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-03 20:20:09 +00:00
Tobias Doerffel
6c27622a17 made mixToChannel() take a sampleFrame-pointer
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@871 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-03 20:19:00 +00:00
Tobias Doerffel
6c1cc640d8 added stereoVolumeVector and surroundVolumeVector-declarations
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@870 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-03 20:18:32 +00:00
Tobias Doerffel
b82105f296 implement pure-virtual processAudioBuffer()-method
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@869 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-03 20:18:04 +00:00
Tobias Doerffel
c3cd176695 new panningToVolumeVector()-inline-method
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@868 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-03 20:17:21 +00:00
Tobias Doerffel
1b9d8a0b8c made processAudioBuffer() take a sampleFrame-pointer
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@867 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-03 20:14:45 +00:00
Tobias Doerffel
814076f10e use sampleFrame-array instead of surroundSampleFrame-array internally
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@866 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-03 20:13:54 +00:00
Tobias Doerffel
18dd332d7d added castValue()-method
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@865 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-02 14:16:03 +00:00
Tobias Doerffel
7f51a39de2 added missing file
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@864 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 22:37:51 +00:00
Tobias Doerffel
c2dbbd7fe0 added dummyTrackContainer with dummyInstrumentTrack in order to have a default-model for cached inactive instrument-track-windows - fixes regular crashes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@863 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 22:31:10 +00:00
Tobias Doerffel
108f3a9a68 corrected paths / includes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@862 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 22:30:32 +00:00
Tobias Doerffel
7a92574f3e removed obsolete single-source-file
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@861 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 21:23:20 +00:00
Tobias Doerffel
478218cf3e reflect recent file-moves in Makefile.am
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@860 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 21:22:46 +00:00
Tobias Doerffel
0a875d7cbc finally moved to correct folder...
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@859 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 21:17:45 +00:00
Tobias Doerffel
21cd837ea9 moved to src/gui/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@858 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 21:05:54 +00:00
Tobias Doerffel
ad7dec1af2 moved to src/gui/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@857 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 21:02:10 +00:00
Tobias Doerffel
693b1def0b moved to src/core/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@856 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 21:01:20 +00:00
Tobias Doerffel
63fc579ee2 moved to src/core/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@855 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 21:00:41 +00:00
Tobias Doerffel
3834ef3c72 moved to src/gui/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@854 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:59:30 +00:00
Tobias Doerffel
5e0de2dde0 moved to src/core/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@853 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:57:50 +00:00
Tobias Doerffel
af30fcb82b moved to src/core/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@852 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:57:18 +00:00
Tobias Doerffel
ca5919b323 moved to src/core/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@851 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:56:29 +00:00
Tobias Doerffel
0345283955 moved to src/core/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@850 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:52:49 +00:00
Tobias Doerffel
fccfd61911 moved to src/core/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@849 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:52:20 +00:00
Tobias Doerffel
8d6e630261 moved to src/core/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@848 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:51:54 +00:00
Tobias Doerffel
7e44e4f910 moved to src/core/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@847 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:51:25 +00:00
Tobias Doerffel
44e8df62bf moved to src/core/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@846 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:50:53 +00:00
Tobias Doerffel
8ee0a1c430 moved to src/core/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@845 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:50:13 +00:00
Tobias Doerffel
c1e7a7301b moved to src/core/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@844 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:49:40 +00:00
Tobias Doerffel
e41e51ad6a moved to src/widgets/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@843 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:48:12 +00:00
Tobias Doerffel
25116b85c8 moved to src/gui/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@842 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:47:07 +00:00
Tobias Doerffel
a9a84c9fb9 moved to src/gui/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@841 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:46:26 +00:00
Tobias Doerffel
b3fc5db376 moved to src/gui/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@840 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:45:55 +00:00
Tobias Doerffel
ea790e3b5e moved to src/gui/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@839 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:45:31 +00:00
Tobias Doerffel
cdda2a91e4 moved to src/gui/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@838 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:44:48 +00:00
Tobias Doerffel
aa69cbd1e4 moved to src/gui/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@837 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:44:07 +00:00
Tobias Doerffel
d61f47355f moved to src/gui/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@836 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:43:03 +00:00
Tobias Doerffel
73a8591e12 moved to src/gui/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@835 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:34:26 +00:00
Tobias Doerffel
5cbfb6f452 moved to src/gui/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@834 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:33:28 +00:00
Tobias Doerffel
8f2ecb30ba moved to src/gui/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@833 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:31:59 +00:00
Tobias Doerffel
83110b6be3 moved to src/gui/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@832 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:31:32 +00:00
Tobias Doerffel
06c81e5a2f moved to src/gui/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@831 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:30:52 +00:00
Tobias Doerffel
58d79d4db4 moved to src/gui/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@830 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:29:13 +00:00
Tobias Doerffel
9ba283ee94 - splitted track_container.h into track_container.h and track_container_view.h
- splitted bb_editor.h into bb_track_container.h and bb_editor.h
- moved view-component-implementations of trackContainer and bbTrackContainer to src/gui/
- added dummyInstrumentTrack-implementation



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@829 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:27:39 +00:00
Tobias Doerffel
c36e408f2b moved bb_editor.cpp from core/ to gui/
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@828 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:09:50 +00:00
Tobias Doerffel
20034563c0 created directory for GUI-related source-files
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@827 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 20:08:49 +00:00
Tobias Doerffel
2862b60de0 added missing includes when compiling headers itself
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@826 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 00:31:08 +00:00
Tobias Doerffel
a148ddc185 added README-files
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@825 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 00:30:07 +00:00
Tobias Doerffel
fbb936f726 decreased minimal gate from 0.0001f to 0.00001f as it turned out that some effects were cut off with previous value
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@824 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 00:29:46 +00:00
Tobias Doerffel
52d3b70be2 added single-binary-target for testing-purposes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@823 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-04-01 00:29:01 +00:00
Tobias Doerffel
d07d342381 misc fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@821 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-30 20:57:41 +00:00
Tobias Doerffel
8a09e38c38 removed obsolete SIGNAL/SLOT-connection
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@819 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-30 20:38:51 +00:00
Tobias Doerffel
db4aaadd8e compare out_sum against getGate()+0.0001f as getGate() might be 0 while out_sum in many cases never will reach 0,0...0 again - fixes high CPU-usage even after stop playing
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@818 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-30 20:38:19 +00:00
Tobias Doerffel
ef5362909f made controls have a track to allow automation of LADSPA-controls, compare out_sum against getGate()+0.0001f as getGate() might be 0 while out_sum in many cases never will reach 0,0...0 again - fixes high CPU-usage even after stop playing
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@817 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-30 20:20:32 +00:00
Tobias Doerffel
476983d986 use track as parent, correct initialization of m_enabledModel which fixes crashes on model-updates
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@816 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-30 20:19:23 +00:00
Tobias Doerffel
5bfbd5d4f0 on model-change, ensure QPushButton's state is correct
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@815 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-30 20:18:58 +00:00
Tobias Doerffel
971b1a64eb properly handle changed models
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@814 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-30 20:18:13 +00:00
Tobias Doerffel
77a5397f04 when model has changed, also set new model for effect-view
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@813 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-30 20:17:58 +00:00
Paul Giblock
aad7608b64 More SF2 fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@812 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-30 17:56:57 +00:00
Tobias Doerffel
0355877769 duplicate char-pointer returned by qPrintable - fixes bugs when loading sound-fonts
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@811 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-30 17:06:23 +00:00
Tobias Doerffel
f68d50da78 completed recent changes to saveSettings() / loadSettings()
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@810 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-24 19:39:12 +00:00
Tobias Doerffel
406a90487a made toolbar-backgrounds a bit more blue-ish
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@809 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-22 13:56:01 +00:00
Tobias Doerffel
81399f026b tuned colors a bit
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@808 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-22 13:55:43 +00:00
Tobias Doerffel
5536377c72 moved effect-chain to right side of window
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@807 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-22 13:55:26 +00:00
Tobias Doerffel
c31dbd6a09 merged note's tone and octave-property into one key-property which makes us save calculations in a lot of places and also shrinks sizes of XML-files, renamed various note-related constants and enums to match current coding-style
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@806 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-22 13:24:43 +00:00
Tobias Doerffel
1809db2ed0 added missing break in switch which made a lot of messages appear in console when time-based knobs were used by LADSPA-plugins
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@805 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-22 13:21:44 +00:00
Tobias Doerffel
9fcef457ab improved effect-plugin-artwork made with Inkscape
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@804 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-22 13:18:49 +00:00
Paul Giblock
ab42375731 first shot at instrumentTrackWindow cache
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@803 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-22 08:32:06 +00:00
Paul Giblock
75cd993b93 Fixed sunken borders
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@801 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-17 08:44:55 +00:00
Paul Giblock
ca8d394905 Plugged memleaks in sf2player and lcdSpinbox, reapplied lmmsStyle, enhanced drawing of LCDs, added ignore property for SVN
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@800 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-17 06:14:06 +00:00
Tobias Doerffel
33937e8799 improved signal-visualization and increased update-ratio from 20 to 40 fps
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@799 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-16 14:13:52 +00:00
Tobias Doerffel
6c50693d70 removed obsolete and broken auto-limit-feature
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@798 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-16 14:13:12 +00:00
Tobias Doerffel
c683dd150c proper cleanup of fxMixer and it's view at exit
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@797 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-16 13:10:32 +00:00
Tobias Doerffel
8def525164 improved effect-view-artwork
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@796 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-16 13:09:09 +00:00
Tobias Doerffel
ab25b09935 fixed peak-calculation for negative signal-values
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@795 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-16 00:21:48 +00:00
Tobias Doerffel
eeaca7a2fa use capital letters for knob-labels
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@794 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-16 00:14:59 +00:00
Tobias Doerffel
15ec9f08e0 fixed random crashes when removing effect-views, improved painting of effect-view
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@793 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-16 00:09:39 +00:00
Tobias Doerffel
0ed60f6f2e fixed LADSPA-controls which internally were not linked per default although they should be
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@792 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-15 23:05:00 +00:00
Tobias Doerffel
2599c9d2f3 fixed LADSPA-controls which internally were not linked per default although they should be
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@791 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-15 23:03:40 +00:00
Tobias Doerffel
13a65b88f2 implemented save- and load-functionality for FX-mixer
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@790 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-15 14:53:17 +00:00
Tobias Doerffel
b682b30146 added initial FX-mixer implementation - not perfect and very usable yet but the basics work so far
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@789 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-14 21:45:10 +00:00
Tobias Doerffel
a4f3d5d267 fixed segfault when using raw MIDI-client
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@788 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-14 11:30:46 +00:00
Tobias Doerffel
2e22119442 updated German localization
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@785 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-09 00:22:53 +00:00
Tobias Doerffel
461c235cfe added missing Q_OBJECT-macros for views which made localizations not work
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@784 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-09 00:21:43 +00:00
Tobias Doerffel
5f47f86625 added definition for upcoming FX-mixer
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@783 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-09 00:19:51 +00:00
Tobias Doerffel
70b29695a5 replaced Kicker-logo with actual logo
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@782 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-08 20:25:01 +00:00
Tobias Doerffel
3158e80b92 made MIDI-port-menu work again
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@781 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-08 20:22:35 +00:00
Tobias Doerffel
b9f467cd97 fixed crash when removing TCO via context-menu
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@780 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-08 20:20:06 +00:00
Tobias Doerffel
ecd46173b7 made "Send to active instrument-track" work again
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@779 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-08 20:18:25 +00:00
Tobias Doerffel
2c2156d3eb set track for knobs in order to make them automatable
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@778 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-08 09:23:58 +00:00
Tobias Doerffel
ee04ea3c74 fixed missing automationPattern-initialization (i.e. setFirstValue()-call) which made automation-editor not work properly if no events were drawn so far
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@777 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-08 09:22:05 +00:00
Tobias Doerffel
aa7d45f3ec made micro-draw-operations use 32-bit-ints instead of 16-bit-integers for performing better on 32-bit-platforms
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@776 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-08 09:18:02 +00:00
Tobias Doerffel
a3813eff2b also connect model-signals with view when using default-constructed model - fixes missing updates on things like button-groups when using automation
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@775 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-08 08:25:24 +00:00
Tobias Doerffel
f03d122732 show window before determining X-Window-ID as newer WINE-versions do not create X-windows before actually showing window
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@774 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-07 17:40:37 +00:00
Tobias Doerffel
9aead92760 properly insert VST-editor-window into QMdiArea
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@773 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-07 17:40:09 +00:00
Tobias Doerffel
a3421acaec M/V-split of VeSTige
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@772 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-07 16:04:10 +00:00
Tobias Doerffel
1f7a9c491d misc coding-style-fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@771 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-07 16:03:41 +00:00
Tobias Doerffel
369d96f361 made sampleBuffer reentrant so that several threads can use sampleBuffer::play() simultanously - fixes crashes when using AudioFileProcessor or Patman in multithreaded mode
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@770 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-07 15:02:09 +00:00
Tobias Doerffel
b326a99f98 made sampleBuffer reentrant so that several threads can use sampleBuffer::play() simultanously - fixes crashes when using AudioFileProcessor or Patman in multithreaded mode
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@769 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-07 14:41:45 +00:00
Tobias Doerffel
9cb4b82297 added m_runningNotes-array to track overlapping or edge-to-edge notes and act accordingly
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@768 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-07 10:24:58 +00:00
Tobias Doerffel
0edae2d9e7 reduced dependencies from automatable_model_templates.h and fixed according compiler-warnings
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@767 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-04 11:30:19 +00:00
Tobias Doerffel
74bc575ad1 added mutex to protect reference-counter
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@766 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-04 11:28:58 +00:00
Tobias Doerffel
974c312a7a fixed and improved painting of volume-lines and note-detuning-dots, fixed KEY_PRESSURE-events when changing volume of a note, pass keyboard-events to piano-class if appropriate
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@765 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-04 00:58:25 +00:00
Tobias Doerffel
6f8b8c3a75 moved MIDI-event-code to piano-class
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@764 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-04 00:57:47 +00:00
Tobias Doerffel
48c3b8468b set focus-policy in order to receive key-events
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@763 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-04 00:57:26 +00:00
Tobias Doerffel
aba3cab0ea fixed open-file-dialog, fixed order of member-variable-initialization
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@761 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-03 23:28:00 +00:00
Tobias Doerffel
0b60ba5ba7 added MP3-files to file-dialog-filter as they theoretically should be supported through SDL_sound-library
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@760 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-03 23:27:40 +00:00
Tobias Doerffel
889d1e8bb3 always process all note-play-handles of monophonic instruments by the same thread serially - fixes problems with monophonic instruments which rely on notes being processed in correct order
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@759 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-03 22:54:20 +00:00
Tobias Doerffel
cb48cea3c2 fixed out-of-range initial value of filter-frequency-model
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@758 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-03 22:53:34 +00:00
Tobias Doerffel
2a75bc21d6 set directory before selecting file in QFileDialog
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@757 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-03 22:53:01 +00:00
Tobias Doerffel
4380519a40 made textFloat's work properly and displayed at correct position
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@756 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-03 22:52:40 +00:00
Tobias Doerffel
c65b1100b6 always use main-window as parent and make sure to be moved relative to it, i.e. do not show outside of moved main-window
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@755 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-03 22:52:12 +00:00
Tobias Doerffel
2843a5d743 removed overwrite-check as in Qt4 QFileDialog does this on its own
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@754 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-03 22:51:50 +00:00
Tobias Doerffel
8586a7d30f do not lock mixer and call notePlayHandle::noteOff() in instrumentTrack::processInEvent() when processing monophonic instruments in playNote() - fixes lockups in LB302 in multithreaded mode
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@753 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-03 22:51:23 +00:00
Paul Giblock
ee97a4d6cd reverted the red LCD back to red.
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@752 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-03 04:14:38 +00:00
Tobias Doerffel
a6859e765a fixed wrong integration of tempoSyncKnobModel
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@751 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-02 07:33:18 +00:00
Tobias Doerffel
5836c585e2 made dataChanged()->update() connection queued
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@750 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-02 07:32:43 +00:00
Tobias Doerffel
2ca4447e61 do not crash in patmanInstrument::playNote() when no file is set
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@749 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-01 23:44:33 +00:00
Tobias Doerffel
1c5c20a8b2 fixed missing tempoSyncKnobModel for not crashing when instantiating LADSPA-plugins with time-knobs inside
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@748 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-01 23:43:39 +00:00
Tobias Doerffel
5010db8164 do not crash in patmanInstrument::playNote() when no file is set
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@747 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-01 23:42:27 +00:00
Tobias Doerffel
2749e6ee2b do not crash when loading settings where no file is set
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@746 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-01 22:25:32 +00:00
Tobias Doerffel
518bcf6c17 in saveSettings() fixed wrong integer-to-string-conversion which made LMMS save broken files
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@745 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-01 11:34:20 +00:00
Tobias Doerffel
a5f6c8c903 removed obsolete move()-call
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@744 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-29 23:07:30 +00:00
Tobias Doerffel
941f843daf set Qt::ToolTip-window-flag in order to display correctly - some other positioning code still needs to be fixed
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@743 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-29 23:05:57 +00:00
Tobias Doerffel
43a0971840 fixed importFilter::readByte() to return proper integer instead of signed char - makes import-filters finally work
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@742 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-29 22:49:06 +00:00
Tobias Doerffel
1f974b96d4 fixed parameter-list of lmms_plugin_main to work properly
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@741 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-29 22:19:12 +00:00
Paul Giblock
c3185b70d7 fixed green lcd finally
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@740 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-29 21:03:59 +00:00
Paul Giblock
9645cd7a7b Fixed changelog :)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@739 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-29 20:20:02 +00:00
Paul Giblock
e213f6536f More UI stuff
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@738 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-29 20:16:55 +00:00
Paul Giblock
c896f0d8e8 touched-up combobox
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@737 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-29 19:08:50 +00:00
Paul Giblock
1c1870ce3a various graphical enhancements
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@736 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-29 09:15:15 +00:00
Paul Giblock
86e3675b93 Fixed Makefile.am for sf2 player
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@735 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-29 03:38:30 +00:00
Tobias Doerffel
5ef2d7ef0a warn if LMMS-plugin does not have required <libname>_plugin_descriptor field
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@734 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-28 22:16:15 +00:00
Paul Giblock
3a6669a560 soundfont 2 beta
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@733 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-28 22:14:46 +00:00
Paul Giblock
704527de7d soundfont 2 beta
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@732 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-28 21:57:52 +00:00
Danny McRae
fc1f97a99c removed stk/voices from the default build
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@731 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-28 19:04:13 +00:00
Tobias Doerffel
557ad58465 back in trunk - LMMS-MV is now default, so removed "mv"-suffix
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@730 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-28 11:36:54 +00:00
Tobias Doerffel
e5a98292ab moved old trunk to lmms-pre-mv-branch
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@729 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-28 11:33:26 +00:00
Tobias Doerffel
50da20f22e rendering from commandline is now done without creating main-window and all the other UI-stuff
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@727 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-27 17:53:39 +00:00
Tobias Doerffel
f83aecf617 integrated new version of CAPS and fixed miscompilation with GCC 4.3
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@726 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-27 17:52:56 +00:00
Tobias Doerffel
a7b14c6660 lock audioPort-buffers before writing them
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@725 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-27 17:49:35 +00:00
Tobias Doerffel
c043eed2d6 distribute whole job-queue instead of single jobs and re-assign unprocessed jobs to idle worker-threads - improves multi-threading behaviour a lot
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@724 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-27 14:57:38 +00:00
Tobias Doerffel
0acbf718af distribute whole job-queue instead of single jobs and re-assign unprocessed jobs to idle worker-threads - improves multi-threading behaviour a lot
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@723 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-27 14:57:07 +00:00
Tobias Doerffel
b81bafd382 bumped version
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@722 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-27 00:52:21 +00:00
Tobias Doerffel
9618526b0d initial support for parallel rendering via worker-threads - far from being perfect (especially with small mixer-period-sizes) but seems to help even on a DualCore machine
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@721 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-27 00:45:53 +00:00
Tobias Doerffel
e0851b970e initial support for parallel rendering via worker-threads - far from being perfect (especially with small mixer-period-sizes) but seems to help even on a DualCore machine
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@720 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-27 00:45:30 +00:00
Tobias Doerffel
b5c9a36785 splitted tempoSyncKnob into tempoSyncKnobModel and tempoSyncKnob
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@719 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-25 23:28:55 +00:00
Tobias Doerffel
4bf2bccb29 renamed piano_widget.{h,cpp} to piano.{h,cpp}
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@718 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-25 23:28:24 +00:00
Tobias Doerffel
4a9e843715 splitted into meterModel and meterDialog
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@717 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-25 23:28:08 +00:00
Tobias Doerffel
f61c989e71 incorporated recent API-changes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@716 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-25 23:27:48 +00:00
Tobias Doerffel
20d9f3e671 renamed piano_widget.{h,cpp} to piano.{h,cpp}
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@715 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-25 21:35:45 +00:00
Tobias Doerffel
74b6a987d6 renamed from piano_widget.cpp
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@714 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-25 21:30:09 +00:00
Tobias Doerffel
25c4d3b8ec renamed from piano_widget.h
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@713 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-25 21:29:27 +00:00
Tobias Doerffel
a5010428f8 fixed various crashes when removing instrument-track with visible instrument-track-window or loading another instrument/preset
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@712 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-25 21:27:58 +00:00
Tobias Doerffel
fec4e7f5f9 track-window-creation on-demand - makes loading/unloading projects ultra-fastsvn diff
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@711 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-25 14:13:23 +00:00
Tobias Doerffel
980f133b43 instantiate automation-pattern before loading settings of it - fixes crashes when loading projects with automation inside
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@710 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-25 14:12:49 +00:00
Tobias Doerffel
bd72070aa0 fixed tag-renaming-loops
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@709 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-25 14:12:25 +00:00
Tobias Doerffel
7c2e4111a8 cleanups
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@708 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-25 14:12:06 +00:00
Tobias Doerffel
93e247faf0 fixed wrong index for saving/restoring modulation-algo-settings - now projects sound like they did in pre-MV
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@707 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-25 14:09:23 +00:00
Tobias Doerffel
69bbd95429 fixed zooming-comboboxes in automation-editor and header-dependencies
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@706 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-25 12:59:15 +00:00
Tobias Doerffel
922ace49b2 update() after wheelEvent
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@705 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-25 12:58:49 +00:00
Tobias Doerffel
32a3b7cf23 made live-tool work after M/V-split
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@704 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-25 11:37:21 +00:00
Tobias Doerffel
80d2241864 connect track's m_mutedModel to m_muteBtn of trackOperationsWidget, set track for m_mutedModel
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@703 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-25 11:37:02 +00:00
Paul Giblock
b79eddffe1 M/V split of Bit Invader
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@702 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-24 11:12:14 +00:00
Paul Giblock
922d2c5f38 M/V split of Bit Invader
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@701 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-24 10:59:17 +00:00
Paul Giblock
98fc05e189 steroEnhancer, Vibed, and separated Graph widget
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@700 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-22 08:33:52 +00:00
Paul Giblock
5313f32c56 steroEnhancer, Vibed, and separated Graph widget
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@699 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-22 08:09:34 +00:00
Tobias Doerffel
3e29f447a9 coding-style improvements
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@698 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-19 18:15:23 +00:00
Tobias Doerffel
601e5c1df9 made song-export work again
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@697 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-19 18:14:39 +00:00
Tobias Doerffel
640946c7c9 M/V-split of Patman-instrument
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@696 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-19 18:14:19 +00:00
Tobias Doerffel
64cc3d8710 made MIDI- and FLP-import-filter work
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@695 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-19 00:18:07 +00:00
Paul Giblock
b3f7195a8d removed stray character
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@694 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-16 02:31:21 +00:00
Paul Giblock
fa4bcc6cf7 ChangeLog formatting
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@693 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-16 02:16:27 +00:00
Paul Giblock
d3a46695cf Updated some instruments for MV
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@692 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-16 02:14:14 +00:00
Tobias Doerffel
5d5ad19021 finally splitted rest of LMMS, i.e. tracks, track-containers, track-content-objects, whole instrument-track/instrument-track-window and so on - still a bit unstable but I'm sure we'll manage to get this one very stable\!
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@691 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-16 02:04:58 +00:00
Danny McRae
40017887e9 Started work on a STK based multitimbral instrument.
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@689 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-02 05:42:03 +00:00
Danny McRae
792d1eca17 Updated references to renamed header files.
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@688 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-01 18:55:50 +00:00
Tobias Doerffel
af9c733224 moved from midi_tab_widget.cpp
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@687 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-30 23:47:37 +00:00
Tobias Doerffel
c2ab2cc8b7 moved from midi_tab_widget.h
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@686 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-30 23:46:38 +00:00
Tobias Doerffel
96818d710b renamed from envelope_tab_widget.cpp
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@685 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-30 22:42:27 +00:00
Tobias Doerffel
39cbcecd5e renamed from envelope_and_lfo_widget.cpp
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@684 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-30 22:41:35 +00:00
Tobias Doerffel
b0f37bbeb7 renamed from envelope_tab_wiget.h
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@683 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-30 22:38:18 +00:00
Tobias Doerffel
d289ed208d renamed from envelope_and_lfo_widget.h
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@682 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-30 22:36:06 +00:00
Tobias Doerffel
8fce2d7252 renamed from envelope_tab_widget.h
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@681 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-30 22:15:16 +00:00
Paul Giblock
1ea7d068c6 Beginning MV split for Organic
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@680 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-30 07:43:50 +00:00
Paul Giblock
d242ed725f Finished LB302 MV split
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@679 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-29 03:36:34 +00:00
Tobias Doerffel
69893707b0 call updateButtons() after model-change, use model()->value() rather than value()
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@678 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-26 08:52:19 +00:00
Tobias Doerffel
3817dc7a78 fixed upper boundaries for wave-shape- and modulation-algo-models
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@677 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-26 08:51:56 +00:00
Tobias Doerffel
36f7b4de0f initial M/V-split of TripleOscillator - lots of debugging and cleanups pending, however basically works :)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@676 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-26 00:44:21 +00:00
Tobias Doerffel
81434922d3 update buttons after changing button-group's value
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@675 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-26 00:43:42 +00:00
Tobias Doerffel
a7fb026159 added missing header
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@674 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-26 00:43:26 +00:00
Tobias Doerffel
73be443b23 changed coding-style for enum-constants, use model for external wave-shape- and modulation-algo-parameter
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@673 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-26 00:43:06 +00:00
Tobias Doerffel
be604b1d68 added transformableAutoModel-class which is not used yet but might be helpful in some cases in the future
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@672 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-26 00:42:39 +00:00
Tobias Doerffel
a8d490d4cc eliminated warnings when compiling with GCC 4.3
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@671 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-24 11:21:22 +00:00
Tobias Doerffel
b0882c5924 fixed broken plugin-entry-point
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@670 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-24 11:19:15 +00:00
Paul Giblock
0f23db9f9a updated boolModel, split lb302 for MV but there is a bug
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@669 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-24 05:50:29 +00:00
Tobias Doerffel
157940921c made effect-settings load again
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@668 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-18 17:08:25 +00:00
Tobias Doerffel
1808379915 made LADSPA-plugin-layouter work again after Qt4-port, other small code-fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@667 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-18 12:21:33 +00:00
Tobias Doerffel
0d012353f0 moved ladpsaControlView-source-file to widgets-dir
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@666 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-18 11:29:45 +00:00
Tobias Doerffel
3e93586a66 splitted ladspaControl-class, made ladspa-effect-plugin work again
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@665 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-17 22:02:56 +00:00
Tobias Doerffel
382d7d44b0 split off effectControlDialog into effectControlDialog and effectControls, made work with M/V as well as rewritten effect-framework, fixed bug in songEditor-engine
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@664 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-14 23:10:53 +00:00
Tobias Doerffel
add39dffbd copyright-extensions
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@663 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-14 21:16:04 +00:00
Tobias Doerffel
121667b0a0 removed single-source-compile-feature, made FASTCALL-usage optional for the time being
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@662 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-14 20:54:25 +00:00
Tobias Doerffel
1f882f9300 updated German localization
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@661 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-14 07:44:08 +00:00
Tobias Doerffel
fa2ba1911f updated German localization
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@660 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-14 07:43:04 +00:00
Tobias Doerffel
5828c4866f merged in changes in trunk
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@659 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-14 07:09:37 +00:00
Paul Giblock
834b7a8f94 fixed acinclude.m4 for gentoo, and hopefully other configurations
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@658 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-11 06:56:37 +00:00
Tobias Doerffel
8d62b9d303 added missing headers
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@657 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-09 15:16:04 +00:00
Tobias Doerffel
dc5d949af4 rewrote effect-framework, changes in plugin-instantiation
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@656 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-06 12:47:21 +00:00
Tobias Doerffel
54e5828f15 added missing moveUp-call for effect-chain
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@655 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-05 22:56:57 +00:00
Tobias Doerffel
784a7991d6 renamed to effect_rack_view.cpp to match model/view-convention
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@653 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-05 16:56:49 +00:00
Tobias Doerffel
17d96ab45a renamed to effect_rack_view.h to match model/view-convention
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@652 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-05 16:55:19 +00:00
Tobias Doerffel
e9e3e6e8ae renamed to effect_view.cpp to match model/view-convention
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@651 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-05 16:46:00 +00:00
Tobias Doerffel
0511a6e18e renamed rack-plugin-header to match model/view-convention
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@650 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-05 16:38:15 +00:00
Tobias Doerffel
53cf8a675c miscellanous fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@649 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-05 16:12:17 +00:00
Tobias Doerffel
f75b1b70d5 miscellanous fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@648 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-05 16:10:47 +00:00
Tobias Doerffel
7e67f12f16 several fixes regarding effects and their integration into M/V-architecture
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@646 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-05 00:16:49 +00:00
Tobias Doerffel
00d2d4a5d3 fix missing pattern in new projects by also tracking dataUnchanged()-signals of bbComboBoxModel
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@645 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-04 23:29:57 +00:00
Tobias Doerffel
aaa410a70c added dataUnchanged()-signal which should be emitted in case new data was not set for the model because it's been equal to old data
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@644 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-04 23:29:40 +00:00
Tobias Doerffel
eccc259bf2 fixed outstanding issues with LED-checkbox and its model
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@643 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-04 23:11:12 +00:00
Tobias Doerffel
6d25a97b9e removed animation-functionality of groupBox as it's useless, fixed boolModel-initializations - makes filter, arpeggio and chords work again
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@642 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-04 18:12:44 +00:00
Tobias Doerffel
764adeceff ChangeLog formatting
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@641 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-04 11:04:46 +00:00
Danny McRae
53d39ae4b8 changed mallets plugin for M/V-architecture
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@640 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-04 03:05:56 +00:00
Tobias Doerffel
8c1715cc26 made AudioFileProcessor work with M/V-architecture
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@639 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-04 00:18:14 +00:00
Tobias Doerffel
ea467f92b7 M/V-split for instrument-tracks
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@638 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-03 00:57:51 +00:00
Tobias Doerffel
e07c7fccee make dummyEffect really work in case we need it
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@637 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-03 00:55:21 +00:00
Tobias Doerffel
37383c6d27 make dummyEffect really work in case we need it
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@635 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-03 00:50:24 +00:00
Tobias Doerffel
ce128add00 inital M/V-hacks, improve project-unloading speed, fix wrong signal-slot-connection which made gate-parameter of effects not working
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@634 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-02 22:19:58 +00:00
Tobias Doerffel
ddc2572e70 improve project-unloading speed, fix wrong signal-slot-connection which made gate-parameter of effects not working
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@633 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-02 22:18:01 +00:00
Tobias Doerffel
90f10112c0 moved from trunk to branches-directory
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@632 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-02 20:42:41 +00:00
Tobias Doerffel
94699247a8 created M/V-development branch
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms-mv@631 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-01-02 20:40:28 +00:00
Tobias Doerffel
4b10a68b8d on MIDI-import load Patman-plugin instead of TripleOsc and try to load patch according to program-change-events
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@628 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-12-18 09:24:41 +00:00
Tobias Doerffel
26ec0b7020 ChangeLog-formattings
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@624 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-12-14 06:47:59 +00:00
Paul Wayper
9a42d65d0c Changing dbV -> dBV throughout.
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@622 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-12-13 22:03:13 +00:00
Javier Serrano Polo
3b1f2d30b7 removed negative wording in general settings
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@621 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-12-12 21:46:13 +00:00
Javier Serrano Polo
1c8f58e765 optimized piano roll and automation editor paint events
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@620 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-12-11 02:32:19 +00:00
Javier Serrano Polo
d3c33b9bd6 fixed modified project indicator and scrolling
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@619 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-12-07 21:08:01 +00:00
Tobias Doerffel
c9aa1ab4eb fixed loading of base64-encoded data being generated via Qt3-version of QDataStream-class
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@617 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-27 11:42:41 +00:00
Tobias Doerffel
c8d3b94440 formatting-stuff
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@616 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-27 10:42:37 +00:00
Javier Serrano Polo
14253bc705 added modified project indicator, fixed some segfaults
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@615 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-27 05:02:50 +00:00
Paul Giblock
37860380ff new lb302 preset.
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@614 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-27 03:58:32 +00:00
Paul Giblock
0931dfefa5 reverted lb302 while fixing sound output bug.
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@613 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-27 03:57:40 +00:00
Paul Giblock
ceb8af84e9 lb302 artwork
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@612 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-25 01:58:09 +00:00
Paul Giblock
9768dd3700 LB302 reformat, ToolButton appearance
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@611 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-23 18:56:21 +00:00
Tobias Doerffel
341f149183 small GUI-improvements
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@610 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-23 14:16:52 +00:00
Javier Serrano Polo
9b74ff93fb really added LADSPA browser
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@609 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-23 00:08:27 +00:00
Javier Serrano Polo
c13853a9b3 added LADSPA browser, fixed automatable sliders, workspace improvements
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@608 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-23 00:05:25 +00:00
Tobias Doerffel
f9beb66e4e formatting-stuff
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@607 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-22 12:48:49 +00:00
Paul Giblock
993d6ff36b Fixed project load bug
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@606 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-22 12:48:02 +00:00
Tobias Doerffel
9ad71a975e various GUI-fixes and other stuff
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@605 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-21 21:41:36 +00:00
Javier Serrano Polo
f8c17137ad DrumSynth relicense, MDI fixes, QPushButton inheritance, LiveTool fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@604 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-20 20:29:36 +00:00
Paul Giblock
b61a93c5d3 Inverted master sliders, updated previous commit
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@603 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-20 05:54:30 +00:00
Paul Giblock
1ca8cf11ee Improved QMdiArea support
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@602 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-20 05:14:44 +00:00
Paul Giblock
bfc11d041a Updated debug printfs to allow project to compile
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@601 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-19 14:40:05 +00:00
Tobias Doerffel
69f8f3502c formatting stuff
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@600 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-19 07:06:46 +00:00
Paul Giblock
1ae296caba Removed old code, update changelog
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@599 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-18 21:13:53 +00:00
Tobias Doerffel
0802a8be09 several small Qt4-fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@598 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-18 16:19:35 +00:00
Paul Giblock
ca18ad46dd QMdiArea, first attempt
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@597 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-18 13:15:13 +00:00
Javier Serrano Polo
45f6e8717e added missing sample
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@596 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-14 22:56:29 +00:00
Javier Serrano Polo
2ee7b1f41a imported DrumSynth, dropped dot drawing and some fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@595 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-14 22:28:36 +00:00
Tobias Doerffel
ccadd159ca added StereoEnhancer-plugin
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@589 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-12 20:57:21 +00:00
Lou Herard
6795bd35de git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@587 0778d3d1-df1d-0410-868b-ea421aaaa00d 2007-11-12 07:18:04 +00:00
Lou Herard
d0e4f9b49d git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@586 0778d3d1-df1d-0410-868b-ea421aaaa00d 2007-11-12 07:17:08 +00:00
Lou Herard
e2d86fc3a6 git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@585 0778d3d1-df1d-0410-868b-ea421aaaa00d 2007-11-12 07:14:47 +00:00
Tobias Doerffel
6442f82a0d several small fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@583 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-12 00:04:07 +00:00
Tobias Doerffel
20b0fa2ed1 several small fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@582 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-12 00:02:52 +00:00
Javier Serrano Polo
87612a2d13 removed specialBgHandlingWidget, style sheet, some cleaning up
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@579 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-10 21:11:32 +00:00
Tobias Doerffel
4f057a7068 added preset
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@577 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-10 17:28:41 +00:00
Javier Serrano Polo
8f5701c71e improved performance
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@576 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-05 23:41:21 +00:00
Javier Serrano Polo
3dc8e5b542 added initial style sheet
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@575 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-03 14:43:14 +00:00
Javier Serrano Polo
f01af6740e singerbot proxy, fixed recently opened files, style sheet support
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@574 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-03 14:41:58 +00:00
Tobias Doerffel
175c123ce0 fixed crash in case of framesLeft() being less or equal zero while instrument::playNote is being called
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@573 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-10-30 17:57:41 +00:00
Javier Serrano Polo
97833673b3 added missing macro folder
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@569 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-10-04 21:50:07 +00:00
Javier Serrano Polo
f829bacee8 amd64 support, extra plugins support, some fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@568 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-10-04 17:33:42 +00:00
Tobias Doerffel
b8df7b4b8d fixed potential segfault and small GUI-improvement
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@567 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-09-25 00:07:34 +00:00
Tobias Doerffel
a53a1e3843 replaced Q3ListBox with QListWidget and made layouting-stuff ofplugin-description-widget working properly
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@565 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-09-15 23:13:36 +00:00
Tobias Doerffel
a0d23054ee moved all LADSPA-base-code into LMMS-core and improved Qt4-port of project-notes-window
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@564 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-09-03 21:56:45 +00:00
Tobias Doerffel
b61de8a930 moved all LADSPA-base-code into LMMS-core and improved Qt4-port of project-notes-window
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@563 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-09-03 21:22:24 +00:00
Tobias Doerffel
aa22ea383e moved LADSPA-base-code from separate library into LMMS-core
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@562 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-09-03 20:08:10 +00:00
Tobias Doerffel
78734d2ba3 moved LADSPA-base-code from separate library into LMMS-core
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@561 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-09-03 20:06:50 +00:00
Tobias Doerffel
385580448b moved LADSPA-base-code from separate library into LMMS-core
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@560 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-09-03 20:05:20 +00:00
Tobias Doerffel
c1caf56dd4 moved LADSPA-base-code from separate library into LMMS-core
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@559 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-09-03 20:04:18 +00:00
Tobias Doerffel
5957cfd6c1 moved LADSPA-base-code from separate library into LMMS-core
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@558 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-09-03 20:03:17 +00:00
Tobias Doerffel
d60bff7898 moved LADSPA-base-code from separate library into LMMS-core
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@557 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-09-03 20:02:11 +00:00
Tobias Doerffel
b571ffb730 moved LADSPA-base-code from separate library into LMMS-core
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@556 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-09-03 19:57:28 +00:00
Tobias Doerffel
a50ec65a32 moved LADSPA-base-code from separate library into LMMS-core
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@555 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-09-03 19:55:56 +00:00
Tobias Doerffel
7d8dd8d90e moved LADSPA-base-code from separate library into LMMS-core
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@554 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-09-03 19:54:53 +00:00
Tobias Doerffel
3731f9ce5d moved LADSPA-base-code from separate library into LMMS-core
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@553 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-09-03 19:53:17 +00:00
Tobias Doerffel
3208b6982e moved LADSPA-base-code from separate library into LMMS-core
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@552 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-09-03 19:51:22 +00:00
Tobias Doerffel
a26f47a84c moved LADSPA-base-code from separate library into LMMS-core
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@551 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-09-03 19:49:48 +00:00
Tobias Doerffel
437c15c643 more Qt4 changes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@548 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-08-27 18:25:01 +00:00
Tobias Doerffel
e24f094c62 dropped Qt3-support and improved Qt4-support
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@547 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-08-26 19:02:51 +00:00
Tobias Doerffel
5ae2896e05 bumped to 0.4.x development series
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@546 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-08-23 21:41:29 +00:00
5095 changed files with 732973 additions and 210735 deletions

2
.gitattributes vendored Normal file
View File

@@ -0,0 +1,2 @@
.gitattributes export-ignore
.gitignore export-ignore

10
.gitignore vendored Normal file
View File

@@ -0,0 +1,10 @@
/build
/target
.*.sw?
*~
/CMakeLists.txt.user
/plugins/zynaddsubfx/zynaddsubfx/ExternalPrograms/Controller/Makefile
/plugins/zynaddsubfx/zynaddsubfx/ExternalPrograms/Spliter/Makefile
/plugins/zynaddsubfx/zynaddsubfx/doc/Makefile
/plugins/zynaddsubfx/zynaddsubfx/doc/gen/Makefile
/data/locale/*.qm

27
.mailmap Normal file
View File

@@ -0,0 +1,27 @@
Alexandre Almeida <wilsalx@gmail.com> <meta.lx@hotmail.com>
Tobias Doerffel <tobias.doerffel@gmail.com>
Dave French <dave.french3@googlemail.com>
Paul Giblock <drfaygo@gmail.com> <pgib@users.sf.net>
Paul Giblock <drfaygo@gmail.com> <p@pgiblock.net>
Andrew Kelley <superjoe30@gmail.com> <andrew.r.kelley@gmail.com>
Andrew Kelley <superjoe30@gmail.com> <andy@debian.superjoesoftware>
Janne Sinisalo <janne.m.sinisalo@gmail.com> <janne@janne-desktop.(none)>
Raine M. Ekman <raine@iki.fi> <raine@raine.(none)>
Raine M. Ekman <raine@iki.fi> <raine@raine.damex.fi>
Lukas W <lukaswhl@gmail.com> <lukaswhl@googlemail.com>
Vesa <contact.diizy@nbl.fi> <vesa@isokone.(none)>
Vesa <contact.diizy@nbl.fi> <diizy@users.noreply.github.com>
Tres Finocchiaro <tres.finocchiaro@gmail.com>
Tres Finocchiaro <tres.finocchiaro@gmail.com> <tres@ubuntu-1204.(none)>
Tres Finocchiaro <tres.finocchiaro@gmail.com> <ubuntu@ubuntu-1204.(none)>
Tres Finocchiaro <tres.finocchiaro@gmail.com> <tresf@github.com>
Rüdiger Ranft <rudi@qzzq.de> <_rdi_@web.de>
Spekular <Spekularr@gmail.com> <Spekular@users.noreply.github.com>
unfa <unfa00@gmail.com> <unfa@unfa.(none)>
mikobuntu <chrissy.mc.1@hotmail.co.uk> <mikobuntu@mikobuntu-Aspire-5332.(none)>
Jonathan Aquilina <eagles051387@gmail.com>
midi-pascal <midi-pascal@videotron.ca>
midi-pascal <midi-pascal@videotron.ca> <pascal@TDE.(none)>
Thomas Clark <the.thomas.j.clark@gmail.com>
Thomas Clark <the.thomas.j.clark@gmail.com> <tjclark@wpi.edu>
anonymous <support@lmms.io> Locale updater <>

29
.travis.yml Normal file
View File

@@ -0,0 +1,29 @@
language: cpp
compiler: gcc
matrix:
include:
- env: TARGET_OS=win32
- env: TARGET_OS=win64
- env: QT5=True
- os: osx
before_install:
- sh ${TRAVIS_BUILD_DIR}/.travis/${TRAVIS_OS_NAME}.${TARGET_OS}.before_install.sh
install:
- sh ${TRAVIS_BUILD_DIR}/.travis/${TRAVIS_OS_NAME}.${TARGET_OS}.install.sh
before_script:
- mkdir build && cd build
script:
- sh ${TRAVIS_BUILD_DIR}/.travis/${TRAVIS_OS_NAME}.${TARGET_OS}.script.sh
- make -j4
- if [[ $TARGET_OS != win* ]]; then make tests && ./tests/tests; fi;
before_deploy: make package
deploy:
provider: releases
api_key:
secure: d4a+x4Gugpss7JK2DcHjyBZDmEFFh4iVfKDfITSD50T6Mc6At4LMgojvEu+6qT6IyOY2vm3UVT6fhyeuWDTRDwW9tfFlaHVA0h8aTRD+eAXOA7pQ8rEMwQO3+WCKuKTfEqUkpL4wxhww8dpkv54tqeIs0S4TBqz9tk8UhzU7XbE=
file: lmms-${TRAVIS_TAG:1}-$TARGET_OS.exe
on:
tags: true
all_branches: true
condition: "$TARGET_OS != linux"
repo: LMMS/lmms

View File

@@ -0,0 +1,7 @@
sudo add-apt-repository ppa:kalakris/cmake -y;
sudo add-apt-repository ppa:andrewrk/libgroove -y;
if [ $QT5 ]
then
sudo add-apt-repository ppa:ubuntu-sdk-team/ppa -y
fi
sudo apt-get update -qq

13
.travis/linux..install.sh Normal file
View File

@@ -0,0 +1,13 @@
PACKAGES="cmake libsndfile-dev fftw3-dev libvorbis-dev libogg-dev
libasound2-dev libjack-dev libsdl-dev libsamplerate0-dev libstk0-dev
libfluidsynth-dev portaudio19-dev wine-dev g++-multilib libfltk1.3-dev
libgig-dev libsoundio-dev"
if [ $QT5 ]
then
PACKAGES="$PACKAGES qtbase5-dev qttools5-dev-tools qttools5-dev"
else
PACKAGES="$PACKAGES libqt4-dev"
fi
sudo apt-get install -y $PACKAGES

1
.travis/linux..script.sh Normal file
View File

@@ -0,0 +1 @@
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUSE_WERROR=ON -DWANT_QT5=$QT5 ..

View File

@@ -0,0 +1,2 @@
sudo add-apt-repository ppa:tobydox/mingw-x-precise -y
sudo apt-get update -qq

View File

@@ -0,0 +1,7 @@
sudo apt-get install -y nsis cloog-isl libmpc2 mingw32
sudo apt-get install -y mingw32-x-qt mingw32-x-sdl mingw32-x-libvorbis \
mingw32-x-fluidsynth mingw32-x-stk mingw32-x-glib2 mingw32-x-portaudio \
mingw32-x-libsndfile mingw32-x-fftw mingw32-x-flac mingw32-x-fltk \
mingw32-x-libsamplerate mingw32-x-pkgconfig mingw32-x-binutils \
mingw32-x-gcc mingw32-x-runtime mingw32-x-libgig mingw32-x-libsoundio

View File

@@ -0,0 +1,2 @@
export CMAKE_OPTS="-DUSE_WERROR=ON"
../cmake/build_mingw32.sh || ../cmake/build_mingw32.sh

View File

@@ -0,0 +1 @@
sh .travis/linux.win32.before_install.sh

View File

@@ -0,0 +1,7 @@
sh .travis/linux.win32.install.sh
sudo apt-get install -y mingw64-x-qt mingw64-x-sdl mingw64-x-libvorbis \
mingw64-x-fluidsynth mingw64-x-stk mingw64-x-glib2 mingw64-x-portaudio \
mingw64-x-libsndfile mingw64-x-fftw mingw64-x-flac mingw64-x-fltk \
mingw64-x-libsamplerate mingw64-x-pkgconfig mingw64-x-binutils mingw64-x-gcc\
mingw64-x-runtime mingw64-x-libgig mingw64-x-libsoundio

View File

@@ -0,0 +1,2 @@
export CMAKE_OPTS="-DUSE_WERROR=ON"
../cmake/build_mingw64.sh || ../cmake/build_mingw64.sh

View File

@@ -0,0 +1 @@
brew update

1
.travis/osx..install.sh Normal file
View File

@@ -0,0 +1 @@
brew install qt libsndfile fftw libvorbis libogg jack sdl libsamplerate stk fluid-synth portaudio fltk

1
.travis/osx..script.sh Normal file
View File

@@ -0,0 +1 @@
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .. -DUSE_WERROR=OFF

27
AUTHORS
View File

@@ -1,27 +0,0 @@
Tobias Doerffel
<tobydox/at/users/dot/sourceforge/dot/net>
Maintainer, main-development, artwork etc.
Danny McRae
<khjklujn/at/yahoo.com>
development
Javier Serrano Polo
<jasp00/at/terra/dot/es>
development
Zolo
<the-zolo/at/gmx/dot/de>
theme "Blue Scene"
Sebastian Tilsch
<djcompilation/at/gmx/dot/de>
recording of many samples
gabriel
<kryos1/at/shaw/dot/ca>
additional artwork
Andreas Brandmaier
<andy/at/brandmaier/dot/de>
BitInvader plugin

599
CMakeLists.txt Normal file
View File

@@ -0,0 +1,599 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.7)
PROJECT(lmms)
SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" ${CMAKE_MODULE_PATH})
IF(COMMAND CMAKE_POLICY)
CMAKE_POLICY(SET CMP0005 NEW)
CMAKE_POLICY(SET CMP0003 NEW)
IF (CMAKE_MAJOR_VERSION GREATER 2)
CMAKE_POLICY(SET CMP0026 OLD)
ENDIF()
ENDIF(COMMAND CMAKE_POLICY)
INCLUDE(AddFileDependencies)
INCLUDE(CheckIncludeFiles)
INCLUDE(FindPkgConfig)
STRING(TOUPPER "${CMAKE_PROJECT_NAME}" PROJECT_NAME_UCASE)
# Timestamp available since cmake 2.8.11
IF(CMAKE_VERSION VERSION_LESS "2.8.11")
EXECUTE_PROCESS(COMMAND date +%Y OUTPUT_VARIABLE PROJECT_YEAR OUTPUT_STRIP_TRAILING_WHITESPACE)
ELSE()
STRING(TIMESTAMP PROJECT_YEAR "%Y")
ENDIF()
SET(PROJECT_AUTHOR "LMMS Developers")
SET(PROJECT_URL "http://lmms.io")
SET(PROJECT_EMAIL "lmms-devel@lists.sourceforge.net")
SET(PROJECT_DESCRIPTION "${PROJECT_NAME_UCASE} - Free music production software")
SET(PROJECT_COPYRIGHT "2008-${PROJECT_YEAR} ${PROJECT_AUTHOR}")
SET(VERSION_MAJOR "1")
SET(VERSION_MINOR "1")
SET(VERSION_PATCH "90")
#SET(VERSION_SUFFIX "")
SET(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")
IF(VERSION_SUFFIX)
SET(VERSION "${VERSION}-${VERSION_SUFFIX}")
ENDIF(VERSION_SUFFIX)
# Override version information for non-base builds
INCLUDE(VersionInfo)
INCLUDE(DetectMachine)
OPTION(WANT_ALSA "Include ALSA (Advanced Linux Sound Architecture) support" ON)
OPTION(WANT_CALF "Include CALF LADSPA plugins" ON)
OPTION(WANT_CAPS "Include C* Audio Plugin Suite (LADSPA plugins)" ON)
OPTION(WANT_CARLA "Include Carla plugin" ON)
OPTION(WANT_CMT "Include Computer Music Toolkit LADSPA plugins" ON)
OPTION(WANT_JACK "Include JACK (Jack Audio Connection Kit) support" ON)
OPTION(WANT_OGGVORBIS "Include OGG/Vorbis support" ON)
OPTION(WANT_PULSEAUDIO "Include PulseAudio support" ON)
OPTION(WANT_PORTAUDIO "Include PortAudio support" ON)
OPTION(WANT_SOUNDIO "Include libsoundio support" ON)
OPTION(WANT_SDL "Include SDL (Simple DirectMedia Layer) support" ON)
OPTION(WANT_SF2 "Include SoundFont2 player plugin" ON)
OPTION(WANT_GIG "Include GIG player plugin" ON)
OPTION(WANT_STK "Include Stk (Synthesis Toolkit) support" ON)
OPTION(WANT_SWH "Include Steve Harris's LADSPA plugins" ON)
OPTION(WANT_TAP "Include Tom's Audio Processing LADSPA plugins" ON)
OPTION(WANT_VST "Include VST support" ON)
OPTION(WANT_VST_NOWINE "Include partial VST support (without wine)" OFF)
OPTION(WANT_WINMM "Include WinMM MIDI support" OFF)
OPTION(WANT_QT5 "Build with Qt5" OFF)
IF(LMMS_BUILD_APPLE)
SET(WANT_SF2 OFF)
SET(WANT_ALSA OFF)
SET(WANT_PULSEAUDIO OFF)
SET(WANT_VST OFF)
SET(STATUS_ALSA "<not supported on this platform>")
SET(STATUS_PULSEAUDIO "<not supported on this platform>")
SET(STATUS_APPLEMIDI "OK")
ELSE(LMMS_BUILD_APPLE)
SET(STATUS_APPLEMIDI "<not supported on this platform>")
ENDIF(LMMS_BUILD_APPLE)
IF(LMMS_BUILD_WIN32)
SET(WANT_ALSA OFF)
SET(WANT_JACK OFF)
SET(WANT_PULSEAUDIO OFF)
SET(WANT_SYSTEM_SR OFF)
SET(WANT_WINMM ON)
SET(LMMS_HAVE_WINMM TRUE)
SET(STATUS_ALSA "<not supported on this platform>")
SET(STATUS_JACK "<not supported on this platform>")
SET(STATUS_PULSEAUDIO "<not supported on this platform>")
SET(STATUS_WINMM "OK")
SET(STATUS_APPLEMIDI "<not supported on this platform>")
ELSE(LMMS_BUILD_WIN32)
SET(STATUS_WINMM "<not supported on this platform>")
ENDIF(LMMS_BUILD_WIN32)
# TODO: Fix linking issues with msys debug builds
IF(LMMS_BUILD_MSYS AND CMAKE_BUILD_TYPE STREQUAL "Debug")
SET(WANT_GIG OFF)
SET(WANT_STK OFF)
SET(WANT_SWH OFF)
SET(STATUS_GIG "not built as requested")
SET(STATUS_STK "not built as requested")
ENDIF()
CHECK_INCLUDE_FILES(stdint.h LMMS_HAVE_STDINT_H)
CHECK_INCLUDE_FILES(stdlib.h LMMS_HAVE_STDLIB_H)
CHECK_INCLUDE_FILES(pthread.h LMMS_HAVE_PTHREAD_H)
CHECK_INCLUDE_FILES(semaphore.h LMMS_HAVE_SEMAPHORE_H)
CHECK_INCLUDE_FILES(unistd.h LMMS_HAVE_UNISTD_H)
CHECK_INCLUDE_FILES(sys/types.h LMMS_HAVE_SYS_TYPES_H)
CHECK_INCLUDE_FILES(sys/ipc.h LMMS_HAVE_SYS_IPC_H)
CHECK_INCLUDE_FILES(sys/shm.h LMMS_HAVE_SYS_SHM_H)
CHECK_INCLUDE_FILES(sys/time.h LMMS_HAVE_SYS_TIME_H)
CHECK_INCLUDE_FILES(sched.h LMMS_HAVE_SCHED_H)
CHECK_INCLUDE_FILES(sys/soundcard.h LMMS_HAVE_SYS_SOUNDCARD_H)
CHECK_INCLUDE_FILES(soundcard.h LMMS_HAVE_SOUNDCARD_H)
CHECK_INCLUDE_FILES(fcntl.h LMMS_HAVE_FCNTL_H)
CHECK_INCLUDE_FILES(sys/ioctl.h LMMS_HAVE_SYS_IOCTL_H)
CHECK_INCLUDE_FILES(ctype.h LMMS_HAVE_CTYPE_H)
CHECK_INCLUDE_FILES(string.h LMMS_HAVE_STRING_H)
CHECK_INCLUDE_FILES(process.h LMMS_HAVE_PROCESS_H)
CHECK_INCLUDE_FILES(locale.h LMMS_HAVE_LOCALE_H)
LIST(APPEND CMAKE_PREFIX_PATH "${CMAKE_INSTALL_PREFIX}")
IF(WANT_QT5)
SET(QT5 TRUE)
FIND_PACKAGE(Qt5Core REQUIRED)
FIND_PACKAGE(Qt5Gui REQUIRED)
FIND_PACKAGE(Qt5LinguistTools REQUIRED)
FIND_PACKAGE(Qt5Widgets REQUIRED)
FIND_PACKAGE(Qt5Xml REQUIRED)
INCLUDE_DIRECTORIES(
${Qt5Core_INCLUDE_DIRS}
${Qt5Gui_INCLUDE_DIRS}
${Qt5Widgets_INCLUDE_DIRS}
${Qt5Xml_INCLUDE_DIRS}
)
SET(QT_LIBRARIES
Qt5::Core
Qt5::Gui
Qt5::Widgets
Qt5::Xml
)
FIND_PACKAGE(Qt5Test)
SET(QT_QTTEST_LIBRARY Qt5::Test)
ELSE()
SET(QT5 FALSE)
# check for Qt4
SET(QT_MIN_VERSION "4.6.0" COMPONENTS QtCore QtGui QtXml)
FIND_PACKAGE(Qt4 REQUIRED)
SET(QT_USE_QTXML 1)
IF(WIN32)
SET(QT_TRANSLATIONS_DIR "${MINGW_PREFIX}/share/qt4/translations/")
ENDIF(WIN32)
IF(EXISTS "${QT_TRANSLATIONS_DIR}")
MESSAGE("-- Found Qt translations in ${QT_TRANSLATIONS_DIR}")
ADD_DEFINITIONS(-D'QT_TRANSLATIONS_DIR="${QT_TRANSLATIONS_DIR}"')
ENDIF()
IF(NOT WIN32)
STRING(REPLACE "-DQT_DLL" "" QT_DEFINITIONS "${QT_DEFINITIONS}")
ENDIF()
INCLUDE("${QT_USE_FILE}")
ENDIF()
# check for libsndfile
PKG_CHECK_MODULES(SNDFILE REQUIRED sndfile>=1.0.11)
IF(NOT SNDFILE_FOUND)
MESSAGE(FATAL_ERROR "LMMS requires libsndfile1 and libsndfile1-dev >= 1.0.11 - please install, remove CMakeCache.txt and try again!")
ENDIF(NOT SNDFILE_FOUND)
IF(WANT_CALF)
SET(LMMS_HAVE_CALF TRUE)
SET(STATUS_CALF "OK")
ELSE(WANT_CALF)
SET(STATUS_CALF "not built as requested")
ENDIF(WANT_CALF)
IF(WANT_CAPS)
SET(LMMS_HAVE_CAPS TRUE)
SET(STATUS_CAPS "OK")
ELSE(WANT_CAPS)
SET(STATUS_CAPS "not built as requested")
ENDIF(WANT_CAPS)
IF(WANT_CMT)
SET(LMMS_HAVE_CMT TRUE)
SET(STATUS_CMT "OK")
ELSE(WANT_CMT)
SET(STATUS_CMT "not built as requested")
ENDIF(WANT_CMT)
IF(WANT_SWH)
SET(LMMS_HAVE_SWH TRUE)
SET(STATUS_SWH "OK")
ELSE(WANT_SWH)
SET(STATUS_SWH "not built as requested")
ENDIF(WANT_SWH)
IF(WANT_TAP)
SET(LMMS_HAVE_TAP TRUE)
SET(STATUS_TAP "OK")
ELSE(WANT_TAP)
SET(STATUS_TAP "not built as requested")
ENDIF(WANT_TAP)
# check for CARLA
IF(WANT_CARLA)
PKG_CHECK_MODULES(CARLA carla-standalone>=1.9.5)
IF(CARLA_FOUND)
SET(LMMS_HAVE_CARLA TRUE)
SET(STATUS_CARLA "OK")
ELSE(CARLA_FOUND)
SET(STATUS_CARLA "not found, please install the latest carla")
ENDIF(CARLA_FOUND)
ENDIF(WANT_CARLA)
# check for SDL
IF(WANT_SDL)
SET(SDL_BUILDING_LIBRARY TRUE)
FIND_PACKAGE(SDL)
IF(SDL_FOUND)
SET(LMMS_HAVE_SDL TRUE)
SET(STATUS_SDL "OK")
ELSE(SDL_FOUND)
SET(STATUS_SDL "not found, please install libsdl1.2-dev (or similar) "
"if you require SDL support")
ENDIF(SDL_FOUND)
ENDIF(WANT_SDL)
IF(NOT LMMS_HAVE_SDL)
SET(SDL_INCLUDE_DIR "")
ELSE(NOT LMMS_HAVE_SDL)
IF(NOT SDL_INCLUDE_DIR)
SET(SDL_INCLUDE_DIR "${CMAKE_FIND_ROOT_PATH}/include")
ENDIF(NOT SDL_INCLUDE_DIR)
ENDIF(NOT LMMS_HAVE_SDL)
# check for Stk
IF(WANT_STK)
FIND_PACKAGE(STK)
IF(STK_FOUND)
SET(LMMS_HAVE_STK TRUE)
SET(STATUS_STK "OK")
ELSE(STK_FOUND)
SET(STK_INCLUDE_DIR "")
SET(STATUS_STK "not found, please install libstk0-dev (or similar) "
"if you require the Mallets instrument")
ENDIF(STK_FOUND)
ENDIF(WANT_STK)
# check for PortAudio
IF(WANT_PORTAUDIO)
FIND_PACKAGE(Portaudio)
IF(PORTAUDIO_FOUND)
SET(LMMS_HAVE_PORTAUDIO TRUE)
SET(STATUS_PORTAUDIO "OK")
ELSE(PORTAUDIO_FOUND)
SET(STATUS_PORTAUDIO "not found, please install portaudio19-dev (or similar, version >= 1.9) "
"if you require PortAudio support")
ENDIF(PORTAUDIO_FOUND)
ENDIF(WANT_PORTAUDIO)
# check for libsoundio
IF(WANT_SOUNDIO)
FIND_PACKAGE(SoundIo)
IF(SOUNDIO_FOUND)
SET(LMMS_HAVE_SOUNDIO TRUE)
SET(STATUS_SOUNDIO "OK")
INCLUDE_DIRECTORIES("${SOUNDIO_INCLUDE_DIR}")
ELSE(SOUNDIO_FOUND)
SET(SOUNDIO_INCLUDE_DIR "")
SET(STATUS_SOUNDIO "not found, please install libsoundio if you require libsoundio support")
SET(SOUNDIO_LIBRARY "")
ENDIF(SOUNDIO_FOUND)
ENDIF(WANT_SOUNDIO)
# check for PulseAudio
IF(WANT_PULSEAUDIO)
FIND_PACKAGE(PulseAudio)
IF(PULSEAUDIO_FOUND)
SET(LMMS_HAVE_PULSEAUDIO TRUE)
SET(STATUS_PULSEAUDIO "OK")
ELSE(PULSEAUDIO_FOUND)
SET(STATUS_PULSEAUDIO "not found, please install libpulse-dev (or similar) "
"if you require PulseAudio support")
ENDIF(PULSEAUDIO_FOUND)
ENDIF(WANT_PULSEAUDIO)
IF(NOT LMMS_HAVE_PULSEAUDIO)
SET(PULSEAUDIO_INCLUDE_DIR "")
SET(PULSEAUDIO_LIBRARIES "")
ENDIF(NOT LMMS_HAVE_PULSEAUDIO)
# check for OGG/Vorbis-libraries
IF(WANT_OGGVORBIS)
FIND_PACKAGE(OggVorbis)
IF(OGGVORBIS_FOUND)
SET(LMMS_HAVE_OGGVORBIS TRUE)
SET(STATUS_OGGVORBIS "OK")
ELSE(OGGVORBIS_FOUND)
SET(STATUS_OGGVORBIS "not found, libogg-dev and libvorbis-dev (or similar) "
"is highly recommended")
ENDIF(OGGVORBIS_FOUND)
ENDIF(WANT_OGGVORBIS)
# check whether to enable OSS-support
IF(LMMS_HAVE_SOUNDCARD_H OR LMMS_HAVE_SYS_SOUNDCARD_H)
SET(LMMS_HAVE_OSS TRUE)
SET(STATUS_OSS "OK")
ELSE(LMMS_HAVE_SOUNDCARD_H OR LMMS_HAVE_SYS_SOUNDCARD_H)
SET(STATUS_OSS "<not found or not supported on this platform>")
ENDIF(LMMS_HAVE_SOUNDCARD_H OR LMMS_HAVE_SYS_SOUNDCARD_H)
# check for ALSA
IF(WANT_ALSA)
FIND_PACKAGE(Alsa)
IF(ALSA_FOUND)
SET(LMMS_HAVE_ALSA TRUE)
SET(STATUS_ALSA "OK")
ELSE(ALSA_FOUND)
SET(STATUS_ALSA "not found, please install libasound2-dev (or similar) "
"if you require ALSA support")
ENDIF(ALSA_FOUND)
ENDIF(WANT_ALSA)
IF(NOT LMMS_HAVE_ALSA)
SET(ASOUND_LIBRARY "")
ENDIF(NOT LMMS_HAVE_ALSA)
# check for JACK
IF(WANT_JACK)
PKG_CHECK_MODULES(JACK jack>=0.77)
IF(JACK_FOUND)
SET(LMMS_HAVE_JACK TRUE)
SET(STATUS_JACK "OK")
ELSE(JACK_FOUND)
SET(STATUS_JACK "not found, please install libjack0.100.0-dev (or similar) "
"if you require JACK support")
ENDIF(JACK_FOUND)
ENDIF(WANT_JACK)
# check for FFTW3F-library
PKG_CHECK_MODULES(FFTW3F REQUIRED fftw3f>=3.0.0)
# check for Fluidsynth
IF(WANT_SF2)
PKG_CHECK_MODULES(FLUIDSYNTH fluidsynth>=1.0.7)
IF(FLUIDSYNTH_FOUND)
SET(LMMS_HAVE_FLUIDSYNTH TRUE)
SET(STATUS_FLUIDSYNTH "OK")
ELSE(FLUIDSYNTH_FOUND)
SET(STATUS_FLUIDSYNTH "not found, libfluidsynth-dev (or similar)"
"is highly recommended")
ENDIF(FLUIDSYNTH_FOUND)
ENDIF(WANT_SF2)
# check for libgig
If(WANT_GIG)
PKG_CHECK_MODULES(GIG gig)
IF(GIG_FOUND)
SET(LMMS_HAVE_GIG TRUE)
SET(STATUS_GIG "OK")
ELSE(GIG_FOUND)
SET(STATUS_GIG "not found, libgig needed for decoding .gig files")
ENDIF(GIG_FOUND)
ENDIF(WANT_GIG)
# check for pthreads
IF(LMMS_BUILD_LINUX OR LMMS_BUILD_APPLE)
FIND_PACKAGE(Threads)
ENDIF(LMMS_BUILD_LINUX OR LMMS_BUILD_APPLE)
# check for WINE
IF(WANT_VST)
FIND_PACKAGE(Wine)
IF(WINE_FOUND)
SET(LMMS_SUPPORT_VST TRUE)
SET(STATUS_VST "OK")
ELSE(WINE_FOUND)
SET(STATUS_VST "not found, please install (lib)wine-dev (or similar) - 64 bit systems additionally need gcc-multilib and g++-multilib")
ENDIF(WINE_FOUND)
ENDIF(WANT_VST)
IF(LMMS_BUILD_WIN32)
SET(LMMS_SUPPORT_VST TRUE)
SET(STATUS_VST "OK")
ENDIF(LMMS_BUILD_WIN32)
# check for libsamplerate
PKG_CHECK_MODULES(SAMPLERATE REQUIRED samplerate>=0.1.8)
# set compiler flags
SET(WERROR_FLAGS "-Wall -Werror=unused-function -Wno-sign-compare -Wno-strict-overflow")
OPTION(USE_WERROR "Add -werror to the build flags. Stops the build on warnings" OFF)
IF(${USE_WERROR})
SET(WERROR_FLAGS "${WERROR_FLAGS} -Werror")
ENDIF()
# Due to a regression in gcc-4.8.X, we need to disable array-bounds check
IF (CMAKE_COMPILER_IS_GNUCXX AND ((CMAKE_CXX_COMPILER_VERSION VERSION_EQUAL "4.8.0") OR (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "4.8.0") OR LMMS_BUILD_WIN32))
SET(WERROR_FLAGS "${WERROR_FLAGS} -Wno-array-bounds")
ENDIF()
IF(NOT CMAKE_BUILD_TYPE)
message(STATUS "Setting build type to 'Release' as none was specified.")
set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build." FORCE)
# Set the possible values of build type for cmake-gui
SET_PROPERTY(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release"
"MinSizeRel" "RelWithDebInfo")
ENDIF()
SET(CMAKE_C_FLAGS "${WERROR_FLAGS} ${CMAKE_C_FLAGS}")
SET(CMAKE_CXX_FLAGS "-fno-exceptions ${WERROR_FLAGS} ${CMAKE_CXX_FLAGS}")
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DLMMS_DEBUG")
SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DLMMS_DEBUG")
# people simply updating git will still have this and mess up build with it
FILE(REMOVE include/lmmsconfig.h)
FILE(GLOB LMMS_INCLUDES "${CMAKE_SOURCE_DIR}/include/*.h")
# Get list of all committers from git history, ordered by number of commits
FIND_PACKAGE(Git)
IF(GIT_FOUND)
SET(CONTRIBUTORS "${CMAKE_BINARY_DIR}/CONTRIBUTORS")
EXECUTE_PROCESS(
COMMAND "${GIT_EXECUTABLE}" shortlog -sne
COMMAND cut -c8-
OUTPUT_FILE "${CONTRIBUTORS}"
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
TIMEOUT 1)
ENDIF(GIT_FOUND)
# embedded resources stuff
IF(WIN32 OR WIN64)
# compile buildtools native
SET(BIN2RES_CPP "${CMAKE_SOURCE_DIR}/buildtools/bin2res.cpp")
SET(BIN2RES "${CMAKE_BINARY_DIR}/bin2res")
ADD_CUSTOM_TARGET(bin2res COMMAND g++ "\"${BIN2RES_CPP}\"" -o "\"${BIN2RES}\"" DEPENDS "${BIN2RES_CPP}")
ELSE(WIN32 OR WIN64)
ADD_EXECUTABLE(bin2res buildtools/bin2res.cpp)
GET_TARGET_PROPERTY(BIN2RES bin2res LOCATION)
ENDIF(WIN32 OR WIN64)
# we somehow have to make LMMS-binary depend on MOC-files
ADD_FILE_DEPENDENCIES("${CMAKE_BINARY_DIR}/lmmsconfig.h")
IF(WIN32)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-attributes")
ELSE(WIN32)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -DPIC")
ENDIF(WIN32)
# make sub-directories
ADD_SUBDIRECTORY(cmake)
ADD_SUBDIRECTORY(src)
ADD_SUBDIRECTORY(plugins)
ADD_SUBDIRECTORY(tests)
ADD_SUBDIRECTORY(data)
ADD_SUBDIRECTORY(doc)
# post-install tasks
ADD_SUBDIRECTORY(cmake/postinstall)
ADD_CUSTOM_COMMAND(OUTPUT "${CMAKE_BINARY_DIR}/lmms.1.gz"
COMMAND gzip -c "\"${CMAKE_SOURCE_DIR}/doc/lmms.1\"" > "\"${CMAKE_BINARY_DIR}/lmms.1.gz\""
DEPENDS "${CMAKE_SOURCE_DIR}/doc/lmms.1"
COMMENT "Generating lmms.1.gz")
ADD_CUSTOM_TARGET(manpage ALL
DEPENDS "${CMAKE_BINARY_DIR}/lmms.1.gz")
# install headers
IF(LMMS_BUILD_LINUX)
INSTALL(FILES ${LMMS_INCLUDES}
"${CMAKE_BINARY_DIR}/lmmsconfig.h"
"${CMAKE_BINARY_DIR}/lmmsversion.h"
"${CMAKE_SOURCE_DIR}/src/gui/embed.cpp"
DESTINATION "${CMAKE_INSTALL_PREFIX}/include/lmms/")
ENDIF(LMMS_BUILD_LINUX)
# package ZynAddSubFX into win32 build
IF(LMMS_BUILD_WIN32)
IF(EXISTS "${CMAKE_SOURCE_DIR}/extras")
ADD_SUBDIRECTORY("${CMAKE_SOURCE_DIR}/extras/data/presets")
FILE(GLOB ZASF_BINARIES
"${CMAKE_SOURCE_DIR}/extras/plugins/zynaddsubfx/zynaddsubfx.dll"
"${CMAKE_SOURCE_DIR}/extras/plugins/zynaddsubfx/remote_zynaddsubfx.exe")
INSTALL(FILES "${ZASF_BINARIES}" DESTINATION "${PLUGIN_DIR}")
ENDIF(EXISTS "${CMAKE_SOURCE_DIR}/extras")
ENDIF(LMMS_BUILD_WIN32)
#
# add distclean-target
#
ADD_CUSTOM_TARGET(distclean
COMMAND make clean
COMMAND rm -rf `find -name cmake_install.cmake` `find -name Makefile` `find -type d -name CMakeFiles` CMakeCache.txt lmmsconfig.h lmms.1.gz)
#
# add tarball-target
#
SET(TMP "lmms-${VERSION}")
ADD_CUSTOM_TARGET(dist
COMMAND make clean
COMMAND rm -rf "${TMP}"
COMMAND mkdir -p "${TMP}"
COMMAND cp CMakeLists.txt LICENSE.txt INSTALL.txt README.md "${TMP}"
COMMAND cp -r buildtools cmake data doc include plugins src "${TMP}"
COMMAND rm -rf `find "${TMP}" -name cmake_install.cmake` `find "${TMP}" -name Makefile` `find "${TMP}" -type d -name CMakeFiles` "${TMP}/CMakeCache.txt"
COMMAND tar cjf lmms-${VERSION}-src.tar.bz2 "${TMP}"
COMMAND rm -rf "${TMP}")
#
# display configuration information
#
MESSAGE("\n"
"Installation Summary\n"
"--------------------\n"
"* Install Directory : ${CMAKE_INSTALL_PREFIX}\n"
)
MESSAGE(
"Supported audio interfaces\n"
"--------------------------\n"
"* ALSA : ${STATUS_ALSA}\n"
"* JACK : ${STATUS_JACK}\n"
"* OSS : ${STATUS_OSS}\n"
"* PortAudio : ${STATUS_PORTAUDIO}\n"
"* libsoundio : ${STATUS_SOUNDIO}\n"
"* PulseAudio : ${STATUS_PULSEAUDIO}\n"
"* SDL : ${STATUS_SDL}\n"
)
MESSAGE(
"Supported MIDI interfaces\n"
"-------------------------\n"
"* ALSA : ${STATUS_ALSA}\n"
"* OSS : ${STATUS_OSS}\n"
"* WinMM : ${STATUS_WINMM}\n"
"* AppleMidi : ${STATUS_APPLEMIDI}\n"
)
MESSAGE(
"Supported file formats for project export\n"
"-----------------------------------------\n"
"* WAVE : OK\n"
"* OGG/VORBIS : ${STATUS_OGGVORBIS}\n"
)
MESSAGE(
"Optional plugins\n"
"----------------\n"
"* Carla Patchbay & Rack : ${STATUS_CARLA}\n"
"* SoundFont2 player : ${STATUS_FLUIDSYNTH}\n"
"* Stk Mallets : ${STATUS_STK}\n"
"* VST-instrument hoster : ${STATUS_VST}\n"
"* VST-effect hoster : ${STATUS_VST}\n"
"* CALF LADSPA plugins : ${STATUS_CALF}\n"
"* CAPS LADSPA plugins : ${STATUS_CAPS}\n"
"* CMT LADSPA plugins : ${STATUS_CMT}\n"
"* TAP LADSPA plugins : ${STATUS_TAP}\n"
"* SWH LADSPA plugins : ${STATUS_SWH}\n"
"* GIG player : ${STATUS_GIG}\n"
)
MESSAGE(
"\n"
"-----------------------------------------------------------------\n"
"IMPORTANT:\n"
"after installing missing packages, remove CMakeCache.txt before\n"
"running cmake again!\n"
"-----------------------------------------------------------------\n"
"\n\n")
INCLUDE(InstallRequiredSystemLibraries)

7490
ChangeLog

File diff suppressed because it is too large Load Diff

192
INSTALL
View File

@@ -1,192 +0,0 @@
Quick Instructions
==================
Go to the directory containing the package's source code and type:
autoreconf -is
./configure
make install
lmms
Basic Installation
==================
These are generic installation instructions.
The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
those values to create a `Makefile' in each directory of the package.
It may also create one or more `.h' files containing system-dependent
definitions. Finally, it creates a shell script `config.status' that
you can run in the future to recreate the current configuration, a file
`config.cache' that saves the results of its tests to speed up
reconfiguring, and a file `config.log' containing compiler output
(useful mainly for debugging `configure').
If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
diffs or instructions to the address given in the `README' so they can
be considered for the next release. If at some point `config.cache'
contains results you don't want to keep, you may remove or edit it.
The file `configure.in' is used to create `configure' by a program
called `autoconf'. You only need `configure.in' if you want to change
it or regenerate `configure' using a newer version of `autoconf'.
The simplest way to compile this package is:
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.
Running `configure' takes awhile. While running, it prints some
messages telling which features it is checking for.
2. Type `make' to compile the package.
3. Optionally, type `make check' to run any self-tests that come with
the package.
4. Type `make install' to install the programs and any data files and
documentation.
5. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'. There is
also a `make maintainer-clean' target, but that is intended mainly
for the package's developers. If you use it, you may have to get
all sorts of other programs in order to regenerate files that came
with the distribution.
Compilers and Options
=====================
Some systems require unusual options for compilation or linking that
the `configure' script does not know about. You can give `configure'
initial values for variables by setting them in the environment. Using
a Bourne-compatible shell, you can do that on the command line like
this:
CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
Or on systems that have the `env' program, you can do it like this:
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
Compiling For Multiple Architectures
====================================
You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
own directory. To do this, you must use a version of `make' that
supports the `VPATH' variable, such as GNU `make'. `cd' to the
directory where you want the object files and executables to go and run
the `configure' script. `configure' automatically checks for the
source code in the directory that `configure' is in and in `..'.
If you have to use a `make' that does not supports the `VPATH'
variable, you have to compile the package for one architecture at a time
in the source code directory. After you have installed the package for
one architecture, use `make distclean' before reconfiguring for another
architecture.
Installation Names
==================
By default, `make install' will install the package's files in
`/usr/local/bin', `/usr/local/man', etc. You can specify an
installation prefix other than `/usr/local' by giving `configure' the
option `--prefix=PATH'.
You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
give `configure' the option `--exec-prefix=PATH', the package will use
PATH as the prefix for installing programs and libraries.
Documentation and other data files will still use the regular prefix.
In addition, if you use an unusual directory layout you can give
options like `--bindir=PATH' to specify different values for particular
kinds of files. Run `configure --help' for a list of the directories
you can set and what kinds of files go in them.
If the package supports it, you can cause programs to be installed
with an extra prefix or suffix on their names by giving `configure' the
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
Optional Features
=================
Some packages pay attention to `--enable-FEATURE' options to
`configure', where FEATURE indicates an optional part of the package.
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
is something like `gnu-as' or `x' (for the X Window System). The
`README' should mention any `--enable-' and `--with-' options that the
package recognizes.
For packages that use the X Window System, `configure' can usually
find the X include and library files automatically, but if it doesn't,
you can use the `configure' options `--x-includes=DIR' and
`--x-libraries=DIR' to specify their locations.
Specifying the System Type
==========================
There may be some features `configure' can not figure out
automatically, but needs to determine by the type of host the package
will run on. Usually `configure' can figure that out, but if it prints
a message saying it can not guess the host type, give it the
`--host=TYPE' option. TYPE can either be a short name for the system
type, such as `sun4', or a canonical name with three fields:
CPU-COMPANY-SYSTEM
See the file `config.sub' for the possible values of each field. If
`config.sub' isn't included in this package, then this package doesn't
need to know the host type.
If you are building compiler tools for cross-compiling, you can also
use the `--target=TYPE' option to select the type of system they will
produce code for and the `--build=TYPE' option to select the type of
system on which you are compiling the package.
Sharing Defaults
================
If you want to set default values for `configure' scripts to share,
you can create a site shell script called `config.site' that gives
default values for variables like `CC', `cache_file', and `prefix'.
`configure' looks for `PREFIX/share/config.site' if it exists, then
`PREFIX/etc/config.site' if it exists. Or, you can set the
`CONFIG_SITE' environment variable to the location of the site script.
A warning: not all `configure' scripts look for a site script.
Operation Controls
==================
`configure' recognizes the following options to control how it
operates.
`--cache-file=FILE'
Use and save the results of the tests in FILE instead of
`./config.cache'. Set FILE to `/dev/null' to disable caching, for
debugging `configure'.
`--help'
Print a summary of the options to `configure', and exit.
`--quiet'
`--silent'
`-q'
Do not print messages saying which checks are being made. To
suppress all normal output, redirect it to `/dev/null' (any error
messages will still be shown).
`--srcdir=DIR'
Look for the package's source code in directory DIR. Usually
`configure' can determine that directory automatically.
`--version'
Print the version of Autoconf used to generate the `configure'
script, and exit.
`configure' also accepts some other, not widely useful, options.

48
INSTALL.txt Normal file
View File

@@ -0,0 +1,48 @@
Building LMMS got quite simple since 0.4.0 as everything is managed
by cmake now. Therefore make sure you have CMake (>= 2.6.0 recommended) and
then run
mkdir build
cd build
cmake ../
make
sudo make install
If your system does not have "sudo", become root with your preferred mechanism
and run the "make install" command.
With the above commands an out-of-tree build is performed. You can also run
"cmake ." directly in the root of source tree although this is not recommended.
When performing an out-of-tree build after there's already an in-tree build,
make sure to run "make distclean" before running cmake inside build-directory.
If you want to use custom compiler flags simply set the environment variables
CFLAGS and CXXFLAGS.
After running cmake (the 3rd command above) you can see a summary of things
that are going to be built into LMMS or built as plugins. Install the
according libraries and development files if a certain feature is not enabled.
Then remove CMakeCache.txt and run cmake again.
If you want to supply an install prefix to cmake, add the flag:
-DCMAKE_INSTALL_PREFIX=<prefix>
Where <prefix> can be /usr, /usr/local, /opt, etc. The default is /usr/local.
Building with QT5
First of all please note that CMake >= 2.8.11 is required for building with
Qt5 support. In order to build LMMS with Qt5, add the following flag when
invoking cmake:
-DWANT_QT5=ON
If your Qt5 installation does not reside in standard installation paths,
additionally pass e.g.
-DCMAKE_PREFIX_PATH=/opt/qt53/

View File

@@ -1,427 +0,0 @@
AUTOMAKE_OPTIONS = foreign 1.4
dist-hook:
rm -rf `find $(distdir) -name \*.moc`
#install-exec-hook:
# cd $(DESTDIR)$(bindir) ; \
# strip lmms
if HAVE_RPM
$(PACKAGE)-$(VERSION).tar.gz: dist
# Rule to build RPM distribution package
rpm: $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE).spec
cp $(PACKAGE)-$(VERSION).tar.gz @RPMSOURCEDIR@
rpmbuild -ba $(PACKAGE).spec
endif
SUBDIRS = buildtools data plugins
INCLUDES = -I$(srcdir)/include -I.
#-I/usr/include/wine -I/usr/include/wine/windows
bin_PROGRAMS = lmms
AM_CXXFLAGS := $(AM_CXXFLAGS) $(QT_CXXFLAGS)
%.moc: $(srcdir)/include/%.h
$(MOC) -o $@ $<
%.ts:
$(LUPDATE) $(lmms_SOURCES) `find plugins/ -type f -name "*.cpp"` -ts data/locale/$@
%.qm: %.ts
$(LRELEASE) $<
man1_MANS = lmms.1
lmms_MOC = \
./about_dialog.moc \
./arp_and_chords_tab_widget.moc \
./automatable_button.moc \
./automatable_slider.moc \
./automation_editor.moc \
./automation_pattern.moc \
./automation_track.moc \
./bb_editor.moc \
./bb_track.moc \
./instrument_track.moc \
./combobox.moc \
./config_mgr.moc \
./cpuload_widget.moc \
./effect_control_dialog.moc \
./effect_label.moc \
./effect_select_dialog.moc \
./effect_tab_widget.moc \
./envelope_and_lfo_widget.moc \
./envelope_tab_widget.moc \
./export_project_dialog.moc \
./fade_button.moc \
./file_browser.moc \
./group_box.moc \
./kmultitabbar.moc \
./kmultitabbar-qt3.moc \
./knob.moc \
./lcd_spinbox.moc \
./led_checkbox.moc \
./main_window.moc \
./mixer.moc \
./name_label.moc \
./nstate_button.moc \
./meter_dialog.moc \
./midi_alsa_seq.moc \
./midi_tab_widget.moc \
./pattern.moc \
./piano_roll.moc \
./piano_widget.moc \
./pixmap_button.moc \
./plugin_browser.moc \
./project_notes.moc \
./rack_plugin.moc \
./rack_view.moc \
./rubberband.moc \
./qxembed.moc \
./rename_dialog.moc \
./sample_buffer.moc \
./sample_play_handle.moc \
./sample_track.moc \
./setup_dialog.moc \
./side_bar.moc \
./side_bar_widget.moc \
./song_editor.moc \
./surround_area.moc \
./tab_bar.moc \
./tab_button.moc \
./tab_widget.moc \
./tempo_sync_knob.moc \
./timeline.moc \
./tool_button.moc \
./track_container.moc \
./track.moc \
./visualization_widget.moc \
./volume_knob.moc
BUILT_SOURCES = $(lmms_MOC)
lmms_EMBEDDED_RESOURCES = $(srcdir)/AUTHORS $(srcdir)/COPYING
./embedded_resources.h: $(lmms_EMBEDDED_RESOURCES)
$(BIN2RES) $(lmms_EMBEDDED_RESOURCES) > $@
./embed.o: ./embedded_resources.h
if USE_3RDPARTY_LIBSRC
LIBSAMPLERATE_SOURCES= $(srcdir)/src/3rdparty/samplerate/samplerate.c \
$(srcdir)/src/3rdparty/samplerate/samplerate.h \
$(srcdir)/src/3rdparty/samplerate/src_sinc.c \
$(srcdir)/src/3rdparty/samplerate/high_qual_coeffs.h \
$(srcdir)/src/3rdparty/samplerate/mid_qual_coeffs.h \
$(srcdir)/src/3rdparty/samplerate/fastest_coeffs.h \
$(srcdir)/src/3rdparty/samplerate/common.h \
$(srcdir)/src/3rdparty/samplerate/float_cast.h \
$(srcdir)/src/3rdparty/samplerate/src_zoh.c \
$(srcdir)/src/3rdparty/samplerate/src_linear.c
endif
THIRD_PARTY_CODE=$(LIBSAMPLERATE_SOURCES)
lmms_SOURCES = \
$(srcdir)/src/audio/audio_alsa.cpp \
$(srcdir)/src/audio/audio_device.cpp \
$(srcdir)/src/audio/audio_file_device.cpp \
$(srcdir)/src/audio/audio_file_ogg.cpp \
$(srcdir)/src/audio/audio_file_wave.cpp \
$(srcdir)/src/audio/audio_jack.cpp \
$(srcdir)/src/audio/audio_oss.cpp \
$(srcdir)/src/audio/audio_port.cpp \
$(srcdir)/src/audio/audio_sample_recorder.cpp \
$(srcdir)/src/audio/audio_sdl.cpp \
$(srcdir)/src/core/about_dialog.cpp \
$(srcdir)/src/core/arp_and_chords_tab_widget.cpp \
$(srcdir)/src/core/automation_editor.cpp \
$(srcdir)/src/core/automation_pattern.cpp \
$(srcdir)/src/core/bb_editor.cpp \
$(srcdir)/src/core/config_mgr.cpp \
$(srcdir)/src/core/effect_chain.cpp \
$(srcdir)/src/core/effect_control_dialog.cpp \
$(srcdir)/src/core/effect_select_dialog.cpp \
$(srcdir)/src/core/effect_tab_widget.cpp \
$(srcdir)/src/core/effect.cpp \
$(srcdir)/src/core/engine.cpp \
$(srcdir)/src/core/envelope_and_lfo_widget.cpp \
$(srcdir)/src/core/envelope_tab_widget.cpp \
$(srcdir)/src/core/export_project_dialog.cpp \
$(srcdir)/src/core/file_browser.cpp \
$(srcdir)/src/core/import_filter.cpp \
$(srcdir)/src/core/instrument.cpp \
$(srcdir)/src/core/main_window.cpp \
$(srcdir)/src/core/main.cpp \
$(srcdir)/src/core/meter_dialog.cpp \
$(srcdir)/src/core/midi_tab_widget.cpp \
$(srcdir)/src/core/mixer.cpp \
$(srcdir)/src/core/name_label.cpp \
$(srcdir)/src/core/note.cpp \
$(srcdir)/src/core/note_play_handle.cpp \
$(srcdir)/src/core/piano_roll.cpp \
$(srcdir)/src/core/piano_widget.cpp \
$(srcdir)/src/core/plugin.cpp \
$(srcdir)/src/core/plugin_browser.cpp \
$(srcdir)/src/core/preset_preview_play_handle.cpp \
$(srcdir)/src/core/sample_play_handle.cpp \
$(srcdir)/src/core/setup_dialog.cpp \
$(srcdir)/src/core/song_editor.cpp \
$(srcdir)/src/core/tool.cpp \
$(srcdir)/src/core/track.cpp \
$(srcdir)/src/core/track_container.cpp \
$(srcdir)/src/core/surround_area.cpp \
$(srcdir)/src/core/timeline.cpp \
$(srcdir)/src/lib/base64.cpp \
$(srcdir)/src/lib/clipboard.cpp \
$(srcdir)/src/lib/journalling_object.cpp \
$(srcdir)/src/lib/project_journal.cpp \
$(srcdir)/src/lib/project_version.cpp \
$(srcdir)/src/lib/embed.cpp \
$(srcdir)/src/lib/mmp.cpp \
$(srcdir)/src/lib/oscillator.cpp \
$(srcdir)/src/lib/sample_buffer.cpp \
$(srcdir)/src/lib/string_pair_drag.cpp \
$(srcdir)/src/midi/midi_alsa_raw.cpp \
$(srcdir)/src/midi/midi_alsa_seq.cpp \
$(srcdir)/src/midi/midi_client.cpp \
$(srcdir)/src/midi/midi_mapper.cpp \
$(srcdir)/src/midi/midi_oss.cpp \
$(srcdir)/src/midi/midi_port.cpp \
$(srcdir)/src/tracks/automation_track.cpp \
$(srcdir)/src/tracks/bb_track.cpp \
$(srcdir)/src/tracks/instrument_track.cpp \
$(srcdir)/src/tracks/pattern.cpp \
$(srcdir)/src/tracks/sample_track.cpp \
$(srcdir)/src/widgets/automatable_button.cpp \
$(srcdir)/src/widgets/automatable_slider.cpp \
$(srcdir)/src/widgets/combobox.cpp \
$(srcdir)/src/widgets/cpuload_widget.cpp \
$(srcdir)/src/widgets/effect_label.cpp \
$(srcdir)/src/widgets/fade_button.cpp \
$(srcdir)/src/widgets/group_box.cpp \
$(srcdir)/src/widgets/kmultitabbar.cpp \
$(srcdir)/src/widgets/knob.cpp \
$(srcdir)/src/widgets/lcd_spinbox.cpp \
$(srcdir)/src/widgets/led_checkbox.cpp \
$(srcdir)/src/widgets/nstate_button.cpp \
$(srcdir)/src/widgets/pixmap_button.cpp \
$(srcdir)/src/widgets/project_notes.cpp \
$(srcdir)/src/widgets/rack_plugin.cpp \
$(srcdir)/src/widgets/rack_view.cpp \
$(srcdir)/src/widgets/rubberband.cpp \
$(srcdir)/src/widgets/qxembed.cpp \
$(srcdir)/src/widgets/rename_dialog.cpp \
$(srcdir)/src/widgets/side_bar_widget.cpp \
$(srcdir)/src/widgets/tab_bar.cpp \
$(srcdir)/src/widgets/tab_widget.cpp \
$(srcdir)/src/widgets/text_float.cpp \
$(srcdir)/src/widgets/tempo_sync_knob.cpp \
$(srcdir)/src/widgets/tool_button.cpp \
$(srcdir)/src/widgets/tooltip.cpp \
$(srcdir)/src/widgets/visualization_widget.cpp \
$(srcdir)/src/widgets/volume_knob.cpp \
$(srcdir)/src/lmms_single_source.cpp \
$(srcdir)/include/aeffectx.h \
$(srcdir)/include/debug.h \
$(srcdir)/include/detuning_helper.h \
$(srcdir)/include/main_window.h \
$(srcdir)/include/audio_alsa.h \
$(srcdir)/include/audio_device.h \
$(srcdir)/include/audio_dummy.h \
$(srcdir)/include/audio_file_device.h \
$(srcdir)/include/audio_file_ogg.h \
$(srcdir)/include/audio_file_wave.h \
$(srcdir)/include/audio_jack.h \
$(srcdir)/include/audio_oss.h \
$(srcdir)/include/audio_sample_recorder.h \
$(srcdir)/include/audio_sdl.h \
$(srcdir)/include/automation_editor.h \
$(srcdir)/include/automation_pattern.h \
$(srcdir)/include/automation_track.h \
$(srcdir)/include/interpolation.h \
$(srcdir)/include/lmms_constants.h \
$(srcdir)/include/lmms_math.h \
$(srcdir)/include/mixer.h \
$(srcdir)/include/pattern.h \
$(srcdir)/include/instrument_track.h \
$(srcdir)/include/note.h \
$(srcdir)/include/volume.h \
$(srcdir)/include/panning.h \
$(srcdir)/include/song_editor.h \
$(srcdir)/include/plugin.h \
$(srcdir)/include/instrument.h \
$(srcdir)/include/bb_editor.h \
$(srcdir)/include/piano_widget.h \
$(srcdir)/include/effect_board.h \
$(srcdir)/include/pixmap_button.h \
$(srcdir)/include/rename_dialog.h \
$(srcdir)/include/export_project_dialog.h \
$(srcdir)/include/note_play_handle.h \
$(srcdir)/include/piano_roll.h \
$(srcdir)/include/basic_filters.h \
$(srcdir)/include/envelope_tab_widget.h \
$(srcdir)/include/envelope_and_lfo_widget.h \
$(srcdir)/include/about_dialog.h \
$(srcdir)/include/oscillator.h \
$(srcdir)/include/arp_and_chords_tab_widget.h \
$(srcdir)/include/export.h \
$(srcdir)/include/group_box.h \
$(srcdir)/include/tab_widget.h \
$(srcdir)/include/knob.h \
$(srcdir)/include/file_browser.h \
$(srcdir)/include/plugin_browser.h \
$(srcdir)/include/templates.h \
$(srcdir)/include/gui_templates.h \
$(srcdir)/include/surround_area.h \
$(srcdir)/include/kmultitabbar.h \
$(srcdir)/include/kmultitabbar-qt3.h \
$(srcdir)/include/side_bar.h \
$(srcdir)/include/side_bar_widget.h \
$(srcdir)/include/track.h \
$(srcdir)/include/track_container.h \
$(srcdir)/include/bb_track.h \
$(srcdir)/include/sample_track.h \
$(srcdir)/include/sample_buffer.h \
$(srcdir)/include/name_label.h \
$(srcdir)/include/play_handle.h \
$(srcdir)/include/mmp.h \
$(srcdir)/include/midi.h \
$(srcdir)/include/midi_alsa_raw.h \
$(srcdir)/include/midi_client.h \
$(srcdir)/include/midi_event_processor.h \
$(srcdir)/include/midi_oss.h \
$(srcdir)/include/midi_port.h \
$(srcdir)/include/midi_time.h \
$(srcdir)/include/clipboard.h \
$(srcdir)/include/types.h \
$(srcdir)/include/update_event.h \
$(srcdir)/include/qt3support.h \
$(srcdir)/include/embed.h \
$(srcdir)/include/timeline.h \
$(srcdir)/include/config_mgr.h \
$(srcdir)/include/spc_bg_hndl_widget.h \
$(srcdir)/include/tab_bar.h \
$(srcdir)/include/tab_button.h \
$(srcdir)/include/project_notes.h \
$(srcdir)/include/project_version.h \
$(srcdir)/include/visualization_widget.h \
$(srcdir)/include/endian_handling.h \
$(srcdir)/include/preset_preview_play_handle.h \
$(srcdir)/include/sample_play_handle.h \
$(srcdir)/include/nstate_button.h \
$(srcdir)/include/midi_dummy.h \
$(srcdir)/include/midi_mapper.h \
$(srcdir)/include/lcd_spinbox.h \
$(srcdir)/include/tooltip.h \
$(srcdir)/include/automatable_button.h \
$(srcdir)/include/automatable_slider.h \
$(srcdir)/include/led_checkbox.h \
$(srcdir)/include/text_float.h \
$(srcdir)/include/tempo_sync_knob.h \
$(srcdir)/include/volume_knob.h \
$(srcdir)/include/setup_dialog.h \
$(srcdir)/include/dummy_plugin.h \
$(srcdir)/include/dummy_instrument.h \
$(srcdir)/include/instrument_play_handle.h \
$(srcdir)/include/string_pair_drag.h \
$(srcdir)/include/midi_tab_widget.h \
$(srcdir)/include/audio_port.h \
$(srcdir)/include/tool.h \
$(srcdir)/include/tool_button.h \
$(srcdir)/include/cpuload_widget.h \
$(srcdir)/include/custom_events.h \
$(srcdir)/include/midi_alsa_seq.h \
$(srcdir)/include/micro_timer.h \
$(srcdir)/include/fade_button.h \
$(srcdir)/include/fifo_buffer.h \
$(srcdir)/include/combobox.h \
$(srcdir)/include/rubberband.h \
$(srcdir)/include/base64.h \
$(srcdir)/include/automatable_object.h \
$(srcdir)/include/automatable_object_templates.h \
$(srcdir)/include/journalling_object.h \
$(srcdir)/include/level_object.h \
$(srcdir)/include/project_journal.h \
$(srcdir)/include/shared_object.h \
$(srcdir)/include/import_filter.h \
$(srcdir)/include/engine.h \
$(srcdir)/include/effect.h \
$(srcdir)/include/effect_chain.h \
$(srcdir)/include/effect_control_dialog.h \
$(srcdir)/include/effect_label.h \
$(srcdir)/include/effect_tab_widget.h \
$(srcdir)/include/rack_plugin.h \
$(srcdir)/include/rack_view.h \
$(srcdir)/include/effect_select_dialog.h \
$(srcdir)/include/dummy_effect.h \
$(srcdir)/include/ladspa-1.1.h \
$(srcdir)/include/sweep_oscillator.h \
$(srcdir)/include/meter_dialog.h \
$(srcdir)/include/qxembed.h \
$(srcdir)/include/effect_lib.h \
$(srcdir)/include/xqmap.h \
$(THIRD_PARTY_CODE)
EXTRA_DIST = $(lmms_EMBEDDED_RESOURCES) lmms.1
CLEANFILES = $(lmms_MOC) ./embedded_resources.h
if HAVE_LIBSDL
LIB_SDL_LDADD = -lSDL
endif
if HAVE_LIBSDL_SOUND
LIB_SDL_SOUND_LDADD = -lSDL_sound
endif
if HAVE_LIBASOUND
LIB_ASOUND_LDADD = -lasound
endif
if HAVE_LIBJACK
LIB_JACK_LDADD = -ljack
endif
if HAVE_LIBVORBIS
LIB_VORBIS_LDADD = -lvorbis -lvorbisenc -lvorbisfile
endif
if USE_3RDPARTY_LIBSRC
else
LIB_SRC_LDADD = -lsamplerate
endif
if HAVE_LIBSF
LIB_SF_LDADD = -lsndfile
endif
if LADSPA_SUPPORT
LIB_LADSPABASE_LDADD = -Lplugins/ladspa_base -lladspabase
endif
lmms_LDADD = $(QT_LDADD) $(LIB_SDL_LDADD) $(LIB_ASOUND_LDADD) $(LIB_JACK_LDADD) $(LIB_SDL_SOUND_LDADD) $(LIB_VORBIS_LDADD) $(LIB_SRC_LDADD) $(LIB_SF_LDADD) $(LIB_LADSPABASE_LDADD)
if BUILD_LINUX
lmms_LDFLAGS = -rdynamic
endif
#-rpath $(pkglibdir)

View File

@@ -1,22 +0,0 @@
all:
@echo
@echo Creating neccessary files for configuring and building LMMS
@echo
@echo \ \* Creating aclocal.m4
@aclocal
@echo \ \* Running libtoolize
@libtoolize -c -f
@echo \ \* Creating config.h.in
@autoheader
@echo \ \* Creating Makefile templates
@automake -ac
@echo \ \* Creating configure
@autoconf
@echo \ \* Cleaning up
@rm -rf autom4te.cache/
@echo
@echo ...done\! If something failed make sure you\'ve installed autoconf,
@echo automake and libtool.
@echo Otherwise you can run now configure \(if you did not so far\) and then make.
@echo

113
README
View File

@@ -1,113 +0,0 @@
Linux MultiMedia Studio 0.3.0
==============================
Copyright (c) 2004-2007 by LMMS-developers
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your option)
any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
What is LMMS??
--------------
LMMS aims to be a free alternative to popular (but commercial and closed-
source) programs like FruityLoops, Cubase and Logic giving you the ability of
producing music with your computer by creating/synthesizing sounds, arranging
samples, using effects, playing live with keyboard and much more...
LMMS combines the features of a sequencer-program (pattern-/channel-/
sample-/song-/effect-management) and those of powerful synthesizers and
samplers in a modern, user-friendly and easy to use graphical user-interface.
LMMS is still in heavy development, so with this version please don't expect a
complete, ready and bugfree program!!
Requirements
------------
The most important requirement is for sure a fast computer, so don't try to get
LMMS working on a pentium I with 60 MHz... ;-) Therefore you should have at
least 500 MHz, but for really enjoying LMMS less than 1 GHz makes no sense...
Required libraries:
- multithreaded version of Qt 3.0 (at least 3.2 recommended) or higher with
devel-files
Optional, but strongly recommended:
- JACK with devel-files
- libvorbis with devel-files
- libalsa with devel-files
- SDL_sound (tested with 0.1.5 & 1.0.1) with devel-files
- SDL with devel-files
- libsamplerate with devel-files
- libsndfile with devel-files
- WINE + WINE-devel-files
- stk, libstk + libstk-dev
- festival-devel-files and default-voice
For compiling you should have an up to date GCC with g++.
If you have problems with compiling or running LMMS, find any bug or have
suggestions and so on, please feel free to e-mail me (for mail-address see
below)!
Building
--------
See INSTALL for information on how to build LMMS.
Please also take a look at
./configure --help
There you'll see a lot of options which partly might be interesting for you.
For example if you want to build LMMS with VST-support, you have to run
configure with --with-vst switch. Otherwise LMMS support won't be built!
Join LMMS-development
----------------------
If you are interested in LMMS, it's programming, artwork, testing, writing
demo-songs, (and improving this f**** README...) or something like that,
you're welcome to participate on the development of LMMS!
The project-homepage of LMMS, mailingslists and a list of things you can do
can be found at
http://lmms.sourceforge.net
Details on development can be found at
http://lmms.sourceforge.net/development.php
or in the Wiki:
http://lmms.sourceforge.net/wiki/
Before coding a new big feature, please ALWAYS post your idea and suggestions
about your feature and about the intended implementation to the
LMMS-devel-mailinglist (lmms-devel@lists.sourceforge.net) and wait for replies!
Maybe there're different ideas, improvements, hints or maybe your feature is
not welcome/needed at the moment.

54
README.md Normal file
View File

@@ -0,0 +1,54 @@
#![LMMS Logo](http://lmms.sourceforge.net/Lmms_logo.png) LMMS
[![Build Status](https://travis-ci.org/LMMS/lmms.png)](https://travis-ci.org/LMMS/lmms)
What is LMMS?
--------------
LMMS is a free cross-platform alternative to commercial programs like
FL Studio®, which allow you to produce music with your computer. This includes
the creation of melodies and beats, the synthesis and mixing of sounds, and
arranging of samples. You can have fun with your MIDI-keyboard and much more;
all in a user-friendly and modern interface.
[Homepage](http://lmms.io)<br>
[Downloads/Releases](https://github.com/LMMS/lmms/releases)<br>
[Developer Wiki](https://github.com/LMMS/lmms/wiki)<br>
[Artist & User Wiki/Documentation](http://lmms.io/documentation)<br>
[Sound Demos](http://lmms.io/showcase/)<br>
[LMMS Sharing Platform](http://lmms.io/lsp/) Share your songs!
Features
---------
* Song-Editor for composing songs
* A Beat+Bassline-Editor for creating beats and basslines
* An easy-to-use Piano-Roll for editing patterns and melodies
* An FX mixer with 64 FX channels and arbitrary number of effects allow unlimited mixing possibilities
* Many powerful instrument and effect-plugins out of the box
* Full user-defined track-based automation and computer-controlled automation sources
* Compatible with many standards such as SoundFont2, VST(i), LADSPA, GUS Patches, and full MIDI support
* Import of MIDI and FLP (FL Studio®/Fruityloops® Project) files
Building
---------
See [Compiling LMMS](https://github.com/LMMS/lmms/wiki/Compiling-lmms) on our
wiki for information on how to build LMMS.
Join LMMS-development
----------------------
If you are interested in LMMS, its programming, artwork, testing, writing demo
songs, (and improving this README...) or something like that, you're welcome
to participate in the development of LMMS!
Information about what you can do and how can be found in the
[wiki](https://github.com/LMMS/lmms/wiki).
Before coding a new big feature, please _always_
[file an issue](https://github.com/LMMS/lmms/issues/new) for your idea and
suggestions about your feature and about the intended implementation on GitHub
or post to the LMMS developers mailinglist (lmms-devel@lists.sourceforge.net)
and wait for replies! Maybe there are different ideas, improvements, hints or
maybe your feature is not welcome/needed at the moment.

54
TODO
View File

@@ -1,54 +0,0 @@
- do not process effects when playing frozen patterns
- select number of channels in export-project-dialog
- MIDI over Ethernet support
- try to make vestige-plugin-dlls relative
- do song-editor-tempo-connection to vst-plugin inside remoteVSTPlugin
- add/remove-steps button in bb-editor for adding/removing according number of steps to/from all patterns of visible beat/baseline
- replace rest of wizard by simple directory-selection-dialog for working-dir when running the first time
- correctly load steps/dots from FLP-files
- convert FL-Plucked!-parameters to Vibed-parameters
- in flp-import-filter: merge play-list-items if possible
- integrated sample-browser in context-menu of sample-track/-tco
- make note able of journalling
- before calling undoStep/redoStep from journallingObject, save journalling-state-context and disabled journalling, restore afterwards
- intelligent journal-entry-merging
- undo/redo-support in note/track etc.
- save tco-settings in trackContentWidget::saveSettings() etc. instead of track::...
- restore stacking-order of windows when loading project
- bristol-bindings?
- resample sample-track-tcos when using hq-mode
- add support for panes-interface (like blender) (instead of MDI etc.)
- message to user when importing unsupported MIDI-file (track-count = 0)
- AMS/OMS-bindings
- remove binary-embed-system (Qt4-resource-system?)
- recording-functionality
- do not hang when saving while loading VST-plugin (because then we call dispatcher while the load-process is still going on)
- tempo-recogn. and sync of beat-samples
- separate GUI and data/sound-processing-code
- make color-scheme switchable: LMMS / user
- autosave every 30s (configurable!) and offer recovery at startup after crash
- make piano-roll use rubberband instead of implementing a simple one on it's own
- level-meters in output-graph and instrument-track
- MIDI-program/MIDI-mapping/process program-/channel-change-events from MIDI-files
- DSSI-support
- use drawLineF() for drawing notes in pattern::paintEvent() in qt4-version
- only redraw region given by paint-event in pattern, bbTCO, sampleTCO etc.
- pre-listen when opening sample with QFileDialog
- panning-editing in piano-roll
- speed up painting of sampleTCO
- panning env+lfo
- rewrite export-project-dialog using layout-mechanism
- make piano-roll use the global clipboard??
- add more localizations:
- Swedish
- Norwegian
- Greece
- ...
- effect-board -> live-fx from input
- chord-editor?
- WAVE/OGG/MP3-Import -> FFT-analysis -> write notes
- classical note-edit-window -> also ability of printing and maybe later scanning & recognition of notes
- add FLAC as export-format?

View File

@@ -1,692 +0,0 @@
# Check for Qt compiler flags, linker flags, and binary packages
AC_DEFUN([gw_CHECK_QT],
[
AC_REQUIRE([AC_PROG_CXX])
AC_REQUIRE([AC_PATH_X])
AC_MSG_CHECKING([QTDIR])
AC_ARG_WITH([qtdir], [ --with-qtdir=DIR Qt installation directory [default=$QTDIR]], QTDIR=$withval)
# Check that QTDIR is defined or that --with-qtdir given
if test x"$QTDIR" = x ; then
# some usual Qt-locations
QT_SEARCH="/usr /usr/lib/qt /usr/lib/qt3 /usr/lib/qt31 /usr/lib/qt32 /usr/lib/qt33 /usr/lib/qt-3.0 /usr/lib/qt-3.1 /usr/lib/qt-3.2 /usr/lib/qt-3.3 /usr/local/qt /usr/local/qt3 /usr/local/qt31 /usr/local/qt32 /usr/local/qt33 /usr/share/qt3 /usr/X11R6" # /usr/share/qt4 /usr/local/Trolltech/Qt-4.0.0 /usr/local/Trolltech/Qt-4.0.1 /usr/local/Trolltech/Qt-4.1.0 /usr/local/Trolltech/Qt-4.1.0"
else
QT_SEARCH=$QTDIR
QTDIR=""
fi
for i in $QT_SEARCH ; do
QT_INCLUDE_SEARCH="include include/qt include/qt3" # include/qt4/Qt include/Qt"
for j in $QT_INCLUDE_SEARCH ; do
if test -f $i/$j/qglobal.h -a x$QTDIR = x ; then
QTDIR=$i
QT_INCLUDES=$i/$j
fi
done
done
if test x"$QTDIR" = x ; then
AC_MSG_ERROR([*** QTDIR must be defined, or --with-qtdir option given])
fi
AC_MSG_RESULT([$QTDIR])
# Change backslashes in QTDIR to forward slashes to prevent escaping
# problems later on in the build process, mainly for Cygwin build
# environment using MSVC as the compiler
# TODO: Use sed instead of perl
QTDIR=`echo $QTDIR | perl -p -e 's/\\\\/\\//g'`
AC_MSG_CHECKING([Qt includes])
# Check where includes are located
if test x"$QT_INCLUDES" = x ; then
AC_MSG_ERROR([*** could not find Qt-includes! Make sure you have the Qt-devel-files installed!])
fi
AC_MSG_RESULT([$QT_INCLUDES])
# Figure out which version of Qt we are using
AC_MSG_CHECKING([Qt version])
QT_VER=`grep 'define.*QT_VERSION_STR\W' $QT_INCLUDES/qglobal.h | perl -p -e 's/\D//g'`
case "${QT_VER}" in
2*)
AC_MSG_ERROR([*** Qt 2 is not supported by iTALC. Please upgrade to Qt3!])
;;
3*)
QT_MAJOR="3"
;;
# 4*)
# QT_MAJOR="4"
# ;;
*)
AC_MSG_ERROR([*** Don't know how to handle this Qt major version])
;;
esac
AC_MSG_RESULT([$QT_VER ($QT_MAJOR)])
# Search for available Qt translations
AH_TEMPLATE(QT_TRANSLATIONS_DIR, [Define to Qt translations directory])
AC_MSG_CHECKING([Qt translations])
case "${QT_VER}" in
3*)
QT_TRANSLATIONS_SEARCH="/usr/share/qt3 /usr/local/qt3 /usr/local/qt31 /usr/local/qt32 /usr/local/qt33 /usr/local/qt"
;;
4*)
QT_TRANSLATIONS_SEARCH="/usr/share/qt4 /usr/local/qt /usr/local/Trolltech/Qt-4.0.0 /usr/local/Trolltech/Qt-4.0.1 /usr/local/Trolltech/Qt-4.1.0 /usr/local/Trolltech/Qt-4.1.0"
;;
esac
for i in $QT_TRANSLATIONS_SEARCH ; do
if test -d $i/translations -a x$QT_TRANSLATIONS = x ; then
QT_TRANSLATIONS=$i/translations
fi
done
if test x"$QT_TRANSLATIONS" = x ; then
AC_MSG_WARN([*** not found! You may want to install a Qt i18n package])
else
AC_DEFINE_UNQUOTED(QT_TRANSLATIONS_DIR, "$QT_TRANSLATIONS")
fi
AC_MSG_RESULT([$QT_TRANSLATIONS])
QTHOSTDIR=/usr
# Check that moc is in path
AC_CHECK_PROG(MOC, moc, $QTDIR/bin/moc,,$QTDIR/bin/)
if test x$MOC = x ; then
AC_CHECK_PROG(MOC, moc-qt3, $QTDIR/bin/moc-qt3,,$QTDIR/bin/)
if test x$MOC = x ; then
AC_CHECK_PROG(MOC, moc-qt4, $QTHOSTDIR/bin/moc-qt4,,$QTHOSTDIR/bin/)
if test x$MOC = x ; then
AC_MSG_ERROR([*** not found! Make sure you have Qt-devel-tools installed!])
fi
fi
fi
# uic is the Qt user interface compiler
AC_CHECK_PROG(UIC, uic, $QTDIR/bin/uic,,$QTDIR/bin/)
if test x$UIC = x ; then
AC_MSG_WARN([*** not found! It's currently not needed but should be part of a proper Qt-devel-tools-installation!])
fi
# lupdate is the Qt translation-update utility.
AC_CHECK_PROG(LUPDATE, lupdate, $QTDIR/bin/lupdate,,$QTDIR/bin/)
if test x$LUPDATE = x ; then
AC_MSG_WARN([*** not found! It's not needed just for compiling but should be part of a proper Qt-devel-tools-installation!])
fi
# lrelease is the Qt translation-release utility.
AC_CHECK_PROG(LRELEASE, lrelease, $QTDIR/bin/lrelease,,$QTDIR/bin/)
if test x$LRELEASE = x ; then
AC_MSG_WARN([*** not found! It's not needed just for compiling but should be part of a proper Qt-devel-tools-installation!])
fi
# Calculate Qt include path
QT_CXXFLAGS="-I$QT_INCLUDES"
if test "$QT_MAJOR" = "4" ; then
QT_CXXFLAGS="$QT_CXXFLAGS -I$QTDIR/include/qt4 -I$QTDIR/include"
fi
QT_IS_EMBEDDED="no"
# On unix, figure out if we're doing a static or dynamic link
case "${host}" in
*-cygwin)
AC_DEFINE_UNQUOTED(WIN32, "", Defined if on Win32 platform)
if test -f "$QTDIR/lib/qt.lib" ; then
QT_LIB="qt.lib"
QT_IS_STATIC="yes"
QT_IS_MT="no"
elif test -f "$QTDIR/lib/qt-mt.lib" ; then
QT_LIB="qt-mt.lib"
QT_IS_STATIC="yes"
QT_IS_MT="yes"
elif test -f "$QTDIR/lib/qt$QT_VER.lib" ; then
QT_LIB="qt$QT_VER.lib"
QT_IS_STATIC="no"
QT_IS_MT="no"
elif test -f "$QTDIR/lib/qt-mt$QT_VER.lib" ; then
QT_LIB="qt-mt$QT_VER.lib"
QT_IS_STATIC="no"
QT_IS_MT="yes"
fi
;;
*mingw32)
QT_IS_MT="yes"
QT_LIB="-L$QTDIR/bin -lQtCore4 -lQtGui4 -lQtXml4 -lQt3Support4"
;;
*)
QT_IS_STATIC=`ls $QTDIR/lib/*.a 2> /dev/null`
if test "x$QT_IS_STATIC" = x; then
QT_IS_STATIC="no"
else
QT_IS_STATIC="yes"
fi
if test x$QT_IS_STATIC = xno ; then
QT_IS_DYNAMIC=`ls $QTDIR/lib/*.so 2> /dev/null`
if test "x$QT_IS_DYNAMIC" = x; then
QT_IS_DYNAMIC=`ls /usr/lib/libQt*so.4 2> /dev/null`
if test "x$QT_IS_DYNAMIC" = x; then
AC_MSG_ERROR([*** Couldn't find any Qt libraries])
fi
fi
fi
if test "$QT_MAJOR" = "4" ; then
QT_IS_MT="yes"
QT_LIB="-lQtCore -lQtGui -lQtXml -lQt3Support"
MOC="$MOC -DLADSPA_SUPPORT"
else
QT_CXXFLAGS="-DQT3 $QT_CXXFLAGS"
if test "x`ls $QTDIR/lib/libqt-mt.* 2> /dev/null`" != x ; then
QT_LIB="-lqt-mt"
QT_IS_MT="yes"
elif test "x`ls $QTDIR/lib/libqt.* 2> /dev/null`" != x ; then
QT_LIB="-lqt"
QT_IS_MT="no"
elif test "x`ls $QTDIR/lib/libqte.* 2> /dev/null`" != x ; then
QT_LIB="-lqte"
QT_IS_MT="no"
QT_IS_EMBEDDED="yes"
elif test "x`ls $QTDIR/lib/libqte-mt.* 2> /dev/null`" != x ; then
QT_LIB="-lqte-mt"
QT_IS_MT="yes"
QT_IS_EMBEDDED="yes"
fi
fi
;;
esac
AC_MSG_CHECKING([if Qt is static])
AC_MSG_RESULT([$QT_IS_STATIC])
AC_MSG_CHECKING([if Qt is multithreaded])
if test "$QT_IS_MT" = "no"; then
AC_MSG_ERROR([*** your Qt is not multithreaded. That's bad, because multithreading is required for compiling... Please install Qt-mt!])
fi
AC_MSG_RESULT([$QT_IS_MT])
AC_MSG_CHECKING([if Qt is embedded])
AC_MSG_RESULT([$QT_IS_EMBEDDED])
QT_GUILINK=""
QASSISTANTCLIENT_LDADD="-lqassistantclient"
QT_LIBS="$QT_LIB"
x_libraries="$x_libraries -L/usr/X11R6/lib"
case "${host}" in
*irix*)
QT_LIBS="$QT_LIB"
if test $QT_IS_STATIC = yes ; then
QT_LIBS="$QT_LIBS -L$x_libraries -lXext -lX11 -lm -lSM -lICE"
fi
;;
*linux*)
QT_LIBS="$QT_LIB"
if test $QT_IS_STATIC = yes && test $QT_IS_EMBEDDED = no; then
QT_LIBS="$QT_LIBS -L$x_libraries -lXext -lX11 -lm -lSM -lICE -ljpeg"
fi
;;
*osf*)
# Digital Unix (aka DGUX aka Tru64)
QT_LIBS="$QT_LIB"
if test $QT_IS_STATIC = yes ; then
QT_LIBS="$QT_LIBS -L$x_libraries -lXext -lX11 -lm -lSM -lICE"
fi
;;
*solaris*)
QT_LIBS="$QT_LIB"
if test $QT_IS_STATIC = yes ; then
QT_LIBS="$QT_LIBS -L$x_libraries -lXext -lX11 -lm -lSM -lICE -lresolv -lsocket -lnsl"
fi
;;
*win*)
# linker flag to suppress console when linking a GUI app on Win32
QT_GUILINK="/subsystem:windows"
if test $QT_MAJOR = "3" ; then
if test $QT_IS_MT = yes ; then
QT_LIBS="/nodefaultlib:libcmt"
else
QT_LIBS="/nodefaultlib:libc"
fi
fi
if test $QT_IS_STATIC = yes ; then
QT_LIBS="$QT_LIBS $QT_LIB kernel32.lib user32.lib gdi32.lib comdlg32.lib ole32.lib shell32.lib imm32.lib advapi32.lib wsock32.lib winspool.lib winmm.lib netapi32.lib"
if test $QT_MAJOR = "3" ; then
QT_LIBS="$QT_LIBS qtmain.lib"
fi
else
QT_LIBS="$QT_LIBS $QT_LIB"
if test $QT_MAJOR = "3" ; then
QT_CXXFLAGS="$QT_CXXFLAGS -DQT_DLL"
QT_LIBS="$QT_LIBS qtmain.lib qui.lib user32.lib netapi32.lib"
fi
fi
QASSISTANTCLIENT_LDADD="qassistantclient.lib"
;;
esac
if test x"$QT_IS_EMBEDDED" = "xyes" ; then
QT_CXXFLAGS="-DQWS $QT_CXXFLAGS"
fi
if test x"$QT_IS_MT" = "xyes" ; then
QT_CXXFLAGS="$QT_CXXFLAGS -D_REENTRANT -DQT_THREAD_SUPPORT"
QT_LIBS="$QT_LIBS"
fi
QT_LDADD="-L$QTDIR/lib $QT_LIBS"
#if test x$QT_IS_STATIC = xyes ; then
# OLDLIBS="$LIBS"
# LIBS="$QT_LDADD"
# AC_CHECK_LIB(Xft, XftFontOpen, QT_LDADD="$QT_LDADD -lXft")
# LIBS="$LIBS"
#fi
AC_MSG_CHECKING([QT_CXXFLAGS])
AC_MSG_RESULT([$QT_CXXFLAGS])
AC_MSG_CHECKING([QT_LDADD])
AC_MSG_RESULT([$QT_LDADD])
AC_SUBST(QT_CXXFLAGS)
AC_SUBST(QT_LDADD)
AC_SUBST(QT_GUILINK)
AC_SUBST(QASSISTANTCLIENT_LDADD)
])
dnl @synopsis AC_C_FIND_ENDIAN
dnl
dnl Determine endian-ness of target processor.
dnl @version 1.1 Mar 03 2002
dnl @author Erik de Castro Lopo <erikd AT mega-nerd DOT com>
dnl
dnl Majority written from scratch to replace the standard autoconf macro
dnl AC_C_BIGENDIAN. Only part remaining from the original it the invocation
dnl of the AC_TRY_RUN macro.
dnl
dnl Permission to use, copy, modify, distribute, and sell this file for any
dnl purpose is hereby granted without fee, provided that the above copyright
dnl and this permission notice appear in all copies. No representations are
dnl made about the suitability of this software for any purpose. It is
dnl provided "as is" without express or implied warranty.
dnl Find endian-ness in the following way:
dnl 1) Look in <endian.h>.
dnl 2) If 1) fails, look in <sys/types.h> and <sys/param.h>.
dnl 3) If 1) and 2) fails and not cross compiling run a test program.
dnl 4) If 1) and 2) fails and cross compiling then guess based on target.
AC_DEFUN([AC_C_FIND_ENDIAN],
[AC_CACHE_CHECK(processor byte ordering,
ac_cv_c_byte_order,
# Initialize to unknown
ac_cv_c_byte_order=unknown
if test x$ac_cv_header_endian_h = xyes ; then
# First try <endian.h> which should set BYTE_ORDER.
[AC_TRY_LINK([
#include <endian.h>
#if BYTE_ORDER != LITTLE_ENDIAN
not big endian
#endif
], return 0 ;,
ac_cv_c_byte_order=little
)]
[AC_TRY_LINK([
#include <endian.h>
#if BYTE_ORDER != BIG_ENDIAN
not big endian
#endif
], return 0 ;,
ac_cv_c_byte_order=big
)]
fi
if test $ac_cv_c_byte_order = unknown ; then
[AC_TRY_LINK([
#include <sys/types.h>
#include <sys/param.h>
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
bogus endian macros
#endif
], return 0 ;,
[AC_TRY_LINK([
#include <sys/types.h>
#include <sys/param.h>
#if BYTE_ORDER != LITTLE_ENDIAN
not big endian
#endif
], return 0 ;,
ac_cv_c_byte_order=little
)]
[AC_TRY_LINK([
#include <sys/types.h>
#include <sys/param.h>
#if BYTE_ORDER != LITTLE_ENDIAN
not big endian
#endif
], return 0 ;,
ac_cv_c_byte_order=little
)]
)]
fi
if test $ac_cv_c_byte_order = unknown ; then
if test $cross_compiling = yes ; then
# This is the last resort. Try to guess the target processor endian-ness
# by looking at the target CPU type.
[
case "$target_cpu" in
alpha* | i?86* | mipsel* | ia64*)
ac_cv_c_big_endian=0
ac_cv_c_little_endian=1
;;
m68* | mips* | powerpc* | hppa* | sparc*)
ac_cv_c_big_endian=1
ac_cv_c_little_endian=0
;;
esac
]
else
AC_TRY_RUN(
[[
int main (void)
{ /* Are we little or big endian? From Harbison&Steele. */
union
{ long l ;
char c [sizeof (long)] ;
} u ;
u.l = 1 ;
return (u.c [sizeof (long) - 1] == 1);
}
]], , ac_cv_c_byte_order=big,
ac_cv_c_byte_order=unknown
)
AC_TRY_RUN(
[[int main (void)
{ /* Are we little or big endian? From Harbison&Steele. */
union
{ long l ;
char c [sizeof (long)] ;
} u ;
u.l = 1 ;
return (u.c [0] == 1);
}]], , ac_cv_c_byte_order=little,
ac_cv_c_byte_order=unknown
)
fi
fi
)
]
if test $ac_cv_c_byte_order = big ; then
ac_cv_c_big_endian=1
ac_cv_c_little_endian=0
elif test $ac_cv_c_byte_order = little ; then
ac_cv_c_big_endian=0
ac_cv_c_little_endian=1
else
ac_cv_c_big_endian=0
ac_cv_c_little_endian=0
AC_MSG_WARN([[*****************************************************************]])
AC_MSG_WARN([[*** Not able to determine endian-ness of target processor. ]])
AC_MSG_WARN([[*** The constants CPU_IS_BIG_ENDIAN and CPU_IS_LITTLE_ENDIAN in ]])
AC_MSG_WARN([[*** src/config.h may need to be hand editied. ]])
AC_MSG_WARN([[*****************************************************************]])
fi
)# AC_C_FIND_ENDIAN
dnl @synopsis AC_C99_FUNC_LRINT
dnl
dnl Check whether C99's lrint function is available.
dnl @version 1.3 Feb 12 2002
dnl @author Erik de Castro Lopo <erikd AT mega-nerd DOT com>
dnl
dnl Permission to use, copy, modify, distribute, and sell this file for any
dnl purpose is hereby granted without fee, provided that the above copyright
dnl and this permission notice appear in all copies. No representations are
dnl made about the suitability of this software for any purpose. It is
dnl provided "as is" without express or implied warranty.
dnl
AC_DEFUN([AC_C99_FUNC_LRINT],
[AC_CACHE_CHECK(for lrint,
ac_cv_c99_lrint,
[
lrint_save_CFLAGS=$CFLAGS
CFLAGS="-O2 -lm"
AC_TRY_LINK([
#define _ISOC9X_SOURCE 1
#define _ISOC99_SOURCE 1
#define __USE_ISOC99 1
#define __USE_ISOC9X 1
#include <math.h>
], if (!lrint(3.14159)) lrint(2.7183);, ac_cv_c99_lrint=yes, ac_cv_c99_lrint=no)
CFLAGS=$lrint_save_CFLAGS
])
if test "$ac_cv_c99_lrint" = yes; then
AC_DEFINE(HAVE_LRINT, 1,
[Define if you have C99's lrint function.])
fi
])# AC_C99_FUNC_LRINT
dnl @synopsis AC_C99_FUNC_LRINTF
dnl
dnl Check whether C99's lrintf function is available.
dnl @version 1.3 Feb 12 2002
dnl @author Erik de Castro Lopo <erikd AT mega-nerd DOT com>
dnl
dnl Permission to use, copy, modify, distribute, and sell this file for any
dnl purpose is hereby granted without fee, provided that the above copyright
dnl and this permission notice appear in all copies. No representations are
dnl made about the suitability of this software for any purpose. It is
dnl provided "as is" without express or implied warranty.
dnl
AC_DEFUN([AC_C99_FUNC_LRINTF],
[AC_CACHE_CHECK(for lrintf,
ac_cv_c99_lrintf,
[
lrintf_save_CFLAGS=$CFLAGS
CFLAGS="-O2 -lm"
AC_TRY_LINK([
#define _ISOC9X_SOURCE 1
#define _ISOC99_SOURCE 1
#define __USE_ISOC99 1
#define __USE_ISOC9X 1
#include <math.h>
], if (!lrintf(3.14159)) lrintf(2.7183);, ac_cv_c99_lrintf=yes, ac_cv_c99_lrintf=no)
CFLAGS=$lrintf_save_CFLAGS
])
if test "$ac_cv_c99_lrintf" = yes; then
AC_DEFINE(HAVE_LRINTF, 1,
[Define if you have C99's lrintf function.])
fi
])# AC_C99_FUNC_LRINTF
dnl @synopsis AC_C99_FUNC_LLRINT
dnl
dnl Check whether C99's llrint function is available.
dnl @version 1.1 Sep 30 2002
dnl @author Erik de Castro Lopo <erikd AT mega-nerd DOT com>
dnl
dnl Permission to use, copy, modify, distribute, and sell this file for any
dnl purpose is hereby granted without fee, provided that the above copyright
dnl and this permission notice appear in all copies. No representations are
dnl made about the suitability of this software for any purpose. It is
dnl provided "as is" without express or implied warranty.
dnl
AC_DEFUN([AC_C99_FUNC_LLRINT],
[AC_CACHE_CHECK(for llrint,
ac_cv_c99_llrint,
[
llrint_save_CFLAGS=$CFLAGS
CFLAGS="-O2 -lm"
AC_TRY_LINK([
#define _ISOC9X_SOURCE 1
#define _ISOC99_SOURCE 1
#define __USE_ISOC99 1
#define __USE_ISOC9X 1
#include <math.h>
#include <stdint.h>
], int64_t x ; x = llrint(3.14159) ;, ac_cv_c99_llrint=yes, ac_cv_c99_llrint=no)
CFLAGS=$llrint_save_CFLAGS
])
if test "$ac_cv_c99_llrint" = yes; then
AC_DEFINE(HAVE_LLRINT, 1,
[Define if you have C99's llrint function.])
fi
])# AC_C99_FUNC_LLRINT
dnl @synopsis AC_C_CLIP_MODE
dnl
dnl Determine the clipping mode when converting float to int.
dnl @version 1.0 May 17 2003
dnl @author Erik de Castro Lopo <erikd AT mega-nerd DOT com>
dnl
dnl Permission to use, copy, modify, distribute, and sell this file for any
dnl purpose is hereby granted without fee, provided that the above copyright
dnl and this permission notice appear in all copies. No representations are
dnl made about the suitability of this software for any purpose. It is
dnl provided "as is" without express or implied warranty.
dnl Find the clipping mode in the following way:
dnl 1) If we are not cross compiling test it.
dnl 2) IF we are cross compiling, assume that clipping isn't done correctly.
AC_DEFUN([AC_C_CLIP_MODE],
[AC_CACHE_CHECK(processor clipping capabilities,
ac_cv_c_clip_type,
# Initialize to unknown
ac_cv_c_clip_positive=unknown
ac_cv_c_clip_negative=unknown
if test $ac_cv_c_clip_positive = unknown ; then
AC_TRY_RUN(
[[
#define _ISOC9X_SOURCE 1
#define _ISOC99_SOURCE 1
#define __USE_ISOC99 1
#define __USE_ISOC9X 1
#include <math.h>
int main (void)
{ double fval ;
int k, ival ;
fval = 1.0 * 0x7FFFFFFF ;
for (k = 0 ; k < 100 ; k++)
{ ival = (lrint (fval)) >> 24 ;
if (ival != 127)
return 1 ;
fval *= 1.2499999 ;
} ;
return 0 ;
}
]],
ac_cv_c_clip_positive=yes,
ac_cv_c_clip_positive=no,
ac_cv_c_clip_positive=unknown
)
AC_TRY_RUN(
[[
#define _ISOC9X_SOURCE 1
#define _ISOC99_SOURCE 1
#define __USE_ISOC99 1
#define __USE_ISOC9X 1
#include <math.h>
int main (void)
{ double fval ;
int k, ival ;
fval = -8.0 * 0x10000000 ;
for (k = 0 ; k < 100 ; k++)
{ ival = (lrint (fval)) >> 24 ;
if (ival != -128)
return 1 ;
fval *= 1.2499999 ;
} ;
return 0 ;
}
]],
ac_cv_c_clip_negative=yes,
ac_cv_c_clip_negative=no,
ac_cv_c_clip_negative=unknown
)
fi
if test $ac_cv_c_clip_positive = yes ; then
ac_cv_c_clip_positive=1
else
ac_cv_c_clip_positive=0
fi
if test $ac_cv_c_clip_negative = yes ; then
ac_cv_c_clip_negative=1
else
ac_cv_c_clip_negative=0
fi
[[
case "$ac_cv_c_clip_positive$ac_cv_c_clip_negative" in
"00")
ac_cv_c_clip_type="none"
;;
"10")
ac_cv_c_clip_type="positive"
;;
"01")
ac_cv_c_clip_type="negative"
;;
"11")
ac_cv_c_clip_type="both"
;;
esac
]]
)
]
)# AC_C_CLIP_MODE

View File

@@ -1,5 +0,0 @@
AUTOMAKE_OPTIONS = foreign 1.4
noinst_PROGRAMS= bin2res
bin2res_SOURCES = bin2res.cpp

View File

@@ -1,7 +1,7 @@
/*
* bin2res.cpp - generate embedded resources from binary data (based on qembed)
*
* Copyright (c) 2005 Tobias Doerffel <tobydox/at/users.sourceforge.net>
* Copyright (c) 2005-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
@@ -61,11 +61,11 @@ int main( int argc, char * * argv )
stringlist files;
for( int i = 1; i < argc; ++i )
{
files.push_back( argv[i] );
files.push_back( std::string( argv[i] ) );
}
for( stringlist::iterator it = files.begin(); it != files.end(); ++it )
{
std::ifstream f( it->c_str() );
std::ifstream f( it->c_str(), std::ios::binary );
if( f.fail() )
{
std::cerr << "Cannot open file " << *it <<
@@ -97,7 +97,7 @@ int main( int argc, char * * argv )
e->cname = convertFileNameToCIdentifier( e->name );
embedded_data.push_back( e );
std::string s;
std::cout << "const unsigned char " << e->cname <<
std::cout << "static const unsigned char " << e->cname <<
"_data[] = {";
embedData( data, fsize, std::cout );
std::cout << std::endl << "};" << std::endl << std::endl;
@@ -106,17 +106,18 @@ int main( int argc, char * * argv )
if( embedded_data.size() > 0 )
{
std::cout << "const unsigned char dummy_data[] ="
std::cout << "static const unsigned char dummy_data[] ="
"{ 0x00 };" << std::endl << std::endl;
embed * dummy = new embed;
dummy->size = 1;
dummy->name = "dummy";
dummy->cname = convertFileNameToCIdentifier( "dummy" );
dummy->cname = convertFileNameToCIdentifier(
std::string( "dummy" ) );
embedded_data.push_back( dummy );
std::cout << "#include <string.h>" << std::endl << std::endl;
std::cout << "#include \"embed.h\"" << std::endl << std::endl;
std::cout << "embed::descriptor embed_vec[] = {" << std::endl;
std::cout << "static embed::descriptor embed_vec[] = {" << std::endl;
/* << "{" << std::endl
<< " int size;" << std::endl
<< " const unsigned char * data;" <<
@@ -134,7 +135,7 @@ int main( int argc, char * * argv )
}
std::cout << " { 0, 0, 0 }" << std::endl << "};" << std::endl
<< std::endl
<< "const embed::descriptor & "
<< "static const embed::descriptor & "
"findEmbeddedData( const char * _name )"
<< std::endl << "{" << std::endl
<< " for( int i = 0; embed_vec[i].data; "

27
cmake/CMakeLists.txt Normal file
View File

@@ -0,0 +1,27 @@
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "${PROJECT_DESCRIPTION}")
SET(CPACK_PACKAGE_VENDOR "${PROJECT_AUTHOR}")
SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_SOURCE_DIR}/README.md")
SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE.txt")
SET(CPACK_PACKAGE_VERSION_MAJOR "${VERSION_MAJOR}")
SET(CPACK_PACKAGE_VERSION_MINOR "${VERSION_MINOR}")
SET(CPACK_PACKAGE_VERSION_PATCH "${VERSION_PATCH}")
SET(CPACK_PACKAGE_INSTALL_DIRECTORY "${PROJECT_NAME_UCASE}")
SET(CPACK_SOURCE_GENERATOR "TBZ2")
SET(CPACK_SOURCE_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}-${VERSION}")
IF(VERSION_SUFFIX)
SET(CPACK_PACKAGE_VERSION_PATCH "${VERSION_PATCH}-${VERSION_SUFFIX}")
ENDIF()
IF(NOT DEFINED WIN32)
SET(CPACK_STRIP_FILES "bin/${CMAKE_PROJECT_NAME};${PLUGIN_DIR}/*.so")
SET(CPACK_PACKAGE_EXECUTABLES "${CMAKE_PROJECT_NAME}" "${PROJECT_NAME_UCASE} binary")
ENDIF()
IF(LMMS_BUILD_WIN32)
ADD_SUBDIRECTORY(nsis)
ELSEIF(LMMS_BUILD_APPLE)
ADD_SUBDIRECTORY(apple)
ELSE()
ADD_SUBDIRECTORY(linux)
ENDIF()
INCLUDE(CPack)

View File

@@ -0,0 +1,30 @@
SET(MACOSX_BUNDLE_ICON_FILE "lmms.icns")
SET(MACOSX_BUNDLE_GUI_IDENTIFIER "${PROJECT_NAME_UCASE}")
SET(MACOSX_BUNDLE_LONG_VERSION_STRING "${VERSION}")
SET(MACOSX_BUNDLE_BUNDLE_NAME "${PROJECT_NAME_UCASE}")
SET(MACOSX_BUNDLE_SHORT_VERSION_STRING "${VERSION}")
SET(MACOSX_BUNDLE_BUNDLE_VERSION "${VERSION}")
SET(MACOSX_BUNDLE_COPYRIGHT "${PROJECT_COPYRIGHT}")
SET(MACOSX_BUNDLE_MIMETYPE "application/x-lmms-project")
SET(MACOSX_BUNDLE_MIMETYPE_ICON "project.icns")
SET(MACOSX_BUNDLE_MIMETYPE_ID "io.lmms")
SET(MACOSX_BUNDLE_PROJECT_URL "${PROJECT_URL}")
CONFIGURE_FILE("lmms.plist.in" "${CMAKE_INSTALL_PREFIX}/Info.plist")
CONFIGURE_FILE("install_apple.sh.in" "${CMAKE_BINARY_DIR}/install_apple.sh" @ONLY)
CONFIGURE_FILE("package_apple.json.in" "${CMAKE_BINARY_DIR}/package_apple.json" @ONLY)
# DMG creation target
SET(DMG_FILE "${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}-${VERSION}-mac${APPLE_OS_VER}.dmg")
FILE(REMOVE "${DMG_FILE}")
ADD_CUSTOM_TARGET(removedmg
COMMAND touch "\"${DMG_FILE}\"" && rm "\"${DMG_FILE}\""
COMMENT "Removing old DMG")
ADD_CUSTOM_TARGET(dmg
COMMAND appdmg "\"${CMAKE_BINARY_DIR}/package_apple.json\"" "\"${DMG_FILE}\""
DEPENDS "${CMAKE_BINARY_DIR}/package_apple.json"
COMMENT "Generating DMG")
ADD_DEPENDENCIES(dmg removedmg)
# see also ../postinstall/CMakeLists.txt

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -0,0 +1,103 @@
#!/bin/bash
#title :install_apple.sh
#description :Creates Apple ".app" bundle for LMMS
#author :Tres Finocchiaro
#date :20140504
#version :1.1
#usage :bash create_applet_installer.sh
#notes :See also https://github.com/LMMS
#notes :Troubleshooting try: export DYLD_PRINT_LIBRARIES=1; export VERBOSE=1;
#requires :deploymacqt
#=========================================================================================
# STK rawwaves directory
STK_RAWWAVE=$HOME/stk-*/rawwaves
# Place to create ".app" bundle
APP="@CMAKE_BINARY_DIR@/@PROJECT_NAME_UCASE@.app"
# MacPorts installs libreadline with wrong permissions
LIBREADLINE="libreadline.6.2.dylib"
#=========================================================================================
MSG_COLOR='\x1B[1;36m'
COLOR_RESET='\x1B[0m'
echo -e "$MSG_COLOR\n\nCreating App Bundle \"$APP\"...$COLOR_RESET"
# MacPorts only - check for u+w permissions on libreadline
if [ -f "@APPLE_PREFIX@/lib/$LIBREADLINE" ]; then
CHECKREADLINE=$(stat -f "%p" @APPLE_PREFIX@/lib/$LIBREADLINE)
CHECKREADLINE=${CHECKREADLINE:3:1}
if [ "${CHECKREADLINE}" != "7" ]; then
echo -e "\n\n\t\t\t\t***********\n\t\t\t\t* WARNING *\n\t\t\t\t***********"
echo -e "File $LIBREADLINE is not marked as user writable."
echo -e "This will break macdeployqt's linking process after it is copied."
echo -e "A sudo password is required to elevate and fix using chmod u+w."
echo -e "\nPLEASE ENTER SUDO PASSWORD:"
sudo chmod u+w "@APPLE_PREFIX@/lib/$LIBREADLINE"
fi
fi
# Remove any old .app bundles
rm -Rf "$APP"
# Create new bundle, copy our built code to it
mkdir -p "$APP"
cd "@CMAKE_INSTALL_PREFIX@"
mkdir "$APP/Contents"
cp -R * "$APP/Contents"
# Manually copy STK rawwaves
mkdir -p "$APP/Contents/share/stk/rawwaves"
cp $STK_RAWWAVE/*.raw "$APP/Contents/share/stk/rawwaves"
# Make all libraries writable for macdeployqt
cd "$APP"
find . -type f -print0 | xargs -0 chmod u+w
# Move lmms binary to the proper location
mkdir -p "$APP/Contents/MacOS"
mv "$APP/Contents/bin/lmms" "$APP/Contents/MacOS/lmms"
rm -rf "$APP/Contents/bin"
# Move libraries to proper locations
mkdir -p "$APP/Contents/Frameworks"
mv "$APP/Contents/lib/lmms/libZynAddSubFxCore.dylib" \
"$APP/Contents/Frameworks/libZynAddSubFxCore.dylib"
mv "$APP/Contents/lib/lmms/RemoteZynAddSubFx" \
"$APP/Contents/MacOS/RemoteZynAddSubFx"
# Fix more Zyn Linking issues
install_name_tool -change @rpath/libZynAddSubFxCore.dylib \
@loader_path/../../Frameworks/libZynAddSubFxCore.dylib \
"$APP/Contents/lib/lmms/libzynaddsubfx.so"
install_name_tool -change @CMAKE_BINARY_DIR@/plugins/zynaddsubfx/libZynAddSubFxCore.dylib \
@loader_path/../../Frameworks/libZynAddSubFxCore.dylib \
"$APP/Contents/MacOS/RemoteZynAddSubFx"
# Build a list of shared objects in target/lib/lmms
for file in "$APP/Contents/lib/lmms/"*.so; do
_thisfile="$APP/Contents/lib/lmms/${file##*/}"
_executables="${_executables} -executable=$_thisfile"
done
# Build a list of shared objects in target/lib/lmms/ladspa
for file in "$APP/Contents/lib/lmms/ladspa/"*.so; do
_thisfile="$APP/Contents/lib/lmms/ladspa/${file##*/}"
_executables="${_executables} -executable=$_thisfile"
done
# Additional binaries that require linking
_executables="${_executables} -executable=$APP/Contents/MacOS/RemoteZynAddSubFx"
_executables="${_executables} -executable=$APP/Contents/Frameworks/libZynAddSubFxCore.dylib"
# Build our App Package using "macdeployqt"
macdeployqt "$APP" $_executables
# OS X Specific Artwork
mkdir -p "$APP/Contents/Resources"
cp "@CMAKE_SOURCE_DIR@/cmake/apple/"*.icns "$APP/Contents/Resources/"
echo -e "\nFinished.\n\n"

BIN
cmake/apple/lmms.icns Normal file

Binary file not shown.

147
cmake/apple/lmms.plist.in Normal file
View File

@@ -0,0 +1,147 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleIconFile</key>
<string>@MACOSX_BUNDLE_ICON_FILE@</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleGetInfoString</key>
<string>@MACOSX_BUNDLE_GUI_IDENTIFIER@ @MACOSX_BUNDLE_LONG_VERSION_STRING@</string>
<!--
#############################################################
# Apple Creator Code Registered Application Signatures #
#############################################################
# Company: LMMS Foundation #
# Registrant: tres.finocchiaro@gmail.com #
# ASCII Code: LMMS #
# HEX: 4C4D4D53 #
#############################################################
# Contact Apple Developer Support at cfreg@apple.com #
# with any requested changes #
#############################################################
-->
<key>CFBundleSignature</key>
<string>@MACOSX_BUNDLE_GUI_IDENTIFIER@</string>
<key>CFBundleExecutable</key>
<string>@MACOSX_BUNDLE_GUI_IDENTIFIER@</string>
<key>CFBundleVersion</key>
<string>@MACOSX_BUNDLE_LONG_VERSION_STRING@</string>
<key>CFBundleShortVersionString</key>
<string>@MACOSX_BUNDLE_LONG_VERSION_STRING@</string>
<key>CFBundleName</key>
<string>@MACOSX_BUNDLE_BUNDLE_NAME@</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleIdentifier</key>
<string>@MACOSX_BUNDLE_MIMETYPE_ID@</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>mmpz</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>@MACOSX_BUNDLE_MIMETYPE_ICON@</string>
<key>CFBundleTypeName</key>
<string>@MACOSX_BUNDLE_GUI_IDENTIFIER@ Project</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>mmpz</string>
</array>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>@MACOSX_BUNDLE_MIMETYPE@</string>
</array>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>mmp</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>@MACOSX_BUNDLE_MIMETYPE_ICON@</string>
<key>CFBundleTypeName</key>
<string>@MACOSX_BUNDLE_GUI_IDENTIFIER@ Project (uncompressed)</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>mmp</string>
</array>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>@MACOSX_BUNDLE_MIMETYPE@</string>
</array>
</dict>
</array>
<key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeIdentifier</key>
<string>@MACOSX_BUNDLE_MIMETYPE_ID@.mmpz</string>
<key>UTTypeReferenceURL</key>
<string>@MACOSX_BUNDLE_PROJECT_URL@</string>
<key>UTTypeDescription</key>
<string>@MACOSX_BUNDLE_GUI_IDENTIFIER@ Project</string>
<key>UTTypeIconFile</key>
<string>@MACOSX_BUNDLE_MIMETYPE_ICON@</string>
<key>UTTypeConformsTo</key>
<array>
<string>public.data</string>
</array>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>mmpz</string>
</array>
</dict>
</dict>
<dict>
<key>UTTypeIdentifier</key>
<string>@MACOSX_BUNDLE_MIMETYPE_ID@.mmp</string>
<key>UTTypeReferenceURL</key>
<string>@MACOSX_BUNDLE_PROJECT_URL@</string>
<key>UTTypeDescription</key>
<string>@MACOSX_BUNDLE_GUI_IDENTIFIER@ Project (uncompressed)</string>
<key>UTTypeIconFile</key>
<string>@MACOSX_BUNDLE_MIMETYPE_ICON@</string>
<key>UTTypeConformsTo</key>
<array>
<string>public.xml</string>
<string>public.data</string>
</array>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>mmp</string>
</array>
</dict>
</dict>
</array>
</dict>
</plist>

View File

@@ -0,0 +1,10 @@
{
"title": "@MACOSX_BUNDLE_BUNDLE_NAME@ @MACOSX_BUNDLE_LONG_VERSION_STRING@",
"icon": "@CMAKE_SOURCE_DIR@/cmake/apple/lmms.icns",
"background": "@CMAKE_SOURCE_DIR@/cmake/apple/dmg_branding.png",
"icon-size": 72,
"contents": [
{ "x": 460, "y": 260, "type": "link", "path": "/Applications" },
{ "x": 220, "y": 260, "type": "file", "path": "@CMAKE_BINARY_DIR@/@MACOSX_BUNDLE_BUNDLE_NAME@.app" }
]
}

BIN
cmake/apple/project.icns Normal file

Binary file not shown.

20
cmake/build_mingw32.sh Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/sh
# Accomodate both linux windows mingw locations
MINGW=/mingw32
if [ -z "$MSYSCON" ]; then
MINGW=/opt$MINGW
else
CMAKE_OPTS="$CMAKE_OPTS -DLMMS_BUILD_MSYS=1"
fi
export PATH=$PATH:$MINGW/bin
export CFLAGS="-march=pentium3 -mtune=generic -mpreferred-stack-boundary=5 -mfpmath=sse"
export CXXFLAGS="$CFLAGS"
if [ "$1" = "-qt5" ] ; then
CMAKE_OPTS="-DWANT_QT5=ON -DCMAKE_PREFIX_PATH=$MINGW $CMAKE_OPTS"
fi
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/modules/Win32Toolchain.cmake -DCMAKE_MODULE_PATH=`pwd`/../cmake/modules/ $CMAKE_OPTS

18
cmake/build_mingw64.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/sh
# Accomodate both linux windows mingw locations
MINGW=/mingw64
if [ -z "$MSYSCON" ]; then
MINGW=/opt$MINGW
else
CMAKE_OPTS="$CMAKE_OPTS -DLMMS_BUILD_MSYS=1"
fi
export PATH=$PATH:$MINGW/bin
if [ "$1" = "-qt5" ] ; then
CMAKE_OPTS="-DWANT_QT5=ON -DCMAKE_PREFIX_PATH=$MINGW $CMAKE_OPTS"
fi
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/modules/Win64Toolchain.cmake -DCMAKE_MODULE_PATH=`pwd`/../cmake/modules/ $CMAKE_OPTS

View File

@@ -0,0 +1,4 @@
INSTALL(FILES lmms.png DESTINATION "${DATA_DIR}/pixmaps")
INSTALL(FILES lmms DESTINATION "${DATA_DIR}/menu")
INSTALL(FILES lmms.desktop DESTINATION "${DATA_DIR}/applications")
INSTALL(FILES lmms.xml DESTINATION "${DATA_DIR}/mime/packages")

4
cmake/linux/lmms Normal file
View File

@@ -0,0 +1,4 @@
?package(lmms):needs="X11" section="Apps/Sound" \
title="LMMS" hints="Audio" command="/usr/bin/lmms" \
longtitle="LMMS" \
icon="/usr/share/pixmaps/lmms.png"

13
cmake/linux/lmms.desktop Normal file
View File

@@ -0,0 +1,13 @@
[Desktop Entry]
Name=LMMS
GenericName=music production suite
GenericName[ca]=Programari de producció musical
GenericName[de]=Software zur Musik-Produktion
Comment=easy music production for everyone!
Comment[ca]=Producció fàcil de música per a tothom!
Icon=lmms
Exec=env QT_X11_NO_NATIVE_MENUBAR=1 lmms %f
Terminal=false
Type=Application
Categories=Qt;AudioVideo;Audio;Midi;
MimeType=application/x-lmms-project;

BIN
cmake/linux/lmms.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

View File

@@ -1,6 +1,6 @@
# Configuration variables
%define name lmms
%define version 0.3.0
%define version ${LMMS_VERSION}
%define rel 1
%define release %{rel}%{?disttag}%{?repotag}
@@ -13,7 +13,7 @@
%define with_sf 1%{nil}
# Build by setting these defines on the command line, for example:
# rpmbuild --define 'disttag .EL' --define 'repotag .fc6'
# rpmbuild --define 'disttag .EL' --define 'repotag .fc6'
%{!?desktop_vendor: %{expand: %%define desktop_vendor rpmfarm}}
# This can be changed at build time:
# rpmbuild --define 'desktop_vendor RPMfarm'
@@ -26,11 +26,11 @@ Release: %{release}
Summary: powerful sequencer-, synthesizer- and sample-studio for Linux
Summary(de): Leistungsfaehiges Sequenzer-, Synthesizer- und Sample-Studio fuer Linux
License: GPL
URL: http://lmms.sourceforge.net/
URL: http://lmms.io/
Group: Applications/Multimedia
Provides: lmms = %{version}-%{release}
BuildRequires: gcc gcc-c++ libstdc++-devel autoconf automake libtool make
BuildRequires: alsa-lib-devel
BuildRequires: alsa-lib-devel
BuildRequires: qt-devel > 3.0
# ------------- BuildRequires:
%if %{with_vorbis}
@@ -40,7 +40,7 @@ BuildRequires: libvorbis libvorbis-devel
BuildRequires: SDL SDL-devel SDL_sound
%endif
%if %{with_sr}
BuildRequires: libsamplerate libsamplerate-devel
BuildRequires: libsamplerate libsamplerate-devel
%endif
%if %{with_sf}
BuildRequires: libsndfile libsndfile-devel
@@ -57,7 +57,7 @@ Requires: qt >= 3.0 alsa-lib
Requires: libsamplerate
%endif
%if %{with_sf}
Requires: libsndfile
Requires: libsndfile
%endif
%if %{with_jack}
Requires: jack-audio-connection-kit
@@ -116,13 +116,13 @@ Group: Applications/Multimedia
Provides: lmms-data = %{version}-%{release}
%description data
This package contains platform-independent data and resources for Linux
MultiMedia Studio (LMMS), e.g. samples, presets and demo-projects.
This package contains platform-independent data and resources for LMMS, e.g.
samples, presets and demo-projects.
%description data -l de
Dieses Paket beinhaltet plattform-unabhaengige Daten und Resourcen fuer Linux
MultiMedia Studio (LMMS), wie z.B. Samples, Presets und Demo-Projekte.
Dieses Paket beinhaltet plattform-unabhaengige Daten und Resourcen fuer LMMS,
wie z.B. Samples, Presets und Demo-Projekte.
%prep
@@ -156,7 +156,7 @@ MultiMedia Studio (LMMS), wie z.B. Samples, Presets und Demo-Projekte.
# Create a desktop menu entry
%{__cat} > %{name}.desktop << EOF
[Desktop Entry]
Name=Linux MultiMedia Studio
Name=LMMS
Comment=Powerful sequencer-, synthesizer- and sample-studio for Linux
Exec=lmms
Icon=%{_datadir}/%{name}/themes/default/icon.png
@@ -194,23 +194,7 @@ desktop-file-install \
%dir %{_datadir}/lmms
%{_datadir}/lmms/*
%changelog
* Fri Apr 13 2007 Eric Lassauge <lassauge@users.fr.net> - 0.2.1-1
- build for FC6
- added dependencies and build configuration
- added .desktop file
* Tue Sep 20 2005 Tobias Doerffel
- added JACK-dependencies
* Fri Jul 22 2005 Tobias Doerffel
- added more dependencies for builds under SuSE
* Sat Jun 25 2005 Tobias Doerffel
- splitted package into lmms and lmms-data
- additional requirements
- updated project-homepage and email-address of packager
* Thu May 12 2005 Tobias Doerffel
- created lmms.spec.in
-%changelog
-* Please see release notes (viewable online):
-- https://github.com/LMMS/lmms/releases/tag/v${LMMS_VERSION}
-

View File

@@ -0,0 +1,69 @@
# BuildPlugin.cmake - Copyright (c) 2008 Tobias Doerffel
#
# description: build LMMS-plugin
# usage: BUILD_PLUGIN(<PLUGIN_NAME> <PLUGIN_SOURCES> MOCFILES <HEADERS_FOR_MOC> EMBEDDED_RESOURCES <LIST_OF_FILES_TO_EMBED> UICFILES <UI_FILES_TO_COMPILE> )
MACRO(BUILD_PLUGIN PLUGIN_NAME)
CMAKE_PARSE_ARGUMENTS(PLUGIN "" "" "MOCFILES;EMBEDDED_RESOURCES;UICFILES" ${ARGN})
SET(PLUGIN_SOURCES ${PLUGIN_UNPARSED_ARGUMENTS})
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/src/gui)
ADD_DEFINITIONS(-DPLUGIN_NAME=${PLUGIN_NAME})
LIST(LENGTH PLUGIN_EMBEDDED_RESOURCES ER_LEN)
IF(ER_LEN)
SET(ER_H ${CMAKE_CURRENT_BINARY_DIR}/embedded_resources.h)
ADD_CUSTOM_COMMAND(OUTPUT ${ER_H}
COMMAND ${BIN2RES}
ARGS ${PLUGIN_EMBEDDED_RESOURCES} > ${ER_H}
DEPENDS bin2res)
ENDIF(ER_LEN)
IF(QT5)
QT5_WRAP_CPP(plugin_MOC_out ${PLUGIN_MOCFILES})
QT5_WRAP_UI(plugin_UIC_out ${PLUGIN_UICFILES})
ELSE()
QT4_WRAP_CPP(plugin_MOC_out ${PLUGIN_MOCFILES})
QT4_WRAP_UI(plugin_UIC_out ${PLUGIN_UICFILES})
ENDIF()
FOREACH(f ${PLUGIN_SOURCES})
ADD_FILE_DEPENDENCIES(${f} ${ER_H} ${plugin_UIC_out})
ENDFOREACH(f)
IF(LMMS_BUILD_APPLE)
LINK_DIRECTORIES(${CMAKE_BINARY_DIR})
LINK_LIBRARIES(${QT_LIBRARIES})
ENDIF(LMMS_BUILD_APPLE)
IF(LMMS_BUILD_WIN32)
LINK_DIRECTORIES(${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR})
LINK_LIBRARIES(${QT_LIBRARIES})
ENDIF(LMMS_BUILD_WIN32)
IF(LMMS_BUILD_MSYS AND CMAKE_BUILD_TYPE STREQUAL "Debug")
# Override Qt debug libraries with release versions
SET(QT_LIBRARIES "${QT_OVERRIDE_LIBRARIES}")
ENDIF()
ADD_LIBRARY(${PLUGIN_NAME} MODULE ${PLUGIN_SOURCES} ${plugin_MOC_out})
IF(QT5)
TARGET_LINK_LIBRARIES(${PLUGIN_NAME} Qt5::Widgets Qt5::Xml)
ENDIF()
IF(LMMS_BUILD_WIN32)
TARGET_LINK_LIBRARIES(${PLUGIN_NAME} lmms)
ENDIF(LMMS_BUILD_WIN32)
INSTALL(TARGETS ${PLUGIN_NAME} LIBRARY DESTINATION "${PLUGIN_DIR}")
IF(LMMS_BUILD_APPLE)
SET_TARGET_PROPERTIES(${PLUGIN_NAME} PROPERTIES LINK_FLAGS "-bundle_loader ${CMAKE_BINARY_DIR}/lmms")
ADD_DEPENDENCIES(${PLUGIN_NAME} lmms)
ENDIF(LMMS_BUILD_APPLE)
IF(LMMS_BUILD_WIN32)
SET_TARGET_PROPERTIES(${PLUGIN_NAME} PROPERTIES PREFIX "")
ADD_CUSTOM_COMMAND(TARGET ${PLUGIN_NAME} POST_BUILD COMMAND ${STRIP} $<TARGET_FILE:${PLUGIN_NAME}>)
ENDIF(LMMS_BUILD_WIN32)
SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${ER_H} ${plugin_MOC_out}")
ENDMACRO(BUILD_PLUGIN)

View File

@@ -0,0 +1,83 @@
IF(WIN32)
SET(LMMS_BUILD_WIN32 1)
ELSEIF(APPLE)
SET(LMMS_BUILD_APPLE 1)
ELSEIF(HAIKU)
SET(LMMS_BUILD_HAIKU 1)
ELSE()
SET(LMMS_BUILD_LINUX 1)
ENDIF(WIN32)
IF(${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
SET(LMMS_BUILD_CLANG 1)
ENDIF()
# See build_mingwXX.sh for LMMS_BUILD_MSYS
MESSAGE("PROCESSOR: ${CMAKE_SYSTEM_PROCESSOR}")
SET(LMMS_HOST_X86 FALSE)
SET(LMMS_HOST_X86_64 FALSE)
IF(WIN32)
IF(WIN64)
SET(IS_X86_64 TRUE)
SET(LMMS_BUILD_WIN64 TRUE)
ELSE(WIN64)
SET(IS_X86 TRUE)
ENDIF(WIN64)
ELSE(WIN32)
EXEC_PROGRAM( ${CMAKE_C_COMPILER} ARGS "-dumpmachine ${CMAKE_C_FLAGS}" OUTPUT_VARIABLE Machine )
MESSAGE("Machine: ${Machine}")
STRING(REGEX MATCH "i.86" IS_X86 "${Machine}")
STRING(REGEX MATCH "86_64" IS_X86_64 "${Machine}")
ENDIF(WIN32)
IF(IS_X86)
MESSAGE("-- Target host is 32 bit")
SET(LMMS_HOST_X86 TRUE)
ELSEIF(IS_X86_64)
MESSAGE("-- Target host is 64 bit")
SET(LMMS_HOST_X86_64 TRUE)
ELSE(IS_X86)
MESSAGE("Can't identify target host. Assuming 32 bit platform.")
ENDIF(IS_X86)
IF(CMAKE_INSTALL_LIBDIR)
SET(LIB_DIR "${CMAKE_INSTALL_LIBDIR}")
ELSE(CMAKE_INSTALL_LIBDIR)
SET(LIB_DIR lib)
ENDIF(CMAKE_INSTALL_LIBDIR)
IF(LMMS_BUILD_WIN32)
SET(BIN_DIR .)
SET(PLUGIN_DIR plugins)
SET(DATA_DIR data)
SET(LMMS_DATA_DIR data)
ELSE(LMMS_BUILD_WIN32)
SET(BIN_DIR bin)
SET(PLUGIN_DIR ${LIB_DIR}/lmms)
SET(DATA_DIR share)
SET(LMMS_DATA_DIR ${DATA_DIR}/lmms)
ENDIF(LMMS_BUILD_WIN32)
IF(LMMS_BUILD_APPLE)
# Detect Homebrew versus Macports environment
EXECUTE_PROCESS(COMMAND brew --prefix RESULT_VARIABLE DETECT_HOMEBREW OUTPUT_VARIABLE HOMEBREW_PREFIX ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
EXECUTE_PROCESS(COMMAND which port RESULT_VARIABLE DETECT_MACPORTS OUTPUT_VARIABLE MACPORTS_PREFIX ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
IF(${DETECT_HOMEBREW} EQUAL 0)
SET(HOMEBREW 1)
SET(APPLE_PREFIX "${HOMEBREW_PREFIX}")
ELSEIF(${DETECT_MACPORTS} EQUAL 0)
SET(MACPORTS 1)
GET_FILENAME_COMPONENT(MACPORTS_PREFIX ${MACPORTS_PREFIX} DIRECTORY)
GET_FILENAME_COMPONENT(MACPORTS_PREFIX ${MACPORTS_PREFIX} DIRECTORY)
SET(APPLE_PREFIX "${MACPORTS_PREFIX}")
LINK_DIRECTORIES(${LINK_DIRECTORIES} ${APPLE_PREFIX}/lib)
ENDIF()
# Detect OS Version
EXECUTE_PROCESS(COMMAND sw_vers -productVersion OUTPUT_VARIABLE APPLE_OS_VER ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
STRING(REGEX REPLACE "\\.[0-9]*$" "" APPLE_OS_VER "${APPLE_OS_VER}")
SET(CMAKE_MACOSX_RPATH 1)
ENDIF()

View File

@@ -0,0 +1,64 @@
# Alsa check, based on libkmid/configure.in.in.
# Only the support for Alsa >= 0.9.x was included; 0.5.x was dropped (but feel free to re-add it if you need it)
# It defines ...
# It offers the following macros:
# ALSA_CONFIGURE_FILE(config_header) - generate a config.h, typical usage:
# ALSA_CONFIGURE_FILE(${CMAKE_BINARY_DIR}/config-alsa.h)
# ALSA_VERSION_STRING(version_string) looks for alsa/version.h and reads the version string into
# the first argument passed to the macro
# Copyright (c) 2006, David Faure, <faure@kde.org>
# Copyright (c) 2007, Matthias Kretz <kretz@kde.org>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
include(CheckIncludeFiles)
include(CheckIncludeFileCXX)
include(CheckLibraryExists)
# Already done by toplevel
find_library(ASOUND_LIBRARY asound)
set(ASOUND_LIBRARY_DIR "")
if(ASOUND_LIBRARY)
get_filename_component(ASOUND_LIBRARY_DIR ${ASOUND_LIBRARY} PATH)
endif(ASOUND_LIBRARY)
check_library_exists(asound snd_seq_create_simple_port "${ASOUND_LIBRARY_DIR}" HAVE_LIBASOUND2)
if(HAVE_LIBASOUND2)
message(STATUS "Found ALSA: ${ASOUND_LIBRARY}")
else(HAVE_LIBASOUND2)
message(STATUS "ALSA not found")
endif(HAVE_LIBASOUND2)
set(ALSA_FOUND ${HAVE_LIBASOUND2})
find_path(ALSA_INCLUDES alsa/version.h)
macro(ALSA_VERSION_STRING _result)
# check for version in alsa/version.h
if(ALSA_INCLUDES)
file(READ "${ALSA_INCLUDES}/alsa/version.h" _ALSA_VERSION_CONTENT)
string(REGEX REPLACE ".*SND_LIB_VERSION_STR.*\"(.*)\".*" "\\1" ${_result} ${_ALSA_VERSION_CONTENT})
else(ALSA_INCLUDES)
message(STATUS "ALSA version not known. ALSA output will probably not work correctly.")
endif(ALSA_INCLUDES)
endmacro(ALSA_VERSION_STRING _result)
check_include_files(sys/soundcard.h LMMS_HAVE_SYS_SOUNDCARD_H)
check_include_files(machine/soundcard.h LMMS_HAVE_MACHINE_SOUNDCARD_H)
check_include_files(linux/awe_voice.h LMMS_HAVE_LINUX_AWE_VOICE_H)
check_include_files(awe_voice.h LMMS_HAVE_AWE_VOICE_H)
check_include_files(/usr/src/sys/i386/isa/sound/awe_voice.h LMMS_HAVE__USR_SRC_SYS_I386_ISA_SOUND_AWE_VOICE_H)
check_include_files(/usr/src/sys/gnu/i386/isa/sound/awe_voice.h LMMS_HAVE__USR_SRC_SYS_GNU_I386_ISA_SOUND_AWE_VOICE_H)
check_include_file_cxx(sys/asoundlib.h LMMS_HAVE_SYS_ASOUNDLIB_H)
check_include_file_cxx(alsa/asoundlib.h LMMS_HAVE_ALSA_ASOUNDLIB_H)
check_library_exists(asound snd_pcm_resume "${ASOUND_LIBRARY_DIR}" ASOUND_HAS_SND_PCM_RESUME)
if(ASOUND_HAS_SND_PCM_RESUME)
set(HAVE_SND_PCM_RESUME 1)
endif(ASOUND_HAS_SND_PCM_RESUME)
mark_as_advanced(ALSA_INCLUDES ASOUND_LIBRARY)

View File

@@ -0,0 +1,86 @@
# - Try to find the OggVorbis libraries
# Once done this will define
#
# OGGVORBIS_FOUND - system has OggVorbis
# OGGVORBIS_VERSION - set either to 1 or 2
# OGGVORBIS_INCLUDE_DIR - the OggVorbis include directory
# OGGVORBIS_LIBRARIES - The libraries needed to use OggVorbis
# OGG_LIBRARY - The Ogg library
# VORBIS_LIBRARY - The Vorbis library
# VORBISFILE_LIBRARY - The VorbisFile library
# VORBISENC_LIBRARY - The VorbisEnc library
# Copyright (c) 2006, Richard Laerkaeng, <richard@goteborg.utfors.se>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
include (CheckLibraryExists)
find_path(VORBIS_INCLUDE_DIR vorbis/vorbisfile.h)
find_path(OGG_INCLUDE_DIR ogg/ogg.h)
find_library(OGG_LIBRARY NAMES ogg)
find_library(VORBIS_LIBRARY NAMES vorbis)
find_library(VORBISFILE_LIBRARY NAMES vorbisfile)
find_library(VORBISENC_LIBRARY NAMES vorbisenc)
if (VORBIS_INCLUDE_DIR AND VORBIS_LIBRARY AND VORBISFILE_LIBRARY AND VORBISENC_LIBRARY)
set(OGGVORBIS_FOUND TRUE)
set(OGGVORBIS_LIBRARIES ${OGG_LIBRARY} ${VORBIS_LIBRARY} ${VORBISFILE_LIBRARY} ${VORBISENC_LIBRARY})
set(_CMAKE_REQUIRED_LIBRARIES_TMP ${CMAKE_REQUIRED_LIBRARIES})
set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${OGGVORBIS_LIBRARIES})
check_library_exists(vorbis vorbis_bitrate_addblock "" HAVE_LIBVORBISENC2)
set(CMAKE_REQUIRED_LIBRARIES ${_CMAKE_REQUIRED_LIBRARIES_TMP})
if (HAVE_LIBVORBISENC2)
set (OGGVORBIS_VERSION 2)
else (HAVE_LIBVORBISENC2)
set (OGGVORBIS_VERSION 1)
endif (HAVE_LIBVORBISENC2)
else (VORBIS_INCLUDE_DIR AND VORBIS_LIBRARY AND VORBISFILE_LIBRARY AND VORBISENC_LIBRARY)
set (OGGVORBIS_VERSION)
set(OGGVORBIS_FOUND FALSE)
endif (VORBIS_INCLUDE_DIR AND VORBIS_LIBRARY AND VORBISFILE_LIBRARY AND VORBISENC_LIBRARY)
if (OGGVORBIS_FOUND)
if (NOT OggVorbis_FIND_QUIETLY)
message(STATUS "Found OggVorbis: ${OGGVORBIS_LIBRARIES}")
endif (NOT OggVorbis_FIND_QUIETLY)
else (OGGVORBIS_FOUND)
if (OggVorbis_FIND_REQUIRED)
message(FATAL_ERROR "Could NOT find OggVorbis libraries")
endif (OggVorbis_FIND_REQUIRED)
if (NOT OggVorbis_FIND_QUITELY)
message(STATUS "Could NOT find OggVorbis libraries")
endif (NOT OggVorbis_FIND_QUITELY)
endif (OGGVORBIS_FOUND)
#check_include_files(vorbis/vorbisfile.h HAVE_VORBISFILE_H)
#check_library_exists(ogg ogg_page_version "" HAVE_LIBOGG)
#check_library_exists(vorbis vorbis_info_init "" HAVE_LIBVORBIS)
#check_library_exists(vorbisfile ov_open "" HAVE_LIBVORBISFILE)
#check_library_exists(vorbisenc vorbis_info_clear "" HAVE_LIBVORBISENC)
#check_library_exists(vorbis vorbis_bitrate_addblock "" HAVE_LIBVORBISENC2)
#if (HAVE_LIBOGG AND HAVE_VORBISFILE_H AND HAVE_LIBVORBIS AND HAVE_LIBVORBISFILE AND HAVE_LIBVORBISENC)
# message(STATUS "Ogg/Vorbis found")
# set (VORBIS_LIBS "-lvorbis -logg")
# set (VORBISFILE_LIBS "-lvorbisfile")
# set (VORBISENC_LIBS "-lvorbisenc")
# set (OGGVORBIS_FOUND TRUE)
# if (HAVE_LIBVORBISENC2)
# set (HAVE_VORBIS 2)
# else (HAVE_LIBVORBISENC2)
# set (HAVE_VORBIS 1)
# endif (HAVE_LIBVORBISENC2)
#else (HAVE_LIBOGG AND HAVE_VORBISFILE_H AND HAVE_LIBVORBIS AND HAVE_LIBVORBISFILE AND HAVE_LIBVORBISENC)
# message(STATUS "Ogg/Vorbis not found")
#endif (HAVE_LIBOGG AND HAVE_VORBISFILE_H AND HAVE_LIBVORBIS AND HAVE_LIBVORBISFILE AND HAVE_LIBVORBISENC)

View File

@@ -0,0 +1,36 @@
# - Try to find Portaudio
# Once done this will define
#
# PORTAUDIO_FOUND - system has Portaudio
# PORTAUDIO_INCLUDE_DIRS - the Portaudio include directory
# PORTAUDIO_LIBRARIES - Link these to use Portaudio
# PORTAUDIO_DEFINITIONS - Compiler switches required for using Portaudio
#
# Copyright (c) 2006 Andreas Schneider <mail@cynapses.org>
#
# Redistribution and use is allowed according to the terms of the New BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
#
if (PORTAUDIO_LIBRARIES AND PORTAUDIO_INCLUDE_DIRS)
# in cache already
set(PORTAUDIO_FOUND TRUE)
else (PORTAUDIO_LIBRARIES AND PORTAUDIO_INCLUDE_DIRS)
include(FindPkgConfig)
pkg_check_modules(PORTAUDIO portaudio-2.0)
if (PORTAUDIO_FOUND)
if (NOT Portaudio_FIND_QUIETLY)
message(STATUS "Found Portaudio: ${PORTAUDIO_LIBRARIES}")
endif (NOT Portaudio_FIND_QUIETLY)
else (PORTAUDIO_FOUND)
if (Portaudio_FIND_REQUIRED)
message(FATAL_ERROR "Could not find Portaudio")
endif (Portaudio_FIND_REQUIRED)
endif (PORTAUDIO_FOUND)
# show the PORTAUDIO_INCLUDE_DIRS and PORTAUDIO_LIBRARIES variables only in the advanced view
mark_as_advanced(PORTAUDIO_INCLUDE_DIRS PORTAUDIO_LIBRARIES)
endif (PORTAUDIO_LIBRARIES AND PORTAUDIO_INCLUDE_DIRS)

View File

@@ -0,0 +1,59 @@
# - Try to find PulseAudioSimple
# Once done this will define
#
# PULSEAUDIO_FOUND - system has PulseAudioSimple
# PULSEAUDIO_INCLUDE_DIR - the PulseAudioSimple include directory
# PULSEAUDIO_LIBRARIES - the libraries needed to use PulseAudioSimple
# PULSEAUDIO_DEFINITIONS - Compiler switches required for using PulseAudioSimple
#
IF(NO_PULSE)
message(status "<disabled per request>")
ELSE(NO_PULSE)
IF (PULSEAUDIO_INCLUDE_DIR AND PULSEAUDIO_LIBRARIES)
# in cache already
SET(PULSEAUDIO_FIND_QUIETLY TRUE)
ENDIF (PULSEAUDIO_INCLUDE_DIR AND PULSEAUDIO_LIBRARIES)
IF (NOT WIN32)
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
INCLUDE(FindPkgConfig)
pkg_check_modules(PA libpulse)
set(_PASIncDir ${PA_INCLUDE_DIRS})
set(_PASLinkDir ${PA_LIBRARY_DIRS})
set(_PASLinkFlags ${PA_LDFLAGS})
set(_PASCflags ${PA_CFLAGS})
SET(PULSEAUDIO_DEFINITIONS ${_PASCflags})
ENDIF (NOT WIN32)
FIND_PATH(PULSEAUDIO_INCLUDE_DIR pulse/pulseaudio.h
PATHS
${_PASIncDir}
PATH_SUFFIXES pulse
)
FIND_LIBRARY(PULSEAUDIO_LIBRARIES NAMES pulse libpulse
PATHS
${_PASLinkDir}
)
IF (PULSEAUDIO_INCLUDE_DIR AND PULSEAUDIO_LIBRARIES)
SET(PULSEAUDIO_FOUND TRUE)
ELSE (PULSEAUDIO_INCLUDE_DIR AND PULSEAUDIO_LIBRARIES)
SET(PULSEAUDIO_FOUND FALSE)
ENDIF (PULSEAUDIO_INCLUDE_DIR AND PULSEAUDIO_LIBRARIES)
IF (PULSEAUDIO_FOUND)
IF (NOT PULSEAUDIO_FIND_QUIETLY)
MESSAGE(STATUS "Found PulseAudio Simple: ${PULSEAUDIO_LIBRARIES}")
ENDIF (NOT PULSEAUDIO_FIND_QUIETLY)
SET(USE_PULSE_ 1)
ELSE (PULSEAUDIO_FOUND)
MESSAGE(STATUS "Could NOT find LibXml2")
ENDIF (PULSEAUDIO_FOUND)
MARK_AS_ADVANCED(PULSEAUDIO_INCLUDE_DIR PULSEAUDIO_LIBRARIES)
ENDIf(NO_PULSE)

View File

@@ -0,0 +1,20 @@
FIND_PATH(STK_INCLUDE_DIR Stk.h /usr/include/stk /usr/local/include/stk ${CMAKE_INSTALL_PREFIX}/include/stk ${CMAKE_FIND_ROOT_PATH}/include/stk)
FIND_LIBRARY(STK_LIBRARY NAMES stk PATH /usr/lib /usr/local/lib ${CMAKE_INSTALL_PREFIX}/lib ${CMAKE_FIND_ROOT_PATH}/lib)
IF (STK_INCLUDE_DIR AND STK_LIBRARY)
SET(STK_FOUND TRUE)
ENDIF (STK_INCLUDE_DIR AND STK_LIBRARY)
IF (STK_FOUND)
IF (NOT STK_FIND_QUIETLY)
MESSAGE(STATUS "Found STK: ${STK_LIBRARY}")
SET(HAVE_STK TRUE)
ENDIF (NOT STK_FIND_QUIETLY)
ELSE (STK_FOUND)
IF (STK_FIND_REQUIRED)
MESSAGE(FATAL_ERROR "Could not find STK")
ENDIF (STK_FIND_REQUIRED)
ENDIF (STK_FOUND)

View File

@@ -0,0 +1,16 @@
# Copyright (c) 2015 Andrew Kelley
# This file is MIT licensed.
# See http://opensource.org/licenses/MIT
# SOUNDIO_FOUND
# SOUNDIO_INCLUDE_DIR
# SOUNDIO_LIBRARY
find_path(SOUNDIO_INCLUDE_DIR NAMES soundio/soundio.h)
find_library(SOUNDIO_LIBRARY NAMES soundio)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(SOUNDIO DEFAULT_MSG SOUNDIO_LIBRARY SOUNDIO_INCLUDE_DIR)
mark_as_advanced(SOUNDIO_INCLUDE_DIR SOUNDIO_LIBRARY)

View File

@@ -0,0 +1,20 @@
# - Try to find the wine libraries
# Once done this will define
#
# WINE_FOUND - System has wine
# WINE_INCLUDE_DIRS - The wine include directories
# WINE_LIBRARIES - The libraries needed to use wine
# WINE_DEFINITIONS - Compiler switches required for using wine
#
FIND_PATH(WINE_INCLUDE_DIR windows/windows.h PATH_SUFFIXES wine)
FIND_LIBRARY(WINE_LIBRARY NAMES wine PATH_SUFFIXES wine)
FIND_PROGRAM(WINE_CXX NAMES wineg++ winegcc winegcc64 winegcc32)
set(WINE_INCLUDE_DIRS ${WINE_INCLUDE_DIR} )
set(WINE_LIBRARIES ${WINE_LIBRARY} )
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Wine DEFAULT_MSG WINE_LIBRARIES WINE_INCLUDE_DIRS)
mark_as_advanced(WINE_INCLUDE_DIR WINE_LIBRARY)

View File

@@ -0,0 +1,45 @@
#
# install all files matching certain wildcards below ${LMMS_DATA_DIR}/<subdir>
#
# example:
#
# INSTALL_DATA_SUBDIRS("samples" "*.ogg;*.wav;*.flac")
#
# Copyright (c) 2008 Tobias Doerffel
#
# helper-macro
MACRO(LIST_CONTAINS var value)
SET(${var})
FOREACH (value2 ${ARGN})
IF (${value} STREQUAL ${value2})
SET(${var} TRUE)
ENDIF (${value} STREQUAL ${value2})
ENDFOREACH (value2)
ENDMACRO(LIST_CONTAINS)
MACRO(INSTALL_DATA_SUBDIRS _subdir _wildcards)
FOREACH(_wildcard ${_wildcards})
FILE(GLOB_RECURSE files ${_wildcard})
SET(SUBDIRS)
FOREACH(_item ${files})
GET_FILENAME_COMPONENT(_file "${_item}" PATH)
STRING(REPLACE "${CMAKE_CURRENT_SOURCE_DIR}/" "" _file "${_file}")
LIST_CONTAINS(contains _file ${SUBDIRS})
IF(NOT contains)
LIST(APPEND SUBDIRS "${_file}")
ENDIF(NOT contains)
ENDFOREACH(_item ${files})
FOREACH(_item ${SUBDIRS})
FILE(GLOB files "${_item}/${_wildcard}")
FOREACH(_file ${files})
INSTALL(FILES "${_file}" DESTINATION "${LMMS_DATA_DIR}/${_subdir}/${_item}/")
ENDFOREACH(_file ${files})
ENDFOREACH(_item ${SUBDIRS})
ENDFOREACH(_wildcard ${_wildcards})
ENDMACRO(INSTALL_DATA_SUBDIRS)

View File

@@ -0,0 +1,99 @@
# Required by cmake if `uname -s` is inadaquate
SET(CMAKE_SYSTEM_NAME Windows)
SET(CMAKE_SYSTEM_VERSION 1)
# The target environment
SET(CMAKE_FIND_ROOT_PATH ${MINGW_PREFIX})
SET(CMAKE_INSTALL_PREFIX ${MINGW_PREFIX})
# Windows msys mingw ships with a mostly-suitable preconfigured environment
IF(LMMS_BUILD_MSYS)
SET(STRIP ${MINGW_PREFIX}/bin/strip)
SET(WINDRES ${MINGW_PREFIX}/bin/windres)
SET(CMAKE_RC_COMPILER ${WINDRES})
SET(CMAKE_C_COMPILER ${MINGW_PREFIX}/bin/gcc)
SET(CMAKE_CXX_COMPILER ${MINGW_PREFIX}/bin/g++)
# For 32-bit vst support
IF(WIN64)
# Specify the 32-bit cross compiler
SET(CMAKE_C_COMPILER32 ${MINGW_PREFIX32}/bin/gcc)
SET(CMAKE_CXX_COMPILER32 ${MINGW_PREFIX32}/bin/g++)
ENDIF()
# Msys compiler does not support @CMakeFiles/Include syntax
SET(CMAKE_C_USE_RESPONSE_FILE_FOR_INCLUDES OFF)
SET(CMAKE_CXX_USE_RESPONSE_FILE_FOR_INCLUDES OFF)
# Variable to assist override Qt debug libraries with release versions
SET(QT_OVERRIDE_LIBRARIES
optimized;${MINGW_PREFIX}/bin/QtGui4.dll;
optimized;${MINGW_PREFIX}/bin/QtCore4.dll;
optimized;${MINGW_PREFIX}/bin/QtXml4.dll;
debug;${MINGW_PREFIX}/bin/QtGui4.dll;
debug;${MINGW_PREFIX}/bin/QtCore4.dll;
debug;${MINGW_PREFIX}/bin/QtXml4.dll;
)
IF(LMMS_BUILD_MSYS AND CMAKE_BUILD_TYPE STREQUAL "Debug")
# Override Qt debug libraries with release versions
SET(QT_LIBRARIES "${QT_OVERRIDE_LIBRARIES}")
ENDIF()
# Linux mingw requires explicitly defined tools to prevent clash with native system tools
ELSE()
SET(MINGW_TOOL_PREFIX ${MINGW_PREFIX}/bin/${CMAKE_SYSTEM_PROCESSOR}-w64-mingw32-)
# Specify the cross compiler
SET(CMAKE_C_COMPILER ${MINGW_TOOL_PREFIX}gcc)
SET(CMAKE_CXX_COMPILER ${MINGW_TOOL_PREFIX}g++)
SET(CMAKE_RC_COMPILER ${MINGW_TOOL_PREFIX}gcc)
# Mingw tools
SET(STRIP ${MINGW_TOOL_PREFIX}strip)
SET(WINDRES ${MINGW_TOOL_PREFIX}windres)
SET(PKG_CONFIG_EXECUTABLE ${MINGW_TOOL_PREFIX}pkg-config)
SET(PKG_CONFIG_FOUND TRUE)
# Search for programs in the build host directories
SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
# For libraries and headers in the target directories
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
# For 32-bit vst support
IF(WIN64)
# Specify the 32-bit cross compiler
SET(MINGW_TOOL_PREFIX32 ${MINGW_PREFIX32}/bin/${CMAKE_SYSTEM_PROCESSOR32}-w64-mingw32-)
SET(CMAKE_C_COMPILER32 ${MINGW_TOOL_PREFIX32}gcc)
SET(CMAKE_CXX_COMPILER32 ${MINGW_TOOL_PREFIX32}g++)
ENDIF()
INCLUDE_DIRECTORIES(${MINGW_PREFIX}/include)
ENDIF()
LINK_DIRECTORIES(${MINGW_PREFIX}/lib ${MINGW_PREFIX}/bin)
# Qt tools
SET(QT_BINARY_DIR ${MINGW_PREFIX}/bin)
SET(QT_QMAKE_EXECUTABLE ${QT_BINARY_DIR}/qmake)
# Echo modified cmake vars to screen for debugging purposes
IF(NOT DEFINED ENV{MINGW_DEBUG_INFO})
MESSAGE("")
MESSAGE("Custom cmake vars: (blank = system default)")
MESSAGE("-----------------------------------------")
MESSAGE("* CMAKE_C_COMPILER : ${CMAKE_C_COMPILER}")
MESSAGE("* CMAKE_CXX_COMPILER : ${CMAKE_CXX_COMPILER}")
MESSAGE("* CMAKE_RC_COMPILER : ${CMAKE_RC_COMPILER}")
MESSAGE("* WINDRES : ${WINDRES}")
MESSAGE("* PKG_CONFIG_EXECUTABLE : ${PKG_CONFIG_EXECUTABLE}")
MESSAGE("* MINGW_TOOL_PREFIX32 : ${MINGW_TOOL_PREFIX32}")
MESSAGE("* CMAKE_C_COMPILER32 : ${CMAKE_C_COMPILER32}")
MESSAGE("* CMAKE_CXX_COMPILER32 : ${CMAKE_CXX_COMPILER32}")
MESSAGE("* STRIP : ${STRIP}")
MESSAGE("* QT_BINARY_DIR : ${QT_BINARY_DIR}")
MESSAGE("* QT_QMAKE_EXECUTABLE : ${QT_QMAKE_EXECUTABLE}")
MESSAGE("")
# So that the debug info only appears once
SET(ENV{MINGW_DEBUG_INFO} SHOWN)
ENDIF()

View File

@@ -0,0 +1,58 @@
FIND_PACKAGE(Git)
IF(GIT_FOUND AND NOT FORCE_VERSION)
# Look for git tag information (e.g. Stable: "v1.0.0", Non-stable: "v1.0.0-123-a1b2c3d4")
EXECUTE_PROCESS(
COMMAND "${GIT_EXECUTABLE}" describe --tags --match v[0-9].[0-9].[0-9]*
OUTPUT_VARIABLE GIT_TAG
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
TIMEOUT 1
OUTPUT_STRIP_TRAILING_WHITESPACE)
STRING(REPLACE "-" ";" TAG_LIST "${GIT_TAG}")
LIST(LENGTH TAG_LIST TAG_LIST_LENGTH)
IF(TAG_LIST_LENGTH EQUAL 1)
# Stable build, FORCE_VERSION=x.x.x
LIST(GET TAG_LIST 0 FORCE_VERSION)
STRING(REPLACE "v" "" FORCE_VERSION "${FORCE_VERSION}")
ELSEIF(TAG_LIST_LENGTH EQUAL 3)
# Non-stable build, FORCE_VERSION=x.x.x-hash
LIST(GET TAG_LIST 0 FORCE_VERSION)
LIST(GET TAG_LIST 2 COMMIT_HASH)
STRING(REPLACE "v" "" FORCE_VERSION "${FORCE_VERSION}")
SET(FORCE_VERSION "${FORCE_VERSION}-${COMMIT_HASH}")
ENDIF()
ENDIF()
IF(FORCE_VERSION STREQUAL "internal")
# Use release info from /CMakeLists.txt
ELSEIF(FORCE_VERSION)
STRING(REPLACE "." ";" VERSION_LIST "${FORCE_VERSION}")
STRING(REPLACE "-" ";" VERSION_LIST "${VERSION_LIST}")
LIST(LENGTH VERSION_LIST VERSION_LENGTH)
LIST(GET VERSION_LIST 0 VERSION_MAJOR)
LIST(GET VERSION_LIST 1 VERSION_MINOR)
LIST(GET VERSION_LIST 2 VERSION_PATCH)
IF(VERSION_LENGTH GREATER 3)
LIST(GET VERSION_LIST 3 VERSION_SUFFIX)
ENDIF()
SET(VERSION "${FORCE_VERSION}")
ELSE()
MESSAGE("Git not found. Using release info from /CMakeLists.txt")
ENDIF()
MESSAGE("\n"
"Configuring ${PROJECT_NAME_UCASE}\n"
"--------------------------\n"
"* Build version : ${VERSION}\n"
"* Major version : ${VERSION_MAJOR}\n"
"* Minor version : ${VERSION_MINOR}\n"
"* Patch version : ${VERSION_PATCH}\n"
"* Suffix version : ${VERSION_SUFFIX}\n"
"*\n\n"
"Optional Version Usage:\n"
"--------------------------\n"
"* Override version: -DFORCE_VERSION=x.x.x-x\n"
"* Disable hash suffix: -DFORCE_VERSION=internal\n"
)

View File

@@ -0,0 +1,10 @@
IF(LMMS_BUILD_MSYS)
SET(MINGW_PREFIX /mingw32)
ELSE()
SET(MINGW_PREFIX /opt/mingw32)
ENDIF()
SET(CMAKE_SYSTEM_PROCESSOR i686)
INCLUDE(MinGWCrossCompile)

View File

@@ -0,0 +1,16 @@
IF(LMMS_BUILD_MSYS)
SET(MINGW_PREFIX /mingw64)
SET(MINGW_PREFIX32 /mingw32)
ELSE()
SET(MINGW_PREFIX /opt/mingw64)
SET(MINGW_PREFIX32 /opt/mingw32)
ENDIF()
SET(CMAKE_SYSTEM_PROCESSOR x86_64)
SET(CMAKE_SYSTEM_PROCESSOR32 i686)
SET(WIN64 TRUE)
INCLUDE(MinGWCrossCompile)

View File

@@ -0,0 +1,34 @@
/* Define to 1 if you have the <linux/awe_voice.h> header file. */
#cmakedefine LMMS_HAVE_LINUX_AWE_VOICE_H 1
/* Define to 1 if you have the <sys/awe_voice.h> header file. */
#cmakedefine LMMS_HAVE_SYS_AWE_VOICE_H 1
/* Define to 1 if you have the </usr/src/sys/gnu/i386/isa/sound/awe_voice.h>
header file. */
#cmakedefine LMMS_HAVE__USR_SRC_SYS_GNU_I386_ISA_SOUND_AWE_VOICE_H 1
/* Define to 1 if you have the </usr/src/sys/i386/isa/sound/awe_voice.h>
header file. */
#cmakedefine LMMS_HAVE__USR_SRC_SYS_I386_ISA_SOUND_AWE_VOICE_H 1
/* Define to 1 if you have the <awe_voice.h> header file. */
#cmakedefine LMMS_HAVE_AWE_VOICE_H 1
/* Define if you have libasound.so.2 (required for ALSA 0.9.x support) */
#cmakedefine LMMS_HAVE_LIBASOUND2 1
/* Define if libasound has snd_pcm_resume() */
#cmakedefine LMMS_HAVE_SND_PCM_RESUME 1
/* Define to 1 if you have the <alsa/asoundlib.h> header file. */
#cmakedefine LMMS_HAVE_ALSA_ASOUNDLIB_H 1
/* Define to 1 if you have the <sys/asoundlib.h> header file. */
#cmakedefine LMMS_HAVE_SYS_ASOUNDLIB_H 1
/* Define to 1 if you have the <sys/soundcard.h> header file. */
#cmakedefine LMMS_HAVE_SYS_SOUNDCARD_H 1
/* Define to 1 if you have the <machine/soundcard.h> header file. */
#cmakedefine LMMS_HAVE_MACHINE_SOUNDCARD_H 1

View File

@@ -0,0 +1,17 @@
#!/bin/bash
ppa_dir=./ppa/
pushd $ppa_dir
for f in *.deb; do
echo "Extracting $f..."
ar xv $f
rm debian-binary
rm control.tar.*
tar xf data.tar.*
rm data.tar.*
done
popd
echo "Your extracted files should be located in $ppa_dir"

48
cmake/msys/fetch_ppa.sh Normal file
View File

@@ -0,0 +1,48 @@
#!/bin/bash
# Trusty=14.04, Precise=12.04
PPA_DISTRO=trusty
# Architecture=i386, amd64
PPA_ARCH=amd64
# These shouldn't change
PPA_HOST=http://ppa.launchpad.net
PPA_USER=tobydox
PPA_PROJECT=mingw-x-trusty
PPA_ROOT=$PPA_HOST/$PPA_USER/$PPA_PROJECT/ubuntu
PPA_URL=$PPA_ROOT/dists/$PPA_DISTRO/main/binary-$PPA_ARCH/Packages
ppa_dir=./ppa/
temp_file=/tmp/ppa_listing_$$
echo "Connecting to $PPA_HOST to get list of packages..."
wget -qO- $PPA_URL |grep "Filename:" > $temp_file
line_count=`wc -l $temp_file |awk '{print $1}'`
echo "Found $line_count packages for download..."
echo "Downloading packages. They will be saved to $ppa_dir"
mkdir $ppa_dir
for j in `cat $temp_file` ; do
if [ "$j" = "Filename:" ] ; then
continue
fi
echo "Downloading $j..."
wget -O $ppa_dir$(basename $j) $PPA_ROOT/$j
done
echo "Cleaning up temporary files..."
rm -rf $temp_file
echo "Packages have been saved to $ppa_dir. Please run extract_debs.sh"

98
cmake/msys/msys_helper.sh Normal file
View File

@@ -0,0 +1,98 @@
#!/bin/bash
# Git repo information
fork="lmms" # i.e. "lmms" or "tobydox"
branch="master" # i.e. "master" or "stable-1.2"
# Console colors
red="\\x1B[1;31m"
green="\\x1B[1;32m"
yellow="\\x1B[1;33m"
plain="\\x1B[0m"
function info() { echo -e "\n${green}$1${plain}"; }
function warn() { echo -e "\n${yellow}$1${plain}"; }
function err() { echo -e "\n${red}$1${plain}"; exit 1;}
info "Checking for mingw environment"
env |grep MINGW
if [ $? -ne 0 ]; then
err " - Failed. Please relaunch using MinGW shell"
fi
info "Preparing the git directory..."
mkdir $HOME/.git; touch $HOME/.git/config > /dev/null &2>1
git config --global http.sslverify false
info "Cloning the repository..."
if [ -d ./lmms ]; then
warn " - Skipping, ./lmms already exists"
else
git clone -b $branch https://github.com/$fork/lmms.git
fi
info "Fetching ppa using cmake/msys/fetch_ppas.sh..."
if [ -d $HOME/ppa ]; then
warn " - Skipping, $HOME/ppa already exists"
else
./lmms/cmake/msys/fetch_ppa.sh
fi
info "Extracting debs to $HOME/ppa/opt/, etc..."
if [ -d $HOME/ppa/opt ]; then
warn " - Skipping, $HOME/ppa/opt already exists"
else
./lmms/cmake/msys/extract_debs.sh
fi
info "Preparing library merge, making all qt headers writable..."
chmod u+w /mingw64/include/qt4 -R
chmod u+w /mingw32/include/qt4 -R
info "Merging mingw headers and libraries from ppa over existing system libraries..."
find /mingw64 |grep sndfile.h
if [ $? -ne 0 ]; then
\cp -r $HOME/ppa/opt/mingw* /
else
warn " - Skipping, sndfile.h has already been merged"
fi
fltkver="1.3.3"
info "Downloading and building fltk $fltkver"
mingw_root="/$(echo $MSYSTEM|tr '[:upper:]' '[:lower:]')"
which fluid
if [ $? -ne 0 ]; then
wget http://fltk.org/pub/fltk/$fltkver/fltk-$fltkver-source.tar.gz -O $HOME/fltk-source.tar.gz
if [ $? -ne 0 ]; then
err "ERROR: Could not download fltk. Exiting."
fi
tar zxf $HOME/fltk-source.tar.gz -C $HOME/
pushd $HOME/fltk-$fltkver
info " - Compiling fltk $fltkver..."
./configure
make
info " - Installing fltk..."
make install DESTDIR=$mingw_root
if [ $? -ne 0 ]; then
err "ERROR: Could not build/install fltk -- Zyn needs this. Exiting."
fi
ln -s $mingw_root/usr/local/bin/fluid.exe $mingw_root/bin/fluid.exe
else
warn " - Skipping, fluid binary already exists"
fi
popd
info "Cleaning up..."
rm -rf $HOME/fltk-$fltkver
info "Done."

63
cmake/nsis/CMakeLists.txt Normal file
View File

@@ -0,0 +1,63 @@
SET(CPACK_PACKAGE_ICON "${CMAKE_SOURCE_DIR}/cmake/nsis/nsis_branding.bmp")
SET(CPACK_NSIS_MUI_ICON "${CMAKE_SOURCE_DIR}/cmake/nsis/lmms.ico")
SET(CPACK_NSIS_INSTALLED_ICON_NAME "${CMAKE_PROJECT_NAME}.exe" PARENT_SCOPE)
SET(CPACK_NSIS_DISPLAY_NAME "${PROJECT_NAME_UCASE} ${VERSION}" PARENT_SCOPE)
SET(CPACK_NSIS_HELP_LINK "${PROJECT_URL}" PARENT_SCOPE)
SET(CPACK_NSIS_URL_INFO_ABOUT "${PROJECT_URL}" PARENT_SCOPE)
SET(CPACK_NSIS_CONTACT "${PROJECT_EMAIL}" PARENT_SCOPE)
SET(CPACK_PACKAGE_EXECUTABLES "${CMAKE_PROJECT_NAME}.exe;${PROJECT_NAME_UCASE}" PARENT_SCOPE)
SET(CPACK_NSIS_MENU_LINKS "${CMAKE_PROJECT_NAME}.exe;${PROJECT_NAME_UCASE}" PARENT_SCOPE)
SET(CPACK_NSIS_DEFINES "!include ${CMAKE_SOURCE_DIR}/cmake/nsis/FileAssociation.nsh")
SET(CPACK_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}-${VERSION}-win32")
SET(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "
\\\${registerExtension} \\\"$INSTDIR\\\\${CMAKE_PROJECT_NAME}.exe\\\" \\\".mmp\\\" \\\"${PROJECT_NAME_UCASE} Project\\\"
\\\${registerExtension} \\\"$INSTDIR\\\\${CMAKE_PROJECT_NAME}.exe\\\" \\\".mmpz\\\" \\\"${PROJECT_NAME_UCASE} Project (compressed)\\\"
" PARENT_SCOPE)
SET(CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS "
\\\${unregisterExtension} \\\".mmp\\\" \\\"${PROJECT_NAME_UCASE} Project\\\"
\\\${unregisterExtension} \\\".mmpz\\\" \\\"${PROJECT_NAME_UCASE} Project (compressed)\\\"
DeleteRegKey HKCR \\\"${PROJECT_NAME_UCASE} Project\\\"
DeleteRegKey HKCR \\\"${PROJECT_NAME_UCASE} Project (compressed)\\\"
" PARENT_SCOPE)
IF(WIN64)
SET(CPACK_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}-${VERSION}-win64")
SET(CPACK_INSTALL_FIX "$PROGRAMFILES64\\\\${CPACK_PACKAGE_INSTALL_DIRECTORY}\\\\")
SET(CPACK_NSIS_DEFINES "
${CPACK_NSIS_DEFINES}
InstallDir ${CPACK_INSTALL_FIX}
")
ENDIF()
# Fix windows paths for msys
IF(LMMS_BUILD_MSYS)
STRING(REGEX REPLACE "/" "\\\\\\\\" CPACK_PACKAGE_ICON "${CPACK_PACKAGE_ICON}")
STRING(REGEX REPLACE "/" "\\\\\\\\" CPACK_NSIS_MUI_ICON "${CPACK_NSIS_MUI_ICON}")
STRING(REGEX REPLACE "/" "\\\\\\\\" CPACK_NSIS_DEFINES "${CPACK_NSIS_DEFINES}")
STRING(REGEX REPLACE "/" "\\\\\\\\" CMAKE_BINARY_DIR_FIX "${CMAKE_BINARY_DIR}")
# FIXME: there's no easy way to fix $INST_DIR, so we'll redefine it manually
IF(WIN64)
SET(NSIS_ARCH "win64")
ELSE()
SET(NSIS_ARCH "win32")
ENDIF()
SET(CPACK_NSIS_DEFINES "
${CPACK_NSIS_DEFINES}
!define /redef INST_DIR ${CMAKE_BINARY_DIR_FIX}\\\\_CPack_Packages\\\\${NSIS_ARCH}\\\\NSIS\\\\${CPACK_PACKAGE_FILE_NAME}
")
ENDIF()
# Setup missing parent scopes
SET(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_FILE_NAME}" PARENT_SCOPE)
SET(CPACK_NSIS_DEFINES "${CPACK_NSIS_DEFINES}" PARENT_SCOPE)
SET(CPACK_PACKAGE_ICON "${CPACK_PACKAGE_ICON}" PARENT_SCOPE)
SET(CPACK_NSIS_MUI_ICON "${CPACK_NSIS_MUI_ICON}" PARENT_SCOPE)
# Windows resource compilers
CONFIGURE_FILE("lmms.rc.in" "${CMAKE_BINARY_DIR}/lmms.rc")
CONFIGURE_FILE("zynaddsubfx.rc.in" "${CMAKE_BINARY_DIR}/plugins/zynaddsubfx/zynaddsubfx.rc")
FILE(GLOB RAWWAVES "${CMAKE_INSTALL_PREFIX}/share/stk/rawwaves/*.raw")
INSTALL(FILES ${RAWWAVES} DESTINATION "${DATA_DIR}/stk/rawwaves")

View File

@@ -0,0 +1,189 @@
/*
_____________________________________________________________________________
File Association
_____________________________________________________________________________
Based on code taken from http://nsis.sourceforge.net/File_Association
Usage in script:
1. !include "FileAssociation.nsh"
2. [Section|Function]
${FileAssociationFunction} "Param1" "Param2" "..." $var
[SectionEnd|FunctionEnd]
FileAssociationFunction=[RegisterExtension|UnRegisterExtension]
_____________________________________________________________________________
${RegisterExtension} "[executable]" "[extension]" "[description]"
"[executable]" ; executable which opens the file format
;
"[extension]" ; extension, which represents the file format to open
;
"[description]" ; description for the extension. This will be display in Windows Explorer.
;
${UnRegisterExtension} "[extension]" "[description]"
"[extension]" ; extension, which represents the file format to open
;
"[description]" ; description for the extension. This will be display in Windows Explorer.
;
_____________________________________________________________________________
Macros
_____________________________________________________________________________
Change log window verbosity (default: 3=no script)
Example:
!include "FileAssociation.nsh"
!insertmacro RegisterExtension
${FileAssociation_VERBOSE} 4 # all verbosity
!insertmacro UnRegisterExtension
${FileAssociation_VERBOSE} 3 # no script
*/
!ifndef FileAssociation_INCLUDED
!define FileAssociation_INCLUDED
!include Util.nsh
!verbose push
!verbose 3
!ifndef _FileAssociation_VERBOSE
!define _FileAssociation_VERBOSE 3
!endif
!verbose ${_FileAssociation_VERBOSE}
!define FileAssociation_VERBOSE `!insertmacro FileAssociation_VERBOSE`
!verbose pop
!macro FileAssociation_VERBOSE _VERBOSE
!verbose push
!verbose 3
!undef _FileAssociation_VERBOSE
!define _FileAssociation_VERBOSE ${_VERBOSE}
!verbose pop
!macroend
!macro RegisterExtensionCall _EXECUTABLE _EXTENSION _DESCRIPTION
!verbose push
!verbose ${_FileAssociation_VERBOSE}
Push `${_DESCRIPTION}`
Push `${_EXTENSION}`
Push `${_EXECUTABLE}`
${CallArtificialFunction} RegisterExtension_
!verbose pop
!macroend
!macro UnRegisterExtensionCall _EXTENSION _DESCRIPTION
!verbose push
!verbose ${_FileAssociation_VERBOSE}
Push `${_EXTENSION}`
Push `${_DESCRIPTION}`
${CallArtificialFunction} UnRegisterExtension_
!verbose pop
!macroend
!define RegisterExtension `!insertmacro RegisterExtensionCall`
!define un.RegisterExtension `!insertmacro RegisterExtensionCall`
!macro RegisterExtension
!macroend
!macro un.RegisterExtension
!macroend
!macro RegisterExtension_
!verbose push
!verbose ${_FileAssociation_VERBOSE}
Exch $R2 ;exe
Exch
Exch $R1 ;ext
Exch
Exch 2
Exch $R0 ;desc
Exch 2
Push $0
Push $1
ReadRegStr $1 HKCR $R1 "" ; read current file association
StrCmp "$1" "" NoBackup ; is it empty
StrCmp "$1" "$R0" NoBackup ; is it our own
WriteRegStr HKCR $R1 "backup_val" "$1" ; backup current value
NoBackup:
WriteRegStr HKCR $R1 "" "$R0" ; set our file association
ReadRegStr $0 HKCR $R0 ""
StrCmp $0 "" 0 Skip
WriteRegStr HKCR "$R0" "" "$R0"
WriteRegStr HKCR "$R0\shell" "" "open"
Skip:
WriteRegStr HKCR "$R0\shell\open\command" "" '"$R2" "%1"'
WriteRegStr HKCR "$R0\shell\edit" "" "Edit $R0"
WriteRegStr HKCR "$R0\shell\edit\command" "" '"$R2" "%1"'
Pop $1
Pop $0
Pop $R2
Pop $R1
Pop $R0
!verbose pop
!macroend
!define UnRegisterExtension `!insertmacro UnRegisterExtensionCall`
!define un.UnRegisterExtension `!insertmacro UnRegisterExtensionCall`
!macro UnRegisterExtension
!macroend
!macro un.UnRegisterExtension
!macroend
!macro UnRegisterExtension_
!verbose push
!verbose ${_FileAssociation_VERBOSE}
Exch $R1 ;desc
Exch
Exch $R0 ;ext
Exch
Push $0
Push $1
ReadRegStr $1 HKCR $R0 ""
StrCmp $1 $R1 0 NoOwn ; only do this if we own it
ReadRegStr $1 HKCR $R0 "backup_val"
StrCmp $1 "" 0 Restore ; if backup="" then delete the whole key
DeleteRegKey HKCR $R0
Goto NoOwn
Restore:
WriteRegStr HKCR $R0 "" $1
DeleteRegValue HKCR $R0 "backup_val"
DeleteRegKey HKCR $R1 ;Delete key with association name settings
NoOwn:
Pop $1
Pop $0
Pop $R1
Pop $R0
!verbose pop
!macroend
!endif # !FileAssociation_INCLUDED

BIN
cmake/nsis/lmms.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

26
cmake/nsis/lmms.rc.in Normal file
View File

@@ -0,0 +1,26 @@
lmmsicon ICON cmake/nsis/lmms.ico
#include <windows.h>
VS_VERSION_INFO VERSIONINFO
FILEVERSION @VERSION_MAJOR@,@VERSION_MINOR@,@VERSION_PATCH@,0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEOS VOS_NT_WINDOWS32
FILETYPE VFT_APP
FILESUBTYPE VFT2_UNKNOWN
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
//language ID = U.S. English, charset = Windows, Multilingual
BEGIN
VALUE "Comments", "${PROJECT_URL}\0"
VALUE "CompanyName", "${PROJECT_AUTHOR}\0"
VALUE "FileDescription", "${PROJECT_NAME_UCASE}\0"
VALUE "FileVersion", "@VERSION@\0"
VALUE "LegalCopyright", "Copyright (c) ${PROJECT_COPYRIGHT}\0"
VALUE "OriginalFilename", "${CMAKE_PROJECT_NAME}.exe\0"
VALUE "ProductName", "${PROJECT_NAME_UCASE}\0"
VALUE "ProductVersion", "@VERSION@\0"
END
END
END

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

View File

@@ -0,0 +1,26 @@
zynaddsubfx_icon ICON zynaddsubfx/zynaddsubfx.ico
#include <windows.h>
VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,2,3,0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEOS VOS_NT_WINDOWS32
FILETYPE VFT_APP
FILESUBTYPE VFT2_UNKNOWN
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
//language ID = U.S. English, charset = Windows, Multilingual
BEGIN
VALUE "Comments", "ZynAddSubFX Plugin - ${PROJECT_NAME_UCASE} (${PROJECT_URL})\0"
VALUE "CompanyName", "${PROJECT_AUTHOR}\0"
VALUE "FileDescription", "ZynAddSubFX ${PROJECT_NAME_UCASE} Plugin\0"
VALUE "FileVersion", "2.3.0/@VERSION@\0"
VALUE "LegalCopyright", "Copyright (c) Nasca Octavian Paul, Mark McCurry, Harald Hvaal, Tobias Doerffel\0"
VALUE "OriginalFilename", "RemoteZynAddSubFx.exe\0"
VALUE "ProductName", "ZynAddSubFX/${PROJECT_NAME_UCASE}\0"
VALUE "ProductVersion", "2.3.0/@VERSION@\0"
END
END
END

View File

@@ -0,0 +1,4 @@
IF(LMMS_BUILD_APPLE)
INSTALL(CODE "EXECUTE_PROCESS(COMMAND chmod u+x ${CMAKE_BINARY_DIR}/install_apple.sh)")
INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_BINARY_DIR}/install_apple.sh)")
ENDIF()

View File

@@ -1,892 +0,0 @@
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.50)
AC_INIT(lmms, 0.3.0, lmms-devel/at/lists/dot/sf/dot/net)
AM_INIT_AUTOMAKE(lmms, 0.3.0)
AM_CONFIG_HEADER(config.h)
# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AC_LIBTOOL_WIN32_DLL
AC_PROG_LN_S
AC_PROG_GCC_TRADITIONAL
AM_PROG_LIBTOOL
if ! test -z "${prefix}" -o "${prefix}" = "NONE" ; then
CFLAGS="$CFLAGS -I${prefix}/include"
CPPFLAGS="$CPPFLAGS -I${prefix}/include"
LDFLAGS="$LDFLAGS -L${prefix}/bin"
fi
AH_TEMPLATE(BUILD_LINUX, [Build LMMS for Linux])
AH_TEMPLATE(BUILD_WIN32, [Build LMMS for Win32])
AC_ARG_WITH(linux,
[ --with-linux explicit build LMMS for Linux], [ build_linux=true ], [ build_linux=false ])
AC_ARG_WITH(win32,
[ --with-win32 explicit build LMMS for Win32], [ build_win32=true ], [ build_win32=false ])
AC_MSG_CHECKING([platform to build for])
if test "x$build_win32" = "xtrue" ; then
AC_MSG_RESULT([Win32, will enable support for it])
AC_DEFINE(BUILD_WIN32)
AC_DEFINE(WIN32)
build_linux="false"
build_win32="true"
else
# if test `uname -s | tr -s 'LINUX' 'linux'` = "linux" -o "x$build_linux" = "xyes" ; then
AC_MSG_RESULT([Linux, will enable support for it])
AC_DEFINE(BUILD_LINUX)
build_linux="true"
build_win32="false"
# if uname -s | grep MINGW32 ; then
# else
# AC_MSG_ERROR([*** non usable found... Run ./configure --help to see a list of available platforms, you can also specify explicit, if your platform was not recognized properly. Otherwise your platform isn't supported yet. In this case please contact the maintainer (see README)])
#fi
fi
AM_CONDITIONAL(BUILD_WIN32, test "$build_win32" = "true")
AM_CONDITIONAL(BUILD_LINUX, test "$build_linux" = "true")
# -fomit-frame-pointer crashes wine on Ubuntu Dapper--Danny 7/21/06
#DEFAULTFLAGS="-floop-optimize2 -fomit-frame-pointer -fgcse-sm -fgcse-las"
DEFAULTFLAGS="-O2 -fPIC" #"-floop-optimize2 -fgcse-sm -fgcse-las"
# Tested with GCC 4.0--needs to be tested with 4.1--Danny 7/21/06
if test "x`$CC --version|head -1|cut -d\ -f3|cut -d. -f1`" = "x4" ; then
DEFAULTFLAGS="$DEFAULTFLAGS -ftree-vectorize -ftree-loop-linear"
# if test "x`$CC --version|head -1|cut -d\ -f3|cut -d. -f2`" != "x0" ; then
# DEFAULTFLAGS="$DEFAULTFLAGS -funsafe-loop-optimizations -Wunsafe-loop-optimizations"
# fi
fi
CFLAGS="$DEFAULTFLAGS $CFLAGS"
CXXFLAGS="$DEFAULTFLAGS $CXXFLAGS"
AC_PATH_XTRA
gw_CHECK_QT
# checks for header files.
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS([fcntl.h memory.h string.h sys/ioctl.h unistd.h stdlib.h pthread.h sys/ipc.h sys/shm.h sys/time.h sys/select.h sys/types.h stdarg.h signal.h sched.h ctype.h])
# checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_INLINE
AC_TYPE_SIZE_T
AC_HEADER_TIME
AC_STRUCT_TM
AC_C_VOLATILE
AC_C_BIGENDIAN
AC_CHECK_TYPES([mode_t, off_t, pid_t, size_t, ssize_t, long long])
# checks for library functions.
AC_FUNC_ALLOCA
AC_FUNC_MALLOC
AC_FUNC_MEMCMP
AC_TYPE_SIGNAL
AC_CHECK_FUNCS([usleep pipe sprintf])
# search for include-path of SDL (just for supporting the FreeBSD-guys.... ;-)
for i in SDL SDL10 SDL11 SDL12 ; do
FOUND=""
AC_CHECK_HEADER($i/SDL.h, FOUND="true")
if test "$FOUND" = "true" ; then
SDL_INC_PATH="$i"
break
fi
done
AH_TEMPLATE(SDL_SDL_H, [Define to location of SDL.h])
AH_TEMPLATE(SDL_SDL_AUDIO_H, [Define to location of SDL_audio.h])
AH_TEMPLATE(SDL_SDL_SOUND_H, [Define to location of SDL_sound.h])
OLD_LIBS="$LIBS"
#LIBS="$LIBS -lpthread"
# check for SDL-lib
AC_ARG_WITH(sdl,
AS_HELP_STRING([--without-sdl],
[disable support for SDL-audio-output]), ,
[ with_sdlaudio=yes ])
AH_TEMPLATE(HAVE_SDL_SDL_AUDIO_H, [Define to 1 if you have the <$SDL_INC_PATH/SDL_audio.h> header file.])
if test "x$with_sdlaudio" = "xyes" -a ! -z "$SDL_INC_PATH"; then
AC_CHECK_HEADER($SDL_INC_PATH/SDL_audio.h, HAVE_SDL_SDL_AUDIO_H="true")
AC_CHECK_LIB([SDL], [SDL_OpenAudio], HAVE_LIBSDL="true", HAVE_SDL_SDL_AUDIO_H="")
fi
if test ! -z "$HAVE_SDL_SDL_AUDIO_H" ; then
AC_DEFINE_UNQUOTED(SDL_SDL_H, <$SDL_INC_PATH/SDL.h>)
AC_DEFINE_UNQUOTED(SDL_SDL_AUDIO_H, <$SDL_INC_PATH/SDL_audio.h>)
AC_DEFINE(HAVE_SDL_SDL_AUDIO_H)
fi
AM_CONDITIONAL(HAVE_LIBSDL, test ! -z "$HAVE_SDL_SDL_AUDIO_H")
# check for SDL_sound-lib
AC_ARG_WITH(sdlsound,
AS_HELP_STRING([--without-sdlsound],
[disable support for reading samples via SDL_sound]), ,
[ with_sdlsound=yes ])
AH_TEMPLATE(HAVE_SDL_SDL_SOUND_H, [Define to 1 if you have the <$SDL_INC_PATH/SDL_sound.h> header file.])
if test "x$with_sdlsound" = "xyes" -a ! -z "$SDL_INC_PATH"; then
AC_CHECK_HEADER($SDL_INC_PATH/SDL_sound.h, HAVE_SDL_SDL_SOUND_H="true")
AC_CHECK_LIB([SDL_sound], [Sound_Init], HAVE_LIBSDL_SOUND="true", HAVE_SDL_SDL_SOUND_H="")
fi
if test ! -z "$HAVE_SDL_SDL_SOUND_H" ; then
AC_DEFINE_UNQUOTED(SDL_SDL_SOUND_H, <$SDL_INC_PATH/SDL_sound.h>)
AC_DEFINE(HAVE_SDL_SDL_SOUND_H)
fi
AM_CONDITIONAL(HAVE_LIBSDL_SOUND, test ! -z "$HAVE_LIBSDL_SOUND")
LIBS="$OLD_LIBS"
# check for ALSA-lib
AC_ARG_WITH(asound,
AS_HELP_STRING([--without-asound],
[disable support for ALSA-sound-output]), ,
[ with_asound=yes ])
AH_TEMPLATE(HAVE_ALSA_ASOUNDLIB_H, [Define to 1 if you have the <alsa/asoundlib.h> header file.])
if test "x$with_asound" = "xyes" ; then
AC_CHECK_HEADER(alsa/asoundlib.h, HAVE_ALSA_ASOUNDLIB_H="true")
AC_CHECK_LIB([asound], [snd_pcm_open], HAVE_LIBASOUND="true", HAVE_ALSA_ASOUNDLIB_H="")
fi
if test ! -z "$HAVE_ALSA_ASOUNDLIB_H" ; then
AC_DEFINE(HAVE_ALSA_ASOUNDLIB_H)
fi
AM_CONDITIONAL(HAVE_LIBASOUND, test ! -z "$HAVE_ALSA_ASOUNDLIB_H")
# check for OSS
AC_ARG_WITH(oss,
AS_HELP_STRING([--without-oss],
[disable support for OSS-sound-output]), ,
[ with_oss=yes ])
AH_TEMPLATE(HAVE_SYS_SOUNDCARD_H, [Define to 1 if you have the <sys/soundcard.h> header file.])
AH_TEMPLATE(HAVE_SOUNDCARD_H, [Define to 1 if you have the <soundcard.h> header file.])
if test "x$with_oss" = "xyes" ; then
AC_CHECK_HEADER(sys/soundcard.h, HAVE_SYS_SOUNDCARD_H="true")
AC_CHECK_HEADER(soundcard.h, HAVE_SOUNDCARD_H="true")
fi
if test ! -z "$HAVE_SYS_SOUNDCARD_H" ; then
AC_DEFINE(HAVE_SYS_SOUNDCARD_H)
fi
if test ! -z "$HAVE_SOUNDCARD_H" ; then
AC_DEFINE(HAVE_SOUNDCARD_H)
fi
# check for JACK
AC_ARG_WITH(jack,
AS_HELP_STRING([--without-jack],
[disable support for JACK-transport]), ,
[ with_jack=yes ])
AH_TEMPLATE(HAVE_JACK_JACK_H, [Define to 1 if you have the <jack/jack.h> header file.])
AH_TEMPLATE(OLD_JACK, [Define to 1 if your JACK-version doesnt know about jack_client_open() etc.])
if test "x$with_jack" = "xyes" ; then
AC_CHECK_HEADER(jack/jack.h, HAVE_JACK_JACK_H="true")
AC_CHECK_LIB([jack], [jack_client_new], HAVE_LIBJACK="true", HAVE_JACK_JACK_H="")
AC_CHECK_LIB([jack], [jack_client_open], JACK_CLIENT_OPEN="true")
if test -z "$JACK_CLIENT_OPEN" ; then
AC_DEFINE(OLD_JACK)
fi
fi
if test ! -z "$HAVE_JACK_JACK_H" ; then
AC_DEFINE(HAVE_JACK_JACK_H)
fi
AM_CONDITIONAL(HAVE_LIBJACK, test ! -z "$HAVE_JACK_JACK_H")
# check for proper WINE-installation and existing Steinberg headers
AC_ARG_WITH(vst,
AS_HELP_STRING([--without-vst],
[disable support for builtin VST-plugin-hosting]), , [ with_vst=yes ])
if test "x$with_vst" = "xyes" ; then
if echo $CFLAGS $CXXFLAGS | grep "fomit-frame-pointer" > /dev/null ; then
AC_MSG_ERROR([*** passing -fomit-frame-pointer as compiler-flag will break LMMS' VST-support so either disable VST-support using --without-vst or remove it from compiler-flags])
fi
if test "$build_linux" = "true" ; then
AC_CHECK_PROG(WINECXX, wineg++, /usr/bin/wineg++,,/usr/bin)
AC_CHECK_LIB([wine], [wine_init], true)
if test ! -z "$WINECXX" ; then
AC_LANG_PUSH(C++)
# CXXFLAGS="$CXXFLAGS -I${prefix}/include/wine/windows"
OLDCXX="$CXX"
OLDCPPFLAGS="$CPPFLAGS"
CXX="$WINECXX"
CPPFLAGS="$CPPFLAGS -I${prefix}/include/wine/windows"
AC_CHECK_HEADER(windows.h, HAVE_WINDOWS_H="true")
CXX="$OLDCXX"
CPPFLAGS="$OLDCPPFLAGS"
AC_LANG_POP(C++)
if test -z "$HAVE_WINDOWS_H" ; then
WINECXX=""
fi
fi
fi
fi
AM_CONDITIONAL(VST_SUPPORT, test ! -z "$WINECXX")
# check for LADSPA-SDK
AC_ARG_WITH(ladspa,
AS_HELP_STRING([--without-ladspa], [disable support for LADSPA]), , [ with_ladspa=yes ] )
AH_TEMPLATE(HAVE_LADSPA_H, [Define to 1 if you have the <ladspa.h> header file.])
AH_TEMPLATE(LADSPA_SUPPORT, [Define to 1 if you have the <ladspa.h> header file.])
if test "x$with_ladspa" = "xyes" ; then
AC_CHECK_HEADER(ladspa.h, HAVE_LADSPA_H="true")
fi
if test ! -z "$HAVE_LADSPA_H" ; then
AC_DEFINE(HAVE_LADSPA_H)
fi
if [ "$build_linux" = "true" ] ; then
AC_DEFINE(LADSPA_SUPPORT)
fi
#AM_CONDITIONAL(HAVE_LADSPA_H, test ! -z "$HAVE_LADSPA_H")
AM_CONDITIONAL(LADSPA_SUPPORT, test "$build_linux" = "true" )
# check for STK
AC_LANG_PUSH(C++)
AC_ARG_WITH(stk,
AS_HELP_STRING([--without-stk], [disable support for STK plugins]), ,
[ with_stk=yes ])
AH_TEMPLATE(HAVE_STK_H, [Define to 1 if you have the <stk/Stk.h> header file.])
if test "x$with_stk" = "xyes" ; then
AC_CHECK_HEADER([stk/Stk.h], HAVE_STK_H="true")
AC_CHECK_LIB([stk], [main], HAVE_STK="true", HAVE_STK_H="",
[-ljack -lasound])
fi
if test ! -z "$HAVE_STK_H" ; then
AC_DEFINE(HAVE_STK_H)
AC_SUBST(stk_includes, [/usr/include/stk])
AC_SUBST(stk_lib, [/usr/lib])
fi
AM_CONDITIONAL(STK_SUPPORT, test ! -z "$HAVE_STK_H")
AC_LANG_POP(C++)
# check for vorbis-lib
AC_ARG_WITH(vorbis,
AS_HELP_STRING([--without-vorbis],
[disable support for exporting song to OGG-files]), ,
[ with_vorbis=yes ])
AH_TEMPLATE(HAVE_VORBIS_CODEC_H, [Define to 1 if you have the <vorbis/codec.h> header file.])
AH_TEMPLATE(HAVE_VORBIS_VORBISENC_H, [Define to 1 if you have the <vorbis/vorbisenc.h> header file.])
AH_TEMPLATE(HAVE_VORBIS_VORBISFILE_H, [Define to 1 if you have the <vorbis/vorbisfile.h> header file.])
if test "x$with_vorbis" = "xyes" ; then
OGG_SUPPORT="true"
AC_CHECK_HEADER(vorbis/codec.h, HAVE_VORBIS_CODEC_H="true",OGG_SUPPORT="")
AC_CHECK_HEADER(vorbis/vorbisenc.h, HAVE_VORBIS_VORBISENC_H="true",OGG_SUPPORT="")
AC_CHECK_HEADER(vorbis/vorbisfile.h, HAVE_VORBIS_VORBISFILE_H="true",OGG_SUPPORT="")
AC_CHECK_LIB([vorbis], [vorbis_analysis], HAVE_LIBVORBIS="true", OGG_SUPPORT="")
fi
if test ! -z "$OGG_SUPPORT" ; then
AC_DEFINE(HAVE_VORBIS_CODEC_H)
AC_DEFINE(HAVE_VORBIS_VORBISENC_H)
AC_DEFINE(HAVE_VORBIS_VORBISFILE_H)
fi
AM_CONDITIONAL(HAVE_LIBVORBIS, test ! -z "$OGG_SUPPORT")
# check for libFLAC
AC_ARG_WITH(flac,
AS_HELP_STRING([--without-flac],
[disable support for internal encoding/decoding with FLAC]), ,
[ with_flac=yes ])
AH_TEMPLATE(HAVE_FLAC_STREAM_ENCODER_H, [Define to 1 if you have the <FLAC/stream_encoder.h> header file.])
AH_TEMPLATE(HAVE_FLAC_STREAM_DECODER_H, [Define to 1 if you have the <FLAC/stream_decoder.h> header file.])
if test "x$with_flac" = "xyes" ; then
AC_CHECK_HEADER(FLAC/stream_encoder.h, HAVE_FLAC_STREAM_ENCODER_H="true")
AC_CHECK_HEADER(FLAC/stream_decoder.h, HAVE_FLAC_STREAM_DECODER_H="true")
AC_CHECK_LIB([FLAC], [FLAC__stream_encoder_new], HAVE_LIBFLAC="true")
fi
if test ! -z "$HAVE_FLAC_STREAM_ENCODER_H" -a ! -z "$HAVE_FLAC_STREAM_DECODER_H" -a ! -z "$HAVE_LIBFLAC"; then
AC_DEFINE(HAVE_FLAC_STREAM_ENCODER_H)
AC_DEFINE(HAVE_FLAC_STREAM_DECODER_H)
fi
AM_CONDITIONAL(HAVE_LIBFLAC, test ! -z "$HAVE_LIBFLAC")
# check for libsamplerate
AC_CHECK_HEADER(samplerate.h, HAVE_SAMPLERATE_H="true")
AC_CHECK_LIB([samplerate], [src_simple], HAVE_LIBSRC="true", HAVE_SAMPLERATE_H="")
AH_TEMPLATE(USE_3RDPARTY_LIBSRC, [Define to 1 if you do not have the <samplerate.h> header file.])
AM_CONDITIONAL(USE_3RDPARTY_LIBSRC, test -z "$HAVE_SAMPLERATE_H")
if test -z "$HAVE_SAMPLERATE_H" ; then
AC_DEFINE(USE_3RDPARTY_LIBSRC)
AC_CHECK_FUNCS(malloc calloc free memcpy memmove)
AC_CHECK_LIB([m],floor)
AC_CHECK_FUNCS(floor ceil fmod)
AC_C99_FUNC_LRINT
AC_C99_FUNC_LRINTF
# AC_C99_FUNC_LLRINT Don't need this (yet?).
case "x$ac_cv_c99_lrint$ac_cv_c99_lrintf" in
xyesyes)
;;
*)
AC_MSG_WARN([[*** Missing C99 standard functions lrint() and lrintf().]])
AC_MSG_WARN([[*** This may cause benign compiler warnings on some systems (ie Solaris).]])
;;
esac
#====================================================================================
# Determine if the processor can do clipping on float to int conversions.
AC_C_CLIP_MODE
AC_DEFINE_UNQUOTED(CPU_CLIPS_POSITIVE, ${ac_cv_c_clip_positive},
[Target processor clips on positive float to int conversion.])
AC_DEFINE_UNQUOTED(CPU_CLIPS_NEGATIVE, ${ac_cv_c_clip_negative},
[Target processor clips on negative float to int conversion.])
fi
# check for Festival
AC_LANG_PUSH(C++)
AC_ARG_WITH(singerbot,
AS_HELP_STRING([--without-singerbot],
[disable support for SingerBot plugin]), ,
[ with_singerbot=yes ])
AH_TEMPLATE(SINGERBOT_SUPPORT,
[Define to 1 to enable SingerBot plugin support.])
if test "x$with_singerbot" = "xyes" ; then
ORIG_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS -I/usr/include/festival -I/usr/include/speech_tools -Wno-non-template-friend"
AC_CHECK_HEADER([festival.h], FESTIVAL_SUPPORT="true")
AC_CHECK_LIB([Festival], [main], true, FESTIVAL_SUPPORT="")
CPPFLAGS=$ORIG_CPPFLAGS
fi
if test ! -z "$FESTIVAL_SUPPORT" ; then
AC_DEFINE(SINGERBOT_SUPPORT)
fi
AC_LANG_POP(C++)
AM_CONDITIONAL(SINGERBOT_SUPPORT, test ! -z "$FESTIVAL_SUPPORT" )
# libsndfile-stuff
AC_ARG_WITH(libsf,
AS_HELP_STRING([--without-libsf],
[disable support for importing files via libsndfile]), ,
[ with_libsf=yes ])
AH_TEMPLATE(HAVE_SNDFILE_H, [Define to 1 if you have the <sndfile.h> header file.])
if test "x$with_libsf" = "xyes" ; then
AC_CHECK_HEADER(sndfile.h, HAVE_SNDFILE_H="true")
AC_CHECK_LIB([sndfile], [sf_command], HAVE_LIBSF="true", HAVE_SNDFILE_H="")
AC_MSG_CHECKING([version of libsndfile])
AH_TEMPLATE(OLD_SNDFILE, [Define to 1 if libsndfile < 1.0.11])
OLD_LIBS="$LIBS"
LIBS="$LIBS -lsndfile"
AC_RUN_IFELSE([ #include <sndfile.h>
int main( void )
{
SF_INFO si;
( void )sf_open( "", SFM_READ, &si );
return 0;
}],
AC_MSG_RESULT([>= 1.0.11]),
AC_MSG_RESULT([< 1.0.11])
AC_DEFINE(OLD_SNDFILE)
)
LIBS="$OLD_LIBS"
fi
if test ! -z "$HAVE_SNDFILE_H" ; then
AC_DEFINE(HAVE_SNDFILE_H)
fi
AM_CONDITIONAL(HAVE_LIBSF, test ! -z "$HAVE_SNDFILE_H")
AC_ARG_WITH(nosmpdecs,
AS_HELP_STRING([--without-sample-decoders],
[force compiling LMMS even if no usable libraries for sample-decoding were found]),
[ with_smpdecs=yes ])
if test -z "$HAVE_SND_FILE" -a -z "$HAVE_SDL_SDL_SOUND_H" -a -z "$OGG_SUPPORT" -a ! -z "$with_smpdecs"; then
AC_MSG_ERROR([*** neither libsndfile nor SDL_sound nor libvorbis (or according devel-files) were found which would make LMMS unable to load any samples so please install at least one of the packages and try again! Use --without-sample-decoders to force compiling without any sample-decoding-libraries.])
fi
# check whether to disable surround-support
AC_MSG_CHECKING([whether to disable surround-support])
AH_TEMPLATE(DISABLE_SURROUND, [Define if you want to disable surround-support in LMMS.])
AC_ARG_ENABLE([surround],
AS_HELP_STRING([--disable-surround],
[compile LMMS without surround-support]),
[ENABLE_SURROUND=$enableval])
if test "x$ENABLE_SURROUND" = "xno" ; then
AC_MSG_RESULT(yes)
AC_DEFINE(DISABLE_SURROUND)
else
AC_MSG_RESULT(no)
fi
# check whether to enable high-quality sinc-resampling
AC_MSG_CHECKING([whether to enable high quality sinc-resampling])
AH_TEMPLATE(HQ_SINC, [Define if you want to enable high quality sinc-resampling.])
AC_ARG_ENABLE([hqsinc],
AS_HELP_STRING([--enable-hqsinc],
[enable high quality sinc-resampling]), [HQ_SINC=$enableval])
if test "x$HQ_SINC" = "xyes" ; then
AC_MSG_RESULT(yes)
AC_DEFINE(HQ_SINC)
else
AC_MSG_RESULT(no)
fi
# check whether to disable single-source-compile
AC_MSG_CHECKING([whether to enable single-source-compile])
# AH_TEMPLATE(SINGLE_SOURCE_COMPILE, [Define if you want to enable single-source-compile.])
AC_ARG_ENABLE([ssc],
AS_HELP_STRING([--enable-ssc],
[enable single-source-compile]), [ENABLE_SSC=$enableval])
if test "x$ENABLE_SSC" = "xyes" ; then
AC_MSG_RESULT(yes)
# AC_DEFINE(SINGLE_SOURCE_COMPILE)
CXXFLAGS="$CXXFLAGS -DSINGLE_SOURCE_COMPILE"
else
AC_MSG_RESULT(no)
fi
# check whether compiler of current platform supports attribute regparm(x)
AC_MSG_CHECKING([whether we can use function-attribute regparm(x) on current platform])
AH_TEMPLATE(FASTCALL, [Define to any attribute, speeding up function-calls])
AC_RUN_IFELSE([ int __attribute__((regparm(3))) foo( int a, int b, int c )
{ return( a=b=c ); }
int __attribute__((regparm(3))) main( void )
{ return( foo(2,1,0) ); }],
AC_MSG_RESULT(yes)
AC_DEFINE(FASTCALL, [__attribute__((regparm(3)))]),
AC_MSG_RESULT(no)
AC_DEFINE_UNQUOTED(FASTCALL,[])
)
AC_MSG_CHECKING([whether floorf is known by compiler])
AH_TEMPLATE(floorf, [Define to floor if floorf is not known])
AC_TRY_LINK([#include <math.h>], [ floorf ],
AC_MSG_RESULT(yes),
AC_MSG_RESULT([no - will use floor instead])
AC_DEFINE(floorf, floor)
)
AC_MSG_CHECKING([whether powf is known by compiler])
AH_TEMPLATE(powf, [Define to pow if powf is not known])
AC_TRY_LINK([#include <math.h>], [ powf ],
AC_MSG_RESULT(yes),
AC_MSG_RESULT([no - will use pow instead])
AC_DEFINE(powf, pow)
)
AC_MSG_CHECKING([whether fabsf is known by compiler])
AH_TEMPLATE(fabsf, [Define to pow if fabsf is not known])
AC_TRY_LINK([#include <math.h>], [ fabsf ],
AC_MSG_RESULT(yes),
AC_MSG_RESULT([no - will use fabs instead])
AC_DEFINE(fabsf, fabs)
)
AC_MSG_CHECKING([whether logf is known by compiler])
AH_TEMPLATE(logf, [Define to lof if logf is not known])
AC_TRY_LINK([#include <math.h>], [ logf ],
AC_MSG_RESULT(yes),
AC_MSG_RESULT([no - will use log instead])
AC_DEFINE(logf, log)
)
# check whether to enable debugging-code
AC_MSG_CHECKING([whether to enable debugging-code])
AH_TEMPLATE(LMMS_DEBUG, [Define if you want to disable debbuging-code in LMMS.])
AC_ARG_ENABLE([debug],
AS_HELP_STRING([--enable-debug],
[compile LMMS with additional debugging support]),
[DEBUG=$enableval])
if test "x$DEBUG" = "xyes" ; then
AC_MSG_RESULT(yes)
AC_DEFINE(LMMS_DEBUG)
else
AC_MSG_RESULT(no)
fi
AC_MSG_CHECKING([whether to ship caps])
AC_ARG_WITH([caps],
AS_HELP_STRING([--without-caps],
[do not ship C* Audio Plugin Suite]), ,
[ with_caps=yes ])
if test "x$with_caps" = "xyes" ; then
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
AM_CONDITIONAL(SHIP_CAPS, test "x$with_caps" = "xyes")
if [ "$build_win32" = "true" ] ; then
BIN2RES=`pwd`/buildtools/bin2res.exe
else
BIN2RES=`pwd`/buildtools/bin2res
fi
AC_SUBST(BIN2RES)
# check for rpm SOURCES path
echo -n "checking for rpm sources path... "
RPMSOURCEDIR="NOT-FOUND"
for directory in packages OpenLinux redhat RedHat rpm RPM "" ; do
if test -d /usr/src/${directory}/SOURCES ; then
RPMSOURCEDIR="/usr/src/${directory}/SOURCES/"
fi
done
echo "$RPMSOURCEDIR"
AM_CONDITIONAL(HAVE_RPM, test "$RPMSOURCEDIR" != "NOT-FOUND")
AC_SUBST(RPMSOURCEDIR)
lmmsdatadir="$datadir/$PACKAGE"
AC_SUBST(lmmsdatadir)
EXTRA_WARNINGS="-Wextra -Wno-unused-parameter -Winline -Wdisabled-optimization"
if test "x$CXX" == "xg++" ; then
CXXFLAGS="$CXXFLAGS -ansi -Wall $EXTRA_WARNINGS -fno-exceptions"
fi
LDFLAGS="$LDFLAGS -L/usr/local/lib"
CXXFLAGS="$CXXFLAGS -I/usr/local/include"
AC_CONFIG_FILES([Makefile
buildtools/Makefile
data/Makefile
data/locale/Makefile
data/midi-maps/Makefile
data/presets/Makefile
data/presets/AudioFileProcessor/Makefile
data/presets/BitInvader/Makefile
data/presets/Organic/Makefile
data/presets/PluckedStringSynth/Makefile
data/presets/TripleOscillator/Makefile
data/presets/VeSTige/Makefile
data/projects/Makefile
data/projects/cool_songs/Makefile
data/projects/covers/Makefile
data/projects/demos/Makefile
data/projects/misc/Makefile
data/projects/recorded_loops/Makefile
data/projects/templates/Makefile
data/projects/tutorials/Makefile
data/samples/Makefile
data/samples/basses/Makefile
data/samples/bassloopes/Makefile
data/samples/beats/Makefile
data/samples/drums/Makefile
data/samples/effects/Makefile
data/samples/instruments/Makefile
data/samples/latin/Makefile
data/samples/misc/Makefile
data/samples/shapes/Makefile
data/samples/stringsnpads/Makefile
data/themes/Makefile
data/track_icons/Makefile
plugins/Makefile
plugins/audio_file_processor/Makefile
plugins/bass_booster/Makefile
plugins/bit_invader/Makefile
plugins/flp_import/Makefile
plugins/kicker/Makefile
plugins/ladspa_base/Makefile
plugins/ladspa_effect/Makefile
plugins/ladspa_effect/caps/Makefile
plugins/lb302/Makefile
plugins/live_tool/Makefile
plugins/midi_import/Makefile
plugins/organic/Makefile
plugins/patman/Makefile
plugins/singerbot/Makefile
plugins/stk/Makefile
plugins/stk/mallets/Makefile
plugins/triple_oscillator/Makefile
plugins/vestige/Makefile
plugins/vibed/Makefile
plugins/vst_base/Makefile
plugins/vst_effect/Makefile
lmms.spec])
AC_OUTPUT
with_warnings="false"
echo
echo
PLUGINS_TO_BUILD=""
if test -z "$HAVE_ALSA_ASOUNDLIB_H" ; then
echo " ========================"
echo " === LMMS - WARNING ======================================================="
echo " ========================"
echo " ="
echo " = You don't seem to have ALSA-library installed and/or ALSA-lib-development-"
echo " = package is missing. This will disable support for sound-output via ALSA!"
echo " = Consider installing the missing packages for using the full power of LMMS."
echo " ="
with_warnings="true"
else
PLUGINS_TO_BUILD="$PLUGINS_TO_BUILD\n\t\* ALSA for audio- and MIDI-input/output"
fi
if test -z "$HAVE_JACK_JACK_H" ; then
echo " ========================"
echo " === LMMS - WARNING ======================================================="
echo " ========================"
echo " ="
echo " = You don't seem to have JACK-library installed and/or JACK-lib-development-"
echo " = package is missing. This will disable support for JACK-transport."
echo " = This is no problem but you'll miss the great possibilities of interacting"
echo " = with other sound-applications in realtime!"
echo " = Consider installing the missing packages for using the full power of LMMS."
echo " ="
with_warnings="true"
else
PLUGINS_TO_BUILD="$PLUGINS_TO_BUILD\n\t\* JACK for audio-input/output"
fi
if test -z "$HAVE_SOUNDCARD_H" -a -z "$HAVE_SYS_SOUNDCARD_H" ; then
echo " ========================"
echo " === LMMS - WARNING ======================================================="
echo " ========================"
echo " ="
echo " = You don't seem to have soundcard.h which is neccessary for outputting "
echo " = sound via OSS under Linux/BSD/Solaris."
echo " = This will also disable support for MIDI using OSS."
echo " = If you're building for a different platform or do not need OSS-support, you"
echo " = can ignore this warning."
echo " ="
with_warnings="true"
else
PLUGINS_TO_BUILD="$PLUGINS_TO_BUILD\n\t\* OSS for audio- and MIDI-input/output"
fi
if test -z "$HAVE_SDL_SDL_AUDIO_H" ; then
echo " ========================"
echo " === LMMS - WARNING ======================================================="
echo " ========================"
echo " ="
echo " = You don't seem to have SDL-library installed and/or SDL-lib-development-"
echo " = package is missing. This will disable support for sound-output via SDL, "
echo " = which is important, if you're using sound-daemons (arts, ESD etc.)"
echo " = When compiling without SDL, you'll always have to kill your sound-daemon"
echo " = before using LMMS...!"
echo " = Consider installing the missing packages for using the full power of LMMS."
echo " ="
with_warnings="true"
else
PLUGINS_TO_BUILD="$PLUGINS_TO_BUILD\n\t\* SDL for audio-output"
fi
if test -z "$OGG_SUPPORT" ; then
echo " ========================"
echo " === LMMS - WARNING ======================================================="
echo " ========================"
echo " ="
echo " = You don't seem to have libvorbis installed and/or libvorbis-development-"
echo " = package is missing. This will disable support for exporting songs to"
echo " = OGG-files! If SDL_sound is missing too, you'll not be able to use the "
echo " = samples coming with LMMS since libsndfile currently has no OGG-support!"
echo " = Consider installing the missing packages for using the full power of LMMS."
echo " ="
with_warnings="true"
else
PLUGINS_TO_BUILD="$PLUGINS_TO_BUILD\n\t\* libvorbis for encoding/decoding OGG-files"
fi
if test -z "$HAVE_SDL_SDL_SOUND_H" ; then
echo " ========================"
echo " === LMMS - WARNING ======================================================="
echo " ========================"
echo " ="
echo " = You don't seem to have SDL_sound-library installed and/or SDL_sound-"
echo " = development-package is missing. This means that you can only load samples"
echo " = within LMMS if you have libsndfile and libvorbis installed!"
echo " = Consider installing the missing packages for using the full power of LMMS."
echo " ="
with_warnings="true"
else
PLUGINS_TO_BUILD="$PLUGINS_TO_BUILD\n\t\* SDL_sound for sample-decoding"
fi
if test -z "$HAVE_SNDFILE_H" ; then
echo " ========================"
echo " === LMMS - WARNING ======================================================="
echo " ========================"
echo " ="
echo " = You don't seem to have libsndfile installed and/or libsndfile-development-"
echo " = package is missing. This is not that fatal as long as you have SDL_sound"
echo " = installed. Otherwise it's strongly recommended to install libsndfile and"
echo " = libvorbis for being able to use samples within LMMS."
echo " = Consider installing the missing packages for using the full power of LMMS."
echo " ="
with_warnings="true"
else
PLUGINS_TO_BUILD="$PLUGINS_TO_BUILD\n\t\* libsndfile for sample-decoding"
fi
if test -z "$HAVE_SAMPLERATE_H" ; then
echo " ========================"
echo " === LMMS - WARNING ======================================================="
echo " ========================"
echo " ="
echo " = You don't seem to have libsamplerate installed and/or libsamplerate-"
echo " = development-package is missing. If you ignore this warning the"
echo " = according source-code of libsamplerate will be directly compiled into"
echo " = LMMS which is no problem at all. If you're building official LMMS-packages"
echo " = for a distribution DO NOT IGNORE THIS WARNING."
echo " ="
fi
if test "$build_linux" = "true" ; then
PLUGINS_TO_BUILD="$PLUGINS_TO_BUILD\n\t\* LADSPA-plugins"
if test -z "$HAVE_LADSPA_H" ; then
echo " ========================"
echo " === LMMS - WARNING ======================================================="
echo " ========================"
echo " ="
echo " = As the header file ladspa.h could not be found on your system, a version"
echo " = shipped with LMMS will be used. This is no problem at all but generally"
echo " = it's better to use files being customized to your system/distribution."
echo " = If you encounter problems related to LADSPA-support, try to install"
echo " = LADSPA-SDK-package (ladspa-sdk, ladspa-dev or similiar) and run configure"
echo " = again."
echo " ="
with_warnings="true"
fi
else
echo " ========================"
echo " === LMMS - WARNING ======================================================="
echo " ========================"
echo " ="
echo " = You're building LMMS for a platform other than Linux which will prevent"
echo " = configure from enabling LADSPA-support."
echo " ="
with_warnings="true"
fi
if test -z "$HAVE_STK_H" ; then
echo " ========================"
echo " === LMMS - WARNING ======================================================="
echo " ========================"
echo " ="
echo " = You don't seem to have STK installed and/or STK-development-package"
echo " = (Debian/Ubuntu: libstk0-dev) is missing. Without this package, the "
echo " = STK instrument plugins (\"Mallets\") won't be built."
echo " = Consider installing the missing packages for using the full power of LMMS."
echo " ="
with_warnings="true"
else
PLUGINS_TO_BUILD="$PLUGINS_TO_BUILD\n\t\* STK instrument plugins"
fi
if test -z "$FESTIVAL_SUPPORT" ; then
if test "x$with_singerbot" = "xyes" ; then
echo " ========================"
echo " === LMMS - WARNING ======================================================="
echo " ========================"
echo " ="
echo " = You don't seem to have Festival development files."
echo " = The SingerBot instrument plugin will be ignored."
echo " = Before enabling this plugin, bear in mind that it is still experimental."
echo " ="
echo " = To remove this warning, please pass"
echo " = "
echo " = --without-singerbot"
echo " ="
with_warnings="true"
fi
else
PLUGINS_TO_BUILD="$PLUGINS_TO_BUILD\n\t\* SingerBot instrument plugin"
fi
if test ! -z "$WINECXX" ; then
PLUGINS_TO_BUILD="$PLUGINS_TO_BUILD\n\t\* LMMS VST Support Layer (LVSL) for built-in VST-plugin usage"
else
echo " ========================"
echo " === LMMS - WARNING ======================================================="
echo " ========================"
echo " ="
echo " = You don't seem to have installed WINE or it's development-packages (headers,"
echo " = winegcc etc.) which are neccessary for building LMMS with built-in"
echo " = VST-support."
echo " = If you do not intend to use VST-plugins with LMMS you can ignore this "
echo " = warning."
echo " = Consider installing the missing packages (Debian: libwine-dev,"
echo " = Ubuntu: wine-dev, openSUSE: wine-devel) for using the full power of LMMS."
echo " ="
with_warnings="true"
fi
echo
echo
echo "LMMS will be able to use $PLUGINS_TO_BUILD" | sed -e "s/\\\n/\n/g" | sed -e "s/\\\t/\t/g" | sed -e "s/\\\\\*/\*/g"
echo
echo
echo " ============================"
echo " === LMMS - INFORMATION ==================================================="
echo " ============================"
echo " ="
if test "$with_warnings" = "false" ; then
echo " = LMMS has been configured successfully. Now you can build it by typing 'make'."
echo " = After the compilation-process has finished, you can install LMMS by"
echo " = typing 'make install' (do this as \"root\"!)."
else
echo " = LMMS has been configured, but there were one or more warnings you should"
echo " = not ignore. First try to solve the mentioned problems before"
echo " = proceeding. Otherwise don't complain, if LMMS doesn't run the way"
echo " = you might expect..."
fi
echo " ="
echo " = If there're problems while compiling LMMS, please send a mail to "
echo " = lmms-devel \[at\] lists.sf.net!"
echo " ="
echo

7
data/CMakeLists.txt Normal file
View File

@@ -0,0 +1,7 @@
ADD_SUBDIRECTORY(backgrounds)
ADD_SUBDIRECTORY(locale)
ADD_SUBDIRECTORY(presets)
ADD_SUBDIRECTORY(projects)
ADD_SUBDIRECTORY(samples)
ADD_SUBDIRECTORY(themes)
ADD_SUBDIRECTORY(wavetables)

View File

@@ -1,13 +0,0 @@
SUBDIRS = locale midi-maps presets projects samples themes track_icons
menudir = $(datadir)/menu
menu_DATA = lmms
applicationsdir = $(datadir)/applications
applications_DATA = lmms.desktop
mimedir = $(datadir)/mime/packages
mime_DATA = lmms.xml
EXTRA_DIST = $(menu_DATA) $(applications_DATA) $(mime_DATA)

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 66 KiB

View File

@@ -0,0 +1,2 @@
FILE(GLOB PNG_FILES *.png)
INSTALL(FILES ${PNG_FILES} DESTINATION "${LMMS_DATA_DIR}/backgrounds")

Binary file not shown.

After

Width:  |  Height:  |  Size: 442 B

BIN
data/backgrounds/newbg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
data/backgrounds/vinnie.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -1,4 +0,0 @@
?package(lmms):needs="X11" section="Apps/Sound" \
title="LMMS" hints="Audio" command="/usr/bin/lmms" \
longtitle="Linux MultiMedia Studio" \
icon="/usr/share/lmms/themes/default/icon.png"

View File

@@ -1,15 +0,0 @@
[Desktop Entry]
Name=Linux MultiMedia Studio
GenericName=software for music-production
GenericName[ca]=Programari de producció musical
GenericName[de]=Software zur Musik-Produktion
Comment=easy music-production for everyone!
Comment[ca]=Producció fàcil de música per a tothom!
Icon=/usr/share/lmms/themes/default/icon.png
Exec=/usr/bin/lmms
Terminal=false
Type=Application
Encoding=UTF-8
X-Desktop-File-Install-Version=0.3
Categories=Application;AudioVideo;Qt
MimeType=application/x-lmms-project

View File

@@ -0,0 +1,7 @@
FILE(GLOB QM_FILES *.qm)
IF(LMMS_BUILD_WIN32)
FILE(GLOB QT_QM_FILES "${QT_TRANSLATIONS_DIR}/qt*[^h].qm")
ENDIF(LMMS_BUILD_WIN32)
INSTALL(FILES ${QM_FILES} ${QT_QM_FILES} DESTINATION "${LMMS_DATA_DIR}/locale")

View File

@@ -1,7 +0,0 @@
localedir = $(lmmsdatadir)/locale
locale_DATA = *.qm
locale_TSOURCES = *.ts
EXTRA_DIST = $(locale_DATA) $(locale_TSOURCES)

Binary file not shown.

File diff suppressed because it is too large Load Diff

9291
data/locale/cs.ts Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

9266
data/locale/fa.ts Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

9316
data/locale/gl.ts Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More