Author Topic: Bass.dll 2.4.14.0 Forced SRC enabled on Decode process  (Read 591 times)

Oryaaaaa

  • Posts: 44
I have 2.4.14.0 problem by deocde process.

Bass.dll 2.4.14.0 ... Forced SRC enabled on Decode process
0 ... Linear with Noise
1 ... 8 point as High pass filter [CD] 2.7KHz, [96k] 6kHz, [192k] 12kHz
2 ... 16 point as High pass filter [CD] 1.4kHz, [96k] 3kHz, [192kHz] 6kHz
3 ... 32 point as High pass filter [CD] 689Hz, [96k] 1.5kHz, [192kHz] 3kHz
4 ... 64 point as High pass filter [CD] 345Hz, [96k] 750Hz, [192kHz] 1.5kHz

SINC Resample is 32bit Expand data and High pass filter data.
format frequecy / points / 2 = High pass frequency

512 point as High pass filter [CD] 43Hz, [96k] 94Hz, [192k] 188Hz
2048 point as High pass filter [CD] 10Hz, [96k] 24Hz, [192k] 47Hz

Please support Resample 2048 point SINC option. or disable SRC option on decode.
Please take care it.

Thank you.

Ian @ un4seen

  • Administrator
  • Posts: 21987
BASS does not resample decoding channels. Perhaps you are using BASSmix to play the decoding channels? If so, the mixer would resample them if they do not match the mixer's rate set in the BASS_Mixer_StreamCreate call. If you do not want the mixer to resample, it would need to have the same sample rate as the decoding channels.

Oryaaaaa

  • Posts: 44
I use bass audio library 7 years with PureBasic.
No. I don't use BASSmix.

I'm sorry. I add more code informations.
I develop to player by use BASS audio library for 3way horn Large speaker.

full memory player by Wasapi or ASIO
1. BASS_Init with no sound
2. BASS_StreamCreateFile
3. Bass_ChannelGetData to 32bit Float data with #BASS_STREAM_DECODE
4. BASS_StreamFree
5. BASS_Free
6. Electoric bit stabilizer with 32bit Float data by My digital isolator process
7. BASS_WASAPI_Init
8. BASS_WASAPI_Start
9. My origital WasapiProc 32bit Float data output

in bass.dll 2.4.14.0
removed bass.chm "Playback is not possible with the "no sound" device, "
no sound ... Bass_ChannelGetData with force SRC enabled.
Changed decode data by change SRC config.

in bass.dll 2.4.13.8
no sound ... Bass_ChannelGetData with force SRC disabled.

64 points sinc resample functions is 44.1kHz sound data that cut 350Hz lower data.
350Hz ... 690Hz ... Adverse effects on audio equipment with unstable sound quality

Could you add disable force SRC enabled option with [Bass_ChannelGetData] [no sound] [BASS_STREAM_DECODE].

I use bass.dll 2.4.13.8 now. 2.4.13.8 is no problem.

Attach file "20190305.png" is Sinc Resample High Pass Filter Frequency data sheet.
« Last Edit: 4 Mar '19 - 21:55 by Oryaaaaa »

Ian @ un4seen

  • Administrator
  • Posts: 21987
in bass.dll 2.4.14.0
removed bass.chm "Playback is not possible with the "no sound" device, "
no sound ... Bass_ChannelGetData with force SRC enabled.
Changed decode data by change SRC config.

The playback on the "No sound" device support means that the BASS_STREAM_DECODE flag is no longer required when using the "No sound" device, but it does not change what happens when the BASS_STREAM_DECODE flag is used. BASS still never resamples decoding channels (regardless of what device they are created on). So if resampling is happening, it must be happening elsewhere. You mention ASIO and WASAPI output. Is the output device using the same sample rate as the decoding channel? Please also confirm what audio file format you are using.

Oryaaaaa

  • Posts: 44
Thank you.

I fixed it. removed "#BASS_SAMPLE_SOFTWARE" from code.

before ... enabled SRC
Bass option
#BASS_UNICODE | #BASS_STREAM_DECODE | #BASS_SAMPLE_FLOAT | #BASS_STREAM_PRESCAN | #BASS_SAMPLE_SOFTWARE

after ... disabled SRC
Bass option
#BASS_UNICODE | #BASS_STREAM_DECODE | #BASS_SAMPLE_FLOAT | #BASS_STREAM_PRESCAN