https://wiki.hydrogenaud.io/api.php?action=feedcontributions&user=Danhash&feedformat=atomHydrogenaudio Knowledgebase - User contributions [en]2024-03-28T19:39:21ZUser contributionsMediaWiki 1.22.7https://wiki.hydrogenaud.io/index.php?title=WxMusikWxMusik2012-08-20T22:48:40Z<p>Danhash: commas</p>
<hr />
<div>'''wxMusik''' is an open source music player for Linux and Windows. It features simple interface, streaming, a library function, dynamic playlists, and a nice AutoDJ for your own private radio station, playing all of your songs, all day. At least its author believe it to be the fastest music library ever seen on planet earth.<br />
<br />
==Where to get==<br />
<br />
* [http://developer.berlios.de/project/showfiles.php?group_id=925&release_id=1430 BerliOS] (Windows binary and source)<br />
<br />
==Playback==<br />
<br />
* [[MP3]], [[Ogg Vorbis]], [[FLAC]], [[Musepack]], [[Monkey's Audio]], [[MP2]], [[WAV]], [[AIFF]]<br />
<br />
* Windows-only: [[WMA]]<br />
<br />
==Supported languages==<br />
<br />
* English, French, German, Czech, Italian, Spanish, Portuguese, Norwegian and Dutch<br />
<br />
==Supported platforms==<br />
<br />
* Windows<br />
* Linux<br />
<br />
==External links==<br />
<br />
[http://musik.berlios.de wxMusik Homepage]<br />
<br />
[[Category:Media Players]]</div>Danhashhttps://wiki.hydrogenaud.io/index.php?title=WapetWapet2012-08-18T21:42:40Z<p>Danhash: fix headings, remove whitespace</p>
<hr />
<div>'''Wapet''' can be used to encode an audio file and tag it with [[APEv2]] or [[APEv1]] tags in one step.<br />
<br />
In essence, Wapet will first execute a separate commandline encoder - such as [[Monkey's Audio]] or [[OptimFROG]] - using the command line the user provides, and then immediately add any [[APEv2]] or [[APEv1]] tags to the file specified by the user.<br />
<br />
This is useful for programs like [[EAC|Exact Audio Copy (EAC)]] which will let you compress files using an external encoder, which may not support native tagging while encoding.<br />
<br />
==Development==<br />
<br />
Case stopped developing Wapet after version 0.3. In 0.4 Neil Popham ([[User:Synthetic Soul|Synthetic Soul]]) added the -f switch to allow users to set a tag from the contents of a text file.<br />
<br />
==Links==<br />
* Case's original : http://www.rarewares.org/others.html<br />
* Synthetic Soul's version : http://www.synthetic-soul.co.uk/wapet/<br />
* Case's guide to using Wapet with [[EAC]] : http://www.saunalahti.fi/cse/EAC/<br />
<br />
==Additional Reading==<br />
* [[Tag.exe|Tag]], also written by Case<br />
<br />
==Command Line Help==<br />
<pre>Version 0.5, Compiled 2005-04-21<br />
<br />
Usage: wapet <target> [tagging options] <encoder> <encoder options><br />
<br />
target : name of the file <encoder> creates<br />
tagging options : -t "tag=value" ; for example -t "Artist=%a"<br />
: -f "tag=file" ; set tag from contents of file <file><br />
: -ape1 ; use APEv1 instead of APEv2<br />
encoder : name of the encoder<br />
encoder options : required parameters for encoder</pre></div>Danhashhttps://wiki.hydrogenaud.io/index.php?title=LAME_Y_switchLAME Y switch2012-08-18T21:39:35Z<p>Danhash: remove whitespace, add bullets</p>
<hr />
<div>This article describes the function of '''the -Y switch''' in the [[LAME]] encoder commandline.<br />
<br />
==The short definition==<br />
* The -Y switch tells [[LAME]] not to encode the highest frequencies '''accurately''', '''if doing so''' causes disproportional increases in bitrate. <br />
<br />
<br />
Other ways to say it include:<br />
* The -Y switch tells [[LAME]] to use a more '''coarse representation''' for the highest frequencies, in the parts where it would cause an over-encoding of all the other bands.<br />
* The -Y switch tells [[LAME]] to '''not be so strict''' with the higher frequencies, '''if''' they are going to cause an increase of bitrate.<br />
<br />
<br />
; The -Y switch is not a lowpass filter.<br />
: It allows high frequencies (>=16Khz) to exist, it just alters its accuracy. If their values are very small it can quantize them to zero (but probably the psychoacoustic analyzer will decide to simply remove them instead).<br />
<br />
==The technical definition==<br />
<br />
===How is audio stored in MP3===<br />
* MP3 audio is stored in the frequency domain (values for frequencies) instead of the time domain (values for samples)<br />
* Frequencies are analyzed and stored in groups, known as bands.<br />
* Bands are quantized to make them compress better.<br />
* ''Scale factor'' refers to how much quantization (loss of precision) is applied to each band, where higher quantization causes greater compression, and consequently less variation between the minimum and maximum values (resolution).<br />
* Each band has its own scale factor, so that its quantization can be adjusted independently from the others.<br />
*The exception is scalefactor band 21 (sfb21), which does not have a scale factor. This band stores frequencies of 16 kHz and above.<br />
* Global gain is an extra quantizer that affects all bands simultaneously.<br />
(See section notes about scalefactors and global gain)<br />
<br />
===What is the scalefactor band 21 (sfb21) defect===<br />
* If the encoder determines that sfb21 needs more resolution, it has no way to decrease the scale factor of sfb21 alone, since there is no such scale factor.<br />
* The only way to increase the resolution on sfb21 is therefore to reduce the global gain quantization, since global gain applies to all bands.<br />
* Scale factors are stored as a relative value of global gain (just the difference is stored). Let's call this value the relative factor.<br />
* To balance the reduction of global gain, the scale factor of the other bands should increase. Consequently, the relative factor decreases.<br />
* The relative factor can be decreased until it reaches zero. At that point, any further reduction of global gain implies that the band will use more resolution than needed.<br />
* The encoder is forced to increase the bitrate needed, not only because of the frequencies at or above 16Khz, but also because other bands below the sfb21 have excessive resolution.<br />
<br />
===The -Y switch and the sfb21 ===<br />
[[LAME]] implements the -Y switch as a way to activate the alternate logic that CBR uses in respect to quantization noise in the sfb21 band.<br />
* The encoder determines the desired quantization noise within the sfbs. The scale factors are choosen acording to these values.<br />
* If -Y switch is not used (either implicitly or explicitly), sfb21 gets evaluated and the global gain is set acordingly.<br />
* Adding -Y lets the encoder ignore whatever quantization noise will be in sfb21.<br />
<br />
The result is that all the 16 kHz and above frequencies still get encoded.<br />
<br />
The ones that would normally have needed higher resolution to satisfy the criteria of the psy-model don't receive that treatment, while ones that wouldn't need higher resolution are unaffected by the Y switch. '''The Y switch prevents global gain quantization from being decreased solely to accomodate the needs of sfb21'''.<br />
<br />
==The -Y switch and CBR/ABR ==<br />
The -Y switch can only be activated in [[LAME#Technical information|VBR mode]]. By default, -V 3 to -V 9 use -Y. -V 0, -V 1, and -V 2 do not. Consequently, adding -Y is only useful for the highest three VBR settings.<br />
<br />
This is because in CBR and ABR modes, the encoder uses -Y implicitly. <br />
Specifically, LAME targets a given bitrate, and adjusts the quantization steps until that target is reached.<br />
<br />
Since the sfb21 does not have quantization, its quantization noise is not evaluated.<br />
<br />
This is the same treatment as using -Y in VBR mode.<br />
<br />
==Motivation behind this article==<br />
The article tries to clarify what the switch does and what it does not do. It is frequently misinterpreted, like [[Joint_stereo|joint stereo]], and mistaken for a filter.<br />
<br />
In explaining what it does, in easy terms and in technical terms, the reader should get a better understanding of the motivation behind and the usage of the switch.<br />
<br />
==See also==<br />
* [[MP3|Description of the MPEG layer 3 format]]<br />
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=79841&st=0 Hydrogenaudio thread discussing this article]<br />
<br />
==Notes and references==<br />
<br />
For long blocks, the last scalefactor band is sfb21. For short blocks it is sfb12. The frequency at which it starts also depends on the sampling rate. The value of ~16Khz is for 44.1Khz material.<br />
<br />
Global gain and scale factors are not independent when stored to the file. The latter is expressed as a difference of the former. (relative factor)<br />
<br />
* The global gain is the global quantization step size, with a value range between 0 and 255.<br />
* The relative factor per band is the amount to reduce the global quantization step size. The range of this value is dependant on the band.<br />
Consequently, there are just a reduced amount of values to use and a change to global gain needs to be compensated by a change in the relative factor.<br />
<br />
This article has been brought up partially with comments fom Aleron Ives, robert and benski.<br />
The definition of the sfb21 problem is reworded from the article at [http://www.mp3-tech.org/content/?Mp3%20Limitations Mp3 tech.org]</div>Danhashhttps://wiki.hydrogenaud.io/index.php?title=LAME_Y_switchLAME Y switch2012-08-18T21:38:42Z<p>Danhash: moved LAME Y SWITCH to LAME Y Switch: capitalization</p>
<hr />
<div>This article describes the function of '''the -Y switch''' in the [[LAME]] encoder commandline.<br />
<br />
==The short definition==<br />
* The -Y switch tells [[LAME]] not to encode the highest frequencies '''accurately''', '''if doing so''' causes disproportional increases in bitrate. <br />
<br />
<br />
Other ways to say it include:<br />
* The -Y switch tells [[LAME]] to use a more '''coarse representation''' for the highest frequencies, in the parts where it would cause an over-encoding of all the other bands.<br />
* The -Y switch tells [[LAME]] to '''not be so strict''' with the higher frequencies, '''if''' they are going to cause an increase of bitrate.<br />
<br />
<br />
; The -Y switch is not a lowpass filter.<br />
: It allows high frequencies (>=16Khz) to exist, it just alters its accuracy. If their values are very small it can quantize them to zero (but probably the psychoacoustic analyzer will decide to simply remove them instead).<br />
<br />
<br />
==The technical definition==<br />
<br />
===How is audio stored in MP3===<br />
* MP3 audio is stored in the frequency domain (values for frequencies) instead of the time domain (values for samples)<br />
* Frequencies are analyzed and stored in groups, known as bands.<br />
* Bands are quantized to make them compress better.<br />
* ''Scale factor'' refers to how much quantization (loss of precision) is applied to each band, where higher quantization causes greater compression, and consequently less variation between the minimum and maximum values (resolution).<br />
* Each band has its own scale factor, so that its quantization can be adjusted independently from the others.<br />
*The exception is scalefactor band 21 (sfb21), which does not have a scale factor. This band stores frequencies of 16 kHz and above.<br />
* Global gain is an extra quantizer that affects all bands simultaneously.<br />
(See section notes about scalefactors and global gain)<br />
<br />
===What is the scalefactor band 21 (sfb21) defect===<br />
* If the encoder determines that sfb21 needs more resolution, it has no way to decrease the scale factor of sfb21 alone, since there is no such scale factor.<br />
* The only way to increase the resolution on sfb21 is therefore to reduce the global gain quantization, since global gain applies to all bands.<br />
* Scale factors are stored as a relative value of global gain (just the difference is stored). Let's call this value the relative factor.<br />
* To balance the reduction of global gain, the scale factor of the other bands should increase. Consequently, the relative factor decreases.<br />
* The relative factor can be decreased until it reaches zero. At that point, any further reduction of global gain implies that the band will use more resolution than needed.<br />
* The encoder is forced to increase the bitrate needed, not only because of the frequencies at or above 16Khz, but also because other bands below the sfb21 have excessive resolution.<br />
<br />
===The -Y switch and the sfb21 ===<br />
[[LAME]] implements the -Y switch as a way to activate the alternate logic that CBR uses in respect to quantization noise in the sfb21 band.<br />
* The encoder determines the desired quantization noise within the sfbs. The scale factors are choosen acording to these values.<br />
* If -Y switch is not used (either implicitly or explicitly), sfb21 gets evaluated and the global gain is set acordingly.<br />
* Adding -Y lets the encoder ignore whatever quantization noise will be in sfb21.<br />
<br />
The result is that all the 16 kHz and above frequencies still get encoded.<br />
<br />
The ones that would normally have needed higher resolution to satisfy the criteria of the psy-model don't receive that treatment, while ones that wouldn't need higher resolution are unaffected by the Y switch. '''The Y switch prevents global gain quantization from being decreased solely to accomodate the needs of sfb21'''.<br />
<br />
<br />
==The -Y switch and CBR/ABR ==<br />
The -Y switch can only be activated in [[LAME#Technical information|VBR mode]]. By default, -V 3 to -V 9 use -Y. -V 0, -V 1, and -V 2 do not. Consequently, adding -Y is only useful for the highest three VBR settings.<br />
<br />
This is because in CBR and ABR modes, the encoder uses -Y implicitly. <br />
Specifically, LAME targets a given bitrate, and adjusts the quantization steps until that target is reached.<br />
<br />
Since the sfb21 does not have quantization, its quantization noise is not evaluated.<br />
<br />
This is the same treatment as using -Y in VBR mode.<br />
<br />
<br />
<br />
==Motivation behind this article==<br />
The article tries to clarify what the switch does and what it does not do. It is frequently misinterpreted, like [[Joint_stereo|joint stereo]], and mistaken for a filter.<br />
<br />
In explaining what it does, in easy terms and in technical terms, the reader should get a better understanding of the motivation behind and the usage of the switch.<br />
<br />
<br />
==See also==<br />
<br />
[[MP3|Description of the MPEG layer 3 format]]<br />
<br />
[http://www.hydrogenaudio.org/forums/index.php?showtopic=79841&st=0 Hydrogenaudio thread discussing this article]<br />
<br />
<br />
==Notes and references==<br />
<br />
For long blocks, the last scalefactor band is sfb21. For short blocks it is sfb12. The frequency at which it starts also depends on the sampling rate. The value of ~16Khz is for 44.1Khz material.<br />
<br />
Global gain and scale factors are not independent when stored to the file. The latter is expressed as a difference of the former. (relative factor)<br />
<br />
* The global gain is the global quantization step size, with a value range between 0 and 255.<br />
* The relative factor per band is the amount to reduce the global quantization step size. The range of this value is dependant on the band.<br />
Consequently, there are just a reduced amount of values to use and a change to global gain needs to be compensated by a change in the relative factor.<br />
<br />
This article has been brought up partially with comments fom Aleron Ives, robert and benski.<br />
The definition of the sfb21 problem is reworded from the article at [http://www.mp3-tech.org/content/?Mp3%20Limitations Mp3 tech.org]</div>Danhashhttps://wiki.hydrogenaud.io/index.php?title=LAME_Y_SWITCHLAME Y SWITCH2012-08-18T21:38:42Z<p>Danhash: moved LAME Y SWITCH to LAME Y Switch: capitalization</p>
<hr />
<div>#REDIRECT [[LAME Y Switch]]</div>Danhashhttps://wiki.hydrogenaud.io/index.php?title=User_talk:DanhashUser talk:Danhash2012-08-18T21:32:50Z<p>Danhash: create</p>
<hr />
<div>{{Usertalkheader}}</div>Danhashhttps://wiki.hydrogenaud.io/index.php?title=User:DanhashUser:Danhash2012-08-18T21:30:45Z<p>Danhash: create</p>
<hr />
<div>Hi! I'm '''danhash''' ([[User talk:Danhash|talk]] '''ยท''' [[Special:Contributions/danhash|contribs]]). I'm interested in lots of stuff.</div>Danhashhttps://wiki.hydrogenaud.io/index.php?title=User:Danhash/common.jsUser:Danhash/common.js2012-08-18T21:18:19Z<p>Danhash: add wikEd</p>
<hr />
<div>// install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor<br />
importScriptURI('//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js' + '&action=raw&ctype=text/javascript');</div>Danhashhttps://wiki.hydrogenaud.io/index.php?title=User:Danhash/common.jsUser:Danhash/common.js2012-08-18T21:17:49Z<p>Danhash: add wikEd</p>
<hr />
<div>// install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor<br />
importScriptURI('//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'<br />
+ '&action=raw&ctype=text/javascript');</div>Danhash