Page 1 of 1

rec. sound from comp. works in XP not in puppy [SOLVED]

Posted: Sat 18 Sep 2010, 11:35
by hanzf
Hello,
I have both Win XP and Puppy 4.1.2 on my computer. In Win XP, I use Audacity 1.2.6 to record the sound that the computer is playing. I can choose "Stereomix" (german software version) from the audacity input selector. The same with Windows Audio Recorder.
In puppy, however, this is not possible. Neither Audacity 1.3.7 (Unicode) nor mhWaveEdit allow me to record the computer sound output. Is there something basically different with Linux sound handling that makes this impossible, can that be fixed or worked around, or is it because of the recording software versions I use?

Thank You

Posted: Sat 18 Sep 2010, 12:05
by Lobster
can that be fixed or worked around
The early versions of Puppy did record.
out of the box.

You can record in some Puppys - for example Teenpup worked for me.
I had to try many to find that and your setup may be different . . .

It seems to be the drivers.

Audacity worked very well around about the 3 series
. . . and then we upgrade and the testing is lost . . .

Probably ALSA is not perfect :cry:

Recording does work in other Linux
but is not consistent.

I have two sound cards
and have to resort to recording onto an SD card
with my video camera and uploading that into mhwavedit.

I also find that USB mics are better.
Many people do and are able to record.

You might find Puppy Studio which uses different drivers
is more effective:
http://www.murga-linux.com/puppy/viewtopic.php?t=57447

Posted: Sat 18 Sep 2010, 12:40
by nooby
I also want to be able to do what hanzf ask for.

I could do it on my HP/Compaq in Vista using Audacity and Lame???? something combined. There was a description on how to set them up together and suddenly it worked for me too more out of luck than me really getting or remembering how to.

But I don't want to use Ms at all. So would be cool to do the same .

I used it on Spotify so the sound from the soundcard got tapped by the internal connection not any need to use microphone plug or anything.

Hope somebody knows how to set up Audacity in Puppy to do the same.

Posted: Sat 18 Sep 2010, 14:16
by stu90
Had no luck trying to record desktop sounds either - looked in 'alsamixer' the capture volume was set at zero, set full blast and it still doesn't work for me. :?

Posted: Mon 20 Sep 2010, 11:42
by nooby
Gently bumping this so the savvy developer see it and get motivated to share the good news on how one do it. :)

recording sound in puppy

Posted: Tue 21 Sep 2010, 14:59
by vinceRABBIT
Hello People,

i was also trying to use Puppy to record any sound the laptop was making.

Puppy already contains a tool to do this in the multimedia menu. MwEDIT or something.

However, somebody told me that to record sound you must look at the alsa mixer and press "tab" to get you into the "recording" settings window. Then you select "mix" as the source of the sound and try some sliders there.

Ofcourse, i had never used alsa before so did not know about "tabbing" into it's recording window. Alsa does not mention this tab button anywhere on it's interface....so


hope this helps you

There are also "cutsom" tools to record sound. Tools that are very efficient. One such tool is "Precord".

Vince.

recording sound in puppy

Posted: Tue 21 Sep 2010, 14:59
by vinceRABBIT
Hello People,

i was also trying to use Puppy to record any sound the laptop was making.

Puppy already contains a tool to do this in the multimedia menu. MwEDIT or something.

However, somebody told me that to record sound you must look at the alsa mixer and press "tab" to get you into the "recording" settings window. Then you select "mix" as the source of the sound and try some sliders there.

Ofcourse, i had never used alsa before so did not know about "tabbing" into it's recording window. Alsa does not mention this tab button anywhere on it's interface....so


hope this helps you

There are also "cutsom" tools to record sound. Tools that are very efficient. One such tool is "Precord".

Vince.

Posted: Tue 21 Sep 2010, 20:30
by rjbrewer
It can be done using the simple command line tool "Wavrec"; with
almost any pc and on some laptops.

It needs a cable from line or headphone out to line input or mic input.
It works on my Powerspec pc and Inspiron 4000 but not with the
Inspiron700m.
A little 2 jack headphone plug is necessary for splitting the signal
between headphone and mic or line so you can hear what you're doing.

With 5.1.1 I turn up retrovol sliders ;
Master
Pcm
Mic; for laptop mic input
Capture
Capture.so > mic for laptop mic input, line for pc line in

Play a stream to test;
In console type;

wavrec -s 44100 -S -t 9 test.wav

That should make a 9 second file in root or my documents;
drag to player

More instructions:

