4klang by Alcatraz [web]
screenshot added by gopher on 2009-06-23 00:48:11
platform :
type :
release date : june 2009
  • rulez 83
  • is ok 11
  • sucks 1
popularity : 2%
  • rulez 0.86
  • cdcs 2
alltime top: #467
added on the 2009-06-23 00:48:11 by gopher gopher

popularity helper

increase the popularity of this prod by spreading this URL:


I didn't tested it yet, but it looks awesome :)
rulez added on the 2009-06-23 01:16:30 by rbz rbz

But played around a bit. Seems a bit buggy.
rulez added on the 2009-06-23 01:28:32 by tomtebloss tomtebloss
Tried it and seems pretty sweet, not buggy at all.
rulez added on the 2009-06-23 01:51:54 by noby noby
rulez added on the 2009-06-23 02:04:20 by martin martin
absolutely great!
rulez added on the 2009-06-23 04:27:59 by dipswitch dipswitch
I've heard music made with it. It sounds really great. One of the best synths on 4k scene.
rulez added on the 2009-06-23 06:33:47 by stan_1901 stan_1901
rulez added on the 2009-06-23 08:23:41 by Sir Sir
thank you
rulez added on the 2009-06-23 08:42:55 by pandur pandur
This is for sure awesome!!!
rulez added on the 2009-06-23 09:13:51 by Puryx Puryx
Thanks for releasing that and i hope lots are using it, i guess ATZ´s latest demos showed the potential of that synth !
rulez added on the 2009-06-23 09:16:12 by _H2o_ _H2o_
rulez added on the 2009-06-23 10:16:13 by chromag chromag
Great 4k synth
rulez added on the 2009-06-23 10:28:19 by quickyman quickyman
gopher and powl rule - simple as that.
rulez added on the 2009-06-23 10:30:44 by auld auld
seems great, is the code portable to *ix?
added on the 2009-06-23 10:39:16 by jaw jaw
all code is portable.
From the nfo:
the source code will probably also be released some day, but i just dont feel
like it right now since it was quite some work to get everything running as it
does now.

Guess you have to wait a bit ;)
added on the 2009-06-23 10:48:00 by Puryx Puryx
This is even more awesome than I ever imagined!
rulez added on the 2009-06-23 11:18:11 by KeyJ KeyJ
Sounds quite excellent!
rulez added on the 2009-06-23 11:34:33 by CrossProduct CrossProduct
seems great, is the code portable to *ix?

The synth core is completely written in NASM.
So basically a Linux port is possible and in fact does already exist.
Problem is probably more the GUI which is WIN32 only.

But as already stated ... its not time for the source to go public yet. Be patient, it will come sooner or later :)
added on the 2009-06-23 12:09:37 by gopher gopher
I agree with this synth.
more than9000 times.
rulez added on the 2009-06-23 12:22:17 by kaneel kaneel
Punchy / great sound for a 4k synth and I like your stack-based approach.

The 'arithmetic' operator needs more explanation. For instance: why do I see 'Push' followed by 'Pop'l? Doesn't the pop negate the push? It seems redundant.

I'm not sure if this is a musician's synth - it feels more like a coder's synth :)
rulez added on the 2009-06-23 12:54:11 by trc_wm trc_wm
that synth is a bomb..
rulez added on the 2009-06-23 13:33:17 by mad mad
the arithmetic operator provides a bunch of arithmetic operations of which you can choose one to be executed by cklicking the respective button.
its just a choice :)

selecting "push" will push the topmost signal again on the stack
selecting "pop" will remove the topmost signal
selecting "add" will add the 2 topmost signals ... etc.
added on the 2009-06-23 13:35:49 by gopher gopher
rulez added on the 2009-06-23 13:43:47 by wullon wullon
i have a feeling that this will be very useful at some point
rulez added on the 2009-06-23 14:01:46 by Confused Confused
This synth was used for Valleyball. Really awesome stuff and certainly easy to use, certified by my musician and me as a coder.
rulez added on the 2009-06-23 14:50:01 by xTr1m xTr1m
Yet another great tool.
rulez added on the 2009-06-23 15:27:36 by xernobyl xernobyl
using code from other ppl and not even mentioning it is LAME
sucks added on the 2009-06-23 16:56:15 by iDon'tCare iDon'tCare
using code from other ppl and not even mentioning it is LAME

