PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Hekkus Sound System 0.97.6 available!

Hi all,

I know that there is on pocketmatrix another post that speaks regarding license variation but I hope that my new licence terms for hekkus will not hurt anyone.

First of all the lib will be closed source and will be shipped with precompiled dll for all the pocket pc platform and for stationary pc. If someone wants or needs the source code it will be avaible for licensing, but I don't think someone will find it userful at all, mainly because my code is full of italian comments and not so easy to read if you don't have a good knowledge on sound stuff.

With the new licence you can continue to use my sound library on freeware and commercial games, I don't want to became rich with my small sound lib.
But, if you make money with your games and you use hekkus for the sound you are, how can I say, you are welcome to make a donation to the hekkus author.
I don't want to obligate you to pay a fees for hekkus, but if you find it userful and profitable please make a donation. I give you only a little guideline, if you make some money donate a little sum, something like 20 dollars or so. If you make a lot of money than donate a little more. I have setup a paypal account and the donation will be processed by this service.

I have decided to change the licence only because I want to make available my symbian port (that are already done) and to make a palm port. But I need some money to buy the hardware to test it and I think that if you make money on your game it's not a bad thing to contribute in some way to the hekkus development.

I have read that gapidraw will be ported on symbian and palm too so I think it's good if you can work with hekkus on this device too. And, for what I know, there aren't a lot of good sound library on this devices.

So the new licence ask to you only to be honest, I hope that I'm not asking too much.

Let me know if the new licence terms sound resonable to you or if you think that I have to change something.
No problem Gersen. Keep up the good work. If we earn from your library, it's fair enough for you to earn too. Nothing in this world is FREE except the word FREE.

Goodluck :-)
Great!

I have no problem with donating money to a library I could never write myself. Good to know I can wait to make money first before I pay up hehe :) Anyways, keep up the good work.
Sounds reasonable. Is this licensing change only going to go into effect with the new version? Previous versions will NOT be effected I'm assuming, like GapiDraw is doing?
Dave Johnston · 28 Aug 2003, 18:56 UTC
Ditto here, I'll probably donate even if I make no money!

But as fzammetti says, how will this relate to older versions? I've had to modify your code to support reading a .wav from RAM (with a helping hand from your good self!) - and so I guess I'll have to stay at the last version.
Dave Johnston wrote:
Ditto here, I'll probably donate even if I make no money!

But as fzammetti says, how will this relate to older versions? I've had to modify your code to support reading a .wav from RAM (with a helping hand from your good self!) - and so I guess I'll have to stay at the last version.


Thanks Dave :)

Yes, older versions still use the old licence. But if someone have used it and want to donate something I sure don't kill him! :)

I have added support to memory wav and mod reading on the new version so I hope you can enjoy the new version too.
Mr X · 29 Aug 2003, 00:25 UTC — Hekkus Sound System 0.97.6 soon available and licence change
gersen wrote:
First of all the lib will be closed source and will be shipped with precompiled dll for all the pocket pc platform and for stationary pc.


With the precompiled dll, can you include 'flatened' (passing in the object as first parameter, c style) entry points as well. This allows the library to be used from .net as well.

ie
Code:

Sound* __stdcall Sound_Create(HINSTANCE hInst)
{
Sound* result = new Sound();

return result;
}

// bool open(u32 freqmix, bool stereo);
bool __stdcall Sound_open(Sound* pSound, u32 freqmix, bool stereo)
{
return pSound->open(freqmix, stereo);
}


I can provide the code used in my wrapper library.

Ta

Sean
cool, i'll gladly help you out for using it if my app goes big :) i am very sad to hear your not including the source though. this was a big benefit of your lib, its much easier to just compile in your source directly into the project than having to mess with 6 different lib files for all the platforms. please do release the source :!:
Dave Johnston · 29 Aug 2003, 12:14 UTC
gersen wrote:
I have added support to memory wav and mod reading on the new version so I hope you can enjoy the new version too.


Excellent news! Good work!
Mr X:
If you can privede me the code I'll try to add it on the new version.

mm40:
Source will not be released anymore, sorry. I have some problem to get a paypal account working properly here in italy. Not all the features are available on my country. So probably I came up with something like this: you can work with the library on freeware and commercial games too, if you earn money with your games contribute to the hekkus development and buy a licenced copy of the library. As a gift you will get the library source code that you can modify/study/abuse but not redistribute.

It's a very strange licence, I know, but I'm a strange man too... :D
Hi all!
Well, after some time I have decided to release a new version of my sound lib without changing the licence terms. Why? Because some have asked me to not close the source and because here in Italy isn't easy to receive internet donation. So enjoy the new version and the source code :)!

Changes:
* fixed some prob with modules loop (thanks Max Sitnikov for report).
* added load from memory methods to SoundFX and Module (thanks Max).
* added 'pattern loop' ProTracker mod effect.
* fixed some other minor bugs that I don't remember :).
Hi Gersen,

