<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Modartt user forum - Record / replay functionality in headless mode]]></title>
		<link>https://forum.modartt.com/viewtopic.php?id=7709</link>
		<description><![CDATA[The most recent posts in Record / replay functionality in headless mode.]]></description>
		<lastBuildDate>Mon, 07 Sep 2020 02:01:11 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Record / replay functionality in headless mode]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=969301#p969301</link>
			<description><![CDATA[<p>Looking at midi assignment options for record, stop, etc., they are all part of &quot;Midi Sequencer (standalone)&quot;.&nbsp; I wonder if the &quot;standalone&quot; designation means it&#039;s only available if the standalone Pianoteq app (i.e., the gui) is running.</p><p>Using a separate midi recorder/player and/or sequencer application or utility would be one way to get what you want.&nbsp; Would also require you to do some midi routing on the pc/mac/rpi.&nbsp; </p><p>On raspberry pi, it might also be made to work if you run the Pianoteq gui app without a monitor, but so it could be used remotely via a VNC viewer on a different machine.&nbsp; Unless I&#039;m forgetting something, I don&#039;t think this is headless as far as Pianoteq is concerned; the gui app is running in a virtual x-server; you don&#039;t start it up with --headless option.&nbsp; Of course, it&#039;s also using extra resources on the raspberry pi, which are somewhat precious.&nbsp; If you&#039;re running on an actual pc, same approach should work and there&#039;s less concern about the gui using resources.</p>]]></description>
			<author><![CDATA[null@example.com (hesitz)]]></author>
			<pubDate>Mon, 07 Sep 2020 02:01:11 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=969301#p969301</guid>
		</item>
		<item>
			<title><![CDATA[Record / replay functionality in headless mode]]></title>
			<link>https://forum.modartt.com/viewtopic.php?pid=969295#p969295</link>
			<description><![CDATA[<p>Hello all,</p><p>I managed to set up the Pianoteq in headless mode on my Raspberry pi 4, with the help of notes in <a href="https://forum.modartt.com/viewtopic.php?id=6638">this thread</a> (Thank you guys). It works flawlessly, no cooling needed.</p><br /><p>The issue I am facing now is not actually related to the Raspberry Pi.</p><p>The thing is <strong>I want to be able to control the rec/play/stop/pause feature of Pianoteq using midi messages but in headless mode</strong>.</p><p>I configured the global midi mapping for Pianoteq in the same way as it is in the existing &#039;full-feature&#039; midi mapping.<br />(Plus I added some other mapping for switching between the instrument presets).</p><p>I&#039;m using a custom web application as a controller, running in the browser on a tablet connected to the raspberry pi via USB cable.</p><p>And it works great if I run the Pianoteq in graphic mode. But if run with the --headless parameter, only the preset switching work, bot not the record/replay/etc features.</p><p>I even tested it on windows (with both my web app and the Pianoteq connected to the loopMIDI) - with the same result - works in graphic mode, not in headless mode.</p><br /><p>Did anyone try similar things? Is this behavior intentional, or is it a bug? Any thoughts about how to achieve my goal?</p><br /><br /><p>PS: This is the controller app I&#039;m working on <a href="https://pian.co/rc">https://pian.co/rc</a> - if anyone is interested - but it will not work correctly without the same midi mapping setup I use (<a href="https://github.com/drahoslove/pianinous/blob/master/raspberrypi/custom-abc.ptm">this one</a>).</p>]]></description>
			<author><![CDATA[null@example.com (drahoslove)]]></author>
			<pubDate>Sun, 06 Sep 2020 14:12:26 +0000</pubDate>
			<guid>https://forum.modartt.com/viewtopic.php?pid=969295#p969295</guid>
		</item>
	</channel>
</rss>