haha, nice one...
added on the 2009-06-23 17:10:20 by pOWL pOWL
Finally its here.. even before zine is released with an article about this tool ;)

rulez added on the 2009-06-23 20:29:11 by magic magic
I use code by Microsoft :(
added on the 2009-06-23 20:44:45 by xernobyl xernobyl
pretty ok as a synth, nothing too special..thumb for releasing it though :)
rulez added on the 2009-06-23 21:31:03 by ferris ferris
Nice tool, with a nice sound.
... and nice to you to release the code source.
rulez added on the 2009-06-24 15:03:43 by untel untel
great system! plus, i can use ReNoise? maybe i could return to 4k music making because of this tool =)
rulezcdc added on the 2009-06-24 15:10:26 by nula nula
well.... it works with renoise but i didnt manage it to get the real sound output from the synth =(
rulez added on the 2009-06-24 15:59:51 by starbuck starbuck
rulez added on the 2009-06-24 16:03:04 by lsl lsl
BB Image
rulez added on the 2009-06-24 19:12:07 by Saga Musix Saga Musix
i like tools
rulez added on the 2009-06-24 22:53:17 by src src
rulez added on the 2009-06-25 01:00:53 by iks iks
it works with renoise but i didnt manage it to get the real sound output from the synth =(

what exactly do you mean?

so far i got feedback that it works with:
madtracker, renoise, ext2, aodix, buzz (polac's vst loader) and fl studio
added on the 2009-06-25 12:30:02 by gopher gopher
Remembed that you also have to load the appropriate patch into the plugin after loading the song or you will get "non-real sound output" from the synth.
Still rules though.
rulez added on the 2009-06-25 13:39:49 by grusbanan grusbanan
The example doesn't run on my work machine (the waveOut buffer doesn't start playing as it seems, MMTime stays at a constant zero), but judging from the screenshot and readme this looks VERY good. Will wait until I get home and play around a bit before I decide how far up my thumb goes ;)
added on the 2009-06-25 13:57:19 by kb_ kb_
kb: the example code uses WAVE_FORMAT_IEEE_FLOAT for the output buffer. thats because the buffer filled by the synth has to be a stereo floating point buffer (to save some bytes for integer conversion).
maybe your work machine (or sounddriver) doesnt support that format?
added on the 2009-06-25 21:41:05 by gopher gopher
also works in openmpt so far, just the fact that it opens its own window and doesn't stay in the vst host window is a bit distracting. :)
yep, works perfectly in FL Studio 8. Nice interface and easy to use.
rulez added on the 2009-06-27 15:44:55 by button button
Pretty awesome synth, but the GUI is too scary for this design whore, sorry! ;P

A shitloads of extra-thumbs because "Horde invitation was the very first product in the world using 4klang" ;)
rulez added on the 2009-06-27 15:49:05 by skan skan
doesn't work on amiga!
rulez added on the 2009-06-27 23:33:59 by dalezy dalezy
we have the same bug wit a few of our previous FairLight demos, and it was caused by using floatpoint buffers. can't remember why they didn't work on some machines, but perhaps it's that simple that not all cards supports it.
added on the 2009-06-29 00:56:33 by pantaloon pantaloon
The bp09 compo machine didn't support floating point buffers... guess the amount of work gopher and me had during the party, trying to figure that out. It should work with 16 bit short samples
added on the 2009-06-29 08:19:51 by xTr1m xTr1m
hm, is it normal that my Pentium 4M laptop is hopelessly swamped when trying to play the "KevinSpacey" example in Renoise?

Anyway, nice concept and sound!
rulez added on the 2009-06-29 13:05:29 by spike spike
try setting the polyphony in the gui to 1x.
i think i saved the example songs with 2x setting which approximately doubles the cpu usage.
apart from that i found renoise to be quite cpu hungry itself compared to e.g. madtracker (which are the both trackers i used during development)
added on the 2009-06-29 13:31:05 by gopher gopher
ok, i'll try. yeah, it seems especially updating the pattern view eats a lot of CPU in Renoise, which is kind of embarassing imho, but well :)
added on the 2009-06-29 13:53:25 by spike spike
this is not giving satisfaction to me on my actual machine.

BB Image

