file Wav file playback issues

11 May 2019 10:51 #94856 by Snodig
I’ll start off by saying I know little to nothing about digital audio.
I am, however, a programmer.
I wrote a short script to create new audio files for Lackey’s vtes plugin using gtts.
The wav files sound great when played by vlc, or my own code, but when Lackey plays the files they seem to “crack” and get noisy at their loudest peaks (if that makes any sense).

Is anyone savvy enough to give insight into why this happens? Is it something I’m doing wrong when writing the audio format, or is Lackey a bit wonky with certain audio files?

Please Log in or Create an account to join the conversation.

  • Snodig
  • Snodig's Avatar Topic Author
  • Offline
  • Methuselah
  • Methuselah
  • Prince of Kristiansund, Norway
More
11 May 2019 17:37 #94858 by LivesByProxy
My guess: Sounds like a compression issue. I would import the audio files into a audio editor, look at the waveform, and selectively lower the peaks where needed. Adjust levels and such. You should be able to see where it's peaking and the decibel level, and my guess is that Lackey + compression is causing your peaks to be cut off, resulting in the static and cracks you hear.

:gang: :CEL: :FOR: :PRO: :cap6: Gangrel. Noddist. Camarilla. Once each turn, LivesByProxy may burn 1 blood to lose Protean :PRO: until the end of the turn and gain your choice of superior Auspex :AUS:, Obfuscate :OBF:, or Potence :POT: for the current action.

Please Log in or Create an account to join the conversation.

More
11 May 2019 17:49 #94859 by Snodig
Replied by Snodig on topic Wav file playback issues
Sounds like a lot of work.
What’s the technical way of describing what’s wrong with the files?
If I know what to tweak, I can adjust my software instead.
Are they too loud? Frequencies too high+low?

Please Log in or Create an account to join the conversation.

  • Snodig
  • Snodig's Avatar Topic Author
  • Offline
  • Methuselah
  • Methuselah
  • Prince of Kristiansund, Norway
More
11 May 2019 18:41 #94860 by Snodig
Replied by Snodig on topic Wav file playback issues
I figured it out.
The output frame rate of my audio was 24'000Hz, while Lackey's own files are 22050Hz. After adjusting the frame rate they sound okay :)

Please Log in or Create an account to join the conversation.

  • Snodig
  • Snodig's Avatar Topic Author
  • Offline
  • Methuselah
  • Methuselah
  • Prince of Kristiansund, Norway
More
Moderators: AnkhaKraus
Time to create page: 0.079 seconds
Powered by Kunena Forum