aaknitt / zellostream

Python script to stream audio to and from a Zello channel
MIT License
41 stars 10 forks source link

streaming P25 sounds pitchy #25

Closed israelgoldstein closed 3 weeks ago

israelgoldstein commented 1 month ago

i am feeding a Conventional P25 channels from Trunk Recorder to Zellostream using UDP Packets

when zellostream pushes the adui to the zello channel, it sounds unreadable, very pitchy

this is my config file - i redacted the real info with UUUU

{
  "username": "UUUU",
  "password": "UUUU",
  "zello_channel": "UUUU",
  "issuer": "UUUU",
  "vox_silence_time": 2,
  "audio_threshold": 700,
  "audio_source": "UDP",
  "input_device_index": 0,
  "output_device_index": 15,
  "output_pulse_name": "fcdv1op",
  "zello_sample_rate": 16000,
  "zello_input_sample_rate": 16000,
  "audio_input_sample_rate": 16000,
  "in_channel_config": "mono",
  "audio_input_channels": 1,
  "audio_output_sample_rate": 16000,
  "audio_output_channels": 2,
  "audio_output_volume": 1.5,
  "logging_level": "info",
  "UDP_PORT": 9123
}
israelgoldstein commented 1 month ago

i fixed "audio_input_sample_rate" to 8000, it resolved it.