Emetteur Radio avec RDS.
1) Paquetage de base :
[~] ➔ sudo apt-get install libsndfile1-dev [~] ➔ sudo apt-get install ffmpeg
2) Répertoire de travail :
[~] ➔ mkdir -p MATERIEL/RADIO/RDS [~] ➔ cd MATERIEL/RADIO/RDS/ [~/MATERIEL/RADIO/RDS] ➔
3) Téléchargement du code source :
[~/MATERIEL/RADIO/RDS] ➔ git clone https://github.com/ChristopheJacquet/PiFmRds.git [~/MATERIEL/RADIO/RDS] ➔ cd PiFmRds/src/
4) Compilation :
[~/MATERIEL/RADIO/RDS/PiFmRds/src (master)] ➔ make clean [~/MATERIEL/RADIO/RDS/PiFmRds/src (master)] ➔ make
5) Test :
[~/MATERIEL/RADIO/RDS/PiFmRds/src (master)⚡] ➔ wget http://couturierr.perso.neuf.fr/e-xtinction/Chaos%20And%20Decay.mp3 [~/MATERIEL/RADIO/RDS/PiFmRds/src (master)⚡] ➔ ffmpeg -i Chaos\ And\ Decay.mp3 -acodec pcm_s16le -ar 22050 -ac 1 carcariass.wav
6) Diffusion :
[~/MATERIEL/RADIO/RDS/PiFmRds/src (master)⚡] ➔ sudo ./pi_fm_rds -freq 100 -audio carcariass.wav -ps Metal666 -rt 'Metal Radio 666' Using mbox device /dev/vcio. Allocating physical memory: size = 3403776 mem_ref = 5 bus_addr = fd63a000 virt_addr = 0x767d6000 ppm corr is 0.0000, divider is 1096.4912 (1096 + 2012*2^-12) [nominal 1096.4912]. Using audio file: carcariass.wav Input: 22050 Hz, upsampling factor: 10.34 1 channel, monophonic operation. Created low-pass FIR filter for audio channels, with cutoff at 8820.0 Hz PI: 1234, PS: "Metal666". RT: "Metal Radio 666" Starting to transmit on 100.0 MHz. Terminating: cleanly deactivated the DMA engine and killed the carrier.
7) Vidéo
8) Lien :
https://github.com/ChristopheJacquet/PiFmRds
Comments are closed, but trackbacks and pingbacks are open.