Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Audio with ALSA #532

Open
shoober420 opened this Issue Mar 30, 2017 · 12 comments

Comments

Projects
None yet
5 participants
@shoober420
Copy link

shoober420 commented Mar 30, 2017

No matter what input I select, I get no audio when using ALSA. I tried all the codecs, even uncompressed, and still no audio is being recorded. I don't use Pulseaudio, so that's out of the question. All my specs are in my Steam profile, which is linked in my GitHub page.

@MaartenBaert

This comment has been minimized.

Copy link
Owner

MaartenBaert commented Apr 20, 2017

Are you able to record audio with other software, e.g. Audacity?

@dlcusa

This comment has been minimized.

Copy link

dlcusa commented Feb 2, 2018

I also am experiencing this using ALSA (and also JACK which sees no connection ports for ssr). MuseScore2 at least generates audio via a slaved FluidSynth instance, but when I play back a recording of MuseScore2 playing a score (that I hear through the external speakers connected to my SB Audigy while making the recording), there is no sound coming from VLC (but playing a local .wav is nominal). Is there a way to determine there is non-null audio in the mp4?

@MaartenBaert

This comment has been minimized.

Copy link
Owner

MaartenBaert commented Feb 4, 2018

@dlcusa That doesn't sound like an SSR problem. I can't help you with general audio debugging. Try googling 'linux sound ' for the hardware you are using to see what others are doing.

@dlcusa

This comment has been minimized.

Copy link

dlcusa commented Feb 5, 2018

Thank you very for the response. I have been and will continue to research ALSA and JACK docs and if necessary will explore ssr source as well.

@QuImUfu

This comment has been minimized.

Copy link

QuImUfu commented Feb 7, 2018

in order to use alsa with ssr to capture your system sound you have to (afaik) create a loopback device, make it the default device, so that applications use it and forward it to your default audio output. (all this can be done via the alsa config file.) Recording your mic should work out of the box.
Than let ssr record from that loopback device.
Jack should be easier. If you start recording a new input will appear in QjackCtl. Connect the program (that also needs to use jack for this to work) that you want to record to that input, and vola, everything works as expected. Sadly very few programs support jack.
Of curse, if you have a loopback alsa device, you can forward it to jack (via /usr/bin/alsa_out and /usr/bin/alsa_in)and then QjackCtl can connect that to ssr as well. If the programs you are using support choosing the alsa output device, you could even create multible loopback devices and give each one a name fitting the application you want to use with it.

@dlcusa

This comment has been minimized.

Copy link

dlcusa commented Feb 8, 2018

I'm exploring the kernel snd-aloop module as well as the alsa_in and alsa_out programs as discussed here but a family health situation is really slowing things down right now. Thanks for the information.

@shoober420

This comment has been minimized.

Copy link
Author

shoober420 commented Feb 8, 2018

Because this has gotten so much attention, even though some of these scenarios may not match mine, im going to try to record another video and see if I get audio this time. I do have a mic for playing games online and it works perfectly.

I refuse to use Pulseaudio. I have no use for it.

@dlcusa

This comment has been minimized.

Copy link

dlcusa commented Feb 9, 2018

PulseAudio is for consumer-grade sound apps. Serious sound media work requires ALSA/JACK, which requires lots of skull-sweat to grok. Though static for a decade, this is as good an overview of ALSA as I've encountered thus far. Also helpful is this link.

I am looking forward to your video, shoober420.

@shoober420

This comment has been minimized.

Copy link
Author

shoober420 commented Feb 11, 2018

I'll get to that video once that compile bug I submitted geta fixed

@shoober420

This comment has been minimized.

Copy link
Author

shoober420 commented Feb 27, 2018

I tried recording another video with version 27.2, and it still doesn't record audio. I'll try recording some audio in audacity and see if it works

@Karmenzind

This comment has been minimized.

Copy link

Karmenzind commented May 2, 2018

@shoober420 have you solved this?

@shoober420

This comment has been minimized.

Copy link
Author

shoober420 commented May 3, 2018

I'll try again tomorrow and see if this ironed itself out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.