Basic Microphone Integration

Hi all,

I’ve got my packet based radio working now, so I want to test it by
talking
into a mic on the transmitter laptop and playing the stream on the
speakers
of the receiver laptop.

I realized I don’t know how to integrate the audio sink floating point
output of the mic to my byte based radio input. I assume there is an
encoder that handles this transition, but I’m not familiar with audio
streaming at all.

How should I integrate the mic at the transmitter side and the speakers
at
the receiver side?

I looked for an example online but didn’t find anything. I thought there
was a tutorial at one point on this but maybe I’m wrong.

v/r,
Rich

The audio sinks do that; you might have to use your OS’s mixer settings
for selecting the mic.

The audio sink/source are like the UHD blocks in that you pipe in
floats, and 1 maps to FS. So keep your abs value below 1 and you’re
good.

gr-audio has some examples for you to peruse.

M

Thanks Martin, got it.

Rich

On Tue, Mar 24, 2015 at 4:43 PM, Martin B. [email protected]

On Tue, Mar 24, 2015 at 5:24 PM, Richard B. [email protected]
wrote:

Thanks Martin, got it.

Rich

And if you’re going farther with this line of thought, look into
vocoders
and what we have in gr-vocoder.

Tom

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs