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

Fixed midi mapping #371

Merged
merged 3 commits into from
Jul 10, 2016
Merged

Fixed midi mapping #371

merged 3 commits into from
Jul 10, 2016

Conversation

kurddt
Copy link
Contributor

@kurddt kurddt commented Apr 20, 2016

Following my message to the developer mailing list,

I have created a branch which use the midi output note instrument's member to find a instrument to play when an midi input note event occurs.

As Sebastian suggested me, it is an optional mode selectable using the preference dialog

Guillaume

A checkbox is added in Preference Dialog
A new member of Preference class is added
A new entry for fixed midi mapping (bool) is added in Preference file.
This function search the first instrument which can play (have a equal
output note) the given note
When the fixed midi mapping mode is selected, search for an instrument which
can play the note instead of using instrument index in the instrument
list.
@mauser mauser merged commit fbe3964 into hydrogen-music:master Jul 10, 2016
@mauser
Copy link
Member

mauser commented Jul 10, 2016

Thanks for the pull request! It has been merged now..

@trebmuh
Copy link
Member

trebmuh commented Aug 8, 2016

Hi @kurddt , I'm reading at this pull request and, as far as I understand it, it's a new feature for Hydrogen.

If I'm not wrong, it does look to be checkable in the Hydrogen menu -> Tools -> Preferences -> Midi System -> Use output note as input note. Is that right?

Further, I'm trying to understand a use-case for this feature:

  1. for myself :)
  2. in order to put something in the 0.9.7 changelog that you can find here: https://github.com/hydrogen-music/hydrogen/wiki/New-features-in-Hydrogen-0.9.7

Would you mind please to explain/show me a use-case for this feature?
Thanks.

@kurddt
Copy link
Contributor Author

kurddt commented Aug 9, 2016

Hi Olivier,

You are right the feature can be disabled (and it is by default). I will explain you my personal use case.
I had several already made midi songs, with a drum-kit track. My goal was to be able to play the drum-kit part throw hydrogen, so used hydrogen as an synthesizer.
But I came across the following problem, as is the played instrument does not correspond of what I was expecting (crash plays instead of snare of instance).

As it was no way to choose which input midi note triggered which instrument, I did one. I used the already existing output note to do select the desired input note.

So my work flow is the following.

Rosegarden (imported midi ) -> Hydrogen (midi input) - Hydrogen (audio output) > sound card / DAW

I hope it is clear, if not we can switch in French.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants