<?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[No files ever work with the Speaker]]></title><description><![CDATA[<p dir="auto">I've loaded a small, mono, 16-bit, 44.1kHz audio file into flash in UFlow 2.0. It plays fine within UFlow. No matter what I do, I get an ENOENT error trying to read the file.</p>
<pre><code>Traceback (most recent call last):
File "&lt;stdin&gt;", line 26, in &lt;module&gt;
File "&lt;stdin&gt;", line 18, in loop
OSError: [Errno 2] ENOENT
</code></pre>
<p dir="auto">a snippet of the code from the Python side of things:</p>
<pre><code>def setup():
  global rgb

  M5.begin()
  Widgets.setRotation(1)
  Widgets.fillScreen(0x222222)

  rgb = RGB()
  Speaker.begin()
  Speaker.setVolumePercentage(0.5)


def loop():
  global rgb
  M5.update()
  Speaker.playWavFile('/flash/res/audio/test1.wav')
  if Speaker.isPlaying():
    rgb.fill_color(0xffffff)
  time.sleep(2)

</code></pre>
<p dir="auto">No code I've downloaded from other people works either! I can play tones out of the speaker, I can read images out of flash. I cannot read audio files out of flash.</p>
<pre><code></code></pre>
]]></description><link>https://community.m5stack.com/topic/7871/no-files-ever-work-with-the-speaker</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 23:07:05 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7871.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 30 Oct 2025 17:33:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to No files ever work with the Speaker on Fri, 31 Oct 2025 17:47:29 GMT]]></title><description><![CDATA[<p dir="auto">This is because UIFlow2.0 sucks with the M5Go. Almost no hardware works. I would abandon all the silly BS and go right to PlatformIO if you want to avoid pulling your hair out.</p>
<p dir="auto">This ecosystem is so convoluted. I thought I might buy these for presents for kids. No way. Your average parent could not make this shit work ever.</p>
]]></description><link>https://community.m5stack.com/post/30109</link><guid isPermaLink="true">https://community.m5stack.com/post/30109</guid><dc:creator><![CDATA[michael.koppelman]]></dc:creator><pubDate>Fri, 31 Oct 2025 17:47:29 GMT</pubDate></item></channel></rss>