Hi Ken,

Ok, that is weird. Assuming you are using DX8VB.dll it certainly can
play files at 22050 KHZ. This isn't a VB 6 bug but I guess some
problem with DirectX and the wav file you were using.

Cheers!

On 4/25/13, Ken The PionEar <kenwdow...@me.com> wrote:
> This was a stupid error on my part, not even having to do with numbers. For
>
> whatever reason, vb6 can't play a wave file sampled at 22050 hz. It throws a
>
> fit and, like a toddler, doesn't tell you why. The file I successfully
> played was, of course, at the right sampling rate.
> Check out my games at
> www.ThePionEar.net
> and my music, and that of my band, at
> www.ThePionEar.net/BlindLabyrinth.html .
> If you want to reach me, you can call 419-744-0517, friend me on Facebook,
> (KenWDowney,) or write me at kenwdow...@me.com .
> Crazy Ken
> ----- Original Message -----
> From: "Cara Quinn" <caraqu...@caraquinn.com>
> To: "Gamers Discussion list" <gamers@audyssey.org>
> Sent: Thursday, April 25, 2013 12:10 AM
> Subject: Re: [Audyssey] vb6 question
>
>
>> Ken, does VB6 provide arrays? If so, you could create an array of strings
>>
>> which hold your file names and then call an element of your array at
>> random using a standard numerical random command. This way you wouldn't
>> need to place numbers at the end of your file names.
>>
>> HTH
>>
>> Cara :)
>> ---
>> View my Online Portfolio at:
>>
>> http://www.onemodelplace.com/CaraQuinn
>>
>> Follow me on Twitter!
>>
>> https://twitter.com/ModelCara
>>
>> On Apr 24, 2013, at 8:10 PM, Ken The PionEar <kenwdow...@me.com> wrote:
>>
>> I'm having a weird issue in vb6 when I try adding a number to the end of a
>>
>> sound file. If I tell dx8 that the file is called walk.wav, it does fine.
>>
>> If i say it's called walk3.wav though, i get an invalid procedure call.
>> Anybody know how to handle this? I'm trying to randomize the footstep
>> sounds.
>> Check out my games at
>> www.ThePionEar.net
>> and my music, and that of my band, at
>> www.ThePionEar.net/BlindLabyrinth.html .
>> If you want to reach me, you can call 419-744-0517, friend me on Facebook,
>>
>> (KenWDowney,) or write me at kenwdow...@me.com .
>> Crazy Ken
>> ---
>> Gamers mailing list __ Gamers@audyssey.org
>> If you want to leave the list, send E-mail to
>> gamers-unsubscr...@audyssey.org.
>> You can make changes or update your subscription via the web, at
>> http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
>> All messages are archived and can be searched and read at
>> http://www.mail-archive.com/gamers@audyssey.org.
>> If you have any questions or concerns regarding the management of the
>> list,
>> please send E-mail to gamers-ow...@audyssey.org.
>>
>>
>> ---
>> Gamers mailing list __ Gamers@audyssey.org
>> If you want to leave the list, send E-mail to
>> gamers-unsubscr...@audyssey.org.
>> You can make changes or update your subscription via the web, at
>> http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
>> All messages are archived and can be searched and read at
>> http://www.mail-archive.com/gamers@audyssey.org.
>> If you have any questions or concerns regarding the management of the
>> list,
>> please send E-mail to gamers-ow...@audyssey.org.
>>
>
>
> ---
> Gamers mailing list __ Gamers@audyssey.org
> If you want to leave the list, send E-mail to
> gamers-unsubscr...@audyssey.org.
> You can make changes or update your subscription via the web, at
> http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
> All messages are archived and can be searched and read at
> http://www.mail-archive.com/gamers@audyssey.org.
> If you have any questions or concerns regarding the management of the list,
> please send E-mail to gamers-ow...@audyssey.org.
>

---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/gamers@audyssey.org.
If you have any questions or concerns regarding the management of the list,
please send E-mail to gamers-ow...@audyssey.org.

Reply via email to