Help Code crashing

Blitz3D Forums/Blitz3D Programming/Help Code crashing

Guy Fawkes(Posted 2009) [#1]
whats w/ this code? it crashes at the line BASS_FX_BPM_Translate() & BASS_FX_BPM_DecodeGet()




Abrexxes(Posted 2009) [#2]
BASS_StreamCreateFile(False, "http://audio.ngfiles.com/210000/210820_Blue_Roses__BC_Remix___NG_.mp3", 0, 0, BASS_STREAM_PRESCAN)

You can not open an "URL Stream" as "File Stream".

bye


Guy Fawkes(Posted 2009) [#3]
true, but for some reason BASS_FX_BPM_Translate() & BASS_FX_BPM_DecodeGet() crash.


Abrexxes(Posted 2009) [#4]
Both return a float (#), not an int (%)

bpm# =BASS_FX_BPM_Translate(music, 100.0, BASS_FX_BPM_TRAN_PERCENT2);
time1# = BASS_FX_BPM_DecodeGet(music, 0, size#, 0, 2, BASS_NULL)


and make shure that the dll is loaded (bass_fx.dll)

cu


Guy Fawkes(Posted 2009) [#5]
nope, still a MAV.


Abrexxes(Posted 2009) [#6]
Then i can not help you at the moment. I dont have the time to test all this and make work arounds. I still will finish 1.7.0 with the 3D stuff, after this the CD stuff....

sorry, maybee someone else here?


Guy Fawkes(Posted 2009) [#7]
i hope. this would really be a great help :)

and abrexxes, thanks again for everything :) im sorry if i sounded a bit rude earlier, its just frusterating when stuff doesnt work, you know? :)

well anyway, thanks again! :)

and if anyone else would like to help, that would be awesome! :)

~DS~