Hi Thijs,

On 16/12/2015 10:55, Thijs van severen wrote:
> Concerning the C++11/14 question : i'm going to leave this to the experts
I have started developing without C++11 support. It is a bit annoying 
but I will focus on the feature first, and maybe help to see what can be 
done with C++14 later. I do not have any experience with Windows cross 
compilation though. I’ll wait for Steve’s test at least.


> If you havent already done so i suggest you have a look at the wiki to
> get started, and feel free to ask questions via this list
> i'm working on a 'how to contribute to hydrogen using github' page
> <https://github.com/hydrogen-music/hydrogen/wiki/How-to-contribute-code-using-Github>,
> but it's not quite done yet : i need to add in the part about creating a
> branch for your specific feature (makes merging sooo much easier)

I have found all that I was looking for in the wiki. I just looked you 
github howto and I think it is well done, for all the unfamiliar to git 
(and there are still so many). I have a lot of experience with git; 
you’ll receive a neat and clean pull request in a separate branch, well 
rebased and all.

> 1 thing you will probably have to be careful about is the fact that
> hydrogen uses the 'position' of an instrument in the drumkit to
> determine the (midi) note and that there are very few (if any) 100%
> GM-compliant drumkits available in hydrogen
> so i guess that this will be crucial in generating a correct score

I gathered that Hydrogen mapping to instrument was a bit peculiar when I 
exported to midi, and all the note did not have the standard expected 
mapping at all. Unless I am completely wrong, I found that the value of 
an instrument is its position in the kit (for instance “kick” is 
instrument 0 in GM kit), and is not at all related to the instrument 
itself (for instance kick (bass drum) is not 36 as one could expect).
See https://en.wikipedia.org/wiki/General_MIDI#Percussion if you have no 
idea of what I am talking about.

Because of this, I was kind of under the impression, that there were 
currently absolutely no way of knowing what an instrument really is. I 
guess I could match the name, but then what could qualify to be a bass 
drum? Would it have to be some kind of regex, stating that if the name 
has “kick” or “bass drum” in it is a bass drum?

Since it is a difficult problem, and not directly linked to LilyPond 
directly (it would also be useful to generate standard MIDI), I though 
that I could start to make it work for GM kit only, assuming that it was 
widely used. But now you are telling me that it is not, so it may not be 
a good decision.

I’ll still continue to make it work for GM kit only for a start, and 
then will generalize it, but I’m not sure how I will do it. I someone 
has any idea regarding the subject I’m interested. Standard MIDI output 
might be the next feature I’ll implement. One way to do the mapping may 
simply be a dialog box where the user tell what is instrument really is 
though.



I have made good progress so far, and will expect to have a first GM-kit 
only version soon. At the end of the year at worst. I got all the 
information I needed from Hydrogen, so now I’m in fully known territory.

Thanks for your input,

-- 
Sacha “Shaac” Delanoue

------------------------------------------------------------------------------
_______________________________________________
Hydrogen-devel mailing list
Hydrogen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to