but let´s see what the future will bring.
rulez added on the 2009-06-30 00:01:05 by Թર્મેΞΞ Թર્મેΞΞ
This is really good :-)
rulez added on the 2009-06-30 09:30:30 by Shockwave Shockwave
btw. blow the brigades atz 4k dreamteam! this is a command!
gopher: still, even today, alot of on-board audio cards don't support floating point output...
added on the 2009-07-05 18:06:12 by ferris ferris
...and besides, f->i conversion using FPU isn't pricey at all except like 4 bytes or so per conversion to correct the range, right?? I suppose you're saving a FEW bytes, but...;)
added on the 2009-07-05 18:07:31 by ferris ferris

added on the 2009-07-05 18:31:53 by Confused Confused
BB Image

for pOWL! <3
can you please stop posting bullshit? do it to your own productions or are there none?!
fuck you very much!

p.s.: you better pray we never meet
added on the 2009-07-05 23:52:12 by pOWL pOWL
Bruno & Bronko send all their love to pOWL! <3
you might want to stop doing that. just an advice.
added on the 2009-07-06 00:05:21 by Gargaj Gargaj
Does it accept any other command than note on/off?
added on the 2009-07-09 10:55:20 by xernobyl xernobyl
xernobyl, nope
no velocity, no midi controllers, no tracker commands, nothing fancy.
all of this would have to be stored somehow for correct playback in an exe and there's simply not enough space in a 4k for all that information, sorry :)
added on the 2009-07-09 12:32:29 by gopher gopher
not that you need it :) you can use the store command using a separate instrument to "animate" any parameter you want.
added on the 2009-07-09 13:35:40 by xTr1m xTr1m
i use this synth for about a year by now and have to say its the best that could have happened to me...
thanx so much gopher :D

here some 4ks i made use of it:

bonzai broz:
Belgian Summer

French Autumn

had a lot of instruments ready to get released, but my HD crashed and i lost everything :/
but best is to do your own instruments with it anyway ;)
forgot thumb !
and out of boredom: the ATZ-releases that made use of 4klang aswell:

Horde 2007 Invit
rulez added on the 2009-07-13 22:00:57 by ɧคɾɗվ. ɧคɾɗվ.
Very complete. Amazing sound, but too much CPU with Renoise on my MSI Core 2, yet nvidia 9600M GT, 256mb.
rulezcdc added on the 2009-07-25 18:18:01 by ulrick ulrick
Renoise uses a lot of CPU anyway...use MadTracker instead ! uses like 30% of a dual2Core @ 2 GHz ( E4500 )
Version 2.5 released:

* recording now additionally spits out 4klang.h with some useful defines for the song
* added modulation targets for envelope (attack,decay,release)
* added optional note buffer to access the note values of each instrument (similar to envelope buffer)
* adjusted example project, changed threaded version for smaller size (thank you xTr1m/blu-flame)
* added wav writer project

until the download link above is fixed grab it from http://4klang.untergrund.net
added on the 2009-07-28 01:38:17 by gopher gopher
Version 2.6 released:

* new option to export the object in linux elf format (hello linuxdemos.org)
* compatibility option to force the player to output 16bit integer instead of 32bit float samples
* moved 4klang function declarations into 4klang.h plus some defines for the above new features
* adjusted examples, added linux example code (big thanks to las/mercury)

until the download link above is fixed grab it from http://4klang.untergrund.net
added on the 2009-08-06 16:49:35 by gopher gopher
rulez added on the 2009-08-06 17:14:46 by las las
dAMED cool synthezizer!! congratz...
port to MASM32 no prob, for the port to
Purebasic i converted 4klang.obj to a static lib.RUNs fine at all, go on and improve GOPHER... btw... whats best HOST yu use for the VSTI PLUGIN?
Thnax and Cheers
added on the 2009-08-19 22:08:37 by energy energy
i do prefer MADTRACKER. any host should be OK, as there are no incompatibilities reported so far. just take the one you prefer.
added on the 2009-08-19 22:34:52 by pOWL pOWL
is there a chance to loop the sound?
added on the 2009-08-22 16:17:49 by energy energy
i would enable sound looping via the buffer for the used api. both, waveout and dsound api have flags to set the output buffers to looping mode.
added on the 2009-08-22 21:01:19 by gopher gopher
Sorry for asking the obvious.. But how can you add more inputs to the VSTi? Tried it with Live and energyXT, and 4klang had only one input in both of them. When creating multiple instances of the VSTi caused immediate buffer underruns.
added on the 2009-09-08 15:39:04 by basscadet basscadet
rulez added on the 2009-09-08 15:43:07 by Maissi Maissi
You have to create a dummy instrument and route it to 4klang on a different midi channel... So, Instrument 1 goes to 4klang midi ch. 1, Instr.2 to same 4klang instance midi ch. 2 and so on.
added on the 2009-09-08 15:56:12 by pOWL pOWL
dont know if you're familiar with v2 (or if it works with your vst hosts), but its the same principle with 4klang.

