This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Hekkus Sound System 0.98.rc1 released!


Hekkus Sound System 0.98.rc1 released!

Postby gersen » Dec 18, 2003 @ 5:02am

I have released a new version of HSS. I have changed a bit the way hekkus initialise its internal buffer so before to release the final version I need some feedback on how it works on your games/ppcs.

Changes in this version:
* added frequency and speed function to Modules and SoundFXs
* changed a bit the way hekkus calculate the mixer buffers length
* fixed finetune/sample 31 PT mod bug (thanks muff for report)
* fixed minor problems on 'note cut 0', 'set offset continue', 'pattern loop', 'set speed 0' PT mod effects
* fixed minor problem on "vibrato" PT mod effect (thanks muff)
* fixed (again) the finetunes PT mod table

I have also setup a new forum on my website so if you have questions or problems with this library feel free to post on it instead to send me a mail :)
On the forum I have starded a thread to know if you are interested on a symbian port. Just check the forum and write what you think.

You can download the new version on my website http://www.shlzero.com
User avatar
gersen
pm Member
 
Posts: 147
Joined: Oct 19, 2002 @ 8:40am
Location: Italy


Postby DillRye » Dec 18, 2003 @ 9:14pm

User avatar
DillRye
pm Insider
 
Posts: 477
Joined: Apr 25, 2002 @ 7:28am
Location: Iowa State University of Eng


Postby denthorq » Dec 18, 2003 @ 9:38pm

It's worth the wait...
User avatar
denthorq
pm Insider
 
Posts: 447
Joined: Apr 18, 2003 @ 9:15pm
Location: USA-PHILIPPINES


Postby Kzinti » Dec 18, 2003 @ 10:01pm

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby gersen » Dec 18, 2003 @ 11:32pm

User avatar
gersen
pm Member
 
Posts: 147
Joined: Oct 19, 2002 @ 8:40am
Location: Italy


Postby fzammetti » Dec 19, 2003 @ 12:22am

...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Kzinti » Dec 19, 2003 @ 12:43am

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby gersen » Dec 19, 2003 @ 5:57pm

Ok, finally I have some numbers that confirm all the good words that fzammetti have spent on my sound library :)
I have build a little program with gapidraw to test my library on my ipaq 3950. I have
also build a totally identical version with fmod to compare my value with the state
of the art ;)


The test was made on my ipaq 3950 with a gapidraw (2.01b) app playing
- 1 ProTracker module (4 channel)
- 8 simultaneous 8bit mono waves

I have used for all tests Hekkus ver. 0.98.rc1 and fmod ver. 3.71

Image
The average cpu usage without sound was 50%


(*) The library cpu usage are taken from two different function so they can't be comparable.
If you made some simple operation you can see that all the two library's cpu % are accettable. For example Hekkus at 22KHz/16/stereo have a 67% cpu usage and at 11025KHz/16/Stereo 63%. So you have and increase from one to the other of 4% (67% - 63% = 4%).
You get the same value if you caluculate the delta from respective Library Cpu Usage %(10% - 7% = 3%). This works for all the % for hekkus and for fmod, just try.

(**) It seems that you can't specify with fmod the bit rate and mono/stereo output but as you can see the low quality value are very similar to the hi quality ones because on the mixer I work with 32bit value and then I scale all with shifts to fit 16 or 8 bit value (and I think that fmod works similar).


What can I say? Only that my library is very fast :)


Now I'm cleaning a little the benchmark program then I will post here the link so if someone want to verify my numbers...


Memory usage:
Hekkus is ultra memory optimized (it was born on the GBA and the little nintendo machine don't have a lot of memory to wrast)

Image
Const data (tables for mod playing) 32kb


Just a little addition, this is the most userful table. I have measure the time my sound library spent to process 1 second of sound data (with 1 module and 8 waves playing)

Image

So if you want to know how time my library spent on your 30fps based game just pick the right mixer mode and divide it by the fps, in this case 30.
For example on a 30fps game and a mixer mode of 22050/16/stereo hekkus consume 84/30= 2,8 ms per frame. Not too bad ;)
User avatar
gersen
pm Member
 
Posts: 147
Joined: Oct 19, 2002 @ 8:40am
Location: Italy


Postby Dan East » Dec 19, 2003 @ 6:57pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby Kzinti » Dec 19, 2003 @ 7:01pm

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby Presto » Dec 19, 2003 @ 8:09pm

You make that sound so far away, Thierry. :)

Well done, Gersen. When I finally get around to updating Pod, I'll be using it (again).
User avatar
Presto
pm Insider
 
Posts: 763
Joined: Jan 20, 2003 @ 5:51am
Location: Kalesian Archipelago


Postby gersen » Dec 19, 2003 @ 8:44pm

Thank you guys! :)

I'm working on a XM player but I have a lot of other works to do (like my second ppc game) so I can't give you a release date... One day next year is all what can I say :)
User avatar
gersen
pm Member
 
Posts: 147
Joined: Oct 19, 2002 @ 8:40am
Location: Italy


Postby sponge » Dec 19, 2003 @ 9:08pm

holy internets batman.
User avatar
sponge
Not sponge
 
Posts: 12779
Joined: Jan 13, 2002 @ 8:04am
Location: New Hampshire


Postby brendan » Jan 3, 2004 @ 4:16am

User avatar
brendan
pm Insider
 
Posts: 451
Joined: Oct 23, 2001 @ 2:51am
Location: Hobart, Australia


Postby fast_rx » Jan 3, 2004 @ 4:47am

User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Next

Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum