You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configurationcd VostokRadioLite and then edit the Makefile change $(PI3_FLAGS) to $(PI_FLAGS) if using the PI zero or Zero 2W.
Compilation: simply run make
Installation: cp ./vtkradio /usr/bin or where ever you want to put it.
Configuration: the sample_cfg file has all the configuration options available, pass it to vtkradio: vtkradio ./sample_cfg and it will show you the active configuration.
Setup: if your pilot is not on 19khz sharp, you might have to overclock/underclock, trim the DAC+ clock via alsamixer, so that the two oscillators are in sync.
Configuration file guide
The configuration file format expects no spaces between the key, the equals sign, and the value.
Please follow the file format as specified, do not file bug reports if you are not sure the format is exactly correct
(discard_samples) this lets you adjust the sample rate if the input rate is too fast, you increase this value. Does not actually drop samples but instead performs FIR resampling.
This section specifies what alsa interface to use for the playback (oface) and for recording (iface) for the real time processing
This section contains the percentage of the pilot tone with respect to the signal(pilot_amp), the percentage of the 38khz modulation with respect to the signal(stereo_ratio).
It also contains (negmod) which provides negative amplitude modulation of the pilot tone if the sound card or anything outside modulates the pilot tone, causing annoying ultrasonic artifacts in the audio. Set it to a negative value for positive modulation. This is a problem with the DAC+, the PI DAC+ contains an onboard headphone amplifier which draws current from the local power rail. Hence, it affects the amplitude of all outputs and causes negative pilot tone modulation. This parameter is to compensate for it.
The (c1_mpx) and (c2_mpx) fields specify whether to use the right or left channel or both for MPX instead of mono audio.
The (antialias) flag can be set to 0 to disable the alias filter that is applied after the FFT limiter. It is highly recommended to have it on(set to one).
The (a0,a1,a2) define the convolution window that anti-aliasing uses. For now only a 3 point window is available.
The (release) defines the speed at which the final limiter disengages
The (lookahead) defines how many samples ahead of time the limiter starts acting
(pre_amp) specifies the pre-amp constant of the incoming audio before the agc(the agc comes before the complex limiter)
(lookahead) specifies how many samples to process for each FFT coefficient transition inside the limiter(basically, lookahead like a regular limiter)
(post_amp) specifies the pre-amp after the limiter before the MPX section
(limit) specifies the maximum of the sum of amplitudes of all the frequency bins in the limiter.
(save_harmonics) say if 1khz is really loud and everything else is quiet, setting this to a low value will bring the quiet part up and limit 1khz, setting to a high value will do the opposite. Be careful setting this to a low value.
(bins) the number of bins to split the frequency range of 1 - 16 khz in to. only values 5,9,15,30,45 are accepted. higher values will give less of a "sound through the tube" effect but will require more processing power.
(basscut) cuts off bass before the limiter (for transmitters that are not able to properly transmit bass)
This controls how much bass to add. Do not add too much bass if your transmitter has attenuated bass; this will make the other parts of the audio sound distorted by the bass.