Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instrument request: timple canario. #22760

Open
fefal64 opened this issue May 10, 2024 · 0 comments
Open

Instrument request: timple canario. #22760

fefal64 opened this issue May 10, 2024 · 0 comments
Labels
feature request Used to suggest improvements or new capabilities instruments Issues relating to instrument definitions

Comments

@fefal64
Copy link

fefal64 commented May 10, 2024

Your idea

Just add "timple-canario" to the MuseScore Instrument Definitions sheet with the following parameters (based on cavaquinho):

id: timple-canario
description: Small Spanish 5-string guitar (staff notation).
group: plucked-strings
family: guitars
order: 0
trackName: Timple Canario
longName: Timple Canario
shortName: Timp.
minP sound: E4
minA sound: E4
maxA sound: D6
maxP sound: G#6
minP: 64
minA: 64
maxA: 86
maxP: 92
musicXMLid: pluck.guitar
clefs: G
barlineSpans: 1
SND: 0
frets: 18
stringsFretted: 67;72;64;69;74
genres: world

And also for tablature:

id: timple-canario-tablature
description: Small Spanish 5-string guitar (tablature).
group: plucked-strings
family: guitars
order: 0
trackName: Timple Canario (tablature)
longName: Timple Canario
musicXMLid: pluck.guitar
staffTypePreset: tab5StrSimple
genres: world

Then, add instrumnt playback setup data to SETUP_DATA_MAP at src/engraving/playback/mapping/stringssetupdataresolver.cpp:

        { "timple-canario", { SoundId::TimpleCanario, SoundCategory::Strings, { SoundSubCategory::Acoustic,
                                                                                SoundSubCategory::Nylon,
                                                                                SoundSubCategory::Spanish,
                                                                                SoundSubCategory::Plucked } } },
        { "timple-canario-tablature", { SoundId::TimpleCanario, SoundCategory::Strings, { SoundSubCategory::Acoustic,
                                                                                          SoundSubCategory::Nylon,
                                                                                          SoundSubCategory::Spanish,
                                                                                          SoundSubCategory::Plucked } } },

add SoundId at src/framework/mpe/soundid.h:

enum class SoundId
{
...
  TimpleCanario,
...
};

and also item in ID_STRINGS:

    { SoundId::TimpleCanario, String(u"timple") },

add nylon string sound in STRINGS_MAPPINGS at src/framework/audio/internal/synthesizers/fluidsynth/soundmapping.h:

        { { mpe::SoundId::TimpleCanario,  { mpe::SoundSubCategory::Acoustic,
                                            mpe::SoundSubCategory::Nylon,
                                            mpe::SoundSubCategory::Spanish,
                                            mpe::SoundSubCategory::Plucked } }, { midi::Program(0, 24) } },

I believe this is all that needs to be done, but I haven't compiled or tested these changes.

Problem to be solved

The problem we aim to address is the inconvenience faced by users who wish to write scores for this instrument. Currently, users must manually add the instrument and define its parameters, which can be time-consuming and prone to errors. By including the Timple-Canario in the predefined list of plucked string instruments, users can seamlessly select it from the instruments dialog without the need for manual input.

The Timple-Canario is a traditional string instrument from the Canary Islands, and its inclusion would greatly benefit users interested in composing or arranging music for this unique instrument.

Prior art

No response

Additional context

The Timple Canario is a traditional string instrument originating from the Canary Islands, Spain. With its small body and five strings it produces a bright, melodic sound that is characteristic of Canarian folk music.

More info on:

@muse-bot muse-bot added the feature request Used to suggest improvements or new capabilities label May 10, 2024
@oktophonie oktophonie added the instruments Issues relating to instrument definitions label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Used to suggest improvements or new capabilities instruments Issues relating to instrument definitions
Projects
None yet
Development

No branches or pull requests

3 participants