Skip to content

Commit f7441ee

Browse files
committed
Update example usage in README to reflect new file path and offset value
1 parent 63f6903 commit f7441ee

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,10 @@ It displays the decoding steps, including the original signal, filtered signals,
6262

6363
```python
6464
from python_vor import get_bearing
65+
file_path = "path/to/your/vor_signal.wav"
6566
offset = 223 # Optional offset to add in the VOR calculation
66-
bearing = get_bearing(str(wav_file), offset=offset)
67-
print(f"Bearing for {wav_file.name}: {bearing:.2f}°")
67+
bearing = get_bearing(file_path, offset=offset)
68+
print(f"Bearing for file at {file_path} is: {bearing:.2f}°")
6869
```
6970

7071
### Processing details

0 commit comments

Comments
 (0)