Raised This Month: $ Target: $400
 0% 

C++ Playing .wav sounds


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
purple_pixie
Veteran Member
Join Date: Jun 2007
Location: Winchester, England
Old 12-12-2007 , 09:57   C++ Playing .wav sounds
Reply With Quote #1

Hey, everybody.

EDIT: I do realise this is totally OT, and I'll be lucky to get anything, but hey.
Just thought someone might know something ...

First off, I'm not vastly experienced with C++, but I've had a bit of a play around and it makes a lot of sense.

I use the Allegro library for most windows interaction (keyboard, graphics et c.) and this has some sound support.
But unless I'm being a tard (most likely option) I can't see how to play part of a wave file.

But let's stop here and give some background on this:
I'm thinking of writing a C++ app to allow you to enter a sentence, and have it play it as it would sound through HL's VOX ... er, thingy.

I can adjust the pitch and speed (I think) but I can't see how to get the e / s modifiers (end and start position, respectively) to work.

If anyone knows anything about (wave) sounds in C++, any info or just a useful link would be nice.

EDIT: Oh, and I've had a fair search around, I just don't fancy registering on a C++ forum just to ask this.
Though I probably will after you all ignore me ...

Last edited by purple_pixie; 12-12-2007 at 17:20.
purple_pixie is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode