Replies: 10 comments 8 replies
|
Please remember that RDS95 outputs a raw bpsk signal, meaning not on 57 khz and that raw signal goes to fm95 (NOT AS AUDIO), and that puts it on 57 khz (since 57 khz is supposted to be derived from pilot, and fm95 already does stereo so it was easier to do it like this) Also, its either audio or ascii g in rds95, not both EDIT: As of 11th July, this is no longer the case. |
|
You have to route the signal to fm95 to encode it via a virtual sink you can create one in pulseutils (pipewire and pulseaudio) like this configure fm95 and rds95 to use it and it should be on 57 khz |
|
as for rds2 the pactl command already has 4 channels, so no change there but the configs will have to change x should be a number 1-4 and has to be the same in both, otherwise you will NOT DECODE ANY RDS |
|
Thank you so much.. that helped a lot... I have the following settings, chris@mpxtest:~$ cat /etc/fm95/fm95.conf [devices] [advanced] [volumes] I am seeing 9% and 5% mod as expected on my testing device, but I am only achiving about 65% total mod when I inject audio, and the audio only lasts about 45 seconds before going silent, even though mpv continues to play or at least indicate audio flowing. Sorry - there was not example config files included in the package, so I am hoping I am not asking too dumb a question here |
|
BS412 activates after 45 seconds (warm-up, because the compresssor measures the loudness over the whole minute) - i had also this issue because the calculation for applying the strenght can output NaN for larger values on start, and since any operation with NaN also results in NaN, the entire mpx output becomes NaN just decrease your bs412_strenght and you should be fine (applying a higher value when it is running via reloading works fine, but not on startup). i use 3 as the value and it starts up fine as for 65% modulation, it is not really a real value, as it is without BS412 - don't take it into consideration |
|
also why is your preemp_unity at 1000? pre emphasis makes the treble louder, but it doesnt make the bass quieter, this is so the preemphasis doesn't make the audio too loud (preemp_unity is taken as a reference to where should it be 0 db, essentially if you put the lpf cutoff here, the treble isn't louder, but the bass is quieter) - i use 15000 here rds_step is also at 0 also it does not parse the device names, instead of doing
no worries - this is a complicated system meant to replace 100+ euro software and also to run on a raspberry pi so it is expected for there to be confusion |
|
Thank you so much for all your work and help - I really appreciate it. My settings were really just random values while I was trying to get everything working, so I'd definitely be interested to see what you're using if you're willing to share. I actually work in commercial broadcasting here in New Zealand, but this is a personal project. I know exactly what broadcast processors cost, which is one of the reasons I'm so interested in trying yours out. From what I've seen so far, I'm really impressed. I'm running everything on an Intel NUC, and I've discovered the built-in sound card is capable of 192 kHz output. It also supports PTP on the Ethernet interface. I don't actually need PTP for this project, but the hardware is phenomenal for the price. I'm not even sure whether I'm allowed to use RDS2 in New Zealand, and I'm not sure if many car radios here support it yet. That said, if I can get it working and figure out how to send the images, I might end up being the first person in the country to have it running! 😂 It'll only be on a 1-watt Low Power FM service, so it won't reach very far anyway! I've just started my weekend, and all of my test equipment is back at the office, so it won't be until Monday (my time) before I can confirm any changes to the settings. I'll definitely keep you posted. |
|
I have updated rds95 and fm95, and now they send the RDS data over a unix socket, which means you don't need to use the rds sink/source (you have to remove them actually, unrecognized keys which were settings nowcause an error at startup) EDIT: (this also provides a small benefit, as now the clock which the rds bits are transmitted is actually derivied from the pilot [or rather the pilot is derived from this clock, but that's the same thing] as the clock in rds would only be used for the 57 khz subcarrier itself, but not whats on it) - this can extend rds range on some receivers |
|
Hello, Thank you for that.. this weekend has been the only time I have had any time to set it up. Just got it running so going to test it today on air - but will change it up after my test.. But it sounds awesome from what I can see and hear - just do not have an RDS decoder so will need to do it on air to test properly :) |
|
Hello, I am feeling like a bit of an idiot.. chris@mpxtest:~/radio_dev$ cat /etc/fm95/fm95.conf [advanced] [devices] [volumes] chris@mpxtest:~/radio_dev$ cat /etc/rds95.conf [devices] I cant work out what I am doing wrong... |
Uh oh!
There was an error while loading. Please reload this page.
Hello,
This is my sound card - which clearly supports 192kHz.
chris@mpxtest:~/rds95/build$ arecord -D hw:2,0 --dump-hw-params /dev/zero
Warning: Some sources (like microphones) may produce inaudible results
with 8-bit sampling. Use '-f' argument to increase resolution
e.g. '-f S16_LE'.
HW Params of device "hw:2,0":
ACCESS: MMAP_INTERLEAVED RW_INTERLEAVED
FORMAT: S16_LE S32_LE
SUBFORMAT: STD MSBITS_MAX
SAMPLE_BITS: [16 32]
FRAME_BITS: [32 64]
CHANNELS: 2
RATE: [44100 192000]
PERIOD_TIME: (83 5944309)
PERIOD_SIZE: [16 262144]
PERIOD_BYTES: [128 2097152]
PERIODS: [2 32]
BUFFER_TIME: (166 11888617)
BUFFER_SIZE: [32 524288]
BUFFER_BYTES: [128 2097152]
TICK_TIME: ALL
arecord: set_params:1387: Sample format non available
Available formats:
chris@mpxtest:~/rds95/build$
No matter what I do when I start rds95 I hear data pulsing - when I set asciig to 0 I see the strings fly by but I never see a RDS sub carrier.
I am using a BW Encore to decode - I can see hte pilot, and it moves when I adjust its level in fm95
I get the L+R / L-R showing up correctly, so I know its producing the MUX, but just cant seem to get RDS working in this - and just wondering what I might be doing wrong :(
All reactions