How do I record the sound from the microphone and headphones in one file.
ffmpeg -f pulse -i alsa_input.pci-0000_03_00.6.analog-stereo -f pulse -i alsa_output.pci-0000_03_00.6.analog-stereo.monitor ~/audio.mp3
I can record one thing.
You could try Audacity, available in the AUR:
$ pamac search audacity
audacity 1:2.4.1-4 community
A program that lets you manipulate digital audio waveforms
I do not know if it can do that, exactly. But you can record from the microphone and combine it with the backtrack. (You mentioned from the speakers, so I am assuming it’s a backtrack.)
Hope this helps!
Have a look at this as well: Tutorial - Multi-track Overdubbing - Audacity Manual
This might be it. But there are so many parameters that I could not find the necessary ones.
It is the “amix” filter.
ffmpeg -i input0.mp3 -i input1.mp3 -filter_complex amix=inputs=2:duration=longest output.mp3
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.