Showing posts with label audio. Show all posts
Showing posts with label audio. Show all posts

Muziek bestandsformaten en hun codecs

Als mens luisteren wij vaak naar muziek op de radio, onze hifi-keten, onze computer en onze draagbare MP3-speler. De muziek zelf komt in vele verschillende formaten elk met hun eigen codecs. Deze termen kunnen nogal technisch klinken maar geen nood wij leggen u alles uit zodat u als leek de bomen door het bos kunt zien. De echte vraag is eigenlijk: Welk bestandstype en bijhorende codec dienen we te kiezen? Eerst en vooral dienen we te weten waar we de muziek voor gaan gebruiken. Is het om af te spelen op onze mp3-speler of in onze auto? Dan kunnen we gaan voor wat minder kwaliteit. Dienen we de muziek te gebruiken in een professionele omgeving zoals in een studio. Dan verkiezen we kwaliteit.

Bepaalde apparaten, zoals een radio, kunnen CD's volgestuwd met MP3-bestanden afspelen. Onze auto kan muziek vanaf een USB-stick afspelen net zoals onze draagbare muziek speler. Maar door de diversiteit aan muziek-formaten zullen sommige bestanden niet compatibel zijn met bepaalde apparaten. Daarom bespreken we enkel de meest gebruikte formaten en codecs die bijna met alle apparaten werken. Ook onze software en type computer kunnen een rol spelen in de mate we een bestandstype gaan gebruiken. Bijvoorbeeld: als je een Apple computer met iTunes en iPhone of iPod gebruikt dan heb je te maken met AAC en MP3 bestanden. Als je een Windows laptop hebt dan zal je meer geneigd zijn om WMA en MP3 bestanden te gebruiken. FLAC en WAV is dienen voor meer geavanceerde audio kwaliteit, te gebruiken in professionele audio studio's. Er zijn nog een dozijn andere exotische audio bestandsformaten maar als gewone gebruiker zul je hiermee zelden in aanraking komen. Wij vernoemen enkel de meest belangrijke audio bestandsformaten.

MP3
Dit is het meest gekende audio formaat en is gratis te gebruiken. Bijna elk apparaat kan een MP3 bestand afspelen.

Wat je dient te weten van MP3-bestanden is dat ze zeer klein zijn en een klein beetje audio kwaliteit verliezen nadat ze omgezet zijn van CD naar MP3. Er zijn verschillende eigenschappen binnen de codec die men kan aanpassen vooraleer de muziek te converteren. Maar er zijn ook een aantal verschillende codecs voorradig. Sommige codecs geven je een betere audio kwaliteit. De Fraunhofer IIS codec door Fraunhofer-Gesellschaft is de meest gebruikte omdat dit instituut de grootste ontwikkelaar is van het MP3 formaat, deze codec is dan ook de standaard codec die je zou moeten gebruiken. Er is ook nog de LAME codec, de makers beweren dat hun coded een betere audio kwaliteit levert na het converteren maar deze codec wordt minder ondersteund.

Je kunt 3 eigenschappen aanpassen:

1. Het type bitrate:
Constant Bitrate (CBR), dit is de meest compatible bitrate.

Variable Bitrate (VBR), deze is het efficiƫnste, heeft je kleiner bestanden maar soms wordt een passage van het liedje in een mindere kwaliteit geconverteerd.

Average Bitrate (ABR), deze ligt tussen CBR en VBR.

Ik verkies Constant Bitrate voor al mijn audio-bestanden.

2. De Bitrate
Hiermee wordt het aantal kilobits per seconde aangeduid (dit is niet het zelfde als Kilobytes per second, zie hier voor meer uitleg)

Je kunt kiezen van 8 tot 320 kbps. Hoe meer bitrate, goed beter de audio kwaliteit, maar het resulteert ook in grotere bestanden.

96 kbps - redelijke kwaliteit

128 kbps - gemiddelde kwaliteit

160 kbps - goede kwaliteit

