Support 48000Hz sample rate

Home Forums OpenEars plugins Support 48000Hz sample rate

Viewing 4 posts - 1 through 4 (of 4 total)

  • Author
    Posts
  • #1019069
    tonylee
    Participant

    I am going to use RapidEars with some audio detector library. But it works only when 44100Hz or above. But I found that RapidEars only works for 8k or 16kHz. Can it support 48kHz sample rate?

    #1019070
    Halle Winkler
    Politepix

    Welcome,

    Sorry, RapidEars is only supported at 16kHz input. The 8k option in OpenEars isn’t supported for RapidEars or stock PocketsphinxController; it’s made available for the cases in which you want to only do speech detection (without recognition) and then do something different than offline recognition with the speech after it is detected and would prefer to take in 8k speech. But offline recognition needs to be done at an input rate of 16k.

    You can give it a try with changing the sample rate or letting the other library override it and see what the results are — sometimes with a small and unique vocabulary the results can be acceptable for recognition, but it isn’t possible to give support for unexpected results or technical or implementation issues that could arise as a result.

    #1019071
    tonylee
    Participant

    Because the library makes use of ultrasound, it requires the sample rate higher than 38kHz. The RapidEars library forces the AudioSession to 16kHz which is far less than the requirement..

    And I think sub-sampling from 48kHz to 16kHz is quite easy (only skip 2 & 3 bytes). By supporting this feature RapidEars can also work well with other framework like AirPlay. I think it is valuable to implement.

    #1019072
    Halle Winkler
    Politepix

    Hi Tony,

    Thank you for your suggestion.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.