I just noticed that the Hekkus have some 'pause' before playing wav file. But its only 1 time. After the wav has been played then the next playback is smoother.

Did someone already report this problem? One sample is my zapped! game. Try it with your volume set to loud.

I noticed this problem on other games developed using hekkus.

Thanks and more power.
I have just tried your game Zapped! but I don't have heard this pause. Do you hear this pause with the first SoundFX on the menu or when you are playing the game?

It's quite strange, there isn't code on hekkus that preload or set something on the first sfx played so it shouldn't be any pause.

On which ppc(s) do you hear this pause?
I'm using ipaq h1910 for development. Maybe is a PPC device issue? I hope it's only on my device. I also experience the sound pause on other games that uses hekkus though.

The 'pause' is when the first shape zapped another shape during gameplay. Or during the first play of the sound in the game. I'm only pertaining to wav play.

If anyone noticed this problem pls post what device are u using. Or maybe it's just my 1910 :-)
What other games have you tested that have this problem?

Now I'm writing a simple test program to verify the delay of the first sfx played. I'll post here a link when I have finished it. It may be a h1910 issue but my engine never stop to play after you have opened it so... maybe the test give us an answer.

See you later :)
[game plug] for testing purpose [/gameplug]

Sorry about this but we need to test the sound. Thanks. Here's the link Gersen.

http://www.handango.com/PlatformProductDetail.jsp?productType=2&jid;=DBE1D2934C352A77827F8D76456417EF&platformId;=2&siteId;=1&productId;=82156§ionId;=0&catalog;=1&authorId;=348630
Play the game and check the first hit at the enemies. And when there are new enemies coming. Its making a pause on my PPC.
Uhm, no pause at all...

I have finished the test program. Here you can find the link for arm and mips ppcs.
If you have some time and you use hekkus please try this little test on your ppc.

http://www.shlzero.com/downloads/zmisc/ ... st-ARM.zip
http://www.shlzero.com/downloads/zmisc/ ... t-MIPS.zip

Download and try it on your device. On the upper-right side of your screen you can see the mixing switching time, should vary from 0 to max 40.
With A or B button you can play a wave, on the left side you can read the delay in milliseconds from the Sound::playSFX() call and the time this wave start to play. This value also should vary from 0 to max 40 milliseconds. Please write here your results and your ppc model.

DenthorQ:
The value you get when you play the first wave should be greater than 40 ms. Let me know.
Gersen, I'm getting 28-33 on the 'Time Switching' on h1910. Is this ok or not? Tnx.
It is ok, and when you play a wave? You should get the delay time on the left side of your screen, under the "playing sfx channel x/8" string.
when I first press the buttons the delay is 7, then 24, 28, then the rest are more than 30 average ;-)
It's all normal value, so the problem isn't this.
Probably I don't have well understand what is this 'pause' :?.

So you start your game, start a new play, launch the shape and when you have the first hit with one shape on the upper side you hear the soundfx a lot after than, for example, the second or the third hit. Is this correct?

One stupid question, are you trying to load a SoundFX on your game loop or you have all your sound preloaded before your game start?
They are all preloaded. Yap your right, after it first hit the first shape and I play the sfx. Thats where the pause is. After that the play is normal. The same experience I got from the other game (link above). When I first make a hit or a new enemy pops then there's a pause on mine.

Anyway, its not a big deal. I havent heard any complain from customers. So maybe my device is weird. I need to buy a new PPC and try it :-) Then I'll just return it after testing hehehe. Thanks.
Hi Gerson, I am a month or 3 away from adding sound into my game but will give your system a serious try rather than FMod. As someone who does not like free software I'm in the minority of actually wanting to pay for things. $20 is not a fair amount though considering the hours of work you have put in so I would expect to be donating $100 when the time comes assuming I use your system. ( Bear in mind that to have graphics drawn or tunes composed costs $hundreds so for a sound system this is cheap).

If I accidentally write a hit game I would pay more but I'm expecting moderate success like the earlier versions of my game.
denthorq:
When you have tested your game on other ppcs please let me know if you get this problem or not on these devices. On sunday I will make some test on a h2210, on my h3950 I don't hear this 'pause' issue.

conan:
free software isn't always synonymous of bad software. Give it a try and if you find it good and your game will be a hit let me know how much $ you want to send me... :wink:

I have finally finished my first game for ppc, I have written this sound lib for this game. I don't want money for hekkus because I hope to earn something from the game. But, as I have written on other post, if someone want to contribute I don't kill him for sure :)
Conan: If you look closely at FMOD's site, you will find that there is a shareware version available for "smalltime" developers like us which will cost you just $100.00 for one license. Dont' get me wrong, I have nothing against Gersen's sound system and I don't mean to spoil anything, it's just that I hope you can get that "hefty-price impression" of FMOD off your mind. :) I'm not in anyway connected with FMOD too. :)

Gersen: Keep up the nice work. I will be sure to try Hekkus soon and let you know how it works for me! :)