<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Speicherbereich als Wave]]></title><description><![CDATA[<p>Wie man per mci im Speicher liegende Wavefiles abspielt ist ja relativ klar (PlaySound im Simpelsten Falle)</p>
<p>Nun stelle man sich aber mal die Frage, wie kann ich im Speicher eigene Wavefiles zusammenbauen? gibbet da vielleicht nen Text zu? (wenn möglich als .pdf)</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/68914/speicherbereich-als-wave</link><generator>RSS for Node</generator><lastBuildDate>Thu, 09 Apr 2026 06:55:53 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/68914.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 22 Mar 2004 17:49:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Speicherbereich als Wave on Mon, 22 Mar 2004 17:49:36 GMT]]></title><description><![CDATA[<p>Wie man per mci im Speicher liegende Wavefiles abspielt ist ja relativ klar (PlaySound im Simpelsten Falle)</p>
<p>Nun stelle man sich aber mal die Frage, wie kann ich im Speicher eigene Wavefiles zusammenbauen? gibbet da vielleicht nen Text zu? (wenn möglich als .pdf)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/486337</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/486337</guid><dc:creator><![CDATA[DocJunioR@Work]]></dc:creator><pubDate>Mon, 22 Mar 2004 17:49:36 GMT</pubDate></item><item><title><![CDATA[Reply to Speicherbereich als Wave on Mon, 22 Mar 2004 18:02:20 GMT]]></title><description><![CDATA[<p>Mit WinAPI sollte sowas per <a href="http://msdn.microsoft.com/library/en-us/multimed/htm/_win32_waveoutwrite.asp" rel="nofollow">waveOutWrite</a> gehen - kannst ja mal damit suchen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/486350</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/486350</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Mon, 22 Mar 2004 18:02:20 GMT</pubDate></item><item><title><![CDATA[Reply to Speicherbereich als Wave on Tue, 23 Mar 2004 07:26:43 GMT]]></title><description><![CDATA[<p>WinAPI-Referenz PlaySound(); Parameter für fdwSound (Parameter 3):</p>
<blockquote>
<p>...<br />
SND_MEMORY<br />
A sound event's file is loaded in RAM. The Parameter specified by pszSound must point to an image of a sound in memory.<br />
...</p>
</blockquote>
<p>pszSound ist Parameter 1.</p>
<p>Wie muss der Speicherbereich nun aussehen, damit mein Device das Ganze spielt?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/486601</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/486601</guid><dc:creator><![CDATA[DocJunioR@Work]]></dc:creator><pubDate>Tue, 23 Mar 2004 07:26:43 GMT</pubDate></item><item><title><![CDATA[Reply to Speicherbereich als Wave on Tue, 23 Mar 2004 08:47:42 GMT]]></title><description><![CDATA[<blockquote>
<p>One caveat is that the memory buffer you pass to PlaySound() must contain the image of a complete WAVE File Format file. It can't just be raw waveform data.</p>
</blockquote>
<p>Wie ein Wave-File aufgebaut ist findest du <a href="http://msdn.microsoft.com/archive/en-us/dx81_vb/directx_vb/htm/_dx_reading_wave_files_dxaudio.asp" rel="nofollow">hier</a> oder bei <a href="http://www.wotsit.org" rel="nofollow">Wotsit</a> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /><br />
Ich denke aber es ist einfacher, du machst es so, wie z.B. in <a href="http://msdn.microsoft.com/library/en-us/multimed/htm/_win32_example_of_writing_waveform_data.asp" rel="nofollow">diesem Beispiel</a> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/486630</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/486630</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Tue, 23 Mar 2004 08:47:42 GMT</pubDate></item><item><title><![CDATA[Reply to Speicherbereich als Wave on Sun, 04 Apr 2004 23:07:24 GMT]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>also ich habe das jetzt auch mal versucht.<br />
Habe ein char-Array das ich gerne abspielen lassen würde.</p>
<p>Mittels Playsound (..., SND_MEMORY) funzt es net.<br />
Habe mir mal die Links von flenders angesehen, aber daraus werde ich irgendwie nicht so schlau.</p>
<p>Mittels waveOutWrite muss ich wohl zuerst im Speicher ein Array bilden auf das ich dann mittels Playsound zugreifen kann.<br />
Das Beispiel aus <a href="http://msdn.microsoft.com/library/en-us/multimed/htm/_win32_example_of_writing_waveform_data.asp" rel="nofollow">http://msdn.microsoft.com/library/en-us/multimed/htm/_win32_example_of_writing_waveform_data.asp</a> lässt sich zwar compilieren aber wo kann ich da jetzt mein Datenpaket &quot;einflechten&quot;?<br />
Was muss ich als dann als 1. und 2. Parameter in Playsound angeben?</p>
<p>Danke der Hilfe!!!!1</p>
<p>Gruß<br />
Susi</p>
]]></description><link>https://www.c-plusplus.net/forum/post/495065</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/495065</guid><dc:creator><![CDATA[Susi78]]></dc:creator><pubDate>Sun, 04 Apr 2004 23:07:24 GMT</pubDate></item><item><title><![CDATA[Reply to Speicherbereich als Wave on Mon, 05 Apr 2004 06:53:10 GMT]]></title><description><![CDATA[<p>Hallo Susi,</p>
<p>wo genau(!) liegt Dein Problem?<br />
Kannst Du uns mal ein paar Code-Schnipsel zeigen?</p>
<p>Gruß<br />
Horschd</p>
]]></description><link>https://www.c-plusplus.net/forum/post/495129</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/495129</guid><dc:creator><![CDATA[Horschd]]></dc:creator><pubDate>Mon, 05 Apr 2004 06:53:10 GMT</pubDate></item><item><title><![CDATA[Reply to Speicherbereich als Wave on Mon, 05 Apr 2004 12:35:49 GMT]]></title><description><![CDATA[<p>Susi78 schrieb:</p>
<blockquote>
<p>Hallo zusammen,</p>
<p>also ich habe das jetzt auch mal versucht.<br />
Habe ein char-Array das ich gerne abspielen lassen würde.</p>
<p>Mittels Playsound (..., SND_MEMORY) funzt es net.<br />
Habe mir mal die Links von flenders angesehen, aber daraus werde ich irgendwie nicht so schlau.</p>
<p>Mittels waveOutWrite muss ich wohl zuerst im Speicher ein Array bilden auf das ich dann mittels Playsound zugreifen kann.<br />
Das Beispiel aus <a href="http://msdn.microsoft.com/library/en-us/multimed/htm/_win32_example_of_writing_waveform_data.asp" rel="nofollow">http://msdn.microsoft.com/library/en-us/multimed/htm/_win32_example_of_writing_waveform_data.asp</a> lässt sich zwar compilieren aber wo kann ich da jetzt mein Datenpaket &quot;einflechten&quot;?<br />
Was muss ich als dann als 1. und 2. Parameter in Playsound angeben?</p>
<p>Danke der Hilfe!!!!1</p>
<p>Gruß<br />
Susi</p>
</blockquote>
<p>hier bringst du aber gerade ein paar dinge mächtig durcheinander.</p>
<p>waveOutWrite() gehört zur low-level wave-api und hat nichts mit PlaySound() zu tun. wenn du ein im speicher liegendes wave-file mittels PlaySound() spielen willst, sollte der call in etwa so aussehen:</p>
<p>char cWave[1024]; // hier stehen die wave daten<br />
PlaySound( &amp;cWave[0], NULL, SND_MEMORY);</p>
<p>rocknix ///</p>
]]></description><link>https://www.c-plusplus.net/forum/post/495406</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/495406</guid><dc:creator><![CDATA[RockNix]]></dc:creator><pubDate>Mon, 05 Apr 2004 12:35:49 GMT</pubDate></item></channel></rss>