like powl said, you need to find a way to route ALL midi channels to the one and only instance of 4klang.
if your host application doesnt support that somehow, i'm afraid i cant help you.

if "live" in your post stands for ableton live, i can confirm it's possible somehow, at least wayfinder got it to work with it :)
added on the 2009-09-09 01:08:00 by gopher gopher
This is pretty much the thing I've been waiting for in a workable soft synth :)
rulez added on the 2009-09-16 14:12:21 by visy visy
I like it alot although its too much CPU usage for me on my Intel Atom >:D Need to buy a faster computer i guess... thumbs up !
rulez added on the 2009-09-19 02:26:22 by svenzzon svenzzon
rulez added on the 2009-10-05 21:09:57 by keops keops
Instant love! Here's a testimony: I tried previously coding the music myself and various other 4k music composition tools, but everything sounded more or less crap. Finally when I was getting desperate, 4klang came to the rescue. Props also for great support!
rulez added on the 2009-10-05 21:41:15 by melw melw
Version 2.7 released:

* new option to export the object in OSX macho format (hopefully :) and to specify note quantization for export)
* oscillator now has additional gate waveform
* arithmetic supports loading the normalized (0..1) midi note value on the stack
* added a few more instrument presets
* introducing a new file format version. older file versions will be autoconverted
added on the 2009-10-06 23:42:31 by gopher gopher
until the download link above is fixed grab it from http://4klang.untergrund.net
added on the 2009-10-06 23:43:11 by gopher gopher
BB Image
rulez added on the 2009-10-06 23:45:25 by blala blala
RoxXx!!! Thnx for this tool!
rulez added on the 2009-10-12 22:39:44 by JosSs JosSs
The latest version crashes here everytime with latest renoise on Win7 64bit. Old version worked fine!
rulez added on the 2009-10-22 02:24:41 by MrVainSCL MrVainSCL
runs fine under my vista64 and the new version didnt contain severe changes that would explain a difference between that and previous versions.

anyone else having trouble with win7 64bit?

i guess you'll have to wait until i get around having a win7 version on my pc to check that, sorry :(
added on the 2009-10-27 10:26:45 by gopher gopher
Thanks for your reply! Mhhhh... i will test each version here on Windows7 x64 with latest version of Renoise and report you.

Btw, please add a versionnumber to the readme.txt and change the WindowTitle which shows still Version 2.4 here (even with the latest version) ;-)

Here is a screenshot what happens, when pressing in Renoise on the play button...

BB Image

added on the 2009-10-27 16:56:44 by MrVainSCL MrVainSCL
uhm ... the window title is changed with each version ...
you're sure that renoise is actually loading the newset version?

for the readme, admittedly i could add that :)

but in any case there should be no need to keep old versions alive by now, since every new version is backwards compatible :)
added on the 2009-10-27 17:12:35 by gopher gopher
great tool, thanks Alcatraz :)
rulez added on the 2009-12-02 05:14:53 by pera pera
silently thinking...
rulez added on the 2009-12-03 15:54:42 by merlucin merlucin
MSI users, good news! The 4klang used too much cpu on my laptop GX400 (99.99% in fact :), but now the problem is solved after updating the Intel Chipset Drivers. Download them at: www.msi.com/index.php?func=downloaddetail&type=driver&maincat_no=135& ;prod_no=1596.
added on the 2010-02-22 11:12:03 by ulrick ulrick
Euh... in fact, unlike what I've just sserted things do not work as well as I expected, and I can't explain why. I have 4 tracks with example instruments which I use in my own composition and cpu use again reaches the 99.99% limit. I'll see how thinks go when I close my Internet connexion, McAfee and other polluting applications.

gopher kindly helped me to sort out the problem through msn live. We tried to play "example" (a song that comes witht he 4klang package), not only with Renoise but also with MadTracker, and the problem was worst.

I really think msi's got a problem.

