Commit graph

64 commits

Author SHA1 Message Date
Igor Korsukov
2a5af1c527 fixed virtual methods 2020-03-27 13:07:27 +02:00
Igor Korsukov
f9b1e499c5 Some fixes basic chord symbol realization 2020-03-19 14:03:47 +02:00
Peter Hieu Vu
86a4e7b105 Added basic chord symbol realization 2020-03-19 13:52:39 +02:00
Howard-C
a433a743ee Enable proper undo for preferSharpFlat property 2020-02-12 21:07:14 +08:00
Howard-C
f4067b5c0f fix #288495: allow user to select flats or sharps for enharmonic key signatures
Resolves: https://musescore.org/node/288495.

A new part property `_preferSharpFlat` is added to let the user decide.
2020-02-10 19:24:43 +08:00
Dale Larson
fc305ed59c Add rest of v2.0 Part properties to v3.2.1
The v3.0 release lost many properties for the Part
object when it released. This commit restores them.
2019-06-25 13:34:08 -05:00
ws
ec3be9a99a Replacd integer midi tick values by fractions.
- tick names a position on the time axis
- tick is always a Fraction()
- only Measure() and Segment() (and Tuplet?) have a tick value
- tick() for an generic element return only a sensible value if isMeasure() or isSegment() or isSegment(parent())

- "ticks" names a duration stored in a Fraction()
- the tick value for an Segment is relative to its measure

- rename "duration" to "ticks"
- rename afrac() to tick()
- rename rfrac() to rtick()
- rename some variables, changing "fraction" into "tick"
  (example: actualFraction() into actualTicks())

- Lyrics ticks are written as Fraction, on read if xmlreader sees a "/" it reads a fraction
  else midi ticks for backwards compatibility
2019-02-18 11:46:05 +01:00
Dmitri Ovodok
738fe850ea fix #109941: enable single part playback 2019-02-08 16:34:51 +03:00
Dmitri Ovodok
bb81e1048c fix #278918, fix #279284: a quick fix for crash on parts export to various formats 2018-12-13 18:17:10 +02:00
Mark McKay
fdeb795e34 fix #275313: rework mixer ui 2
Moving PartEditBase into separate file.  Creating new files for
building mixer.

Creating art assets/UI design for new components.

Styling the track control.

Adding track area.

Separating out score from update.

Creating instances of mixer UI.

Creating part per voice now.

Can click on tracks to select them now.

Can now switch bwtewwn tracks.

Setting patch channel now.

Setting enabled off when no track selected.

Improving slider ui.

Turning Channel into a class and adding listener to it.

Somewhat stabalized sharing track objects between interfaces.

Can now apply volume changes to both expanded and collapsed tracks.

Pan knob is now working.

Encapsulating the rest of the fields in Channel.

Mute and solo now working.

Reverb and chorus now working.

Drumkit checkbox now working.  Port and channel somewhat working.

Adding support for colors per track.

Part name change now working.

Separating out MixerTrackItem

Finishing moving MixerTrackItem to new file.

Cleaning up code.

Moving PartEditBase into separate file.  Creating new files for
building mixer.

Creating art assets/UI design for new components.

Styling the track control.

Adding track area.

Separating out score from update.

Creating instances of mixer UI.

Creating part per voice now.

Can click on tracks to select them now.

Can now switch bwtewwn tracks.

Setting patch channel now.

Setting enabled off when no track selected.

Improving slider ui.

Turning Channel into a class and adding listener to it.

Somewhat stabalized sharing track objects between interfaces.

Can now apply volume changes to both expanded and collapsed tracks.

Pan knob is now working.

Encapsulating the rest of the fields in Channel.

Mute and solo now working.

Reverb and chorus now working.

Drumkit checkbox now working.  Port and channel somewhat working.

Adding support for colors per track.

Part name change now working.

Separating out MixerTrackItem

Finishing moving MixerTrackItem to new file.

Cleaning up code.

Setting color in collapsed mode now affects all channels.

Using shared_ptr to track MixerTrackItem.  Part changes now affect
all instruments.

Creating new track UI object to handle parts.

Using shard_ptr to track MixerTrackItem objects.

setting port and channel data now.

Changing to horizontal layout.

Fixing knob display.  Chaning track control appearance.

Setting init slider window size.

Switchong back to vertical orientation.  Fixing a few UI bugs in
the slider.

Tracks now left aligned.

Moving details panel above mixer.  Now changing track selection when
user clicks on sliders.

Pan and volume controls now reflect track color.

Showing volume and pan values in tooltips.

Creating a new slider control for mixer.

Switching Channel's volume, pan, reverb and chorus and chaning them
to doubles with a decimal range.

No longer writing out vol, pan, chor, reverb when at default values.

Nolonger writing vol, pan, chorus, reverb as controler values in
output file.

Now testing against default values on write.

More export fixes.

Manually editing test files to reflect new channel parameters.

Manually editing more test files to reflect new channel parameters.

Manually editing more test files to reflect new channel parameters.

More test changes to make Travis happy.

More test changes to make Travis happy.

