How PulseAudio works.

Image via Wikipedia

Today most- finally, after a chamber of time, I decided to buy more cables to hang up 5.1 my audio system fully. Until now I used it with a normal stereo cable and then the system divided the audio channels itself. Which is not good at all. Now there is a separate cable for each channel and the sound is much clearer (of course), the denser and in the movies the feeling is improved many times over. There were a few small dramas that were relatively intuitive. The main drama was, that the sound went only in the front speakers without buffer center or rear after I reconfigured the sound scheme of Gnome to be 5.1 . In most players I have the option to set in alsa part for how many channels the audio is, but there are programs that do not have such an option as, say, adobe flash player. My original idea was just to reconfigure .asoundrc by setting parameters to duplicate the sound on all channels – a decision I'm not proud of because I didn't consider it at all. The configuration is trivial :

pcm.!default {
type plug
slave.pcm “surround51”
slave.channels 6
route_policy duplicate

With it, things fell into place until I realized that alsa can only handle more 1 process and until he finishes using it another can not. 😳 Unpleasant but in fact I forgot the times when you listen to either player or youtube and if one of you gets bored you have to close the program, to use the other application. Which immediately told me where the real root of things was – the pulseaudio server configuration. Pulseaudio is roughly a proxy server that processes the information between the audio hardware and the audio software that wants to use it. A system that has proven itself many times over the years. При нея конфигурацията се намира в /etc/pulse/daemon.conf. По подразбиране всичко е закоментирано с ; така че ако не сте праивли промени може направо смело да добавите следните редове накрая на файлът:

enable-lfe-remixing = yes

default-sample-rate = 48000
default-sample-channels = 6

The names of the options are obvious we set the value of how much channel audio we will be a small tuning of the standard bitrate and enable lfe remixing. След това остава да рестартирате alsa и pulseaudio с

sudo /etc/init.d/alsa-utils restart && pulseaudio -k

От тук нататък за мен остана само а се наслаждавам на вече по доброто аудио.

edit: .asoundrc must be with content so that you do not have problems with skype and some other applications

pcm.pulse {type pulse }
ctl.pulse { type pulse }

Enhanced by Zemanta

So before I start writing any hot and unboiled I want to say that the article is for educational purposes only and I have not tested it if it will work just a sick idea 😆 😎 The author and does not bear any responsibility for property and any harm 😉

So before I explain about the idiots that go through my head, let's have a little background. So my favorite non-social site LAST.FM a long time ago he was obviously caught and the crisis and banned from listening to free music through it in almost all countries, and to listen you have to pay by 3 euros per month. Generally a token amount. I understand, that people have to pay for licenses, Internet traffic, current and so on, that I don't find the fact bad, that you have to pay for this service. I was really annoyed that the people of Germany, England and the USA are not obliged to pay to listen to music другите and others are entitled to 30 песнички безплатно и след това давайте парички. От много време не ми се беше налагало да ползвам тоя вид услуга, because I found replacements until a month ago my hard drive burned out at work and I have to use an emergency 20GB old man. Of course, there is no place for music on it, that's why I don't care. I'm tired of listening to the radio, the music I like on a radio is around 10%-20% from its contents and I constantly switch between 20 radio where I bumped into a playlist. Tiring and boring activity.

So enough with empty talk, let me tell you what's going on in my hollow head. Recently I had to hide my tracks on the net and presented my web-agent from various other destinations – China, Hong Kong, Malaysia and others. And I thought about what would happen if I changed the connection of the player???? Dam has a connection to his Internet connection – Tools->Options->Connection. There you need to select a manual proxy setting. And then enter the necessary host and port data that will proxy our traffic. It remains to find a suitable free proxy on the net from the countries where the traffic is released for free and set up your agent and the veil magic should be ready 😉

Yesterday I took my first exam for the Cisco academy I attend. Due to the fact that I deleted my posts, there is no explanation, that I am starting such a school. And so I started the academy even the first one and the gathering was on my birthday- I took it as a lucky sign 😉 In general, the academy definitely makes me happy, because I'm learning a theory about many of the things I practice that has eluded me in one way or another, a separate end goal certificate for CCNA Exploration is extremely important to me and in itself is a big challenge for me. So the scheme is as follows, after each chapter we take, we have exams to check our knowledge. At the end of each semester and they are together 4 we will have exams again for the whole semester and at the end of the 4th semester we will take several exams preparing us for the last exam to certify us as Cisco experts. So, according to this scheme, yesterday I did the test for the second chapter – the first one because the first chapter is just an introduction. The exam was positive for me 89.1%. From maximum 46 points I scored 41 Ми I think decently but still hoped for more 90%. It's not who knows what the point is all the exams during the semester have I covered it with over 70% I think.

Here is some sunny music from a young man I know JaGWaR making gorgeous music.

Напоследък се занимавам душевните ми мизерлъци, I probably also have bronchitis… Separately, I try to drive some things that are super important for my future. I am totally without time for myself. Everyone is pulling me somewhere, the little time I have I try to spend reading or thinking, both don't give me much. At home I manage to spend only an hour or undisturbed…. However, everything is not so gray and impersonal and unhappy, something happened that I didn't expect to happen or at least started to happen 😀 I'll wait before I go into details

I've been getting very nervous lately. I do not think, that there is some reason for my periodic madness. 🙂 To some extent I dull the nerves with gentle and soothing music or at high speeds, both options are preferable to breaking people from a fight 😀 Here is something lyrical and reassuring