Replies: 7 comments 5 replies
-
MuseSampler can indeed be loaded by other programs. There is no official documentation (yet?), but probably it's much more valuable anyway to take MuseScore's source code as an example. You can basically write your own app that does whatever you want with Muse Sampler. Or you can integrate it into some DAW... I don't expect that MuseScore will support yet another file format for "playback only", since music notation is simply MuseScore's reason to exist. However, a separate app dedicated to MuseSampler might be a nice idea, if someone would like to build that. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for the answer. Yes a separate app under an open license looks like a good idea to me as well. I scrolled through the MuseScore code to find references to the sampler, but so far I failed. Could you please give me some pointers where to find them? |
Beta Was this translation helpful? Give feedback.
-
The most directly interesting stuff is in |
Beta Was this translation helpful? Give feedback.
-
Thank you, those look like good starting points! |
Beta Was this translation helpful? Give feedback.
-
This is worth discussing (thank you @isolin), but it doesn't really fit here as an issue for MuseScore's development. |
Beta Was this translation helpful? Give feedback.
-
I wonder if this could be made available as LV2 or CLAP plugin (or if it must be, VST) so that one could use the sampler from any DAW? |
Beta Was this translation helpful? Give feedback.
-
@cbjeukendrup Sorry to bother you with this. But I had a working version for PureData from version I can't init the library, Question: There was some change in the init process? I am just changing how class t_MuseSampler {
public:
t_object xObj;
mu::musesampler::MuseSamplerLibHandlerPtr MuseSounds = nullptr;
/// etc
// ===================
void *myinit(){
t_MuseSampler *x = (t_MuseSampler *)pd_new(MuseSampler);
x->MuseSounds = std::make_shared<MuseSamplerLibHandler>(path);
if (!x->MuseSounds->isValid()) {
pd_error(NULL, "MuseSounds not found, if you are sure you have it please report");
return nullptr;
}
bool ok = x->MuseSounds->init();
if (!ok) { // error here
return nullptr;
}
// etc ....
https://github.com/charlesneimog/pd-musesampler Sorry again, any info will be of great help! :) |
Beta Was this translation helpful? Give feedback.
-
Your idea
I aosolutely love Muse Hub Sounds. I see a strong parallel to Blender 3D which has Cycles as its awesome off-line renderer. Cycles is fully integrated into Blender, but it can also work in standalone mode. I would like to ask for the same with the MuseScore sequencer in connection with MuseHub Sounds. Would it be possible to expose its functionality over an API? Just as an array of timed events to get rid of the layouting and formatting that is part of the written score, but not really necessary for the playback. It could even work as an option in the MuseScore command line, but instad of taking
mscz
it would take a simple file format... or as a library one could call.If anyhing like that already exists, please let me know.
Problem to be solved
Using MuseScore's playback and export functionality as a plain Sampler without the necessity to design and format a digital score. Direct control of articulations, effect values, etc.
Prior art
No response
Additional context
My current workaround would be to wrap the desired input into the
mscz
format (all the files inside the zip archive), mainly dealing with themscx
xml-based format, but I consider that a huge overhead.Beta Was this translation helpful? Give feedback.
All reactions