192 kbps - prima kwaliteit

256 kbps - uitstekende kwaliteit, bijna audio-cd kwaliteit

320 kbps - hoogste kwaliteit

3. Mono / Stereo:
Als u een audio-cd kopieert verzeker u er dan van dat je kiest voor de stereo-optie zodat je 2 audio kanalen hebt.

Idealeinstellingen
Nu we al deze dingen weten kunnen we onze ideale mix van voorkeuren instellen om zo de perfecte balans te hanteren die past bij onze behoeften. We beginnen met alles op stereo te zetten zo hebben we alleen nog maar te maken met 2 verschillende instellingen het soort bitrate en de bitrate zelf. Ik geef de voorkeur aan een constante bitrate van 192 kbps. Voor wie meer samenstellingen wil vindt hieronder meer composities:

redelijke kwaliteit: 96 kbps CBR

gemiddelde kwaliteit: 128 kbps CBR

goede kwaliteit: 160 kbps CBR

fijne kwaliteit: 192 kbps CBR of VBR

uitstekende kwaliteit, bijna audio-CD-kwaliteit: 256 kbps VBR of CBR, 192 kbps ABR

hoogste kwaliteit: 320 kbps CBR

telefoon: 16 kbps mono ABR

korte band: 24 kps mono ABR

AM: 40 kbps mono ABR

stem: 56 kbps mono ABR

Merk op dat als je een goede audiokwaliteit wil dat je een constante bitrate nog hebt van ten minste 192 kbps.

WMA
Dit is een indeling gemaakt door Microsoft en dat wordt gebruikt door hun mediaspeler. Het is gelijkaardig als het MP3-formaat en heeft bijna exact dezelfde instellingen waaruit u kunt kiezen. Microsoft beweert dat WMA een betere kwaliteit biedt dan MP3 bij gebruik van dezelfde instellingen. De WMA codec heeft al versie 10 bereikt met een standaard en een pro-versie. De pro-versie zorgt voor een betere geluidskwaliteit, maar wordt in mindere mate ondersteund door een groot aantal apparaten, terwijl de standaard meer wordt ondersteund. 8 bit, 16 bit (CD-kwaliteit), 24 bit (DVD-kwaliteit) en 44.100 hz (CD-kwaliteit) of 48000 Hz (DVD-kwaliteit) worden ook ondersteund. Een nadeel is dat WMA nog altijd minder wordt ondersteund dan MP3. Maar voor een groot aantal jaren is dit mijn favoriete audio-formaat. Bestanden kunnen worden beveiligd met de DRM code zodat ze enkel kunnen afgespeeld worden op uw apparaten.

OGG
Dit formaat is een open-source-indeling gemaakt door de Xiph.Org Foundation. Het zorgt voor een goede compressie / kwaliteit verhouding, maar heeft grotere bestanden dan MP3 en WMA. Omdat dit formaat minder gekend is wordt ze ook minder ondersteund door een groot aantal apparaten.

AAC

Dit formaat werdt ontwikkeld door Apple en wordt gebruikt door iTunes waar je muziek kunt kopen. Je vindt er bijna dezelfde instellingen als bij MP3. Het formaat kan ook beveiligd worden zodat ze enkel met uw apparaten kunnen worden afgespeeld. Dit format kan enkel door Apple apparaten zoals de iPod en iPhone worden afgespeeld, al zijn er ook AAC codecs voor Windows gebaseerde programma's.

FLAC
Dit formaat is gelijkaardig aan het OGG-formaat en heeft grotere bestanden. U kunt ook kiezen tussen de 8 bit, 16 bit (CD-kwaliteit), 24 bit (DVD-kwaliteit) en 44.100 hz (CD-kwaliteit) en 48000 Hz (DVD-kwaliteit).

WAV

