Record audio with SimpleScreenRecorder? [ SOLVED ]

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
Amaponian
Posts: 63
Joined: Wed 01 May 2013, 03:53
Location: Venezuela
Contact:

Record audio with SimpleScreenRecorder? [ SOLVED ]

#1 Post by Amaponian »

Why I can't record audio with SimpleScreenRecorder ?
Has someone done this with PuppyLinux?

Greetings !
Last edited by Amaponian on Tue 31 May 2016, 14:36, edited 1 time in total.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#2 Post by bigpup »

What version of Puppy?
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

Sailor Enceladus
Posts: 1543
Joined: Mon 22 Feb 2016, 19:43

#3 Post by Sailor Enceladus »

Hi Amaponian,

This solution by Pelo helped me: http://www.murga-linux.com/puppy/viewtopic.php?p=905246#905246

User avatar
Amaponian
Posts: 63
Joined: Wed 01 May 2013, 03:53
Location: Venezuela
Contact:

#4 Post by Amaponian »

I solved the problem following the steps described in this post:
http://www.murga-linux.com/puppy/viewtopic.php?t=95431
Thanks to disciple who provided the link.
Also thanks to Sailor Enceladus (previous post) who led me to the post where I found the final help.

This worked for my Distro: tahrpup64 6.0.5

Three steps:

1. Append to the file /etc/asound.conf this code:

Code: Select all

pcm.!default { 
  type asym 
  playback.pcm "LoopAndReal" 
  #capture.pcm "looprec" 
  capture.pcm "hw:0,0" 
} 

pcm.looprec { 
    type hw 
    card "Loopback" 
    device 1 
    subdevice 0 
} 


pcm.LoopAndReal { 
  type plug 
  slave.pcm mdev 
  route_policy "duplicate" 
} 


pcm.mdev { 
  type multi 
  slaves.a.pcm pcm.MixReale 
  slaves.a.channels 2 
  slaves.b.pcm pcm.MixLoopback 
  slaves.b.channels 2 
  bindings.0.slave a 
  bindings.0.channel 0 
  bindings.1.slave a 
  bindings.1.channel 1 
  bindings.2.slave b 
  bindings.2.channel 0 
  bindings.3.slave b 
  bindings.3.channel 1 
} 


pcm.MixReale { 
  type dmix 
  ipc_key 1024 
  ipc_perm 0666 
  slave { 
    pcm "hw:0,0" 
    rate 48000 
    #rate 44100 
    periods 128 
    period_time 0 
    period_size 1024 # must be power of 2 
    buffer_size 8192 
  } 
} 

pcm.MixLoopback { 
  type dmix 
  ipc_key 1025 
  ipc_perm 0666 
  slave { 
    pcm "hw:Loopback,0,0" 
    rate 48000 
    #rate 44100 
    periods 128 
    period_time 0 
    period_size 1024 # must be power of 2 
    buffer_size 8192 
  } 
} 
2. Execute in terminal/console this command: modprobe snd-aloop (you'll probably want to add this to your Startup)
3. Set the Audio Input in SimpleScreenRecorder as specified in the following lines, then complete your recording with SimpleScreenRecorder.
For recording audio using another app see the link provided at the beginning of this post.
Attachments
SimpleScreen - Audio Input.jpg
(32.22 KiB) Downloaded 461 times

gcmartin

#5 Post by gcmartin »

This should be a PET so that PUP distro developers can include in future distros. OR, it should be a feature in PUP distros.

Anyone know if this is included in any PUP distros?

Pelo

How to use SSR

#6 Post by Pelo »


User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#7 Post by charlie6 »

Hi,
tons of thanks to Amaponian !
Amaponian wrote:I solved the problem following the steps described in this post:
http://www.murga-linux.com/puppy/viewtopic.php?t=95431
...
Three steps:
1.
2.
3.
Here -on Dpup Stretch 7.5 RC4- needed to add a step:
between step 1. and step 2. in Amaponian's post
1.1 Reboot computer
in order ALSA to apply the new asound.conf

To test if the "sound recording" is working, one might press the "Display Preview" (see herunder shot) button in the last SSRs dialog box: there the preview window has 2 vu-meter scales.
Sound recording is working if those scales are green/yellow/orange coloured, and moving according to sound intensity (provided the video to be recorded is playing! - if not, they keep grey coloured).

To mention:
if one might unload the snd_aloop module, type in terminal

Code: Select all

# modprobe -r snd_aloop
HTH
Charlie
Attachments
SSR(1).jpg
(187.01 KiB) Downloaded 164 times

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#8 Post by Mike Walsh »

@ charlie6:-

I have to admit, I found a much simpler solution.....completely by accident!

Around a year ago, I was shopping around for a USB 'headset' - combined headphones with a 'boom' microphone, which I wanted for doing screencasts. As it turned out, the Logitech model I purchased (an H340) has its own, built-in soundcard in the rather chunky USB connector.

To my complete astonishment, once I'd set the headset as the default soundcard, not only did audio recording work perfectly in SimpleScreenRecorder.....it also worked A-OK in RecordMyDesktop, XVidcap, and wiak's WeX screencaster, too!

The only caveat? Just make sure that whatever the headset's card is - in my case, 'hw:2' - is selected in every app's preferences. Some like it named specifically; others simply need it to be set as the default.

Seemingly, all the awkward 'workarounds' folk have always needed to employ in Puppy over the years for audio recording are smoothly taken care of by the chipset this thing's soundcard uses. I can't recommend it enough.

Even under Linux, this thing just 'works'.....in large part, I would guess, due to having that built-in soundcard (which cuts down on all the 'hoops' your system's built-in card otherwise needs to jump through in order to get a connection established).

https://www.logitech.com/en-gb/product/usb-headset-h340


Image


Notice the relative size of that USB connector. That's where the sound-card lives.

The boom microphone is a short, stubby type.....with digital noise-cancelling built in. (Works well, too; it really cuts down on stray, background noises.)

And changing the default soundcard is a breeze in the newer Pups, with the modern version of the ALSA Wizard's GUI. Easy-peasy....


Mike. :wink:
Last edited by Mike Walsh on Thu 25 Jul 2019, 18:17, edited 2 times in total.

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#9 Post by charlie6 »

Hi Mike,
thanks for the info, as also for the link!

with a built in audiocard ...! :shock: ...Interesting headset !

Best regards
Charlie

Post Reply