<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/242036</link>
    <title>MATLAB Central Newsreader - adding audio to a visual display</title>
    <description>Feed for thread: adding audio to a visual display</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Wed, 07 Jan 2009 23:19:02 -0500</pubDate>
      <title>adding audio to a visual display</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/242036#620374</link>
      <author>Krista </author>
      <description>Hello,&lt;br&gt;
&lt;br&gt;
I am trying to add .wav files to an existing visual display. Currently, the program displays one constant image (on both sides of a screen, using the 'flip' command), and another changing image using a loop and displaying it only on one side of the screen. What I need is to add the .wav which will play once and continuously while the constant image is up. Using wavplay, I've so far only been able to play the .wav before or after the changing image is displayed once. Any help would be great! &lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Krista</description>
    </item>
    <item>
      <pubDate>Thu, 08 Jan 2009 02:53:02 -0500</pubDate>
      <title>Re: adding audio to a visual display</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/242036#620395</link>
      <author>Jiro Doke</author>
      <description>&quot;Krista &quot; &amp;lt;deleeuw@psych.ucsb.edu.remove.this&amp;gt; wrote in message &amp;lt;gk3d96$8pn$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hello,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I am trying to add .wav files to an existing visual display. Currently, the program displays one constant image (on both sides of a screen, using the 'flip' command), and another changing image using a loop and displaying it only on one side of the screen. What I need is to add the .wav which will play once and continuously while the constant image is up. Using wavplay, I've so far only been able to play the .wav before or after the changing image is displayed once. Any help would be great! &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks,&lt;br&gt;
&amp;gt; Krista&lt;br&gt;
&lt;br&gt;
Krista,&lt;br&gt;
&lt;br&gt;
I suggest using &quot;audioplayer&quot;&lt;br&gt;
&lt;br&gt;
&amp;gt;&amp;gt; doc audioplayer&lt;br&gt;
&lt;br&gt;
Here's the online documentation:&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/access/helpdesk/help/techdoc/ref/audioplayer.html&quot;&gt;http://www.mathworks.com/access/helpdesk/help/techdoc/ref/audioplayer.html&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
This will allow you to do other things (like display images) while the sound is playing and also allows you to stop the sound when you want to.&lt;br&gt;
&lt;br&gt;
Hope this helps.&lt;br&gt;
&lt;br&gt;
jiro</description>
    </item>
  </channel>
</rss>

