Click here to Skip to main content
15,891,787 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
how can use command to change pitch bend in midi C# MIDI Toolkit[^]
thanks for help
Posted
Updated 23-Dec-11 7:34am
Comments
Sergey Alexandrovich Kryukov 23-Dec-11 13:55pm    
Quite interesting question; I voted 5. Sorry that I cannot answer comprehensively at this moment.
--SA
[no name] 23-Dec-11 14:00pm    
Maybe this helps:
http://www.midi.org/techspecs/midimessages.php
But probably you checked it allready

1 solution

Sorry that I don't have a complete answer as I never tried to bend a pitch myself — not yet, but this is something I'm interested in myself but don't have time. To me, this is more about my interest in microtonal music and related intonation systems. I'm very remotely familiar with such Arabic, Turkish and Indian music, and would be very interested is someone share any resources with related theory and audio samples.

As to C# MIDI Toolkit, I have not look at it for a while, but I'm afraid that if you failed to find bending, it means it is not available in the library. So, if source code is available (sorry, I don't even remember), your option would be expanding the library by adding bending, which is just an additional kind of MIDI sequence commands. If not, a lower-level MIDI interface is readily available and can by use in .NET via P/Invoke.

Start here: http://msdn.microsoft.com/en-us/library/windows/desktop/dd743619%28v=VS.85%29.aspx[^].

As to a possible microtone use of bending, please see my recent answer to a related question: in need to use MIDI to play note?[^].

In this post, I suggested how bending could be used and provide some more reference. I might give you an idea on how bending is operated via MIDI.

Sorry that I cannot give the answer that would resolve the problem, this is all I have at the moment.
If you want to discuss this or related topics, please send me some comments on this page.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900