Search the web
Sign In
New User? Sign Up
gbadev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
512x512 Tile Maps   Message List  
Reply | Forward Message #14420 of 15019 |
RE: [gbadev] Payback Sound Engine

3.2% on a 4 channel mod at 24KHz? That's a bit slow isn't it?!
I like these guys sound engine.
http://consoleaudio.elmobo.com/


-----Original Message-----
From: James Daniels [mailto:james.daniels@...]
Sent: 16 July 2003 00:40
To: gbadev@yahoogroups.com
Subject: [gbadev] Payback Sound Engine


Hi folks,

Sorry for the blatant self-promotion, but I've just posted a new status
report on a GBA game I'm developing called Payback:

http://www.apex-designs.net/payback_gba_report8.html

I was wondering if there's any interest amongst members of this list in
Payback's sound engine, or is everyone happy with what's already out
there? Payback's mixer is unusually fast (3.2% CPU to play a 4 channel
MOD at 24 KHz) but is this something that you guys would be interested in?

Are there any things in particular that you think could be done better
than existing sound engines?

Cheers,
James.
--
/\ apex James Daniels
//\\ designs james.daniels@...
//__\\ http://www.apex-designs.net






Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





Wed Jul 16, 2003 8:18 am

fnagaton
Offline Offline
Send Email Send Email

Forward
Message #14420 of 15019 |
Expand Messages Author Sort by Date

Hi folks, Sorry for the blatant self-promotion, but I've just posted a new status report on a GBA game I'm developing called Payback: ...
James Daniels
j_r_daniels
Offline Send Email
Jul 16, 2003
1:24 am

3.2% on a 4 channel mod at 24KHz? That's a bit slow isn't it?! I like these guys sound engine. http://consoleaudio.elmobo.com/ ... From: James Daniels...
Martin Piper
fnagaton
Offline Send Email
Jul 16, 2003
10:26 am

Well, if you have ever written a mixer on the GBA you know there are certain constraints you can not get around. Only "Driver 4" is really usable for playing...
Sebastian Kienzl
zap@...
Send Email
Jul 16, 2003
4:01 pm

... Payback's mixer is type 4. ... Admittedly Payback's code currently only supports Protracker MODs, but the 3.2% figure mentioned before does include the...
James Daniels
j_r_daniels
Offline Send Email
Jul 16, 2003
7:05 pm

Hi jd, I remember discussing your mixer specs a while ago on gbadev.org. Its good to hear that things are coming to fruition. I'm wondering if you ever added...
Colin Brown
colinraybrown
Offline Send Email
Jul 17, 2003
1:49 am

Hi Colin, ... No. Right now you can do mono or "hard" stereo (i.e. sounds come from the left or right speaker). If I do add full stereo panning (which really...
James Daniels
j_r_daniels
Offline Send Email
Jul 17, 2003
11:09 am

... Ok, then max 8 channels, the distinction between 3 and 4 isn't actually the number of channels (well it kinda is, but it can be 5, 6 or 8) but whether you...
Sebastian Kienzl
zap@...
Send Email
Jul 17, 2003
11:09 am

Hi Sebastian, ... I'm not sure that's a good idea. Surely mixers should be categorised according to what features they support rather than how they work ...
James Daniels
j_r_daniels
Offline Send Email
Jul 17, 2003
5:26 pm

... I don't agree, the feature-distinction here is clearly whether the mixer supports mixing say 16 channels or 6, speed-comparisons between those two don't...
Sebastian Kienzl
zap@...
Send Email
Jul 18, 2003
11:13 am

Hi Sebastian, ... Ok, distinguishing between mixers based on the number of channels is fine - I was objecting to the "must do it in the same was as Krawall" ...
James Daniels
j_r_daniels
Offline Send Email
Jul 18, 2003
6:40 pm

I'm working on my own sound engine called "Tri", which I used in TOD M3. It currently uses its own sound format compiled from a text file, but once I release...
Damian Yerrick
yerricde
Offline Send Email
Jul 17, 2003
11:09 am

Hi! ... You're right, you'll have to use a timer for each channel then. ... Krawall is 2.4% + x*1.13% for a mono voice, + x*1.49% for a voice with arbitrary...
Sebastian Kienzl
zap@...
Send Email
Jul 17, 2003
12:24 pm

Hi Martin, ... At first glance the stats look unbelievably impressive but I think I've figured out what they've done. I think they've included the GBA's four ...
James Daniels
j_r_daniels
Offline Send Email
Jul 16, 2003
5:43 pm

Hello folks, ... Well, there's what's written and what it means ;) Let me give my point of view on the different options proposed by Console Audio. Driver 1 -...
Greg Saugis
joelouiz
Offline Send Email
Jul 16, 2003
4:01 pm

