(HSS) Hydra version 1.2 released.
Ym2413a
Posts: 630
Hello everyone.
A new version of the (HSS) sound API has just released today.
Big improvements can be found in the FXsynth engine which will allow for better and more complex realtime synthesis!
Feel free to download the object from our website @: www.andrewarsenault.com/hss/
For those of you who are familiar with (HSS) then let me explain.
(HSS) stands for Hydra Sound System and is a play on the old Konami Sound System (KSS) for the MSX computers.
Being a sound system, it allows propeller based consoles and computers to playback music, compressed waves and soundFX with simple high level commands that are easy to use and very powerful.
It currently supports Realtime Synthesis of sound FXs from small 12 or 28 byte datablocks called patches (after old analog synthesizers).
Also complex and highly compressed 4-channel tracker based music files can be played back in realtime from a small yet very powerful music engine.
And DPCM compressed audio files are supported for full wave playback at some very minimalistic and memory saving bitrates.
Take a listen to the clips below for some ideas of what (Hss) can do:
-HMUS music file:
www.andrewarsenault.com/hss/hss_song4.mp3
-Six FXsynth sound FX's being played back on one channel, one after another:
www.andrewarsenault.com/hss/hss_soundfx.mp3
-HWAV adpcm file playing back a complex sound FX of a male voice (11k sampling rate):
www.andrewarsenault.com/hss/hss_dpcmfx.mp3
-HWAV file of a short music clip (11k sampling rate):
www.andrewarsenault.com/hss/hss_dpcmmus.mp3
Thanks!
--Andrew Arsenault.
A new version of the (HSS) sound API has just released today.
Big improvements can be found in the FXsynth engine which will allow for better and more complex realtime synthesis!
Feel free to download the object from our website @: www.andrewarsenault.com/hss/
For those of you who are familiar with (HSS) then let me explain.
(HSS) stands for Hydra Sound System and is a play on the old Konami Sound System (KSS) for the MSX computers.
Being a sound system, it allows propeller based consoles and computers to playback music, compressed waves and soundFX with simple high level commands that are easy to use and very powerful.
It currently supports Realtime Synthesis of sound FXs from small 12 or 28 byte datablocks called patches (after old analog synthesizers).
Also complex and highly compressed 4-channel tracker based music files can be played back in realtime from a small yet very powerful music engine.
And DPCM compressed audio files are supported for full wave playback at some very minimalistic and memory saving bitrates.
Take a listen to the clips below for some ideas of what (Hss) can do:
-HMUS music file:
www.andrewarsenault.com/hss/hss_song4.mp3
-Six FXsynth sound FX's being played back on one channel, one after another:
www.andrewarsenault.com/hss/hss_soundfx.mp3
-HWAV adpcm file playing back a complex sound FX of a male voice (11k sampling rate):
www.andrewarsenault.com/hss/hss_dpcmfx.mp3
-HWAV file of a short music clip (11k sampling rate):
www.andrewarsenault.com/hss/hss_dpcmmus.mp3
Thanks!
--Andrew Arsenault.
Comments
Now you can have a better understanding of how to synthesize awesome sounds on this little soft-synth included in (HSS)!
www.andrewarsenault.com/hss/sfx.html
Enjoy!! and happy noise making!
--Andrew Arsenault.
Also I though you were going to make it so·you can use more than 2 voices for sound effects?
That is awesome Andrew. Thanks for sharing them with us. Good work! Please keep us posted.
·
JT,
In my opinion, your game is one of the top ones from Hydra. I play and use it for demo all the time. If you have a new version please let us know.
Please like you guys will keep this community growing.
Coolguy
Yeah, the only thing is running a good number of FX synthesizer engines can really slow done the code and change the timing on things.
If one needed to use more then two FX-synths at a time there is a easy trick to enable the rest. It only takes about 2 minutes to do. [noparse]:)[/noparse]
With the stock release I kept it the same mapping as before for backwards compatibility. One could break that compatibility and do what they want, if interested. [noparse]:)[/noparse]
Thanks!
Coolguy: I am glad you like it, but there aren't going to be any future versions because I pretty muched used all 32k and also I don't think Andre would be happy if I freely posted X-Racer. The next game I am working on isn't anything technogically interesting or unique design-wise, but something I wanted to see, mainly for the 2 player competitive aspect.
Hopefully this'll help answer some of your questions!
.hmus is a file format designed for (Hss).
It's a highly compressed module music format.
Much like .S3M, .MOD, .IT or .XM. It holds small waveform samples of each instrument in the header and score data (music notes, effects and commands) in the body.
It supports 16 instruments per file and 4 channels at once.
Currently I'm looking to get some composers together to write some more music in this format. [noparse]:)[/noparse]
Some people like writting chiptunes and would be interested in writting music for a whole new platform I'm sure.
Hard part is in order to write .hmus files you have to know how to compose and work in tracker based audio formats.
This is something a lot of programmers I've shown my work to havn't been able to do.
The Hmus player uses a 16bit frequency look up table for the note values. This is oversampled into the 32bit freq-regs of the (Hss) wave-table synth.
The FXsynth engine uses 8bit varables that are converted into 32bit variables after processing. 8bits where picked to keep everything in a FX-synth data-block byte sized!
If you need music for an upcoming program, just let me know. [noparse]:)[/noparse]
Anyway, New update is coming up.
ADPCM conversion tool is releasing, new documentation updates and new media music files!
Thanks Everyone!
--Andrew Arsenault.
You said the 8 bit fequency value is changed to a 32 bit value, now do you multiply it by 4 to get a 32bit value or is there another formula to get the true frequency from the 8 bit value?
So 0xFF would be converted to 0xFF000000 with no modulation applied.
Thanks!
--Andrew Arsenault
No no no. [noparse]:)[/noparse]
That is what the engine does to get the 32bit register value for the freqancy value.
(Freq / 2^32)*32000 = Final Sampling Rate.
Take the sampling rate and divide that by the number of samples per hert. In most cases that's either 16, 32, 64 or 24. That'll give you the final output freq of any waveform you play back, Preset or Custom. [noparse]:)[/noparse]
It's just basic PCM math.
Hope that gives you some ideas!
Thanks!
--Andrew Arsenault.
So you use this to get the true wave frequency
((8 bit freq value << 24) / 2 ^32) * 32000
I don't know what you mean by samples per hert, or is that anything I should worry about? What I mean is when doing sound programming with·you·driver, will that equation ever change other than the 8 bit frequency value?
I did most of the math for ya'.
I'm going to post this on the *Hss* website as well. [noparse]:)[/noparse]
Hope that helps!
If you have anymore questions, feel free to ask!
I don't mind supporting my code. [noparse];)[/noparse]
--Andrew Arsenault.
Ym2413a
WOW! Pretty cool! I just tried your HSS on a Demo Board, very impressed. Now I need to add audio to my ProtoBoard, it has the SD socket and my boot loader! This will make a great addition to my Big Trak Propeller re-fit. Anxiously waiting your *.wav to hwav converter!
Thanks for all the hard work!
Mike
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike
Post Edited (Mike Cook) : 11/8/2007 11:48:08 PM GMT
Thanks Mike. [noparse]:)[/noparse]
You let me know if you ever have any questions as to how to use (Hss) to it's fullest!
Glad your getting the feel of sound synthesis JT. [noparse]:)[/noparse]
Once you figure out what sounds like what and what does what, it comes pretty easy!
Thanks!
--Andrew Arsenault.
Do Enjoy!
www.andrewarsenault.com/hss/
It may help..
Call it from another PUB with synth(number) and synth(0) to shut it off with a pause between.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS