miegl / PiFmAdv

Advanced Raspberry Pi FM transmitter with RDS encoding
GNU General Public License v3.0
487 stars 82 forks source link

Send raspberry audio to the station #53

Closed SuperFurryTheAwesome closed 2 years ago

SuperFurryTheAwesome commented 5 years ago

Hai i am kinda new in raspberry world soo i wanted to send raspberry audio system to the station since it can be easier for me to send audio instead of writing the code all the time so how can i do it? i am using raspbian

miegl commented 5 years ago
pacmd load-module module-pipe-sink file=/tmp/pulse.fifo
pacmd list-sinks  # search your default sink
pacmd load-module module-combine-sink slaves=yoursink,fifo_output
pacmd set-default-sink combined

And then run pi_fm_adv --audio - < /tmp/pulse.fifo

Let me know if this works.

miegl commented 2 years ago

Or with parec.