kode.pas

Programming applications for making music on Linux.

Moderators: MattKingUSA, khz

Post Reply
User avatar
skei
Established Member
Posts: 337
Joined: Sun May 18, 2014 4:24 pm
Has thanked: 8 times
Been thanked: 57 times
Contact:

kode.pas

Post by skei »

i initially wrote a long long post trying to describe it in full, but gave up, deleted it, and decided to just go for a short, introductionary "hello world!" thing instead.. :-)

"..the newest version of my cross-platform (linux/windows), cross-format (exe/vst), cross-architecture (32/64 bit) object pascal (freepascal/lazarus) library/framework.."

https://github.com/skei/kode.pas

if you have any questions, comments, complaints, ideas, etc.. let me know..

- tor-helge skei
User avatar
sysrqer
Established Member
Posts: 2519
Joined: Thu Nov 14, 2013 11:47 pm
Has thanked: 319 times
Been thanked: 148 times
Contact:

Re: kode.pas

Post by sysrqer »

Can't wait to try them. The funny thing is I was looking around trying to find some news or updates for these just yesterday, I love the old ones and use them quite often.

How do I compile them, what are the dependencies to build? I tried running the compile file, figured out I need fpc, but now I get this:

Code: Select all

:: compiling .pas (KODE_LINUX,KODE_VST,64bit,KODE_NO_GUI,KODE_NO_DEBUG)
Free Pascal Compiler version 2.6.4 [2015/06/12] for x86_64
Copyright (c) 1993-2014 by Florian Klaempfl and others
compile.pas(2,12) Fatal: Syntax error, "identifier" expected but ";" found
Fatal: Compilation aborted
User avatar
skei
Established Member
Posts: 337
Joined: Sun May 18, 2014 4:24 pm
Has thanked: 8 times
Been thanked: 57 times
Contact:

Re: kode.pas

Post by skei »

hi.. thanks for nice words! :-)

add the plugin name (without '.pas' extension or path) as an argument to the script.. for example

Code: Select all

./compile fx_gain
the plugins are all in ../plugins (relative to the build directory)
other arguments: -32, -64, -vst, -exe, -debug (look into to scripts for a short description of them)
there are almost no dependencies.. the only external lib i use is xlib (and xrender) for the plugins with a gui..
but..
the gui-plugins doesn't work properly, as i couldn't get the xlib stuff to work properly..
even if the code is almost identical to what i successfully used in older libs (axonlib, holos, etc)..
so, these will compile, but probably not work in linux (yet?): fx_gain_gui, fx_cutter, and all the syn_* synths/instruments..

next time i boot into linux, i will compile 64-bit versions of all the no-gui plugins.. i couldn't get cross compilation to 32 bit going properly either.. argh..
User avatar
sysrqer
Established Member
Posts: 2519
Joined: Thu Nov 14, 2013 11:47 pm
Has thanked: 319 times
Been thanked: 148 times
Contact:

Re: kode.pas

Post by sysrqer »

Ok, great thanks! I got most of them to compile (without the guis) with the exception of fx_cutter, that threw up an error.
I'm really excited about these, there are some great additions to the bundle, the moddelay is crazy :twisted:
User avatar
skei
Established Member
Posts: 337
Joined: Sun May 18, 2014 4:24 pm
Has thanked: 8 times
Been thanked: 57 times
Contact:

Re: kode.pas

Post by skei »

cool!
yeah, i haven't added the $ifdef's for non-gui version in the fx_cutter yet :-)
i might do that tomorrow, or something...
Post Reply