- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
How can I detect frame type in GSMFR decoder?
In readme.txt there is:
Frame type (value): Speech VAD OFF (-1), SID (0), Speech VAD ON (1), Speech in Hangover (2)
But since all frames have the same length, I cant detect type based on length. Is there some header produced by GSM encoder that also stores type of frame? I also use other codecs, and so far I ignored SID frames and generated my own comfort noise. But I think there should be a better way to do it.
How can I detect frame type in GSMFR decoder?
In readme.txt there is:
Frame type (value): Speech VAD OFF (-1), SID (0), Speech VAD ON (1), Speech in Hangover (2)
But since all frames have the same length, I cant detect type based on length. Is there some header produced by GSM encoder that also stores type of frame? I also use other codecs, and so far I ignored SID frames and generated my own comfort noise. But I think there should be a better way to do it.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - jarol1
Hello
How can I detect frame type in GSMFR decoder?
In readme.txt there is:
Frame type (value): Speech VAD OFF (-1), SID (0), Speech VAD ON (1), Speech in Hangover (2)
But since all frames have the same length, I cant detect type based on length. Is there some header produced by GSM encoder that also stores type of frame? I also use other codecs, and so far I ignored SID frames and generated my own comfort noise. But I think there should be a better way to do it.
How can I detect frame type in GSMFR decoder?
In readme.txt there is:
Frame type (value): Speech VAD OFF (-1), SID (0), Speech VAD ON (1), Speech in Hangover (2)
But since all frames have the same length, I cant detect type based on length. Is there some header produced by GSM encoder that also stores type of frame? I also use other codecs, and so far I ignored SID frames and generated my own comfort noise. But I think there should be a better way to do it.
Hi there
The USC manual (see ./doc/uscmanual.pdf) in the clause Codec APIfor Encode function says that "... out->frametype is set to a codec-dependent bitstream frame type".
Encode(USC_Handle handle, USC_PCMStream *in, USC_Bitstream *out)
Best regards, Vyacheslav
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page