https://www.waveshare.com/rtc-watchdog-hat.htm
watchdog-device = /dev/watchdog1
interval = 30
https://www.waveshare.com/rtc-watchdog-hat.htm
watchdog-device = /dev/watchdog1
interval = 30
typedef struct { | |
float attack_rate; | |
float decay_rate; | |
float reference; | |
float max_gain; | |
float gain; | |
} agc_t; | |
void agc_init(agc_t *agc, float attack_rate, float decay_rate, float reference) { | |
agc->attack_rate = attack_rate; |
// | |
// doublemap.c | |
// spieserver | |
// | |
// Created by Albin Stigö on 2019-12-08. | |
// Copyright © 2019 Albin Stigo. All rights reserved. | |
// | |
#include "doublemap.h" |
AUDIO_CAPS="audio/x-raw,format=S16LE,rate=24000"
RTP_CAPS="application/x-rtp,media=(string)audio,clock-rate=(int)48000,encoding-name=(string)OPUS,payload=(int)96"
REMOTE=192.168.1.10
Notes about the Yaesu FC-30 tuner connected to the FT-891 radio. I have not been able to find any information online at all about the propriatry protocol used, so I’m compiling this from my observations.
The ultimate goal of this project is to connect an Icom AH-4 tuner to Yaesu radios.
Data shown is hex. Data in [brackets] are from tuner. Data without brackets are from radio.
Seems tuning is done in three steps:
# Builds GNURadio C++ OOT modules for Raspberry Pi 3 | |
# Created sysroot like this: | |
# rsync -rl --delete-after --safe-links [email protected]:/{lib,usr} $HOME/src/sysroot | |
# used clang 7.0 and binutils 2.31 | |
# mkdir build | |
# cd build | |
# cmake -DENABLE_DOXYGEN=OFF -DCMAKE_TOOLCHAIN_FILE=~/src/rbpi3.cmake .. |
#if defined(__GNUC__) && !defined(__ARM_NEON__) && !defined(__ARM_NEON) | |
#error "compiling simd-neon.h requires -mfpu=neon or equivalent" | |
#endif | |
void deint_scale_mix(int16_t *frames, float complex *m, float complex *iq | |
*) { | |
float scale = 1./32767; | |
/* Deinterleave, scale and mix */ |
defaults.pcm.rate_converter "speexrate_best" | |
pcm.funcube { | |
type hw | |
card V20 | |
device 0 | |
rate 192000 | |
format S16_LE | |
channels 2 | |
} |
package epoll | |
import ( | |
"golang.org/x/sys/unix" | |
"os" | |
) | |
type Op uint32 | |
const ( |