Topic: Help with midi programming in swift to send midi commands to pianoteq
Hi I have written a program that takes a midi file of say a Chopin waltz. The program makes sure the right notes (pitch) are played in the right order but I control when the notes start/stop and their volume and sustain pedal. Basically I cannot play a wrong note (pitch). This can either be played from a touch screen on an iphone or ipad or with a midi keyboard plugged into the iphone or ipad. So far the sound output has used different piano soundfonts. Clearly these are of terrible quality compared to Pianoteq. I have browsed the forum but not found what I am looking for.
I am a very amateur programmer and am struggling to know how to write the simplest code in Swift for a program running on my Mac to output a midi noteon, pitch, volume message to pianoteq running on the same Mac will pick up and play. If someone could give me a few snippets of code to start me off I would be immensely grateful. I have browsed the forum but not found what I am looking for. Many thanks.