Commit graph

77 commits

Author SHA1 Message Date
lasconic
ebd3eaee88 fix #268991: Regression: Fluid: Envelopes are not behaving correctly. Workaround: skip mod envelope delay and attack phases if they are each less than 100 samples long 2018-02-21 12:18:27 +01:00
luz.paz
443be63167 Misc. typos
Found via `codespell -i 3 -w --skip="./thirdparty,./share/locale,./fonts" -I ../musescore-whitelist.txt`
Whitelist:
```
clas
nd
ot
pres
strack
tage
te
```
2018-02-13 12:06:05 -05:00
Nicolas Froment
191c1e7dc3
Merge pull request #3454 from lasconic/fix-269044
fix #269044: fluid: default velocity-to-filter cutoff modulator should be disabled
2018-02-08 17:21:06 +01:00
Dag Henning Liodden Sørbø
2b6cb8b432 Change to new preferences model
The old Preferences struct holding all preferences are removed in favor of a
new Preferences class which acts as a proxy for QSettings. The settings stored
in QSettings are accessed directly through access methods like getBool(key),
getInt(key), etc. and changed with setPreference(key, value).

Since we are using QSettings directly the preferences are stored automatically
without the need for a custom write() and read() method like before.

The preferences.cpp/.h and prefdialog.cpp/h are refactored to have fewer
responsibilities than before. The Preferences class are all about storing and
retrieving preferences - it should not contain any code to handle any other
aspect of MuseScore.

Testing:
The Preferences class can be used in tests. All preferences are initialized with
default values in mtest. If a test requires that a preference has a specific
value it can be changed using setPreference() for that single test. In the tests
the preferences are stored in memory only.

The Preference class is supposed to be used as a singleton. In preferences.h an
'extern Preferences preferences' is set and it is defined in preferences.cpp. All
files which includes preferences.h have access to the 'preferences' singleton
and should use this to get and set preferences.
2018-02-08 16:59:10 +01:00
lasconic
bbd814cc44 fix #269044: fluid: default velocity-to-filter cutoff modulator should be disabled 2018-02-08 16:21:44 +01:00
lasconic
ca181481c9 improve some strings based on translator feedback 2018-01-23 10:37:07 +01:00
Joachim Schmitz
5e116fe595 Fixing issues found in static code analysis by PVS-Studion
See https://musescore.org/en/node/255156
2017-12-20 16:26:23 +01:00
lasconic
acc6fadf8c fix #197131: Regression: Bass synthesizer and bass guitar create popping sounds 2017-07-21 18:22:39 +02:00
Eric Fontaine
4e4693003e fix #5163 Add PortAudio Midi Output 2017-05-26 08:36:37 -04:00
lasconic
fce99944db Don't look for soundfonts in hidden directories 2017-03-15 15:07:01 +01:00
Johannes Wegener
65caf3cd22 fix #120061: fix clicking sound in playback due to filter init 2016-08-03 10:57:18 +02:00
werner
d4cc062763 updates for hairpins, dynamics 2016-08-02 17:06:35 +02:00
Johannes Wegener
65fad51543 fix #119731: fluidsynth optimizations 2016-07-28 13:48:05 +02:00
Johannes Wegener
494011bb76 fix #119446: calculate envelope for first point of new envelope right, fix divison by zero in amp increment calculation 2016-07-26 18:19:24 +02:00
Johannes Wegener
d3871a403b fix #119016: fluidsynth distorted because of wrong amp_increment 2016-07-22 11:21:33 +02:00
Nicolas Froment
a9188d13d3 Merge pull request #2638 from hpfmn/fix-113416
Fix #113416 - Fluidsynth sample based volume
2016-07-20 19:50:50 +02:00
Johannes Wegener
5e1baf1dfc fix #112556 fix #113416 Sample based Volume for envelopes and modlfo 2016-07-19 12:37:12 +02:00
Fyrult
0810805707 fix memory leaks 2016-07-19 01:00:57 -04:00
Joachim Schmitz
cc19cb4bc3 use icons from resource in ui files rather than use setIcon()
so the dialogs look closer to reality in QtCreator, also reduce strings
to translate
2016-06-20 15:48:53 +02:00
Joachim Schmitz
ad860c000e cleanup reg. notr="true" in some .ui files 2016-06-17 15:09:50 +02:00
Eric Fontaine
ff749fd292 fix #99236 remove mscoreGlobalShare/sound from soundfont path
Preferences::sfPath is renamed "mySoundfontsPath", which adheres to same naming scheme for myPluginsPath and myTemplatesPath, and now only stores the user-specified soundfont folders (no longer stores mscoreGlobalShare/sound).  Any synthesizers loading soundfonts must make sure to look in mscoreGLobalShare/sound in addition to mySoundfontsPath.  Removing mscoreGlobalShare/sound from the stored path fixes a bug with portable AppImages, which use a different temporary directory for mscoreGlobalShare on every execution.
2016-02-25 05:28:43 -05:00
lasconic
cd6dd3edd7 fix a couple of warnings on Mac OSX 2016-02-15 12:33:54 +04:00
lasconic
59b72e646f fix #85901: Replace Up/Down buttons by arrows 2015-11-03 23:05:59 +01:00
ws
fe29c614de make synthcontrol and mixer persistent 2015-09-08 17:14:02 +02:00
lasconic
25fcf3f27b fix #72091: sf2 volume discrepancies caused by attenuation handling, thanks @jimbo1qaz for the investigation in PR #2152 2015-08-05 21:34:59 +02:00
igevorse
78ad4bbc71 Export bends to midi 2015-06-03 20:34:09 +05:00
igevorse
ed6fe07d61 Feature: bend playback 2015-06-03 20:34:09 +05:00
lasconic
9bd96cbbd5 fix #57976: MuseScore doesn't support soundfonts with 24 bit samples 2015-04-28 14:42:49 +02:00
lasconic
10a03445c0 implement fallback to default configuration in export audio if one of the soundfont cannot be loading 2015-04-15 19:19:16 +02:00
lasconic
c73eb49581 ignore absolute path when loading soundfont. Fix #55416 Fix #21592 Fix #34286 2015-04-11 17:34:22 +02:00
lasconic
a7326606d6 use Sentence case for error messages 2015-03-04 12:18:09 +01:00
Joachim Schmitz
df75d5a2a7 fix capitalisation for shortcuts and more
see http://musescore.org/en/node/48776.

