Usando S/PDIF per trasmettere audio dal vostro pc
Ciò che segue è un articolo da un altro dei miei colleghe sulla squadra sana di Windows Vista, Kristin Carr. Kristin è un program manager e lavora con la sfera dello Steve, che precedentemente ha ripartito le sue comprensioni in come Windows Vista maneggia il suono. Se avete domande per Kristin, lasci prego un commento qui sotto.
Molta gente ha un'idea generale di che cosa S/PDIF è -- forse vedendolo come etichetta su una uscita audio, o su una lista della caratteristica per un prodotto. Ma che cosa è esattamente esso e come voi lo usa? Questo alberino coprirà alcuni di quei particolari.
Su un pc, l'audio è memorizzato e proceduto digitalmente fino alla fase finale dell'uscita quando è convertito solitamente in segnale di analogico che direttamente alimenta i vostri altoparlanti. Tuttavia, ci possono essere periodi in cui desiderate trasmettere il segnale digitalmente ad un dispositivo differente che sarà utilizzato per giocare il suono, quale una ricevente. In questi casi, potete desiderare posporre convertire il segnale analog e preferibilmente trasmettete il segnale digitalmente evitare tutti i degradazione e rumore supplementare che possono accadere quando trasmette un segnale di analogico.
A questo fine, S/PDIF (Sony/disposizione interconnessione di Philips Digital) è stato sviluppato. Riferito a spesso dal nome del connettore (Toslink compreso, RCA, o semplicemente “ottico„ o “Digital fuori„), S/PDIF specifica un metodo di trasmettere un segnale numerico in moda da poterlo essere ricevuto correttamente ed interpretare esso dal dispositivo collegato. Potete chiederti che, “quanto ha complicato è esso per trasmettere un segnale? Perchè abbiamo bisogno di un protocollo speciale? “Consideri che il segnale numerico consiste di una serie di punte ed all'interno di quella la serie, le punte è raggruppata per corrispondere ad un campione di audio e un sottoinsieme di quelli ancora più grande è raggruppato per corrispondere ad una scanalatura particolare. Per permettere ad una ricevente di interpretare correttamente tutte quelle punte nell'ordine corretto, è necessario da avere una disposizione per trasmettere quelle punte. Ciò è dove S/PDIF viene poll.
S/PDIF può essere usato per trasmettere due scanalature di audio digitale in tempo reale sopra un singolo collegamento. S/PDIF specifica un modello di punta particolare che una ricevente può usare per agganciarsi sul flusso. Una volta che la ricevente ha synced in su con il flusso, S/PDIF specifica l'ordine delle punte audio e come dovrebbero essere organizzati in un flusso in moda da potere interpretarlo correttamente la ricevente.
However, there may be times when you wish to transmit more than two channels of audio over the S/PDIF link. This is where compressed audio can be used. Audio compression is a technique used to transmit equivalent information using fewer bits. This is done through a number of techniques. Some techniques, referred to as perceptual coding, take advantage of the fact that humans can only hear certain sounds. These methods of compression usually involve discarding bits that only contribute a minimal amount to what a listener needs to recognize a given sound. Other methods take advantage of numerical redundancies in the signal in order to effectively transmit the same information in a smaller amount of space. Dolby Digital and DTS are two common types of compression. Regardless of the technique, compression enables a digital audio signal to use fewer bits to transmit the audio.
The result of this compression is that it enables you to transmit the content for up to 5.1 channels of audio over S/PDIF in space that would have only fit 2 channels if the audio had been uncompressed. This is great once the signal has been encoded (synonymous with compressed), but once a signal has been encoded, that same signal must also be decoded after it has been received so that it can be sent to speakers. This means that your receiver must be capable of decoding the compressed audio signal in order for you to hear the correct sound. This is the tradeoff necessary to allow you to transmit more than two channels of audio over S/PDIF.
Another direct consequence of transmitting a compressed audio signal instead of an uncompressed audio signal (more commonly known as PCM) is that the volume of that signal cannot be modified once it has been encoded. Because the bits in an encoded signal no longer directly correspond to the volume of that signal, it is impossible to increase the volume until it is decoded. This explains why your PC cannot control the volume of your sound when you are using Dolby Digital or DTS as the output. The connected device will be the only place where the volume can be changed.
To recap, in order to avoid the electrical interference and noise present on an analog connection, consider using S/PDIF to transmit the signal digitally. If you'd like to transmit more than two channels, consider sending encoded content which allows you up to 5.1 channels over S/PDIF. You may also want to consider HDMI, but that's a post for another time!
Written by Nick White. Read more great feeds at is source WEBSITE
no comments.
Read more articles on otherSoftware and Audio and Featured News and Windows Vista.
- [+] Digg: Feature this article
- [+] Del.icio.us: Bookmark this article
- [+] Furl: Bookmark this article