http://puppylinux.org/wikka/WavRec

http://www.linux.org/lessons/beginner/l ... on18b.html


Running a line level signal into a mic input is not recommended.

Posted: Tue 21 Sep 2010, 22:50
by Karl Godt
I think that 4.3.0/1 "streamtuner" might record streams.

installing streamtuner from debian.org at dpup-005 and lupu throws error Failed to execute child process "xmms" (no such file or directory)

and after installing a dozen xmms2 and symlinking xmms to xmms2 it still shows a large list of radio streams but won`t even play them ....

and I think I loose the will to hack the dependencies further for the moment ....

Posted: Wed 22 Sep 2010, 00:06
by Karl Godt
OK OK

""child process"" : created symlink ln -s /usr/bin/aqualung /usr/bin/xmms

downloaded "streamripper" from debian squeeze http://packages.debian.org/squeeze/streamripper

created symlink /usr/bin/rxvt /usr/binx-terminal-emulator and now I`ve got
/root/Gong 96,3 powered by www.nci.de/incomplete/ - EDWYN COLLINS+++a girl like you.mp3 /root/Gong 96,3 powered by www.nci.de/incomplete/ - HUEY LEWIS AND THE NEWS+++stuck with you.mp3 inside a folder /root/RADIOSTATION/incomplete/

Posted: Wed 22 Sep 2010, 00:23
by Karl Godt

Posted: Wed 22 Sep 2010, 19:55
by rjbrewer
In my previous post about "wavrec" I said headphones and cable
into laptop mic input is needed .
Turns out that is not the case.

The old Inspiron with Maestro3 sound will record anything I can hear
just by typing (wavrec -s 44100 -S -t 9 test.wav) in console.

The "9" after the "-t" is the time in seconds you want it to record.
The Tom Waits concert I'm recording will need 8700 seconds.
Will probably be over 2gb wav file. (actually about 10mb per minute)

Retrovol in 5.1.1 is set;
Master
Pcm
Capture
Capture.So = mix

edit;

Vlc 0.8.6 lite will record some audio streams with my 4.1.2 install.

Re: recording sound in puppy

Posted: Fri 24 Sep 2010, 20:16
by hanzf
vinceRABBIT wrote: However, somebody told me that to record sound you must look at the alsa mixer and press "tab" to get you into the "recording" settings window. Then you select "mix" as the source of the sound and try some sliders there.
On my computer, alsamixer has a slot named "mix" but there is no slider to move. (see alsamixer.png)
rjbrewer wrote: The old Inspiron with Maestro3 sound will record anything I can hear
just by typing (wavrec -s 44100 -S -t 9 test.wav) in console.
My computer turns out to be unable to produce any sound when wavrec is running. When I start wavrec while sound is being played, it only says:

Code: Select all

Device or resource busy:
Opening audio device /dev/dsp
and terminates.
rjbrewer wrote:Retrovol in 5.1.1 is set;
Master
Pcm
Capture
Capture.So = mix
Where can I find these settings?

Re: recording sound in puppy

Posted: Fri 24 Sep 2010, 23:23
by rjbrewer
hanzf wrote: My computer turns out to be unable to produce any sound when wavrec is running. When I start wavrec while sound is being played, it only says:

Code: Select all

Device or resource busy:
Opening audio device /dev/dsp
and terminates.
rjbrewer wrote:Retrovol in 5.1.1 is set;
Master
Pcm
Capture
Capture.So = mix
Where can I find these settings?
Retrovol only exists in the latest Puppies; 4.12 has a simpler volume
control.

My old Inspiron will do wavrec, but the700m will not.
I get the same "resource busy" "/dev/dsp" as you do.
I haven't found a solution to the problem; but I think it has
something to do with the intel audio and modem sharing the
the same onboard device.(snd-intel8x0, snd-intel8x0m)
"The winmodem curse?"

The Maestro sound card in the old Inspiron does not share.

I was able to use Vlc with 4.12 to record shoutcast streams;
and it should work for others also, once I learn how to use it.

Posted: Sat 25 Sep 2010, 01:14
by disciple
Retrovol only exists in the latest Puppies;
But you can of course install it (from the forum) in earlier puppies.
My computer turns out to be unable to produce any sound when wavrec is running. When I start wavrec while sound is being played, it only says:

Code: Select all