Dit formaat kan de oorspronkelijke kwaliteit van een audio-cd en nog veel meer behouden. Het was een van de eerste audio-formaten voor de computer en wordt nog altijd gebruikt door professionals en audio-studio's. U kunt ook kiezen tussen 8 bit, 16 bit (CD-kwaliteit), 24 bit (DVD-kwaliteit) en 44.100 hz (CD-kwaliteit) en 48000 Hz (DVD-kwaliteit). Het kan zeer snel worden gebufferd. Het enige nadeel is dat het veel opslagcapaciteit nodig heeft: 1 minuut CD-kwaliteit in WAV formaat heeft een gemiddelde van 10 MB. Dit formaat kan bijna door elk programma en apparaat worden afgespeeld met uitzondering van degenen die alleen MP3 of AAC ondersteunen.

Gerelateerd onderwerpen:
Als je music wilt converteren op de computer dan kun je gebruik maken van MediaMonkey.
Het verschil tussen bits en bytes

Music file formats and their codecs

As a human being we listen to music on the radio, our soundsystem, our computer and our portable mp3 player. The music comes in various file formats, each with their own codecs. These terms can sound a bit technically, but no worry we explain everything to you. The real question is what file format and codec do we need to choose from? First we need to know for what reason we use the music. Is it to use on an MP3-player or our car? Than we need less quality. Or is it for professional use for example in a studio? Than we need quality.

Some devices like our radio can play CD's full of mp3's. Our cars can now play usb-stick full of music just like our portable music devices. But, because of the format diversity, some of the formats will not be compatible with some devices. We explain the most common formats and codecs that are compatible with almost every device. Also our software and our computers can play a role in what types of formats we want to use. For example: if you use an Apple computer with iTunes and an iPhone or iPod than you have to deal with AAC and MP3. If you have a laptop running Windows than it will be more likely that you use WMA and MP3. FLAC and WAV is for more advanced audio in professional audio studio's. There are a dozen other exotic audio file formats but as common user you will never be in touch with one of these exotic formats. We only mention the most important audio file formats.

MP3
This it the most known format that is free to use. Almost every device can play an MP3 file these days.

What you need to know is that MP3 files are very small files that has a little loss on the music quality after converting CD quality to MP3. There are a various of settings that can be chosen of to convert the music. But there are also a various of codecs available. Some codecs provide you with better audio quality. The Fraunhofer IIS codec by Fraunhofer-Gesellschaft is the most used because this institute is the main developer of the MP3 file format, so this is the standard you should go for. There is also LAME that claims to have better audio quality but it's less supported.

You can play with 3 settings:

1. The sort of bitrate:
Constant Bitrate (CBR), this is the most compatible.

Variable Bitrate (VBR), this is the most efficiƫnt, give you smaller files, but sometimes a passage of the music is converted in less quality.

Average Bitrate (ABR), this is something between CBR and VBR.

I prefer the Constant Bitrate for all my files.


2. The Bitrate
This indicated in kilobits per second (this is not the same as Kilobytes per second, see here for more explanation)

You can choose from 8 to 320 kbps. More bitrate, gives you always a better audio quality but gives you also bigger files.

96 kbps – reasonable quality

128 kbps – average quality

160 kbps – good quality

192 kbps – fine quality

256 kbps – excellent quality, almost audio-cd quality

320 kbps – highest quality

3. Mono/Stereo:
If you copy an audio CD than be sure that you choose the stereo option to have 2 audio channels.

Ideal settings
Now we know these things we can make our ideal mix of settings to have the perfect settings that match our needs. In our settings we set everything to stereo. Than we only need to deal with 2 different settings the sort of bitrate and the bitrate itself. I prefer to go with a constant bitrate of 192 kpbs but here you have some more compositions:

reasonable quality: 96 kbps CBR

average quality: 128 kbps CBR

good quality: 160 kbps CBR

fine quality: 192 kbps CBR or VBR

excellent quality, almost audio-cd quality: 256 kbps VBR or CBR, 192 kbps ABR

highest quality: 320 kbps CBR

telephone: 16 kbps mono ABR

