First, thanks for reading my question experts.
Im trying to implement a Continous Phase Frequency Shift Keying Modulation (CPFSK) to stream audio, for the design of the modulator, i implemented my modulation system in the GNUradio for simulate it in prior to use a USRP1 from Ettus Research.
Some details
I decided to put every variable in function of the bit rate needed. in my example im using a bitrate R=1024e3 (bits per second), this means.
- Sample_Rate=16*R (Samples/Second)
- Modulation_Rate=R/2 (Symbols/Second)
- Modulation_index=1.05
- -/+ FM_Deviation_rate=h*R/2 (Hertz)
- Samples_per_Symbol=2*Fs/R (Samples/Symbol)
The CPFSK block needs 2 variables: K, which is Modulation index and SPS whis is Samples_per_Symbol.
My problem is when im trying to import a WAV file to stream, which has a frecuency spectrum detail in music.png, Sample_Rate=44.1 KHz and one channel of audio.
Im using the vocoder CVSD since it works better for my application, it needs2 fields
- Resample: To increase the Samples (Interpolation)
- Fractional Bandwidth: 0.5 (The best quality)
My question is related to this Resample field (How can i use this variable to obtain a Bitrate variable?)
Bitrate=function(R,fa)
Thanks