hey,
take a look in note.h. and in DrumPatternEditor.cpp line 140 and 292.
sampler.cpp at int Sampler::__render_note_no_resample and int
Sampler::__render_note_resample will check notelenght for the note sample 
process.

hope this will help you.

in note.h you see also one for the moment more or less unused feature of 
hydrogen. the class NoteKey.
this is a great feature i have used in my fx_and_sample_fun_branch. default 
current h2 set notekey to C.
but sampler.cpp is ready to resample the sample with oter notekeys. i don't 
know if this features will used in 0.9.5 i hope that we implement my 
note_key notepropertiesruler from my branch which use the NoteKey class.
but if we implement this notekey feature the midi note message change for each 
netekey.
in my branch i have solve this problem by changing the keyboard layout.
* classic layout plays the whole drumset and each key is an other instrument. 
* instrument layout plays only one instrument with other note_keys c d e f and 
so on.
 
as gabriel i also think we create an extra branch for it, and you get write 
access to svn.

greetings wolk
 
>       As for the note off messages, I wasn't aware of the note length feature
> in Hydrogen. Do you know offhand where might be an appropriate place to
> handle sending a note off when the note length reaches its end? I can go
> hunting for a spot later, but a pointer would be helpful :).  

greetings wolke


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Hydrogen-devel mailing list
Hydrogen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to