Some clue here?
added on the 2010-02-23 11:44:06 by ulrick ulrick
MSI and McAfee have been CPU-consumers number 1 in my system for some time, so i just deleted em and i got a relieve of mem-hookers !
also any other Firewall and Messenger except the Microsofts own ones seem to stress RAM, thats so you cant use em and better rely on the m$-shit they provide !
my Firewall is the M$-one and my Messenger is Trillian Astra ! ( just let hope bill wont read here ! ;) ) ...since i drive like that my memprobs are gone !
( delete ms-messenger and internet explorer tho, else they´ll flood ram like hell aswell ! )
msi users: problem definitely solved.

msi laptop computers have an optional button that allows to select different operating modes: gaming, office, eco, ... and even a turbo available from a second button present just above the keyboard.

4klang works fine (about 50%) cpu when the "gaming" mode is selected, not the turbo (both can't be on simultaneously). In fact, the "turbo" mode is only available when the computer's battery is on charge. The other modes are always available, regardless the battery is on charge or not.

msi users may (as me) may routinely press the "turbo" button, thinking that the computer will reach its maximal speed. Mistake!

Thanks for the 4klang!!!!
added on the 2010-02-24 19:18:27 by ulrick ulrick
... by the way, thanks hArDy!
(msi users, see message above, might be useful if you eperienced cpu overuse with 4klang)
added on the 2010-02-24 19:20:15 by ulrick ulrick
Very cool synth ! Any chance of a mingw-friendly version ? :)
rulez added on the 2010-05-10 18:05:52 by kohai kohai
Very very useful. But there seems to be a problem with very slow moving LFOs (0.2-0.8 Hz or so) when you "compile" the music to obj. The play back much faster (4 Hz or so), but the problem does not occur as long as I only use the VST version (I want to use that for some slowly changing instrument sounds)

Oh, and support for triplets would be great as well ;-)
rulez added on the 2010-05-12 16:11:56 by teraflop teraflop
rulez added on the 2010-05-12 18:34:32 by Ized Ized
Wow how did I miss this… Great job guys, amazing work.
rulez added on the 2010-05-12 20:15:07 by decipher decipher
oops, forgot to thumb up this, thanks again gopher for sharing this great synth
rulez added on the 2010-05-12 22:05:49 by xoofx xoofx
15-May-2010: Version 2.7 (quality example updates)

* Nothing new on the plugin itself, but some 4klang users were kind enough to share their great songs:
* dollop soundtrack. thank you melwyn for providing that
* ergon soundtrack. thank you ulrick/FRequency
* baghdad soundtrack. thanks again melwyn
added on the 2010-05-15 12:32:38 by gopher gopher
teraflop: never encountered that problem, can you send an example where that lfo issue happens to atz4klang@untergrund.net please?

for triplets ... try scaling your tracker pattern size by 1.5 (e.g. from 64 to 96 ticks), and also scale your bpm by 1.5.
internally in 4klang there's nothing like "between ticks". either you hit it or not. therefore you need to adjust the input ticks, which is the tracker's pattern size/speed

kohai: please define mingw friendly :)
added on the 2010-05-15 12:42:51 by gopher gopher
mingw : win32 GCC port http://www.mingw.org/
added on the 2010-05-16 02:08:32 by kohai kohai
kohai: yes i know mingw. i meant more like what exactly is your problem?
added on the 2010-05-16 12:55:47 by gopher gopher
Allright, i'm a complete jerk ( i was linking with the 32bit version instead of the 16bit one ).
And it's official, you're my new hero ! :)
added on the 2010-05-17 23:16:04 by kohai kohai
Probably worth of noting: we also used this in Tai Bao Capsule: http://www.pouet.net/prod.php?which=53898
added on the 2010-06-09 11:41:34 by visy visy
Moved from samples tot 4klang, great fun. So i'm open for doing some work for a demo. Nice tool !
rulez added on the 2010-08-05 08:43:51 by solenoid solenoid
I'm too lame to use it but that's great tool anyway.
rulez added on the 2010-08-06 15:10:01 by closed closed
going back a bit into it, remembered some tricks... still a nice synth in which I can haz wobblesynthz. Thats too bad for the polyphony though :(
added on the 2010-09-04 13:46:50 by kaneel kaneel
Anyone for making this a MUCH LESS CODER GUI?
added on the 2010-09-04 15:43:44 by leGend leGend
Wait is over and the result is: Thumb goes WAY up. :D
rulez added on the 2010-10-23 19:24:40 by kb_ kb_
24-Mar-2011: Version 2.8 (minor bugfixes)

* a few synth features were not correctly detected/exported depending on certain instrument configurations. thank you Subi/Desire for reporting and providing test data
added on the 2011-03-24 21:41:03 by gopher gopher
Great tool, helps a lot for making 4k intros on Linux, but it still lacks an option for recording to x64 Linux ELF...
Rulez anyway ;)
rulez added on the 2011-08-01 15:53:18 by flure flure
Love the sound! Any chance of open-sourcing the synth (for porting to new platforms and for diving into the tech)?
rulez added on the 2011-08-23 10:02:17 by marcus256 marcus256
actually the thought of making the code available is in my head for some time now. i dont have a problem with that, except that especially the gui part is pretty ugly and just a quick and dirty wrapper around the asm core. so i expect a lot of questions there which i probably cannot even answer anymore since i havent touched that thing for almost 2 years now :D

