The Daily Click ::. Forums ::. General Chat ::. Directsound 2 Lite
 

Post Reply  Post Oekaki 
 

Posted By Message

Tigerworks

Klik Legend

Registered
  15/01/2002
Points
  3882
23rd July, 2005 at 09:40:30 -

(Cross-post from CT, sorry, I'm feeling lazy)

Directsound 2 has been released as a Lite edition. I haven't got the time to finish adding the fancy extras like audio effects and sound capture, so here's a cut down version of Directsound 2. Fully documented and with examples.

Features:
- 64 channel mixing (compared to MMF's 8 sound mixing). Supports hardware acceleration.
- New sound engine - MUCH more stable than Directsound 1.
- Control panning and volume on individual sounds.
- Enhanced positional sound: Positioned sounds now also pan. Panning and volume also continuously update relative to the listener position. Sounds can also be attached to objects so you can hear the sound move around with the object.
- Control sound frequency (for car engine effects etc)
- Seamless looping
- Read raw data: get the raw audio data from WAV files to display wave images and so on.
- Write raw data: write your own waves using algorithms or formulae, and hear the result. Combined with raw reading, you could feasably code your own effects.

Download here: http://www.gullen.pwp.blueyonder.co.uk/files/dsound2.zip
Be sure to look at the examples. (Extract all files so the WAVs load)

A great alternative to MMF's ageing, basic sound engine.


Image Edited by the Author.

 
- Tigerworks

Johan Hargne (Wartagon)

Lover Of Circys

Registered
  15/06/2003
Points
  1289

Game of the Week WinnerCROBASOFTVIP MemberPS3 OwnerWii OwnerMushroom
23rd July, 2005 at 09:54:48 -

Very good, actually. I love the way you can set a position for your sound, making it sound more like 3DSound.

 
Music Composer.
http://johan.hargne.se

Crobasoft
www.crobasoft.com

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
23rd July, 2005 at 09:55:51 -

This is great.

 
Old member (~2004-2007).

The Chris Street

Administrator
Unspeakably Lazy Admin

Registered
  14/05/2002
Points
  50116

Game of the Week WinnerClickzine StaffAcoders MemberKlikCast StarVIP MemberPicture Me This Round 35 Winner!Second GOTW AwardYou've Been Circy'd!Picture Me This Round 38 Winner!GOTM December Third Place!!
I am an April FoolKliktober Special Award Tag
23rd July, 2005 at 18:44:28 -

If only someone could make an extention that could do all that with MIDIs - particularly seamless looping; I hate the pause you get when a MIDI loops.

 
n/a

Crystal Clear (H.E.S)

Possibly Insane

Registered
  06/10/2002
Points
  2548
23rd July, 2005 at 23:33:58 -

Now this is cool!
The "Frequency" and "Positional" examples are hella cool, brilliant work Tigsy!

 
HES homepage:
http://www.distinctiv-efair.com/heretic/studios
Crystal Clear Productions: http://www.distinctiv-efair.com/heretic/crystalclear

RapidFlash

Savior of the Universe

Registered
  14/05/2002
Points
  2712
24th July, 2005 at 17:32:51 -

Nice job. The positional sound example is sweet. My only complaint is that you don't explain how the formulas work. The Advanced Sound Viewer is really difficult to understand because of this.

 
http://www.klik-me.com

Tigerworks

Klik Legend

Registered
  15/01/2002
Points
  3882
14th August, 2005 at 12:06:47 -

Sorry to resurrect this thread but I've done a small update. New in v1.1:
- Should let the application run on PCs without soundcards
- Set/Get position of a channel in milliseconds, and channel length in milliseconds
- Is Playing condition to check if any channel is playing.

Same download link. Use this link to skip your cache and make sure you get the latest version:
http://www.gullen.pwp.blueyonder.co.uk/files/dsound2.zip?omgz

 
- Tigerworks
   

Post Reply



 



Advertisement

Worth A Click