Importing MusicXML now matches new volume, pan ranges.

Changing range of pan.  Fixing a few bugs with calculating MIDI.
Altering test files for Travis.

fix #275313: rework-mixer-ui-2

Moving PartEditBase into separate file. Creating new files for
building mixer.

Creating art assets/UI design for new components.

Styling the track control.

Adding track area.

Separating out score from update.

Creating instances of mixer UI.

Creating part per voice now.

Can click on tracks to select them now.

Can now switch bwtewwn tracks.

Setting patch channel now.

Setting enabled off when no track selected.

Improving slider ui.

Turning Channel into a class and adding listener to it.

Somewhat stabalized sharing track objects between interfaces.

Can now apply volume changes to both expanded and collapsed tracks.

Pan knob is now working.

Encapsulating the rest of the fields in Channel.

Mute and solo now working.

Reverb and chorus now working.

Drumkit checkbox now working.  Port and channel somewhat working.

Adding support for colors per track.

Part name change now working.

Separating out MixerTrackItem

Finishing moving MixerTrackItem to new file.

Cleaning up code.

Moving PartEditBase into separate file.  Creating new files for
building mixer.

Creating art assets/UI design for new components.

Styling the track control.

Adding track area.

Separating out score from update.

Creating instances of mixer UI.

Creating part per voice now.

Can click on tracks to select them now.

Can now switch bwtewwn tracks.

Setting patch channel now.

Setting enabled off when no track selected.

Improving slider ui.

Turning Channel into a class and adding listener to it.

Somewhat stabalized sharing track objects between interfaces.

Can now apply volume changes to both expanded and collapsed tracks.

Pan knob is now working.

Encapsulating the rest of the fields in Channel.

Mute and solo now working.

Reverb and chorus now working.

Drumkit checkbox now working.  Port and channel somewhat working.

Adding support for colors per track.

Part name change now working.

Separating out MixerTrackItem

Finishing moving MixerTrackItem to new file.

Cleaning up code.

Setting color in collapsed mode now affects all channels.

Using shared_ptr to track MixerTrackItem.  Part changes now affect
all instruments.

Creating new track UI object to handle parts.

Using shard_ptr to track MixerTrackItem objects.

setting port and channel data now.

Changing to horizontal layout.

Fixing knob display.  Chaning track control appearance.

Setting init slider window size.

Switchong back to vertical orientation.  Fixing a few UI bugs in
the slider.

Tracks now left aligned.

Moving details panel above mixer.  Now changing track selection when
user clicks on sliders.

Pan and volume controls now reflect track color.

Showing volume and pan values in tooltips.

Creating a new slider control for mixer.

Switching Channel's volume, pan, reverb and chorus and chaning them
to doubles with a decimal range.

No longer writing out vol, pan, chor, reverb when at default values.

Nolonger writing vol, pan, chorus, reverb as controler values in
output file.

Now testing against default values on write.

More export fixes.

Manually editing test files to reflect new channel parameters.

Manually editing more test files to reflect new channel parameters.

Manually editing more test files to reflect new channel parameters.

More test changes to make Travis happy.

More test changes to make Travis happy.

Importing MusicXML now matches new volume, pan ranges.

Changing range of pan.  Fixing a few bugs with calculating MIDI.
Altering test files for Travis.

Restoring the volume, pan, chorus, reverb to original char data type
& range.  UI now shows different 'user friendly' ranges.

Overwriting tests with versions from master.

mtest/libmscore/compat114/clef_missing_first-ref.mscx
mtest/libmscore/compat114/hor_frame_and_mmrest-ref.mscx
mtest/musicxml/io/testInstrumentChangeMIDIportExport_ref.xml
mtest/musicxml/io/testUninitializedDivisions_ref.xml

Restoring test files to original state.

Restoring test files to original state.

Restoring old values for importing files.

Restoring part methods.

mtest/importmidi/simplify_8th_dotted_no_staccato.mscx
mtest/libmscore/compat114/clef_missing_first-ref.mscx
mtest/libmscore/compat114/hor_frame_and_mmrest-ref.mscx
mtest/musicxml/io/testInstrumentChangeMIDIportExport_ref.xml
mtest/musicxml/io/testUninitializedDivisions_ref.xml

Rearranging UI components for better feel.

Improving UI.  Fixed crash when changing part name.

Adding support for two lighting modes.  Showing part name over
channel expansion.

Adding master gain control to mixer.

Changing color of gain slider.

Adapting to latest source in main.

Changing master gain slider to use decibel calculation.

CSS now set on tracks whenever a Paint event received.

Restoring mixer slider values to refect MIDI ranges.  Fixing crash when drumkit checked.

Fixing crash when closing score.

Fixing alignment in mixer details.

