Author Topic: internal audio type encoding  (Read 3717 times)

xyswitchz

  • Newbie
  • *
  • Posts: 26
    • View Profile
internal audio type encoding
« on: March 30, 2018, 05:29:40 PM »

In the file echo.sh example file included with yate; raw audio data is redirected back with the cat command.
I want to pipe this to sox to do some processing.

What is the type, encoding, sample of this internal audio format?

Monica Tepelus

  • Administrator
  • Full Member
  • *****
  • Posts: 198
    • View Profile
Re: internal audio type encoding
« Reply #1 on: April 02, 2018, 02:47:18 AM »

xyswitchz

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: internal audio type encoding
« Reply #2 on: April 02, 2018, 04:02:39 AM »
Hi Monica

I want to do like this

cat <&3 | sox ...

is it possible. What are the parameters for the raw audio

Monica Tepelus

  • Administrator
  • Full Member
  • *****
  • Posts: 198
    • View Profile
Re: internal audio type encoding
« Reply #3 on: April 02, 2018, 06:56:05 AM »
Hi,

We used to record files in one of the supported formats and then when call ended we used sox / other programs to convert audio/merge multiple files. When call ended we triggered an external script that triggered processing.

The format should be signed linear, rate 8000, but i'm not 100% sure. You should try to verify this.