<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.xna.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Audio/XACT</title><link>http://forums.xna.com/forums/28.aspx</link><description>Because silence isn't golden.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 0.0)</generator><item><title>Re: How to make low-level dsp effects ?</title><link>http://forums.xna.com/forums/thread/180263.aspx</link><pubDate>Tue, 19 May 2009 18:50:25 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:180263</guid><dc:creator>Shawn Hargreaves</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/180263.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=28&amp;PostID=180263</wfw:commentRss><description>I suspect the problem is with the &amp;quot;MyEffect&amp;quot; string, rather than the value you are providing.&lt;br /&gt;
&lt;br /&gt;
Are you 100% sure this is the same name you specified in the XACT tool? Remember this is case-sensitive.&lt;br /&gt;
&lt;br /&gt;
Also, do you really mean a global variable? If you want to set the variable via a specific cue object, it should be a cue instance variable, not a global.&lt;br /&gt;</description></item><item><title>Re: How to make low-level dsp effects ?</title><link>http://forums.xna.com/forums/thread/179955.aspx</link><pubDate>Tue, 19 May 2009 00:00:50 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:179955</guid><dc:creator>gord</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/179955.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=28&amp;PostID=179955</wfw:commentRss><description>&lt;br /&gt;
Hopefully someone can answer another dsp related question:&lt;br /&gt;
&lt;br /&gt;
I created a RPC and a global variable named &amp;quot;MyEffect&amp;quot; to control it with.&lt;br /&gt;
I&amp;#39;ve also associated the sound in my cue to the RPC.&lt;br /&gt;
&lt;br /&gt;
Now in my code, I&amp;#39;m just trying to change the values of my global variable upon a keypress.&amp;nbsp; &lt;br /&gt;
But when trying to set it to 75, I keep getting an IndexOutOfRange Exception, even though &amp;quot;MyEffect&amp;quot; has a range of 0-100.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="border:1px solid #7f9db9;overflow:auto;background-color:white;font-family:courier new;font-size:11px;"&gt;
&lt;table cellspacing="0" cellpadding="0" style="border-width:0px;border-bottom:0px solid #eeeeee;margin:2px 0px;width:99%;border-collapse:collapse;background-color:#ffffff;"&gt;
    
    
        &lt;tr&gt;
            &lt;td&gt;&lt;span style="font-size:11px;"&gt;engineSound&amp;nbsp;=&amp;nbsp;soundBank.GetCue(&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;quot;acue&amp;quot;&lt;/span&gt;&lt;span style="font-size:11px;"&gt;);&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="background-color:#f7f7f7;"&gt;engineSound.SetVariable(&lt;span style="color:blue;"&gt;&amp;quot;MyEffect&amp;quot;&lt;/span&gt;&lt;span style="font-size:11px;"&gt;,75.0f);&amp;nbsp; //this line throws the IndexOutOfRange Exception&lt;br /&gt;
            &lt;/span&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;engineSound.Play();&amp;nbsp;&lt;/td&gt;
        &lt;/tr&gt;
    
&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Any help would be appreciated.&amp;nbsp; &lt;br /&gt;</description></item><item><title>Re: How to make low-level dsp effects ?</title><link>http://forums.xna.com/forums/thread/179933.aspx</link><pubDate>Mon, 18 May 2009 23:13:00 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:179933</guid><dc:creator>gord</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/179933.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=28&amp;PostID=179933</wfw:commentRss><description>&lt;br /&gt;
Thanks, just the info I was looking for.&amp;nbsp; &lt;br /&gt;</description></item><item><title>Re: How to make low-level dsp effects ?</title><link>http://forums.xna.com/forums/thread/179764.aspx</link><pubDate>Mon, 18 May 2009 18:26:15 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:179764</guid><dc:creator>Shawn Hargreaves</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/179764.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=28&amp;PostID=179764</wfw:commentRss><description>The XNA Framework does not provide any low level audio APIs or DSP support.&lt;br /&gt;
&lt;br /&gt;
On Windows, you could use any other sound API you like for this (for instance you could write a C++/CLI wrapper to call directly into the native XAudio2 API).&lt;br /&gt;
&lt;br /&gt;
On Xbox, this is not possible at all.&lt;br /&gt;</description></item><item><title>How to make low-level dsp effects ?</title><link>http://forums.xna.com/forums/thread/178724.aspx</link><pubDate>Sat, 16 May 2009 04:27:30 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:178724</guid><dc:creator>gord</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/178724.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=28&amp;PostID=178724</wfw:commentRss><description>&lt;br /&gt;
Hi there, I&amp;#39;m new to the forums.&amp;nbsp; Glad to be here. &lt;br /&gt;
&lt;br /&gt;
I&amp;#39;m working on an audio game in XNA.&amp;nbsp; &lt;br /&gt;
I&amp;#39;d like to be able to make and combine effects beyond just changing the volume, pitch and pan.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
I&amp;#39;ve noticed discussion in these forums about the use of XAudio2, but I couldn&amp;#39;t tell if they were using it within a XNA game.&amp;nbsp; &lt;br /&gt;
Anyways, my question is; what are my options in having low-level control over my audio, for example, creating my own dsp effects. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description></item></channel></rss>