Tweaking UI for better appearance.
2018-11-13 12:43:19 -05:00
ws
33d1cd7fb4 rename StyleIdx -> Sid and P_ID -> Pid 2018-03-27 15:36:00 +02:00
Werner Schweer
b46b55fa1e fix ties from/to grace notes; add 'final' to classes were appropriate 2017-12-21 14:08:44 +01:00
Werner Schweer
0e4211e2d0 update let ring, palm mute 2017-11-27 16:55:52 +01:00
Werner Schweer
90b1991912 replace Q_OBJECT with Q_GADGET for all Element based classes 2017-02-17 15:48:28 +01:00
Werner Schweer
1d4c6b2f21 move Element::type() to ScoreElement 2017-01-18 14:16:33 +01:00
Werner Schweer
35b948adaf add instrument name panel to inspector 2016-12-30 10:58:53 +01:00
Werner Schweer
337e885896 barline changes, part-1 2016-12-28 16:36:59 +01:00
Werner Schweer
c5f46bb208 rename Xml() -> XmlWriter() 2016-11-19 11:51:21 +01:00
lasconic
accacb87b9 Change storage of notehead type and group in Drumset 2016-10-20 11:49:58 +02:00
ws
3f1aa2ed1f misc. updates to layout 2016-04-13 12:05:46 +02:00
ws
bbd802f8ae framework for partial relayout 2016-04-13 11:35:21 +02:00
igevorse
f627caf387 Import MIDI mapping from MusicXML (DOM parser) 2015-07-15 21:07:34 +05:00
igevorse
0779d7037a Read/write Midi mapping to msc* and midi files 2015-07-15 21:07:34 +05:00
Maurizio M. Gavioli
3b27da04a0 Plugin Manual - Documentation update for classes M-P
Updates the documentation for classes named from M to P to proposal A) in http://dev-list.musescore.org/Plugin-documentation-generated-manual-td7579164.html

Properties are also sorted in alphabetical order for easier identification.

No attempt made to evaluate what to include and what to exclude from documentation: anything which is currently documented is retained. Case by case decisions can always be made.

Description of methods for `QProcess` and `ScoreView` (in file libmscore/plugins.h) are stubs.
2015-07-13 00:21:09 +02:00
lasconic
f5464d6f11 add some utilities function to extract lyrics, get info on parts... 2015-07-02 18:07:21 +02:00
ws
892e5887f9 fix #57861 bad import of & in part name 2015-04-27 13:03:52 +02:00
lasconic
f119b75ec9 add access to midi channel in plugin framework 2015-04-19 12:39:40 +02:00
ws
036f1a76ea visualize anchor when dragging InstrumentChange 2015-03-26 13:11:46 +01:00
ws
38eeee0aaa rename 'instrList' to 'instruments' 2015-03-26 13:11:46 +01:00
ws
c8c1c12208 update instrument list in part when inserting/deleting measures 2015-03-26 13:11:46 +01:00
ws
8282094dd6 code cleanups; rename instr() to instrument() 2015-03-26 13:11:46 +01:00
ws
d952c4c11a fix #45231 Undo does not restore sound of deleted instrument change, crash on subsequent undo 2015-03-05 16:55:09 +01:00
ws
3b9a0005ba fix regression from commit 2dcd7b9 2015-03-04 09:40:35 +01:00
ws
2dcd7b980f fix regression for score creation from template 2015-03-03 17:32:30 +01:00
ws
620c9975a5 fix #47181 Multi-line title spaced incorrectly 2015-02-11 16:22:42 +01:00
Igevorse
96028a366e fix #42326: Allow adding an InstrumentChange to the first note 2015-02-09 00:58:25 +05:00
ws
265b630abd extend implementation of property system 2015-02-04 22:12:13 +01:00
lasconic
97050de970 add access to more metadata from plugins, add ability to change page size from plugin 2014-12-28 18:20:12 +01:00
Igevorse
dc869a8523 fix #36461: Export port information to MIDI files 2014-10-12 15:24:19 +05:00
heuchi
5ccef6aa1f fixed description in part.h 2014-08-18 10:12:50 +02:00
heuchi
4f4e682832 Export some functions and properties for use in plugins 2014-08-17 19:09:18 +02:00
ws
0c44719a58 fix #29241 2014-08-11 15:26:29 +02:00
lasconic
3ca6f4129a transform Q_INVOKABLE to Q_PROPERTIES in part 2014-07-13 15:21:05 +02:00
Joachim Schmitz
6acb7cae34 remove unnamed enum { SHOW }
as it was use in only 3 places in 2 of which a simple 'if/else' seems
the better choice and in the 3rd a simple '0'.
2014-05-26 12:25:21 +02:00
ws
02d0fcca12 fix #25646 2014-05-08 17:59:24 +02:00
ws
eb999f4abc fix insert/delete measures for parts 2014-03-03 17:45:43 +01:00
ws
d796ea407d rework text implementation 2014-02-11 14:27:44 +01:00
ws
5c386d2981 small build fix 2014-01-13 18:16:20 +01:00
Joachim Schmitz
6e5bc49634 fix previous change
hopefully. I really should get myself a proper build enviornment...
2014-01-12 13:50:45 +01:00
Joachim Schmitz
67a87243d4 make partName writable from plugins
and add longName and shortName to the plugin framwork
2014-01-12 13:06:30 +01:00