hamie Posted April 12, 2016 Share Posted April 12, 2016 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 rubyrequire 'mumble-ruby'cli = Mumble::Client.new('localhost', 64738, 'user','pass')cli.connectsleep(1)cli.join_channel('PTT-OPS')cli.player.play_file('callsignannounce.wav')cli.disconnect Link to comment Share on other sites More sharing options...
Moderators Natenom Posted April 12, 2016 Moderators Share Posted April 12, 2016 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"). Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now