Very high samplerate crash

Multi-platform modular music creation studio
Post Reply
cameo1933
Posts: 4
Joined: Sun Mar 12, 2023 4:23 pm

Very high samplerate crash

Post by cameo1933 »

Hi, I've been experimenting with bigger samplerates in sunvox through the config file, when I set it to something considerably high like 768000 with 8192 buffer it gives me this error

DSound create secondary buffer error

then the app closes and no longer reads the config file properly. Is there a way for me it play sound at a higher samplerate or is my device just not powerful enough?
User avatar
NightRadio
Site Admin
Posts: 3944
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: Very high samplerate crash

Post by NightRadio »

Are you sure your audio interface supports frequencies above 192 kHz?
cameo1933
Posts: 4
Joined: Sun Mar 12, 2023 4:23 pm

Re: Very high samplerate crash

Post by cameo1933 »

I have no audio interface, just a laptop :p

I started investigating because I experienced stutters at 192khz at max buffer available in app, increasing the buffer in config helped

It played a sampling rate of 384000 at 8192 buffer just fine, just doesnt go any further as I double the number
User avatar
NightRadio
Site Admin
Posts: 3944
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: Very high samplerate crash

Post by NightRadio »

Max sample rate for SunVox is 384000 Hz.
Every time you double the sample rate, the load on the CPU also doubles :)
Try to install ASIO4ALL and then use the ASIO driver with 44100 Hz
cameo1933
Posts: 4
Joined: Sun Mar 12, 2023 4:23 pm

Re: Very high samplerate crash

Post by cameo1933 »

Thanks, that resolved all of my confusions
Post Reply