i'll dive through the code in the next weeks cleaning up stuff a bit and preparing the source. after the source release its probably more on a "take it or leave it" basis. i will try to answer questions though :)
added on the 2011-08-23 10:37:12 by gopher gopher
gopher : And pleaaaaase, a 64 bits elf export would really make my day ;)
added on the 2011-08-23 11:08:16 by flure flure
might sound like a stupid question but where is the excecutable? o_O
added on the 2011-11-06 13:20:43 by joooo joooo
So it's a vst plugin :D
rulez added on the 2011-11-06 18:14:55 by joooo joooo
after playing days arround with, i'd like
to know how to realize wooble effects and if its possible with 4klang.
eg like this:
Thanx in advance
added on the 2012-01-04 15:50:16 by energy energy
added on the 2012-01-04 16:15:42 by wysiwtf wysiwtf
energy: I might sound harsh here, but have you tried to automate or LFO control a filter on a synth?

There are a gazillion tutorials on how to do the wobble on YT - only thing you need to do is to see how you get the effect to work in 4klang.
added on the 2012-01-04 16:25:38 by Puryx Puryx
if you get what that dude is doing in renoise in this video, you _may_ be able to reproduce it in 4klang ;)
How to make a Dubstep Wobble Bass in Renoise
control_instruments controlling control_instruments or sth! ;)
I get an wobbler with fl Studio with its
3Oscillators plugin.
As Puryx said, i dont know how control the
filter of the 4klang.
added on the 2012-01-04 18:06:23 by energy energy
anything can be wobblized :)
rulez added on the 2012-01-04 18:43:12 by keito keito
ok keito. but how i can get it to work that it has an effect in the 4klang record??
so i know how to wooble, but that has no effect after recording it with 4klang, the wooble will not be saved.
added on the 2012-01-04 20:13:26 by energy energy
I get an wobbler with fl Studio with its
3Oscillators plugin.

uhm, yeah :)
sure a 3rd party vst can do the wobble job for you.

but point (and intention) with 4klang ist that you can only export what you created by using 4klang because everything has to be played back later in a 4k just using 4klang. simple as that.

but to be actually of help, check this intro we did, it includes some wobble bass.


if that could be a start for you let me know, i can include the song and patch in the 4klang package or simply upload it somewhere
added on the 2012-01-05 18:42:16 by gopher gopher
Yes gopher. Thats what i want to do.
if yu could upload something to rapidshare or so
that would be cool. all i want to know is how
that was realized.
Thanx in advance.
rulez added on the 2012-01-05 22:16:08 by energy energy
Hi folks, maybe someone can help me... I'm trying to compose with 4klang using ableton live. But I really don't understand how should I separate each instrument of 4klang at ableton. Normally, I'd set an ableton midi channel to each instrument in the vsti, but I can't find out how to do it with 4klang. Any tips? Thanks in advance!
rulez added on the 2012-01-23 16:39:15 by pulselooper pulselooper
in general 4klang runs as some sort of singleton, which means there may only be one physical instance of the plugin running (e.g. in the first instrument for midi channel 1) and all other instruments must be routing their respective midi channel to the one 4klang instance (in renoise its called alias).
4klang itself offers no way to configure things like that since it only processes the midi signals it gets on all midi channels, so it somehow has to be done on your vst host.

since i never used ableton myself i cant tell you more, but if you e.g. ever managed to get V2 running there it should be the same way to go in 4klang.
added on the 2012-01-23 16:55:55 by gopher gopher
oddly, I just tried to route the midi channels to 4klang instruments again and now it worked! Man, this little synth is awesome. thanks a lot to Alcatraz!
but to be actually of help, check this intro we did, it includes some wobble bass.


