I'd like to do a 'sequel' to the music disk I did last year, but I can't seem to find the command to load and play a tune.
sorry for all the simple questions

cheers, Phil.
Code: Select all
dl = dlopen( "mylib.dll" ) //Open the library
if dl >= 0
{
f = dlsym( dl, "show_info", "iip" ) //Get the function show_info() from dynamic library
// "iip" - int int pointer
if f >= 0
{
retval = dlcall( dl, f, 1, 2, "blahblah" ) //Call the function show_info() with parameters (int) 1, (int) 2, (pointer) "blahblah"
}
dlclose( dl ) //Close the library
}
Please open the test.pixi and find this string: set_audio_callback( audio_callback, 0, 44100, INT16, 2 )but the sound is quite low quality
Just i have no sunvox library for Raspberry now :)I then tried this prog (and the text.pixi example) on the Raspberry Pi
thanksNightRadio wrote: Please open the test.pixi and find this string: set_audio_callback( audio_callback, 0, 44100, INT16, 2 )
replace it by set_audio_callback( audio_callback, 0, 44100, INT16, 2, AUDIO_FLAG_INTERP2 )
I think the problem in this place.
Just i have no sunvox library for Raspberry nowI then tried this prog (and the text.pixi example) on the Raspberry Pi
hm... may be you can record this sound someway for me?but it's still not as 'crisp' as it sounds in Sunvox itself
Your computer is ok :) Just not all systems can provide 1024 frames audio buffer. If you remove this string in config - default 4096 value will be used :)is my computer weird