<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to LIB_AUDIO</title><link>https://sourceforge.net/p/pirobot/wiki/LIB_AUDIO/</link><description>Recent changes to LIB_AUDIO</description><atom:link href="https://sourceforge.net/p/pirobot/wiki/LIB_AUDIO/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 15 Jan 2025 01:42:08 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/pirobot/wiki/LIB_AUDIO/feed" rel="self" type="application/rss+xml"/><item><title>LIB_AUDIO modified by Benedict Jäggi</title><link>https://sourceforge.net/p/pirobot/wiki/LIB_AUDIO/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -12,7 +12,7 @@

 Returned by the `getSound` function.

-###def __init__(self, filepath)
+###def _ _ init _ _(self, filepath)
 AUDIOPLAYER constructor.

 Loads the file in `filepath` and maybe initializes the sound engine.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Benedict Jäggi</dc:creator><pubDate>Wed, 15 Jan 2025 01:42:08 -0000</pubDate><guid>https://sourceforge.net91044c74b8f7fe6b8924c4da49e36d4c72a6ea4e</guid></item><item><title>LIB_AUDIO modified by Benedict Jäggi</title><link>https://sourceforge.net/p/pirobot/wiki/LIB_AUDIO/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -1,5 +1,7 @@
 [TOC]
 #LIB_AUDIO
+Import over `appdata/CodeLibs/LIB_AUDIO.py`
+
 A library concerning sound and music.

 ##def getSound(filepath)
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Benedict Jäggi</dc:creator><pubDate>Wed, 15 Jan 2025 01:41:24 -0000</pubDate><guid>https://sourceforge.net12c096e036764c9652eb8bc310489b907aa8ba9e</guid></item><item><title>LIB_AUDIO modified by Benedict Jäggi</title><link>https://sourceforge.net/p/pirobot/wiki/LIB_AUDIO/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -6,7 +6,7 @@
 Returns an `AUDIOPLAYER` loaded with the sound in `filepath`.

 ##class AUDIOPLAYER
-Holds a sound file and the functions to play, stop, pause and resume it.
+Holds a sound file and the functions to play, stop, pause and resume music generally and the given file specifically.

 Returned by the `getSound` function.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Benedict Jäggi</dc:creator><pubDate>Tue, 14 Jan 2025 23:56:21 -0000</pubDate><guid>https://sourceforge.net701772b9ce9fa066e1e82d9861ab04ba6cdfd00e</guid></item><item><title>LIB_AUDIO modified by Benedict Jäggi</title><link>https://sourceforge.net/p/pirobot/wiki/LIB_AUDIO/</link><description>&lt;div class="markdown_content"&gt;&lt;div class="toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#lib_audio"&gt;LIB_AUDIO&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#def-getsoundfilepath"&gt;def getSound(filepath)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#class-audioplayer"&gt;class AUDIOPLAYER&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#def-initself-filepath"&gt;def init(self, filepath)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#def-playself"&gt;def play(self)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#def-stopself"&gt;def stop(self)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#def-switchpauseself"&gt;def switchpause(self)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#def-pauseself"&gt;def pause(self)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#def-resumeself"&gt;def resume(self)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#def-isplayingself"&gt;def isPlaying(self)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h1 id="lib_audio"&gt;LIB_AUDIO&lt;/h1&gt;
&lt;p&gt;A library concerning sound and music.&lt;/p&gt;
&lt;h2 id="def-getsoundfilepath"&gt;def getSound(filepath)&lt;/h2&gt;
&lt;p&gt;Returns an &lt;code&gt;AUDIOPLAYER&lt;/code&gt; loaded with the sound in &lt;code&gt;filepath&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id="class-audioplayer"&gt;class AUDIOPLAYER&lt;/h2&gt;
&lt;p&gt;Holds a sound file and the functions to play, stop, pause and resume it.&lt;/p&gt;
&lt;p&gt;Returned by the &lt;code&gt;getSound&lt;/code&gt; function.&lt;/p&gt;
&lt;h3 id="def-initself-filepath"&gt;def &lt;strong&gt;init&lt;/strong&gt;(self, filepath)&lt;/h3&gt;
&lt;p&gt;AUDIOPLAYER constructor.&lt;/p&gt;
&lt;p&gt;Loads the file in &lt;code&gt;filepath&lt;/code&gt; and maybe initializes the sound engine.&lt;/p&gt;
&lt;h3 id="def-playself"&gt;def play(self)&lt;/h3&gt;
&lt;p&gt;Plays the loaded file.&lt;/p&gt;
&lt;h3 id="def-stopself"&gt;def stop(self)&lt;/h3&gt;
&lt;p&gt;Stop the actual playing music (must not be this one).&lt;/p&gt;
&lt;h3 id="def-switchpauseself"&gt;def switchpause(self)&lt;/h3&gt;
&lt;p&gt;Pauses or resumes the audio play, based on what is given before.&lt;/p&gt;
&lt;h3 id="def-pauseself"&gt;def pause(self)&lt;/h3&gt;
&lt;p&gt;Pauses the actual playing music.&lt;/p&gt;
&lt;h3 id="def-resumeself"&gt;def resume(self)&lt;/h3&gt;
&lt;p&gt;Resumes the actual paused music.&lt;/p&gt;
&lt;h3 id="def-isplayingself"&gt;def isPlaying(self)&lt;/h3&gt;
&lt;p&gt;Returns if the music player is busy (playing sound, True) or not (False).&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Benedict Jäggi</dc:creator><pubDate>Tue, 14 Jan 2025 23:54:59 -0000</pubDate><guid>https://sourceforge.netab02f020c85fb407d759e002a8fccea9c9126288</guid></item></channel></rss>