Author Topic: More Sounds for Followers/Donations?  (Read 3609 times)

0 Members and 1 Guest are viewing this topic.

menthur

  • Youngling
  • *
  • Posts: 41
  • Karma: +0/-0
    • View Profile
  • Twitch Name: menthur
More Sounds for Followers/Donations?
« on: April 27, 2014, 04:55:04 AM »
hey there team,

I was playing around the other day with different soundfiles for Follower/Donation notification, but everytime I have selected another WAV file Deep Bot crashed. Could you please provide some information about what filetype I have to use in order to change the sounds? Going with WAV alone didnt do the trick.

Another question: Maybe you could provide some more sound files to choose from?

thank you
http://twitch.tv/menthur

Diablo III: Reaper of Souls - Hardcore Only

ExpertsOnline

  • Creator
  • Councilor
  • *****
  • Posts: 2656
  • Karma: +289/-24
    • View Profile
  • Twitch Name: expertsonline
Re: More Sounds for Followers/Donations?
« Reply #1 on: April 27, 2014, 11:02:47 AM »
Hey - All WAV files should work. Can you provide the link for files that are causing the crashes?

menthur

  • Youngling
  • *
  • Posts: 41
  • Karma: +0/-0
    • View Profile
  • Twitch Name: menthur
Re: More Sounds for Followers/Donations?
« Reply #2 on: April 28, 2014, 12:31:57 AM »
hi there

this is the error message pasted in the error log file when I try to play a different WAV file.

Code: [Select]
27 Apr 18:26:34,741 - 0.4.1.0: Crashed Die Sound-API unterstützt nur die Wiedergabe von PCM-Wavedateien.
27 Apr 18:26:34,885 - 0.4.1.0: Crashed    bei System.Media.SoundPlayer.ValidateSoundFile(String fileName)
   bei System.Media.SoundPlayer.LoadAndPlay(Int32 flags)
   bei System.Media.SoundPlayer.Play()
   bei DeepBot.Main.PlayNewFollowerSound()
   bei DeepBot.Main.btnFollowerPlay_Click(Object sender, EventArgs e)
   bei System.Windows.Forms.Control.OnClick(EventArgs e)
   bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.Label.WndProc(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

the part where it says

Code: [Select]
Die Sound-API unterstützt nur die Wiedergabe von PCM-Wavedateien
is German and means "Sound API only supports playback of PCM Wave files"

I cannot provide you with the link of the WAV file I am using, but I have uploaded it on a free hoster.

link: http://www.filedropper.com/whatisthat

click on the grey "download" button in the center and enter capture. that's it.

I hope you can help.
http://twitch.tv/menthur

Diablo III: Reaper of Souls - Hardcore Only

ExpertsOnline

  • Creator
  • Councilor
  • *****
  • Posts: 2656
  • Karma: +289/-24
    • View Profile
  • Twitch Name: expertsonline
Re: More Sounds for Followers/Donations?
« Reply #3 on: April 28, 2014, 12:51:39 AM »
WAV files can have multiple compression methods, including MP3. 
PCM (Pulse Code Modulation) is the only one supported by the DeepBot currently. Fortunately, it's the most common WAV format, so most .WAV files just work.

There are quite a few tools that can convert audio files.  For example, Switch Audio can convert between formats (even in the free version).  You'll need need to get your file into a standard, PCM encoded WAV file for it to work with DeepBot.

menthur

  • Youngling
  • *
  • Posts: 41
  • Karma: +0/-0
    • View Profile
  • Twitch Name: menthur
Re: More Sounds for Followers/Donations?
« Reply #4 on: April 28, 2014, 09:50:37 AM »
thank you

works like a charm!
http://twitch.tv/menthur

Diablo III: Reaper of Souls - Hardcore Only