All times are UTC+02:00

Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon Jan 09, 2017 10:55 pm 

Joined: Sun Jan 04, 2009 2:54 pm
Posts: 158
Location: Finland

Take a look at this:

It's an software that generates FM MPX (with RDS) and uses Raspberry Pi's GPIO 4 (GPCLK0, Pin 7 (?) on the board) to output it to the sky at an arbitrary frequency. The output is square wave, so naturally there are harmonics everywhere. You can use analog low or bandpass filter to make it... "legal" :D

Now I was wondering if anybody that can program in C would take a look at the code, and help to modify it so that you could transmit straight from stdin without resampling, stereo generating or RDS modulating, making it possible to use external 192k audio interface of even Ethernet to push samples... from Stereo Tool's MPX output for example! Now it upsamples to 228kHz which is 4 times 57kHz, to match the internal RDS encoder I presume without heavy resampling. I have asked the developer for this a while ago but he just pointed out a way to do it. It seems that the code has changed quite a bit from that time so his instructions do not apply, I think.

Here's the issue that I posted in 2015:

Could someone be so kind :)

PostPosted: Tue Jan 10, 2017 9:17 am 
User avatar

Joined: Tue Sep 15, 2015 12:22 pm
Posts: 273
You should probably start looking in pi_fm_rds.c, line 513, where there's a call to fm_mpx_get_samples.

Software Engineer @ Thimeo Audio Technology B.V.

Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+02:00

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited