Official Mumble VoIP Forums

mumble-ruby audio problem

Ice/DBus, Web-Interfaces, Management tools
Needing some help I have mumble-ruby working and I'm trying to play a wave file that's 128kbps PCM S16LE 8000hz 16 bits per sample. It sounds like its being played in fast forward, Can someone offer me some help I'm on a linux platform

#!/usr/bin/env ruby
require 'mumble-ruby'
cli = Mumble::Client.new('localhost', 64738, 'user','pass')
cli.connect
sleep(1)
cli.join_channel('PTT-OPS')
cli.player.play_file('callsignannounce.wav')
cli.disconnect
Mumble uses a fixed samplerate of 48000 Hz. You need to convert your file... see https://github.com/erulabs/mumblebot for example ("How to make proper soundboard files").