-
SOMTrain .trainFromFile SOMTrain .trainFromFile(path, init= \gridrand , numdims=2, netsize=10, numruns=1, server, action, nhood=0.5, initweight=1) Here 's how to train the SOM from a data file. The data file should be an audio-format file ( ...
-
SOMAreaWr Write data over an n-D area in a buffer SOMAreaWr.kr(bufnum, inputdata, coords, netsize, numdims, nhood, gate) If you are training a SOM using SOMTrain , and you also want some data to be stored along with each node, generated dur ...
-
... 512); d = Buffer .read(s, "sounds/a11wlk01.wav" ); // Feel free to load a more interesting clip! }); ) ( x = { var sig, onsets, pips; sig = PlayBuf .ar(1, d.bufnum, BufRateScale .kr(d.bufnum), loop: 1); // OnsetsDS - move the mouse left/ri ...