short band: 24 kps mono ABR

AM: 40 kbps mono ABR

voice: 56 kbps mono ABR

Notice that if you want good audio quality you need to go for CBR and have at least 192 kbps.

WMA
This is a format made by Microsoft that is used by their media player. It's like the MP3 format and has almost the exact same settings that can choose from. Microsoft claims that WMA offers a better quality to MP3 when using the same settings. The WMA codecs has reached version 10 with a standard and a pro version. The pro version gives a better audio quality but isn't supported by many devices while the standard is more supported. 8 bit, 16 bit (CD-quality), 24 bit (DVD-quality) and 44100 hz (CD-quality) and 48000 hz (DVD-quality) is also supported. A disadvantage is that WMA is still less supported than MP3. But it has been my favorite format for years now. Files can be protected with the DRM to be played only on your devices.

OGG
This format is an open-source format made by the Xiph.Org Foundation. It provides a good compression / quality rate but has bigger files than MP3 and WMA. Because this format is less know and less supported by many devices.

AAC
This format is made by Apple and is used by iTunes that provide music you can buy. Almost the same settings of an MP3 can be made. The format can include a protection inside so it can only be played by your device that is made by Apple like the iPod and iPhone.

FLAC

This format is more like the OGG and has larger files. You can also choose between 8 bit, 16 bit (CD-quality), 24 bit (DVD-quality) and 44100 hz (CD-quality) and 48000 hz (DVD-quality).

WAV
This format can hold the original quality of an Audio-CD and more. It was one of the first audio formats for the computer and is used by professionals and audio studios. You can also choose between 8 bit, 16 bit (CD-quality), 24 bit (DVD-quality) and 44100 hz (CD-quality) and 48000 hz (DVD-quality). It can be buffered very fast. The only disadvantage is that it needs to have many storage capacity: 1 minute CD-audio in WAV-format needs an average of 10 MB in CD-quality. This format can be played by almost every program and device except those who only supports MP3 or AAC.

Related topics:
If you want to convert or play many exotic music formats you can use MediaMonkey on your computer.
Difference between bits and bytes

Guide for your Website Design, some useful tips.

When it comes to your website, more attention should be paid to every detail to make sure it performs optimally to serve it's purpose. We wrote some important tips and rules to make sure your website performs as good as it can.

Don't use splash pages.
Splash pages are the first pages you see when you arrive at a website. They normally have a very beautiful image with words like 'welcome' or 'click here to enter'. In fact, they are just there for pretty impressions with no real purpose. Sometimes visitors find them annoying. Your visitors will be less irritated by the first screen they have to click away to see the real webpage. Keep in mind that people want to go directly to the information on your website. Don't let your visitors have a reason to click on the 'back'-button! Give them the value of your site up front without the splash page. It's saves them time and effort.

Don't use excessive banner advertisements.
Even the least net savvy people have trained themselves to ignore banner advertisements so you will be wasting valuable website real estate. Instead, provide more valuable content and weave relevant affiliate links into your content, and let your visitors feel that they want to buy instead of being pushed to buy.

Have a simple and clear navigation.
You have to provide a simple and very straightforward navigation menu so that even a young child will know how to use it. Stay away from complicated Flash based menus or multi-tiered dropdown menus. If your visitors don't know how to navigate, they will leave your site. The best place for navigation is above the content in a horizontal line just under your logo or banner, or at the top left corner of your website just under your banner.

Have a clear indication of where the user is.
When visitors are deeply engrossed in browsing your site, you will want to make sure they know which part of the site they are in at that moment. That way, they will be able to browse relevant information or navigate to any section of the site easily. Don't confuse your visitors because confusion means "abandon ship"!

Audio loops on your website.
If your visitor is going to stay a long time at your site, reading your content, you will want to make sure they're not annoyed your visitors by some audio looping, on your website. If you insist on adding audio, make sure they have some control over its volume or muting controls would work fine.
Copyright: byWM