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

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
hanzf
Posts: 161
Joined: Wed 11 Mar 2009, 21:39
Location: Belzig, Germany

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

#1 Post 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
Last edited by hanzf on Fri 22 Oct 2010, 13:01, edited 1 time in total.
Precise 5.7.1 frugal with .2fs
AMD Athlon 64 3700+
1000 MB RAM

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#2 Post 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
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#3 Post 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.
I use Google Search on Puppy Forum
not an ideal solution though

stu90

#4 Post 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. :?

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#5 Post by nooby »

Gently bumping this so the savvy developer see it and get motivated to share the good news on how one do it. :)
I use Google Search on Puppy Forum
not an ideal solution though

vinceRABBIT
Posts: 116
Joined: Thu 19 Aug 2010, 16:34

recording sound in puppy

#6 Post 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.

vinceRABBIT
Posts: 116
Joined: Thu 19 Aug 2010, 16:34

recording sound in puppy

#7 Post 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.

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#8 Post 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.
Last edited by rjbrewer on Wed 22 Sep 2010, 14:56, edited 1 time in total.

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#9 Post 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 ....

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#10 Post 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/

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#11 Post by Karl Godt »


User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#12 Post 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.

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

User avatar
hanzf
Posts: 161
Joined: Wed 11 Mar 2009, 21:39
Location: Belzig, Germany

Re: recording sound in puppy

#13 Post 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?
Attachments
alsamixer.png
(9.7 KiB) Downloaded 1159 times
Precise 5.7.1 frugal with .2fs
AMD Athlon 64 3700+
1000 MB RAM

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

Re: recording sound in puppy

#14 Post 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.

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#15 Post 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).
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
hanzf
Posts: 161
Joined: Wed 11 Mar 2009, 21:39
Location: Belzig, Germany

#16 Post 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!
Precise 5.7.1 frugal with .2fs
AMD Athlon 64 3700+
1000 MB RAM

User avatar
vtpup
Posts: 1420
Joined: Thu 16 Oct 2008, 01:42
Location: Republic of Vermont
Contact:

#17 Post 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.

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#18 Post by rjbrewer »

Thanks Vt;

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

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

vinceRABBIT
Posts: 116
Joined: Thu 19 Aug 2010, 16:34

sound

#19 Post 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.

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

Re: sound

#20 Post 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]
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

Post Reply