Actually, 3.2% cpu usage for module playing is extremely fast for gba. Please note that the 'Driver 1' on that website (technical section) is a cgb-sound...
Stephen Stair
sgstair
Online Now Send Email
Jul 16, 2003
4:01 pm

Computing stereo volume doesn't take more cycles than computing a mono volume... You buffer is just twice as big so needs twice more treatments (eg for...
Greg Saugis
joelouiz
Offline Send Email
Jul 17, 2003
11:10 am

so your saying to fill a buffer twice as big has NO overhead? hmmmmm congrats, I thought it would at least take SOME cycles to write the extra data :D ... ...
Jim Bagley
jimbagley@...
Send Email
Jul 17, 2003
11:46 am

... I have pleasantly worked with Yannis Brown, a musician who really masters stereo effects and, having heard his tracks in mono and stereo, the stereo...
Greg Saugis
joelouiz
Offline Send Email
Jul 17, 2003
12:26 pm

... it doesn't, as IWRAM is 32-bit. Nananah :-p Well, of course you could compute 2 16-bit values, put them in a 32-bit register and store both at once... No,...
Greg Saugis
joelouiz
Offline Send Email
Jul 17, 2003
12:35 pm

... Is there a feasible way to use the 'stmia' instruction from within C? Or does it require rewriting a mixer from the ground up in assembly language? -- ...
Damian Yerrick
yerricde
Offline Send Email
Jul 17, 2003
8:56 pm

... C? ... You can get away with only doing the inner loop in ASM. Just write it as an ASM function, and either make global vars of all the things it will need...
Dennis Kincheloe
dekutree65
Offline Send Email
Jul 24, 2003
7:16 pm

The STMIA is your friend. ... From: Greg Saugis [mailto:saugis@...] Sent: 17 July 2003 14:30 To: gbadev@yahoogroups.com Subject: Re: Re: [gbadev] Re:...
Martin Piper
fnagaton
Offline Send Email
Jul 17, 2003
12:44 pm

yeah, that's fixed stereo, no panning etc. it's not much of an overhead, for your method, one OR instruction lol but the DMA still has to read the double sized...
Jim Bagley
jimbagley@...
Send Email
Jul 17, 2003
12:46 pm

... This is exactly what our player does (so-called driver #4 in this thread). But in a very fast way (although I know ways to get it even faster, but too busy...
Jan-Lieuwe Koopmans
jan-lieuwe@...
Send Email
Jul 17, 2003
8:57 pm

... I'd go for pure ARM assembly. It's a real tight loop. Jan-Lieuwe...
Jan-Lieuwe Koopmans
jan-lieuwe@...
Send Email
Jul 17, 2003
9:06 pm

... Is that just music alone, no support for sfx, aside from synth channels? My mixer currently takes about 11% CPU for a 4-chn MOD with 2 panned, non-pitched...
Dennis Kincheloe
dekutree65
Offline Send Email
Jul 24, 2003
7:16 pm

Hi Dennis, ... That figure is just for playing and mixing the MOD, but the mixer supports up to 8 channels at about 1% CPU per channel at 24 KHz. ... Wow!...
James Daniels
j_r_daniels
Offline Send Email
Jul 24, 2003
10:59 pm

... Some games use hblank DMA shearing on the x scroll registers to simulate a 3D floor. For those, you do need a 512x256 map because the pixels displayed...
Damian Yerrick
yerricde
Offline Send Email
Jul 16, 2003
1:24 am
 First  |  |  Next > Last 
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help