if that could be a start for you let me know, i can include the song and patch in the 4klang package or simply upload it somewhere

gopher that would be fine if yu can upload.
Or just one instrument with its wooble setup.
added on the 2012-01-28 09:10:26 by energy energy
I'm not very much into 4klang, so I don't know if you can do in-track changes to LFOs, but creating a wobble is very simple. Have an LFO control the volume/output gain and the same or another equally synced LFO control cutoff on a lowpassfilter. To change the frequency of the wobble, simply change the frequency of the LFO. If it can't be done during playback, creating two, three or four identical instruments that has fixed (but different) LFO frequency settings, would do the job as well. Four almost identical instruments would pack almost as well as a single instrument, so I wouldn't worry too much on size in such cases, but I might be mistaken ;)
added on the 2012-01-28 11:30:55 by Punqtured Punqtured
uh right, sorry.
i forgot about that completely and im currently on vacation...

but the current package already contains some wobble bass example. check the baghdad song from melwyn, it contains some wobble bass.

i'm gonna update the 4klang package after i come back home. it will contain one more sound unit and also one example song more.

added on the 2012-02-06 01:52:39 by gopher gopher
I'd like to stand corrected on my previous comment a few years back; this synth RULES. Fantastic work; I recommend this every time to people starting 4k coding :)
added on the 2012-02-06 02:47:21 by ferris ferris
A cakewalk to plug in, and the musician could get nice sounds out of it very quickly. Thanks a lot for that, I'm not sure we could have released D - FOUR without it.
rulez added on the 2012-02-06 08:37:06 by Zavie Zavie
23-Feb-2012: Version 3.0 (source release)

* added a new unit to load an arbitrary signal from -1..1 to the stack. also contains a modulation target for further sound signal tinkering
* added modulation targets for all delay/reverb parameters (except delay time, since that is a constant internally)
* due to the above 2 points a changed file format. actually without using those its still the same. check the readme for more info
* added light rythm soundtrack.
* and ... *drumroll* ... the complete source for 4klang and the VSTI plugin. now go make your own changes :)
added on the 2012-02-23 22:26:06 by gopher gopher
Great going on releasing the source :)
rulez added on the 2012-02-23 22:44:55 by emoon emoon
gopher yu are the best. thanx for all yur work.

added on the 2012-02-28 14:16:29 by energy energy
behind the coder GUI is a really, really powerful 4k synth. :)
rulez added on the 2012-03-27 22:43:41 by aegis aegis
Thumbs galore!
rulez added on the 2012-04-18 15:06:26 by raizor raizor
rulez added on the 2012-04-18 15:12:41 by p01 p01
rulez added on the 2012-04-18 15:14:17 by v3nom v3nom
What aegis said ;)
added on the 2012-04-18 15:18:59 by noby noby
source !
rulez added on the 2012-04-18 15:35:28 by xtrium xtrium
The VSTi seems to crash the VST bridge in Cubase 6.5. No particular action from what I can tell, it's general usage and after a while Cubase says VST bridge has lost connection.

Hope that helps you help me! :)


added on the 2012-04-18 20:48:00 by thecheat thecheat
Also, once i've closed the synth window (in any way) there's no way of getting it back. :) Cubase still, 6.5 64bit.
added on the 2012-04-18 20:59:50 by thecheat thecheat

4klang is a 32bit plugin. i hardly believe you will manage to get it working on any 64bit host :)

So try it with a 32bit host or, if you insist on using 64bit, grab the source from the package and try to compile 4klang with a 64Bit compiler :)
added on the 2012-04-18 21:43:23 by gopher gopher
Ah I see. A little research might have gotten me that info if I tried, but this is what I get for being sloppy! :) Thanks gopher! I'll look into this!
added on the 2012-04-19 22:07:13 by thecheat thecheat
FWIW, I made some fixes/changes to 4klang 3.0, because it was crashing on me. See this thread: http://www.pouet.net/topic.php?which=8811
I do not claim to understand enough to say that my fixes were 100% correct, but at least I can now do what I want with it.
rulez added on the 2012-05-24 16:56:26 by yzi yzi
am i the only person getting windows notification sounds on every note played in 4klang's 3.0 example? (both release/debug exes)?
also am i the only person having a crash with output of all three included make batches after a second of playing?

