Beräkna samplingsfrekvens för inspelningar - hur det fungerar
Med några formler kan du beräkna samplingshastigheten för ljudinspelningar. Beroende på vad ditt mål är, kan en annan samplingsfrekvens innebära en minsta filstorlek med maximal nytta.
Hur man beräknar den erforderliga samplingshastigheten
Den optimala samplingsfrekvensen för din ljudinspelning beror på vad du värderar: Varje samplingsfrekvens är en kompromiss mellan ljudkvalitet, begriplighet, filstorlek och kompatibilitet:
- Generellt: Eftersom konverteringen av samplingshastigheter sällan fungerar utan förlust, bör du alltid utföra alla steg i målprovfrekvensen.
- Detta påverkar inspelning, uppspelning och redigering, till exempel klippning och lägg till effekter.
- Det betyder en samplingshastighet på 44, 1 kHz för ljud-CD-skivor och vanligtvis 48 eller 96 kHz för DVD och Blu-Ray.
- Annars gäller Nyquist-Shannon-teoremet: Provhastigheten fₓ bör vara minst dubbelt så hög som den kritiska frekvensen fᵨ, dvs den högsta frekvensen som ska registreras, dvs fₓ> 2 × fᵨ.
- Om du vill välja samplingsfrekvens så att du inte överskrider en viss filstorlek G använder du följande formel:
- Du kan beräkna filstorleken G på en PCM-inspelning, dvs av okomprimerade WAV- eller AIFF-filer, enligt följande: G = D × fₓ × antal ljudkanaler × inspelningstid, där D är provdjupet och inspelningstiden anges i sekunder. För MP3 och AAC kan du förvänta dig G ≈ bithastighet × inspelningstid.
- Till skillnad från provtagningshastigheten är provdjupet detsamma. Fler bitar kan inte skada kvaliteten, i värsta fall skulle de ta onödigt mycket datortid och lagringsutrymme eller vara oförenliga med billig hårdvara.
- Det är till och med vanligt att digitala ljudeffekter beräknar 32 bitar internt, även om du bara har 16 till 24 bitar.
- Om du behöver en temporär noggrannhet på mindre än 23 μs måste du ställa in provhastigheten högre än 44100 Hz.
- DVD-skivor stöder upp till 192 kHz för mono och stereo, och minst 96 kHz för fler kanaler. Blu-Ray stöder upp till sex 192 kHz-kanaler eller upp till åtta 96 kHz-kanaler. Se till att din uppspelningsenhet också behärskar så höga samplingshastigheter.
- Hos Apple har bara ett fåtal enheter en samplingsfrekvens på 192 kHz: MacBook Pro (Retina, 13 eller 15 tum från 2013), Mac Pro (från slutet av 2013), iMac (21, 5 tum, mitten av 2014) och Mac mini (slutet av 2014) ).
- En samplingshastighet på 32 kHz är kvaliteten på ljudband som inte spelar in och reproducerar hela det hörbara spektrumet, men når upp till cirka 14, 5 kHz.
- För att uppnå god talförståelse med små filstorlekar för röstinspelningar är inspelning med en samplingshastighet på 22050 Hz med efterföljande konvertering till MP3 eller AAC med 56 till 64 bitar per kanal lämplig.
- Med en samplingshastighet på 8 kHz uppnår du inte riktigt kvaliteten på telefonöverföringar eller vissa minidiktationsmaskiner.
- Förresten: För att spela in den rena tonhöjden av melodier, oavsett ljudkvalitet, är cirka 1400 Hz mer tillräckligt för män, 1800 Hz för kvinnor.