1

I am trying to generate data for cryptopurposes in a similar fashion to Random.org except locally so the data isn't passed over the Internet.

I found this guide: http://openfortress.org/cryptodoc/random/

However, when I use "rec" it doesn't work because "/dev/dsp" has long been depreciated.

The command I'm running is:

rec -c 1 -d /dev/dsp -r 8000 -t wav -e signed-integer w  - | ./noise-filter >bits

Would this work as long as I change the input device to where ever the Microphone input is? If so, where is that? (I'm running 14.04)

1 Answer 1

1

There is no such device these days. I believe what you want is:

arecord -f S16_LE | ./noise-filter > bits
3
  • alsa to the rescue! +1
    – Elder Geek
    Nov 11, 2014 at 3:11
  • Thanks so much for the help. This worked with one minor modification: arecord -t raw -f S16_LE | ./noise-filter > bits Without "-t raw" it throws this error: Could not skip header of WAV file.
    – PopSmith
    Nov 11, 2014 at 22:18
  • @PopSmith, odd... the -t wav switch in your original command seems to be request wav instead of raw.
    – psusi
    Nov 11, 2014 at 22:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .