You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will download the software from this repository
61
61
```
62
-
chmod +x /home/pi/PiFM/setup-pi4.sh
62
+
chmod +x ~/PiFM/setup-pi4.sh
63
63
```
64
64
This changes the permissions to allow you to run the setup
65
65
```
@@ -71,11 +71,11 @@ sudo apt-get install git -y
71
71
```
72
72
This will install git, which allows you to download files from Github
73
73
```
74
-
git clone https://github.com/mundeepl/PiFM
74
+
git clone https://github.com/redmi4a-hype/PiFM
75
75
```
76
76
This will download the software from this repository
77
77
```
78
-
chmod +x /home/pi/PiFM/setup.sh
78
+
chmod +x ~/PiFM/setup.sh
79
79
```
80
80
This changes the permissions to allow you to run the setup
81
81
```
@@ -108,7 +108,7 @@ If at any point you wish to close the broadcast, make the terminal window active
108
108
## Advanced Users (those confident with a terminal)
109
109
You can also use PiFM using the terminal
110
110
```
111
-
cd /home/pi/PiFM/src
111
+
cd ~/PiFM/src
112
112
sudo ./PiFM
113
113
```
114
114
This will generate an FM transmission on 87.6Mhz, with default station name (PS), radiotext (RT) and PI-code (PI), without audio. The radio frequency signal is emitted on GPIO 4 (pin 7 on header P1).
Copy file name to clipboardExpand all lines: pifm.sh
+4-4
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ nameaccepted=0
6
6
textaccepted=0
7
7
8
8
9
-
# This is a small script created by Mundeep Lamport to streamline
9
+
# This is a small script created by MundeepL to streamline
10
10
# the process of running Pi FM RDS which is an FM transmitter tool.
11
11
12
12
clear
@@ -43,7 +43,7 @@ fi
43
43
44
44
# Choose the radio text (advanced)
45
45
until [ $textaccepted== 1 ] ;do
46
-
rt=$(zenity --title="PiFM by Mundeep Lamport" --entry --text="Choose the radio text (max. 64 characters)" --entry-text="Hello, World!" --width=500 --height=150 --ok-label="Continue" --cancel-label="Close")
46
+
rt=$(zenity --title="PiFM by MundeepL" --entry --text="Choose the radio text (max. 64 characters)" --entry-text="Hello, World!" --width=500 --height=150 --ok-label="Continue" --cancel-label="Close")
zenity --title="PiFM by mundeepl" --info --text="Transmission ended. Thank you for using the PiFM Transmission software that was developed by mundeepl. If you would like to use more advanced settings, be sure to check out the README file in the /home/pi/PiFM directory. This will teach you further arguements and how to use the command line." --width=500 --height=150 --ok-label="Exit"
119
+
zenity --title="PiFM by mundeepl" --info --text="Transmission ended. Thank you for using the PiFM Transmission software that was developed by mundeepl. If you would like to use more advanced settings, be sure to check out the README file in the $HOME/PiFM directory. This will teach you further arguements and how to use the command line." --width=500 --height=150 --ok-label="Exit"
Copy file name to clipboardExpand all lines: src/pi4/pifm.sh
+12-12
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ filecount=0
3
3
nameaccepted=0
4
4
textaccepted=0
5
5
6
-
# This is a small script created by Mundeep Lamport to streamline
6
+
# This is a small script created by MundeepL to streamline
7
7
# the process of running Pi FM RDS which is an FM transmitter tool.
8
8
9
9
clear
@@ -22,11 +22,11 @@ echo "╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚
22
22
echo""
23
23
24
24
# Display about
25
-
zenity --title="PiFM by Mundeep Lamport" --info --text="Welcome to the Raspberry Pi FM Transmitter with RDS. This is a small applet designed by Mundeep Lamport to easily set up Pi FM RDS and is designed to make the process of broadcasting significantly easier. Please note that the software only decodes .wav or .ogg files." --width=500 --height=150 --ok-label="Begin"
25
+
zenity --title="PiFM by MundeepL" --info --text="Welcome to the Raspberry Pi FM Transmitter with RDS. This is a small applet designed by MundeepL to easily set up Pi FM RDS and is designed to make the process of broadcasting significantly easier. Please note that the software only decodes .wav or .ogg files." --width=500 --height=150 --ok-label="Begin"
26
26
27
27
# Choose a Program Service name (advanced)
28
28
until [ $nameaccepted== 1 ] ;do
29
-
ps=$(zenity --title="PiFM by Mundeep Lamport" --entry --text="Choose the Program Service Name (max. 8 characters)" --entry-text="PiFM" --width=500 --height=150 --ok-label="Continue" --cancel-label="Close")
29
+
ps=$(zenity --title="PiFM by MundeepL" --entry --text="Choose the Program Service Name (max. 8 characters)" --entry-text="PiFM" --width=500 --height=150 --ok-label="Continue" --cancel-label="Close")
30
30
pslength=${#ps}
31
31
32
32
if [[ $pslength-ge 0 &&$pslength-le 8 ]] ;then
@@ -40,7 +40,7 @@ fi
40
40
41
41
# Choose the radio text (advanced)
42
42
until [ $textaccepted== 1 ] ;do
43
-
rt=$(zenity --title="PiFM by Mundeep Lamport" --entry --text="Choose the radio text (max. 64 characters)" --entry-text="Hello, World!" --width=500 --height=150 --ok-label="Continue" --cancel-label="Close")
43
+
rt=$(zenity --title="PiFM by MundeepL" --entry --text="Choose the radio text (max. 64 characters)" --entry-text="Hello, World!" --width=500 --height=150 --ok-label="Continue" --cancel-label="Close")
44
44
rtlength=${#rt}
45
45
46
46
if [[ $rtlength-ge 0 &&$rtlength-le 64 ]] ;then
@@ -53,7 +53,7 @@ fi
53
53
done
54
54
55
55
# Choose a frequency
56
-
frequency=$(zenity --title="PiFM by Mundeep Lamport" --entry --text="Choose a frequency. (Pi 4 max. 93)" --entry-text="87.6" --width=500 --height=150 --ok-label="Continue" --cancel-label="Close")
56
+
frequency=$(zenity --title="PiFM by MundeepL" --entry --text="Choose a frequency. (Pi 4 max. 93)" --entry-text="87.6" --width=500 --height=150 --ok-label="Continue" --cancel-label="Close")
57
57
echo"The chosen frequency is $frequency MHz"
58
58
59
59
# Chooose an audio file (advanced)
@@ -74,19 +74,19 @@ esac
74
74
75
75
76
76
# Choose a region
77
-
region=$(zenity --list --title="PiFM by Mundeep Lamport" --text="Select current region" --radiolist --column "Pick" --column "PreEmph" --column "Region" TRUE us USA FALSE eu Europe FALSE eu Asia --ok-label="Continue" --cancel-label="Close")
77
+
region=$(zenity --list --title="PiFM by MundeepL" --text="Select current region" --radiolist --column "Pick" --column "PreEmph" --column "Region" TRUE us USA FALSE eu Europe FALSE eu Asia --ok-label="Continue" --cancel-label="Close")
zenity --title="PiFM by Mundeep Lamport" --info --text="Now that you have chosen your options, it is time to begin transmitting. Ensure your antenna is inserted into GPIO 21 and then click start." --ok-label="Start" --width=500 --height=150
89
+
zenity --title="PiFM by MundeepL" --info --text="Now that you have chosen your options, it is time to begin transmitting. Ensure your antenna is inserted into GPIO 21 and then click start." --ok-label="Start" --width=500 --height=150
zenity --title="PiFM by Mundeep Lamport" --info --text="Transmission ended. Thank you for using the PiFM Transmission software that was developed by Mundeep Lamport. If you would like to use more advanced settings, be sure to check out the README file in the /home/pi/PiFM directory. This will teach you further arguements and how to use the command line." --width=500 --height=150 --ok-label="Exit"
116
+
zenity --title="PiFM by MundeepL" --info --text="Transmission ended. Thank you for using the PiFM Transmission software that was developed by MundeepL. If you would like to use more advanced settings, be sure to check out the README file in the $HOME/PiFM directory. This will teach you further arguements and how to use the command line." --width=500 --height=150 --ok-label="Exit"
0 commit comments