<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://script.quakenet.org/wiki/index.php?action=history&amp;feed=atom&amp;title=%24sound</id>
	<title>$sound - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://script.quakenet.org/wiki/index.php?action=history&amp;feed=atom&amp;title=%24sound"/>
	<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=$sound&amp;action=history"/>
	<updated>2026-05-14T22:59:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://script.quakenet.org/wiki/index.php?title=$sound&amp;diff=4908&amp;oldid=prev</id>
		<title>Aca20031 at 19:03, 5 October 2008</title>
		<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=$sound&amp;diff=4908&amp;oldid=prev"/>
		<updated>2008-10-05T19:03:59Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:03, 5 October 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l24&quot;&gt;Line 24:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 24:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*** .copyright - returns [[$true]] if there is associated copyright information, otherwise [[$false]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*** .copyright - returns [[$true]] if there is associated copyright information, otherwise [[$false]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*** .private - returns [[$true]] if the mp3 is marked private, otherwise [[$false]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*** .private - returns [[$true]] if the mp3 is marked private, otherwise [[$false]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*** .crc - returns [[$true]] &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or &lt;/del&gt;[[$false]] &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;based on CRC checking for this file&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*** .crc - returns [[$true]] &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;if CRC protection is available, &lt;/ins&gt;[[$false]] &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;otherwise&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*** .id3 - returns the version of id3 supported by this mp3&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*** .id3 - returns the version of id3 supported by this mp3&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** &amp;#039;&amp;#039;&amp;#039;The following properties return the id3v2 tag values for the specified mp3 file&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** &amp;#039;&amp;#039;&amp;#039;The following properties return the id3v2 tag values for the specified mp3 file&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Aca20031</name></author>
	</entry>
	<entry>
		<id>https://script.quakenet.org/wiki/index.php?title=$sound&amp;diff=2634&amp;oldid=prev</id>
		<title>Aca20031 at 18:50, 5 October 2008</title>
		<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=$sound&amp;diff=2634&amp;oldid=prev"/>
		<updated>2008-10-05T18:50:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; $sound(wave|midi|mp3|wma|ogg)&lt;br /&gt;
Returns the directory for the specified sound files as specified in the Sound Requests dialog.&lt;br /&gt;
&lt;br /&gt;
 $sound(filename)[.album|.title|.artist|.year|.comment|.genre|.track|.length|.version|.bitrate|.vbr|.sample|.mode|.copyright|.private|.crc|.id3|.tag|.tags]&lt;br /&gt;
Returns information on the specified &amp;#039;&amp;#039;&amp;#039;.mp3&amp;#039;&amp;#039;&amp;#039; file&lt;br /&gt;
&lt;br /&gt;
* Paramaters&lt;br /&gt;
** Filename - The file to check. This can be relative to [[$mircdir]] or an absolute path, for example &amp;quot;C:\My Folder\My File.mp3&amp;quot;)&lt;br /&gt;
* Properties&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;The following properties return the id3v1 tag values for the specified mp3 file&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*** .album - returns the album associated with the mp3.&lt;br /&gt;
*** .title - returns the title of the mp3 sound.&lt;br /&gt;
*** .artist - returns the album artist of the mp3 sound.&lt;br /&gt;
*** .year - returns the year the mp3 sound was published.&lt;br /&gt;
*** .comment - returns the comment associated with the mp3.&lt;br /&gt;
*** .genre - returns the genre of the mp3 sound.&lt;br /&gt;
*** .track - returns the track number of the mp3 sound (it&amp;#039;s track on .album).&lt;br /&gt;
*** .length - returns the length of the track in milliseconds(see [[$calc]] and [[$duration]] to convert).&lt;br /&gt;
*** .version - returns the version associated with the mp3.&lt;br /&gt;
*** .bitrate - returns the bitrate of the mp3 in kbits/second.&lt;br /&gt;
*** .vbr - returns [[$true]] if the mp3 has a variable bit rate, otherwise [[$false]]&lt;br /&gt;
*** .sample - returns the sample rate of the mp3 in hertz&lt;br /&gt;
*** .mode - returns the mode of the mp3, for example, &amp;quot;Stereo&amp;quot; or &amp;quot;Mono&amp;quot;&lt;br /&gt;
*** .copyright - returns [[$true]] if there is associated copyright information, otherwise [[$false]]&lt;br /&gt;
*** .private - returns [[$true]] if the mp3 is marked private, otherwise [[$false]]&lt;br /&gt;
*** .crc - returns [[$true]] or [[$false]] based on CRC checking for this file&lt;br /&gt;
*** .id3 - returns the version of id3 supported by this mp3&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;The following properties return the id3v2 tag values for the specified mp3 file&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*** .tags - returns a list of id3v2 tags for this file&lt;br /&gt;
*** . tag - returns the Nth id3v2 tag for this file. For example: $sound(test.mp3,2).tag return the 2nd id3v2 tag listed in $sound(test.mp3).tags&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
 [[echo]] -atg $sound(test.mp3).title&lt;br /&gt;
This would echo the id3v1 title of the file&lt;br /&gt;
&lt;br /&gt;
 [[echo]] -atg $sound(test.mp3,[[$findtok]]($sound(test.mp3).tags,TIT2,1,32)).tag&lt;br /&gt;
This would search for the tag number of TIT2, and return that tag for test.mp3. Therefore, echoing the id3v2 title&lt;br /&gt;
&lt;br /&gt;
 [[echo]] -atg $sound(test.mp3,0).tags&lt;br /&gt;
This would echo a list of id3v2 tags for the mp3&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
* [[vol]]&lt;br /&gt;
* [[$vol]]&lt;br /&gt;
* [[$inwave]] [[$inmidi]] [[$insong]]&lt;br /&gt;
* [[On midiend]] [[On waveend]] [[On mp3end]]&lt;br /&gt;
* [[splay]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Playing Sounds]]&lt;/div&gt;</summary>
		<author><name>Aca20031</name></author>
	</entry>
</feed>