Device or resource busy:
Opening audio device /dev/dsp
I think maybe that means wavrec is using oss (well actually alsa's "oss emulation", since puppy doesn't include the real oss). See if you can figure out how to make it use alsa.
But you shouldn't need to use wavrec anyway. You should be able to record with any of the gui recording applications - you just need to make sure "mix" is selected as the input - in alsamixer or retrovol or wherever. Some of the recording applications have the setting themselves too.
On my computer, alsamixer has a slot named "mix" but there is no slider to move. (see alsamixer.png)
Yes, there is usually (always?) no slider for mix - you control the volume with the main "Capture" slider (or maybe the "Master" output slider, and "PCM" output slider or whatever). But you need to select "Mix" as the output device (in alsamixer you select it with the space key).

Posted: Sat 25 Sep 2010, 11:58
by hanzf
disciple wrote:Yes, there is usually (always?) no slider for mix - you control the volume with the main "Capture" slider (or maybe the "Master" output slider, and "PCM" output slider or whatever). But you need to select "Mix" as the output device (in alsamixer you select it with the space key).
Thank you disciple, now it works, I can get the desktop sound with audacity!

Posted: Mon 27 Sep 2010, 19:55
by vtpup
Yes, there is usually (always?) no slider for mix - you control the volume with the main "Capture" slider (or maybe the "Master" output slider, and "PCM" output slider or whatever). But you need to select "Mix" as the output device (in alsamixer you select it with the space key).
One slight additional note -- took a half hour of hair pulling to figure out:

Hit the space bar for BOTH Mix and Capture

In my case Capture had volume all the way up and wasn't muted, and Mix had been selected (little red letters either side of it) but still nothing on the VU meters in MHWavedit's record mode.

After trying to select all of the possible inputs (which removed the selection from Mix), I accidentally selected Capture as well as Mix -- for some reason these are the only two that can be selected simultaneously. Bingo the meters jumped to life and I could record from streaming input from the browser.

Hope this helps.

Posted: Mon 27 Sep 2010, 23:57
by rjbrewer
Thanks Vt;

I hadn't even tried Mhwavedit on my 700m;
works great!

sound

Posted: Wed 29 Sep 2010, 22:00
by vinceRABBIT
Wow,

you all finally worked out how to get your laptop to record any sound it is making...into a file...(sounds coming from onboard media players or web pages)

what a nightmare to work out..

Do software designers think you are telepathic or something?

Does the Alsa mixer have a help page?.....and how easy is the help section about recording sound?

Does Alsa mixer have any visual cue on it's main window telling you to press TAB to get into recording windows?....if not?....WHY not? (bad design....)

Does alsa mixer tell you that to select certain inputs to become live you must press space bar?

Does Alsa mixer tell you that only when MIX and CAPTURE are both selected simultaneaously........ will it give you "recording"?

how on earth are you suppossed to know all this?....

this is infact WHY we need forums....i guesse.....

but to my mind it's bad software design.....if help pages are too complex and the interface lacks any visual cue's

the console approach looked a little tricky...

I feel Puppy should just come with the default ability to record the sound that the computer is making.

Puppy does not appear to come with this feature..... or readily advertize it......

such a common sense requirement that is missed in Puppy...


like so much in the computing world....common sense goes out of the window.

v.

Re: sound

Posted: Thu 30 Sep 2010, 08:03
by disciple
vinceRABBIT wrote:Do software designers think you are telepathic or something?
Does the Alsa mixer have a help page?.....and how easy is the help section about recording sound?
Does Alsa mixer have any visual cue on it's main window telling you to press TAB to get into recording windows?....if not?....WHY not? (bad design....)
Does alsa mixer tell you that to select certain inputs to become live you must press space bar?
...
how on earth are you suppossed to know all this?....
Alsamixer is a console application, so the answer is probably "man alsamixer" or "RTM". Puppy doesn't include man, but you can't blame the alsa developers for that. Some people think because it is a console (well, ncurses) application alsamixer should be removed from the menu; they are probably right.
Does Alsa mixer tell you that only when MIX and CAPTURE are both selected simultaneaously........ will it give you "recording"?
When you select MIX or CD or whatever you are selecting the record input, and when you select CAPTURE you are unmuting the recording. You're right, the way of selecting the capture source is bad UI design, but maybe it isn't possible to create a better UI with ncurses.
I feel Puppy should just come with the default ability to record the sound that the computer is making.
Puppy does. These days he comes with retrovol, which is the mixer you should be using. Just select "mix" in the "Capture source" control, and make sure "Capture" control is checked (i.e. unmuted) and has the volume up. There shouldn't be a need for alsamixer at all.
I haven't seen any operating system that makes this any easier than Puppy...[/quote]