We have moved to a new Sailfish OS Forum. Please start new discussions there.
0

How to access microphone from terminal?

asked 2015-02-03 12:36:45 +0200

updated 2015-12-21 23:06:25 +0200

piero gravatar image

Hello!

How to access microphone from terminal?

Something like

cat /dev/dsp >> sound.raw

I found only /dev/dsp_debug, not sure is it right?

edit retag flag offensive close delete

Comments

/dev/dsp is very old OSS stuff and deprecated since forever, more or less.

onion ( 2017-05-30 11:18:38 +0200 )edit

1 Answer

Sort by » oldest newest most voted
5

answered 2015-02-03 13:09:12 +0200

pichlo gravatar image

To record,

parec filename

Ctrl+C to stop. File will be recorded in a raw audio format. Try --help for options.

To play back,

pacat filename
edit flag offensive delete publish link more

Comments

thank you!

zaharov.andrei ( 2015-02-03 13:37:33 +0200 )edit
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2015-02-03 12:36:45 +0200

Seen: 984 times

Last updated: Feb 03 '15