<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[REXYGEN Community Forum / Trigger a mp3 or wav file from within the code]]></title>
	<link rel="self" href="https://www.rexygen.com/oldforum/extern.php?action=feed&amp;tid=142&amp;type=atom"/>
	<link href="http://www.rexygen.com/oldforum/viewtopic.php?id=142"/>
	<updated>2016-05-10T11:03:27Z</updated>
	<generator>FluxBB</generator>
	<id>http://www.rexygen.com/oldforum/viewtopic.php?id=142</id>
	<entry>
		<title type="html"><![CDATA[Re: Trigger a mp3 or wav file from within the code]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=614#p614"/>
		<content type="html"><![CDATA[<p>Yes, all our prices are in US$.</p>]]></content>
		<author>
			<name><![CDATA[jaroslav_sobota]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=3</uri>
		</author>
		<updated>2016-05-10T11:03:27Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=614#p614</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Trigger a mp3 or wav file from within the code]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=613#p613"/>
		<content type="html"><![CDATA[<p>Thanks Jaroslav, I&#039;ll program the rest of it first and see how much patience I have left at the end ?.<br />I presume your pricing is in US$?<br />Cheers S</p>]]></content>
		<author>
			<name><![CDATA[simond]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=72</uri>
		</author>
		<updated>2016-05-10T09:14:19Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=613#p613</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Trigger a mp3 or wav file from within the code]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=612#p612"/>
		<content type="html"><![CDATA[<p>Hi Simon,<br />thanks for asking, I understand your request. No such option is available, though. </p><p>If you want to avoid using Advanced function blocks, you can use the SILO function block to save a Boolean variable to a text file and write your own external script for watching this file and playing the sound when the contents of the file change.</p><p>Both approaches can be used, it all depends on how much you value your time.</p><p>Jaroslav</p>]]></content>
		<author>
			<name><![CDATA[jaroslav_sobota]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=3</uri>
		</author>
		<updated>2016-05-10T09:06:26Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=612#p612</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Trigger a mp3 or wav file from within the code]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=611#p611"/>
		<content type="html"><![CDATA[<p>Is there any chance that you could customise a package for me with the basic functions and just the one advanced function? As this is for a friend I can&#039;t charge him for it and I probably won&#039;t use the advanced functions any time soon!<br />Thanks Simon</p>]]></content>
		<author>
			<name><![CDATA[simond]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=72</uri>
		</author>
		<updated>2016-05-10T08:39:54Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=611#p611</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Trigger a mp3 or wav file from within the code]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=610#p610"/>
		<content type="html"><![CDATA[<p>Hi Jaroslav, thanks for your prompt reply.<br />Your solution looks good and I will test it ASAP ?<br />Regards Simon</p>]]></content>
		<author>
			<name><![CDATA[simond]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=72</uri>
		</author>
		<updated>2016-05-10T08:37:49Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=610#p610</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Trigger a mp3 or wav file from within the code]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=609#p609"/>
		<content type="html"><![CDATA[<p>Hi Simon,<br />thanks for your kind words! </p><p>I have prepared an <a href="https://www.rexcontrols.cz/forum/img/members/3/PlayingSounds.zip" rel="nofollow">example on playing sounds on the Raspberry Pi</a> for you. There is a readme file attached. Using an external audio player is of course not the best way to go...</p><p>For this application you need the Advanced function blocks which are not included in the demo verison. <a href="https://www.rexcontrols.com/product/rex-control-system-advanced-raspberry-pi" rel="nofollow">This is the package</a> you might be interested in: <a href="https://www.rexcontrols.com/product/rex-control-system-advanced-raspberry-pi" rel="nofollow">https://www.rexcontrols.com/product/rex … spberry-pi</a></p><p>Jaroslav</p>]]></content>
		<author>
			<name><![CDATA[jaroslav_sobota]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=3</uri>
		</author>
		<updated>2016-05-10T08:19:55Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=609#p609</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Trigger a mp3 or wav file from within the code]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=608#p608"/>
		<content type="html"><![CDATA[<p>Hi folks, First let me say that I am very excited to find this product and forum and have big plans for the future :-). I am a newbie to Raspberry Pi and REX but a very old hand at PLCs and HMI, I have programmed everything from small industrial machines to power stations and huge mines.<br />I am building a BMX start gate for a friend and need to control some lights, a solenoid and the start warning audio. Does anyone have any ideas on interfacing to the Pi&#039;s on-board audio player to trigger some mp3s or wav files from within the PLC code?<br />I know that I can use an external audio file player and trigger it with an output pin but obviously it would be better to do it internally!</p><p>Thanks, and looking forward to the adventure :-)<br />Cheers Simon</p>]]></content>
		<author>
			<name><![CDATA[simond]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=72</uri>
		</author>
		<updated>2016-05-10T07:34:20Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=608#p608</id>
	</entry>
</feed>
