help with ksynth-v2 and PureBasic
category: code [glöplog]
here is a prod:
http://www.pouet.net/prod.php?which=21045
I am using PureBasic:
during "Compile Executable" i've got a message:
how to resolve one?
thanks.
http://www.pouet.net/prod.php?which=21045
I am using PureBasic:
Code:
ImportC "ksynth.lib"
sa As "?sample@@3PAEA"
mi As "?mixers@@3PAEA"
pol As "?poly_channel@@3PAEA"
pat As "?pattern@@3PAEA"
EC_NO.i As "?ECART_NOTE@@3IA"
Init_KSynth(w0.l) As "?Init_KSynth@@YAXXZ"
Update_KSynth(w1.l) As "?Update_KSynth@@YA_NXZ"
EndImport
Procedure do4KIntro()
dd=Update_KSynth(0)
glClear_(#GL_DEPTH_BUFFER_BIT | #GL_COLOR_BUFFER_BIT);
glRotatef_(0.5,1.0,1.0,1.0);
glBegin_(#GL_TRIANGLES);
glColor3f_(1.0,0.0,0.0);
glVertex3f_(0.0,-1.0,0.0);
glColor3f_(0.0,1.0,0.0);
glVertex3f_(1.0,1.0,0.0);
glColor3f_(0.0,0.0,1.0);
glVertex3f_(-1.0,1.0,0.0);
glEnd_();
EndProcedure
during "Compile Executable" i've got a message:
Code:
POLINK: error: Unresolved external symbol '?poly_channel@@3PAEA'.
POLINK: error: Unresolved external symbol '?mixers@@3PAEA'.
POLINK: error: Unresolved external symbol '?pattern@@3PAEA'.
POLINK: error: Unresolved external symbol '?sample@@3PAEA'.
POLI
how to resolve one?
thanks.
...really. Why ksynth? Use 4klang.
Quote:
...really. Why ksynth? Use 4klang.
someone said 4klang isn't easy to compouse tune.
ksynth is great if you dont want the result to be musical.
There's a PureBasic wrapper for 4Klang in the first post in this thread on the DBF Forum. Might he useful for you.
Quote:
ksynth is great if you dont want the result to be musical.
jf course i want music, ksynth probably a good add-on to 4k intro framework.
seems like
Code:
ImportC "intro.obj"
EndImport
is solution, but...i have music and white screen instead OpenGL.
i'm so n00b(
suck, whatr happened w/untergrund again?(no link to download and test(
mail sent
@skarab: 10x fo reply
@Android Barker: What they're trying to say is that ksynth is a pretty poor synth, and that it's downright hard to make good 4k music with it.
Quote:
and that it's downright hard to make good 4k music with it.
at least 4klang isn't easy to make music. hope, I'll find solution.
Hello, as stated in your mail there is a hacked solution, maybe someone will find a better way to export those symbols easily from purebasic...
Anyway, I agree with comments here, KSynth is a relatively poor synthetizer done in few weeks, 6 years ago, made because I was suffering to find a usable one and I need it, just released it for the utopie that I wrongly thought the scene was about...
Maybe it has changed since...
Just to state, the only music in few Ko coming near the demoscene that I liked was a simple test done by "Beta" using few oscillators, "welcome to california", which one deserved awards, I keep it and play it everytime I need to remember why I came here...
Anyway, I agree with comments here, KSynth is a relatively poor synthetizer done in few weeks, 6 years ago, made because I was suffering to find a usable one and I need it, just released it for the utopie that I wrongly thought the scene was about...
Maybe it has changed since...
Just to state, the only music in few Ko coming near the demoscene that I liked was a simple test done by "Beta" using few oscillators, "welcome to california", which one deserved awards, I keep it and play it everytime I need to remember why I came here...
@skarab: thank you again!
well, after 4klang, all i have is executable 18944 bytes. I dunno how to build .obj file and compact intro, kkrunchy reduce to 6144, no crinkler((
any ideas?
any ideas?
?
@relias abardon: bad idea
perhaps posting about morons and faggots solves your problem. already tried that? :P
Quote:
perhaps posting about morons and faggots solves your problem. already tried that? :P
try what? morons just say "fuck off".
i've found solution "how to build PB .obj", the matter in the crinkler, some unresolved things...
finally headshot:
Quote:
: error: LNK 0: import HeapAlloc from kernel32 uses forwarded RVA. This featu
re is not supported by crinkler (yet)
Do you have any control over all the "groundwork" that purebasic provides? Such as that call to HeapAlloc? Can you see the generated assembler code? If not, then I've got for you...
http://glair.narod.ru/temp/f4klang.rar
finally!
that's not an intro, of course...
finally!
that's not an intro, of course...
Traitor :)
Nice, it sounds good and lets you 2k for effects coding!
Nice, it sounds good and lets you 2k for effects coding!
@skarab: sorry, man, i loose fight with the k-synth, but it still da best. hope, i'll se suitable .lib.
maybe...
maybe...