Reg. "Note Entry" vs. "Note Input" see
http://musescore.org/en/node/49321.
Reg. "Screenshot" vs. "Image Capture", see
http://musescore.org/en/handbook/foto-mode#comment-225451 ff.
Reg. "Soundfont" vs. "SoundFont" see
http://musescore.org/en/node/36171#comment-228186 ff.
2015-03-03 11:51:52 +01:00
Joachim Schmitz
e59442f2cd fixing some typos 2015-02-16 11:09:06 +01:00
Nicolas Froment
061bc0fce8 Merge pull request #1475 from andreituicu/fix_35576
Accessibility for Play panel, Mixer and Synthesizer
2015-02-11 09:06:34 +01:00
ws
2f31c341a7 fix #43481 Wrong instrument played when using multiple SF2 soundfonts 2015-02-10 19:54:22 +01:00
Andrei Tuicu
ddaf8b363e Accessibility for play panel, mixer and synthesizer. 2015-02-06 23:00:36 +02:00
ws
b3c8465eed more cmake cleanups 2015-01-27 15:23:20 +01:00
ws
5730db9c06 NewWizard: remove explicit template/from scratch choice 2014-12-11 12:01:51 +01:00
lasconic
481d86250a add soundfont dialog should be on top of synthesizer dialog 2014-12-09 17:00:58 +01:00
Nicolas Froment
5f048215fa Merge pull request #1523 from AntonioBL/cppcheck
some fixes from cppcheck analysis
2014-12-09 14:38:10 +01:00
AntonioBL
620dae1b25 some fixes from cppcheck analysis 2014-12-09 09:36:24 +01:00
Joachim Schmitz
83c6e2d023 remove some superfluos QString() calls 2014-12-09 08:56:24 +01:00
Igevorse
05bb829989 fix #11096: fixed crash while changing soundfont, fixed many possible crashes 2014-09-22 22:14:51 +05:00
Igevorse
413d6e9a1d fix #33961: 'Set as default' now enabled after removing a soundfont 2014-09-22 21:47:18 +05:00
Jarrad Whitaker
d79ce4f287 Force full panning width for all soundfounts 2014-08-18 09:57:57 +10:00
Joachim Schmitz
3394f76c3a fix warning reg. expresion always false 2014-06-17 14:37:29 +02:00
Joachim Schmitz
6f3a7d1957 whitespace cleanup 2014-05-30 13:37:44 +02:00
Joachim Schmitz
5977488174 eliminating needless \n in qDebug() calls
searching for 'qDebug.*\\n\'
2014-03-25 14:59:32 +01:00
Joachim Schmitz
22e9e964d9 fix 23366: more capitalization 2014-01-21 14:37:31 +01:00
ws
5d0b72796e fix #23191 2013-10-18 17:08:09 +02:00