<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Modartt user forum - Help with midi programming in swift to send midi commands to pianoteq]]></title>
	<link rel="self" href="https://forum.modartt.com/extern.php?action=feed&amp;tid=7835&amp;type=atom"/>
	<updated>2020-10-31T20:18:06Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.modartt.com/viewtopic.php?id=7835</id>
		<entry>
			<title type="html"><![CDATA[Re: Help with midi programming in swift to send midi commands to pianoteq]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=970513#p970513"/>
			<content type="html"><![CDATA[<p>Great!&nbsp; I&#039;m glad it worked!</p>]]></content>
			<author>
				<name><![CDATA[tmyoung]]></name>
				<uri>https://forum.modartt.com/profile.php?id=3155</uri>
			</author>
			<updated>2020-10-31T20:18:06Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=970513#p970513</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Help with midi programming in swift to send midi commands to pianoteq]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=970505#p970505"/>
			<content type="html"><![CDATA[<p>Thanks very much. That worked very straight forwardly. I have been using PGMidi but will also look at MIKMIDI<br />Great when a simple suggestion solves something you have wrestled with unsuccessfully!<br /></p><div class="quotebox"><cite>tmyoung wrote:</cite><blockquote><p>I only program on Windows and Linux, so I don&#039;t have any experience with recent Mac programming, but I do know that OSX has an IAC Bus for inter-application MIDI communication.&nbsp; You&#039;ll need to turn it on in the settings for your Mac.&nbsp; Once it&#039;s on, you can use something like the MIKMIDI library (which is well-maintained and well-documented) to pass the signal to the IAC bus, and--as long as the IAC and all other MIDI ports are open in Pianoteq settings, you should be basically where you need to be.</p><p><a href="https://github.com/mixedinkey-opensource/MIKMIDI">https://github.com/mixedinkey-opensource/MIKMIDI</a><br /><a href="http://cocoadocs.org/docsets/MIKMIDI/1.6.1/">http://cocoadocs.org/docsets/MIKMIDI/1.6.1/</a></p></blockquote></div><p>t</p>]]></content>
			<author>
				<name><![CDATA[marksmithnottingham]]></name>
				<uri>https://forum.modartt.com/profile.php?id=2544</uri>
			</author>
			<updated>2020-10-31T13:54:26Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=970505#p970505</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Help with midi programming in swift to send midi commands to pianoteq]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=970488#p970488"/>
			<content type="html"><![CDATA[<p>I only program on Windows and Linux, so I don&#039;t have any experience with recent Mac programming, but I do know that OSX has an IAC Bus for inter-application MIDI communication.&nbsp; You&#039;ll need to turn it on in the settings for your Mac.&nbsp; Once it&#039;s on, you can use something like the MIKMIDI library (which is well-maintained and well-documented) to pass the signal to the IAC bus, and--as long as the IAC and all other MIDI ports are open in Pianoteq settings, you should be basically where you need to be.</p><p><a href="https://github.com/mixedinkey-opensource/MIKMIDI">https://github.com/mixedinkey-opensource/MIKMIDI</a><br /><a href="http://cocoadocs.org/docsets/MIKMIDI/1.6.1/">http://cocoadocs.org/docsets/MIKMIDI/1.6.1/</a></p>]]></content>
			<author>
				<name><![CDATA[tmyoung]]></name>
				<uri>https://forum.modartt.com/profile.php?id=3155</uri>
			</author>
			<updated>2020-10-30T18:05:25Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=970488#p970488</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Help with midi programming in swift to send midi commands to pianoteq]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=970486#p970486"/>
			<content type="html"><![CDATA[<p>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.<br />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.</p>]]></content>
			<author>
				<name><![CDATA[marksmithnottingham]]></name>
				<uri>https://forum.modartt.com/profile.php?id=2544</uri>
			</author>
			<updated>2020-10-30T17:31:30Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=970486#p970486</id>
		</entry>
</feed>
