Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Create Sound from memblocks

Author
Message
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 30th Apr 2018 22:11
I recently converted a program from DBPRO to AppGameKit, I believe the original was some kind of DBPRO Tutorial
but I couldn't find it in the newsletters but did find https://www.thegamecreators.com/codebase/view/6c6649b8ae9a696be762832e939e2913
in the codebase and converted it as best as I could to AppGameKit and thought it needed its own thread

AGK Sound with Memblocks


It has some examples which kinda sound like theyre supposed to, I really need some way of appending two sounds
fubar
Xaby
FPSC Reloaded TGC Backer
17
Years of Service
User Offline
Joined: 17th Apr 2007
Location: Berlin
Posted: 30th Apr 2018 22:29
There seems to be a "bug", I only hear some clicks, but only the sound 6 and 8 are something to identify.

Maybe we are converting https://www.bfxr.net/

There where some beginnings, for creating MIDI out of code and create some MIDI-instruments with zickzackwave forms, I think.
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 30th Apr 2018 22:39
Thanks Xaby
I had to turn up my volume and I don't get the first 3 sounds too well but the
all produce sounds near I think for me

The other sound with the Enter and Space keys I was just playing around
fubar
Xaby
FPSC Reloaded TGC Backer
17
Years of Service
User Offline
Joined: 17th Apr 2007
Location: Berlin
Posted: 30th Apr 2018 22:44 Edited at: 30th Apr 2018 22:46
What I realy want to see is this, ported by the community to Tier 1 (and Tier 2) AGK.

http://www.hivelytracker.co.uk/downl.php There are some C/C++ code, for creating Music out of some HVL-files and that could be WAVE or a MEMBLOCK later in AGK.

Community thingly, for MIDI and some "instruments"
https://forum.thegamecreators.com/thread/218355
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 30th Apr 2018 22:58
Wow Thanks
That midi player works great
I knew there would've been something great achieved on the forum somewhere
I just couldn't find it
fubar
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 18th May 2018 20:47
I also had some success with changing the speed of the sound with small uncompressed wav files

fubar
edler
6
Years of Service
User Offline
Joined: 11th Jan 2018
Location:
Posted: 19th May 2018 08:23 Edited at: 19th May 2018 09:08
wow! this thread is cool!! I have worked so much with protracker in amiga!
the code is ussefull for me!!

seems that "length" doesn't works.
--
edler

AppGameKit forum in Spanish, yet!
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 19th May 2018 09:14
thanks edler
Quote: "sec = length/1000 //there is too big a delay here otherwise I'm not sure if in the original they were in milliseconds and not seconds"

im not sure why but that seemed to give the best result
fubar
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 19th May 2018 09:16
a slightly different method you may find useful
fubar

Login to post a reply

Server time is: 2024-11-18 12:42:20
Your offset time is: 2024-11-18 12:42:20