Giter Club home page Giter Club logo

Comments (6)

billw2 avatar billw2 commented on June 14, 2024

from pikrellcam.

Sp4rkR4t avatar Sp4rkR4t commented on June 14, 2024

When a recording ends the line in the log is like this;

Manual record stop (size:4.1MB < /tmp:85949.0MB) vid_time:5.50 vid_fps:24.01 audio_frames:131961 audio_rate:24000

This is what I get from arecord --dump-hw-params /dev/null

arecord --dump-hw-params /dev/null
Recording WAVE '/dev/null' : Unsigned 8 bit, Rate 8000 Hz, Mono
HW Params of device "default":

ACCESS: MMAP_INTERLEAVED RW_INTERLEAVED
FORMAT: S16_LE S24_LE S32_LE
SUBFORMAT: STD
SAMPLE_BITS: [16 32]
FRAME_BITS: [32 64]
CHANNELS: 2
RATE: [8000 192000]
PERIOD_TIME: (166 8192000]
PERIOD_SIZE: [32 65536]
PERIOD_BYTES: [256 524288]
PERIODS: [2 4096]
BUFFER_TIME: (333 16384000]
BUFFER_SIZE: [64 131072]
BUFFER_BYTES: [256 524288]
TICK_TIME: ALL

arecord: set_params:1339: Sample format non available
Available formats:

  • S16_LE
  • S24_LE
  • S32_LE

from pikrellcam.

billw2 avatar billw2 commented on June 14, 2024

from pikrellcam.

Sp4rkR4t avatar Sp4rkR4t commented on June 14, 2024

Ok, when I use arecord -d 2 -D plughw:1 -f S16_LE -r 24000 test.wav the resulting file is silent as well so it must be the settings that are the issue, when I was testing the mic previously I was using arecord -d 2 -D plughw:1 -r 48000 -f S32_LE test.wav and that worked fine.

from pikrellcam.

billw2 avatar billw2 commented on June 14, 2024

from pikrellcam.

Sp4rkR4t avatar Sp4rkR4t commented on June 14, 2024

Tested it, the format is the issue I've reported this to adafruit, hopefully they can help. Thank you for helping me troubleshoot this device with your excellent software.

from pikrellcam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.