Mod Archive Forums Mod Archive Forums
Advanced search  

News:

Please note: Your main modarchive.org account will not work here, you must create a forum account to post on the forums.

Pages: [1]   Go Down

Author Topic: [no bug] CPU intensive usage  (Read 10587 times)

0 Members and 1 Guest are viewing this topic.

Kmuland

  • Milkytracker Moderator
  • Newbie
  • Offline Offline
  • Posts: 74
    • View Profile
[no bug] CPU intensive usage
« on: May 09, 2008, 09:19:28 »

example:

www.mesmascorto.com/test.xm

I have there a sample with a volume envelope that ends at a high volume.. but it fades out with the fadeout value that I added.

Set the jam channels on.

Now press multiple keys on the keyboard... If you have pressed more than 30 notes.. the cpu usage reach a very high level... also when the sound fades out to zero.

The CPU only is released and goes to normal activity when I press the stop button
« Last Edit: January 06, 2009, 12:44:55 by m0d »
Logged

pailes

  • Milkytracker Moderator
  • Rising Star
  • *
  • Offline Offline
  • Posts: 287
    • View Profile
Re: CPU intensive usage
« Reply #1 on: May 09, 2008, 09:21:29 »

So what? Get a faster computer or don't press so many keys :P
Logged

Kmuland

  • Milkytracker Moderator
  • Newbie
  • Offline Offline
  • Posts: 74
    • View Profile
Re: CPU intensive usage
« Reply #2 on: May 09, 2008, 10:32:12 »

also when the sound fades out to zero.

The CPU only is released and goes to normal activity when I press the stop button

the bug comes here. The volume of all these notes fade out.. goes to zero but the CPU is not released until I press the stop key
Logged

raina

  • Milkytracker Moderator
  • Great Poster
  • ***
  • Offline Offline
  • Posts: 719
    • View Profile
    • raina.kapsi.fi
Re: CPU intensive usage
« Reply #3 on: May 09, 2008, 12:02:44 »

Doesn't happen here.

EDIT: OK, I can see the behavior using cubic or sinc resamplers but that's not a natural state for .XM. :)

Use less Jam channels.
« Last Edit: May 09, 2008, 12:14:13 by raina »
Logged

pailes

  • Milkytracker Moderator
  • Rising Star
  • *
  • Offline Offline
  • Posts: 287
    • View Profile
Re: CPU intensive usage
« Reply #4 on: May 09, 2008, 12:05:10 »

the bug comes here. The volume of all these notes fade out.. goes to zero but the CPU is not released until I press the stop key

Still no bug because even if the volume is zero the mixer still mixes the samples, they're not stopped. I know it sounds difficult to believe but due to some FT2 oddity samples can't be stopped even if the volume is 0.
Logged
Pages: [1]   Go Up