other than that, i've tried stack concept and totally dig it... awesome thing.
rulez added on the 2012-06-06 14:51:18 by ton ton
(windows 7 x64, shitty soundblaster live, nothing fancy)
added on the 2012-06-06 14:52:11 by ton ton
ton, note the call to MessageBeep(MB_ICONERROR) in the example's main.cpp. This is to demonstrate accessing the current note for an instrument (it beeps every time a particular note is played).

Also, can't believe I hadn't thumbed 4klang yet! <3
rulez added on the 2012-06-06 15:06:59 by Fell Fell
ok, disregard the notification thing, i was just too lazy to look into exe =]

still interested if the make.bat output works for somebody
added on the 2012-06-06 15:07:01 by ton ton
I confirm crashing on otherwise pretty stable config (winxp-32).
And why not use 4klang_examples/Example instead? It results in smaller file and doesn't crash.
rulez added on the 2012-06-06 18:28:09 by Digimind Digimind
3.0, linux, 32 bits
- The dedicated Linux demo crash after 21.8 secs, sometime saying =>
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server "�se"
- With very little fiddling, could make WavWriter to work flawlessly under Linux.
(and here's the thumb, it's easy to use and sounds fantastic, and it's small)
rulez added on the 2012-09-04 21:31:01 by marmakoide marmakoide
What would you say is the best way to use more than one 4klang tune in an EXE? I'm trying to add a secret part to a 64K, but I'm assuming including two 4klang OBJs would generate loads of linker conflicts.

Also, belated thumb up! Fantastic, and the GUI is fine by me. :)
rulez added on the 2012-09-11 17:43:19 by Subi Subi
uhm, i guess the easiest way to use several 4klang instances is to use the sources provided in the 3.0 package.
- create a 4klang plugin dll with the provided VS solution which uses .inc output instead of compiled obj. you can do that by geting rid of the line "#define EXPORT_OBJECT_FILE" in Go4kVSTiCore.h
- record your songs to several .inc files
- compile several 4klang.asm/.inc combinations. before you probably need to change shitloads of function names with a postfix character so that linking it together is not creating name collisions
- alternatively you could try to decouple the hard binding of .asm/.inc in its current state so that you can basically have setPatternData, setInstrumentData, ... calls to just use the same player code for different tunes (but i guess thats even more work than brute force renaming as mentioned earlier)
added on the 2012-09-20 18:35:57 by gopher gopher
Wouldnt it be easier to combine the songs in the tracker and jump between them?
that only works if you can live with using the same instruments (16 max) and the same bpm.
if the songs need different instruments and or bpm you dont have many choices left :)
added on the 2012-09-20 19:35:30 by gopher gopher
Thanks. I've got plenty of space left, so two copies of the replayer isn't going to cause a problem. I'll make up two files and trawl through the conflicts.
added on the 2012-09-21 00:16:37 by Subi Subi
btw, +1 for this one. the editor is gruesome ;) but the sound/byte ratio is delicious.
rulez added on the 2012-09-21 00:21:22 by xyz xyz
Awesome. I liked to generate an .EXE too from the VSTi: I read that you need to be very picky before you compile the song, it could not sound like it's from the DAW. Otherwise very fun to use. Fantastic job!
rulez added on the 2013-01-26 08:51:14 by Buckethead Buckethead
18-Jun-2013: Version 3.0.1 (bugfix release)
* fixed the bugs mentioned here. Thanks to yzi and neoman
* changed output method so the vsti now spits out the .asm and .inc files including the synth, player and song for direct compilation to your project rather than the previous linking of an .obj file
* 2 new example songs/patches:
* enlighten soundtrack. (thank you xTr1m/blu-flame)
* sundowner soundtrack. (thank you Punqtured/Fnuque)
added on the 2013-06-18 01:00:36 by gopher gopher
Incredibly awesome.
rulez added on the 2014-04-18 12:34:50 by slack slack
Thought I had already thumbed this but it seems not. Anyway I finally made my first song with this synth and I just have to show my appreciation to the creators. It is an amazingly powerful synth tool for the size it produces.
rulez added on the 2015-09-22 10:21:36 by drift drift
Where did my thumb go?!
rulez added on the 2015-09-22 11:23:45 by raer raer

submit changes

if this prod is a fake, some info is false or the download link is broken,

do not post about it in the comments, it will get lost.

instead, click here !

[previous edits]

add a comment