Usando S/PDIF emitir o áudio de seu PC
O seguinte é um artigo de outros de meus colegas na equipe sadia de Windows Vista, Kristin Carr. Kristin é um gerente de programa e trabalha com esfera de Steve, que tem compartilhado previamente de suas introspecções em como Windows Vista segura o som. Se você tiver perguntas para Kristin, deixe por favor um comentário abaixo.
Muitos povos têm uma idéia geral de que S/PDIF é -- talvez vendo o como uma etiqueta em uma saída audio, ou em uma lista da característica para um produto. Mas que são ele exatamente, e como você usam-no? Este borne cobrirá alguns daqueles detalhes.
Em um PC, o áudio está armazenado e processado digital até o estágio final da saída quando é convertido geralmente a um sinal análogo que alimente diretamente seus altofalantes. Entretanto, pode haver as épocas em que você quer transmitir digital o sinal a um dispositivo diferente que esteja usado jogar o som, tal como um receptor. Nestes casos, você pode querer postpone converter do sinal a um análogo, e transmite preferivelmente o sinal evitar digital toda a degradação e ruído adicional que puderem ocorrer ao transmitir um sinal análogo.
Para esta finalidade, S/PDIF (Sony/formato Interconnect de Philips Digital) foi desenvolvido. Consultou frequentemente pelo nome do conector (Toslink including, RCA, ou simplesmente “ótico” ou “Digital para fora”), S/PDIF especifica um método de transmitir um sinal digital de modo que pudesse ser recebido e interpretado corretamente pelo dispositivo conectado. Você pode perguntar-se que, “como complicou é ele para transmitir um sinal? Por que nós necessitamos um protocolo especial? “Considere que o sinal digital consiste em uma série dos bocados, e dentro daquela as séries, os bocados são agrupadas para corresponder a uma amostra do áudio, e um subconjunto mesmo maior daqueles é agrupado para corresponder a uma canaleta particular. A fim permitir um receptor de interpretar corretamente todos aqueles bocados na ordem correta, é necessário ter um formato para transmitir aqueles bocados. Isto é o lugar aonde S/PDIF vem dentro.
S/PDIF pode ser usado transmitir duas canaletas do áudio digital em real - cronometre sobre uma única conexão. S/PDIF especifica um teste padrão de bocado particular que um receptor possa usar trancar no córrego. Uma vez que o receptor tem synced acima com o córrego, S/PDIF especifica a ordem dos bocados audio e como deve ser arranjado em um córrego de modo que o receptor possa corretamente o interpretar.
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














