Changing instrument
-
Hello!
Is it possible to change the piano for another instrument?-
This topic was modified 4 years, 7 months ago by
josquin7.
-
This topic was modified 4 years, 7 months ago by
-
Hello josquin7,
This is not a real functionality provided by Music Sheet Viewer.
However, as the MIDI player is based on the RISM MIDI player, you can proceed as follows:1. goto https://github.com/rism-digital/midi-player/tree/master/instruments
2. get both .data and .js file of the instrument you’d like to play
3. rename them respectively wildwebmidi.data and wildwebmidi.js
4. copy them manually in Music Sheet Viewer plugin directory (under music-sheet-viewer/js), instead of the current ones (piano by default)That’ll do the trick
Thanks for using Music Sheet Vewer!
Thank you for the answer!
I tried it for example with 005_electric_piano_2_chorused_yamaha_dx and 006_harpsichord –
notes are displayed and player bar with play, pause/stop buttons are displayed, but when I click on play button, then there is silence (and playhead is not moving).Best wishes
You’re right, it’s not exactly the procedure:
1. goto https://github.com/rism-digital/midi-player/tree/master/instruments
2. get both .data and .js file of the instrument you’d like to play (for the .js, download the .js.gz then uncompress)
3. rename the .js file to wildwebmidi.js
4. copy wildwebmidi.js manually in Music Sheet Viewer plugin directory (under music-sheet-viewer/js), instead of the current one (piano by default)
5. copy the .data file in the same location
6. remove existing wildwebmidi.data (the one for piano)Remember to put aside the originial wildwebmidi files if you want to revert to piano, otherwise you’ll have to reinstall the plugin.
I played 005_electric_piano_2_chorused_yamaha_dx with that method…
Good luck.
Etienne
I tried the same steps, but result is the same.
Here is piano version:
https://regilaulik.folklore.ee/pohjatartumaa/regilaulud-kooliprogrammis/1-lope-lope-pollukene-torma/
And 005_electric_piano_2_chorused_yamaha_dx (with no sound):
https://regilaulik.folklore.ee/lounatartumaa/1/paevast-paeva/hommik/5-veeri-veeri-paivakone/.js and .data files:
https://drive.google.com/drive/folders/1hAn7CL9iI0JLz7y1o3vqMPgmWVAymOGD?usp=sharingBest wishes
Hello Josquin7,
I tried : https://regilaulik.folklore.ee/lounatartumaa/1/paevast-paeva/hommik/5-veeri-veeri-paivakone/
and the console says :Uncaught Error: Not Found : https://regilaulik.folklore.ee/lounatartumaa/wp-content/plug…sheet-viewer/js/005_electric_piano_2_chorused_yamaha_dx.data
onload https://regilaulik.folklore.ee/lounatartumaa/wp-content/plugins/music-sheet-viewer/js/wildwebmidi.js?ver=5.7.3:4clearly it indicates that the 005_electric_piano_2_chorused_yamaha_dx.data file is not in the js directory.
This file must not be renamed for instruments other than the default one (piano).Hope now that you can make it 😉
Etienne
It is working now. (I assumed that I need to rename also .data file
to wildwebmedia.data, but that was not right.)Thank you!
I’ve just played it 😉
Don’t remember that this choice of instrument is global to your website (but you can use subsites as you’ve done).
And you’ll have to do the same procedure each time the plugin is updated as it will override wildwebmedia.js and put wildwebmedia.data.sorry, I meant wildwebmidi.js and wildwebmidi.data
Thanks! 🙂
Hello. This feature is now brought by version 4.0.2. There are 72 possible instruments. Enjoy!
👍
The topic ‘Changing instrument’ is closed to new replies.