StreamReader Lectura Audio

Estoy realizando una consulta a un sitio web el cual me devuelve una respuesta

El problema es que la respuesta es un archivo con extensión .acc y el StreamReader que lee la respuesta esta cambiando los caracteres originales (adjunto 2 imágenes para referencia al final)

Esto se comprueba al descargar el archivo a través del navegador donde una vez descargado funciona perfectamente

Existe algún otro reader o manera de leerlo para que el archivo quede como el original?

El codigo que utilizo para obtener la respuesta es el siguiente:

        public static string RealizarPedido(string url)     {         string html = string.Empty;          HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);         request.AutomaticDecompression = DecompressionMethods.GZip;          using (HttpWebResponse response = (HttpWebResponse)request.GetResponse())         {             using (Stream stream = response.GetResponseStream())             {                 using (StreamReader reader = new StreamReader(stream))                 {                     html = reader.ReadToEnd();                 }             }         }          return html;     } 

introducir la descripción de la imagen aquí

introducir la descripción de la imagen aquí

Send audio from Mac to Linux via USB cable

Using a Mac mini Mid 2011 running Catalina and a Dell Inspiron Mini 1012 running Raspbian (Debian 4.9), I currently have a 3.5mm cable connecting Mac headphone port to dell mic port. Dell equalizes the sound using Qpaeq/Pulseaudio and then out to speakers. Having some quality issues so I want to run digital instead of analog. I want to use a Usb cable and run all the audio digitally from Mac to Dell instead of 3.5. What terminal commands do I need to do to the dell to set up a USB audio device and have it be recognized by the Mac as a possible output device?

Inspired from this article

5 seconds after no audio – my speaker turns off

I never had this issue on Windows 10 and I just switched to Ubuntu.

When there is no sound, after 5 seconds my speaker acts like if I pulled of the aux cable out the speaker(it hums),

But the moment that I turn on any audio, speaker continues working normally. Even pressing the volume shortcuts(volume up or down) on my keyboard does the trick because it plays the short sound.

Edit for more info: Just installed and updated the Ubuntu 18.04.3 LTS

I am using my motherboard audio jack, in settings it recognizes it as a Line Out – HD-Audio Generic And as a ghetto fix, i can open Youtube video and simply mute it, even though there is no sound playing.

How can I fix this?

How do I solve these audio problems?

I finally took the plunge and installed the latest Pop_OS on my home computer. Windows is gone. However, I am having a few bad issues with the sound configuration. Pop_OS is an Ubuntu-based distro, so I figured I could ask here. If this is against the rules, please remove this question.

My computer is set up for recording and streaming gaming content. On Windows, I was able to use the Realtek HD Audio Drivers and the Sound Manager software that came with it to monitor my mic input through my speakers/headphones so I can hear myself talk. This is very important since I use noise isolating headphones.

Pop_OS, being an Ubuntu based distro, comes with Pulse Audio and Pulse comes with a module called loopback. There are two issues with this. 1: This seems to loop back the mic input into the desktop audio channel with software instead of using the hardware solution on my motherboard. On my Windows system, the microphone input was spliced perfectly into the speaker/headphone output WITHOUT actually having that mic audio be part of the desktop audio stream. I was able to record desktop audio separately from mic audio. If I record desktop audio here on Pop_OS, my voice will be part of the desktop channel AND the mic channel.

2: The looped back audio just sounds weird. It sounds as if my voice is layered on top of itself multiple times and maybe even delayed by just a few milliseconds (despite me using latency_msec=1). I think this comes down to the same issue as the above since it uses software instead of properly talking to the hardware.

EDIT: Problem 3 has resolved itself magically.

These are my main issues now. I’m open to finally buying a sound card that’s supported well on linux if that’s what it takes. Also, keep in mind that I’m a complete noob and by no means a sound engineer, so my interpretations of what’s actually happening might be way off.

Anyway, I appreciate anyone’s help. Thank you.


Ubuntu 19.04 No Audio Input Devices to Select

I’m unable to use my Thinkpad’s microphone with Ubuntu 19.04. When I attempt to choose an audio input device, none are available. When taking a look in pavucontrol, it lists my microphone as unplugged.

I’ve seen a number of similar questions but none of the answers have worked to help fix this problem.

Thanks in advance for any advice.

sound settings screenshot pavucontrol screenshot

External audio works only after plugging and unplugging a headset

I have a laptop running Ubuntu 18.04. It worked just fine until recently when it stopped playing audio after booting. Every time I reboot the system I have to plug in and then plug out a headset in order to make the built in speaker work.

I think the issue might come up with an update, because I didn’t make any system changes at the time when the issue showed up.

How restore sound to its normal state?

Jack Audio Service and Surround Audio Systems

I use Ubuntu Studio 19.04.

I’ve been experimented with Jack Audio Service and I have a doubt about the Audio Connection Panel:

Whatever the configuration I use, I don’t have any reference to my physical 7.1 surround sound card, which is an Intel Corporation 6 Series/C200 Series Chipset Family HDA_Intel, included inside the H61M-P31/W8 (MS-7788) Motherboard.

I just get this:

My Jack Audio Connections Panel

As you can see, there is not any reference to the front, rear or side audio channels.

So… What’s wrong here?

Or… What had I missed to do?

Recover audio corrupt file

I have a m4a audio file that I cannot play. Probably, while it was being saved by the phone, the phone ran out of battery. I have seen using an hex editor that after some moment, all the hex values are 0. I guess that I cannot play it because the player looks for the end of the file and it doesn’t find anything. Still, if I remove all these 0, the file goes from 23 MB to 9MB so I understand I still have some audio stored. Does anybody how to recover this? I tried untrunc but it’s not working. Maybe I should “close” the audio file? Should I write some hex values at the end of the file?

No audio device in Ubunutu after i installed wine

I installed Winehq with following commands:

sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport sudo apt install wine 

Now i have no sound, i uninstalled wine with this commands:

sudo apt --purge remove wine sudo apt --purge remove wine64 

But still no sound. When i go to the Settings -> Sound there is no Output device. How to solve it? Ubuntu Disco Dingo

How to set audio device priority in Linux Mint (PulseAudio)?

I use a T430 and would like to set up audio device priority between my laptop, bluetooth headphones, and external monitor. Essentially, I would like the headphones with highest priority, and when thats not connected, I would like it to route through the external monitor (Audio through miniDP port, provided by the nVidia driver). When the laptop isnt connected to either, then it should play through the internal speakers.

I can set the bluetooth headphones as a fallback device, but when its disconnected, it prefers the laptops internal speakers, and then I have to choose the external monitor ones. However, once I connect bluetooth headphones, I then have to make it route through the headphones again.

Is there a way to add a device as priority, and if unavailable, then to ignore it? I’m using Linux Mint 19.1 and PulseAudio 11.1 (if it matters)

Many thanks.