<?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[Speaker]]></title><description><![CDATA[<p dir="auto">Hello everyone.</p>
<p dir="auto">I am doing an Arduino project with the M5Core 2 and I want to play some tones o PCM sound, but without using a SD.</p>
<p dir="auto">I only can play the DingDong that is done in a function of MStack library. But the function M.Ax.tone doesn't work.</p>
<p dir="auto">Example:  <a href="https://github.com/m5stack/m5-docs/blob/master/docs/en/api/speaker.md" target="_blank" rel="noopener noreferrer nofollow ugc">link text</a></p>
<p dir="auto">#include &lt;M5Stack.h&gt;</p>
<p dir="auto">void setup() {<br />
M5.begin();<br />
M5.Speaker.tone(900, 1000);<br />
}</p>
<p dir="auto">Thanks.<br />
David.</p>
]]></description><link>https://community.m5stack.com/topic/5388/speaker</link><generator>RSS for Node</generator><lastBuildDate>Fri, 08 May 2026 00:44:53 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5388.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 13 Jun 2023 09:48:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Speaker on Tue, 13 Jun 2023 10:59:36 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/mirandabar" aria-label="Profile: mirandabar">@<bdi>mirandabar</bdi></a></p>
<p dir="auto">for M5Core2 you'll need a different library than for M5Stack (Base, Fire, etc.).</p>
<p dir="auto">Have a look at this thread <a href="https://community.m5stack.com/topic/3179/how-to-generate-a-beep/18">here</a>.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/21191</link><guid isPermaLink="true">https://community.m5stack.com/post/21191</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Tue, 13 Jun 2023 10:59:36 GMT</pubDate></item></channel></rss>