SPlist is a set of classes for non-realtime-soundfile-transformation.
For the most reliable and well tested analysis of a sound file you need to have the programm "splistanalyst" installed. In the moment I make the assumption that "splistanalyst" would be only installed on linux.
Now sound-file analysis files can also be created from within supercollider but the process is not well tested.
SPList is like a List operating on its own content, it is not creating a new copy.
Many methods work in the same way as methods of Collection and List work I do not document them here.
The SPL.sc file contains extensions to splist which provide specific use cases they are not documented here for now.
creates a new empty SPList. Usually not used by hand.
These are the four bund methods that generate a single value from the values of a type in a SPList.
average of all values in a SPList.
sum of all values in a SPList.
smallest of all values in a SPList.
biggest of all values in a SPList.
type |
type of analysed data: \amp,\rms,\freq,\length,\sec,\peaks,\delta |
a Float
When the elements of a SPList are SPLists it might be desirable to calculate their values with a different function than the top layer. The bund function for the containing SPLists is given as argument.
type |
type of analysed data: \amp,\rms,\freq,\length,\sec,\peaks,\delta |
bund |
If the SPList contains SPLists bund defines how they are calculated together. Choose either of the following Symbol: \avr, \sum, \small, \big |
a Float
Clumps all periods together starting from the point when a threshhold is crossed towards a lower value of a type until it happens again.
Clumps all periods together starting from the point when a threshhold is crossed towards a higher value of a type until it happens again.
Clumps all periods together between crossings of a threshhold (in both directions).
threshhold |
Threshhold value |
type |
type of analysed data either of the following Symbol: \amp,\rms,\freq,\length,\sec,\peaks,\delta |
bund |
If the SPList contains SPLists bund defines how they are calculated together. Choose either of the following Symbol: \avr, \sum, \small, \big |
(describe returnvalue here)
Clumps all periods together between two maxima of a value of a type.
Clumps all periods together between two minima of a value of a type.
type |
type of analysed data: \amp,\rms,\freq,\length,\sec,\peaks,\delta |
bund |
If the SPList contains SPLists bund defines how they are calculated together. Choose either of the following Symbol: \avr, \sum, \small, \big |
Split methods split a SPList into two parts (and put these two parts as suplist into the SPList)
Split a list in the middle of the SPList.
Split after Nth element of a SPList.
Split before Nth element of a SPList.
at |
Integer position. |
Split at next local maximum of a value of a type.
Split at next local minmum of a value of a type.
area |
This argument describes the number of list elements around the middle of a SPList that are taken into consideration. |
type |
type of analysed data: \amp,\rms,\freq,\length,\sec,\peaks,\delta |
bund |
If the SPList contains SPLists bund defines how they are calculated together. Choose either of the following Symbol: \avr, \sum, \small, \big |
Recursive split method. splits SPList N times in two parts.
// RECURSE SPLIT FUNCTIONS // teile deep mal in 2 teile (also 2.pow(deep)) // mithilfe der angegebenen splitfunktion und ihrer argumente // wird die splitposition bestimmt (describe method here)
deep |
How often sthe split function should be performed. |
sfunc |
Symbol of a split function |
... args |
arguments of a split funtion: \splitHalf \splitAfter \splitBefore \splitNextMin \splitNextMax |
Repeats each element of the SPList n times.
Repeats the whole content of a SPList.
Repeats the whole content of a SPList and create deep copies for each instance.
n |
number of repetition in addition to the existing one. |
Applies a SPEnv Envelope on a SPList.
envelope |
Needs a SPEnv object. |
interleaves two SPLists
anSPList |
a SPList |
cutend |
Boolean true: the shorter SPList should define the length of the total new list false: the shorter file gets looped. |
The usual way to sort a SPList is by this method. A SPList is sorted acording to the values of a type.
type |
type of analysed data: \amp,\rms,\freq,\length,\sec,\peaks,\delta |
bund |
If the SPList contains SPLists bund defines how they are calculated together. Choose either of the following Symbol: \avr, \sum, \small, \big |
reverse the splist
Play back a SPList. Writes a sound file and plays it back.
spf |
Function that transforms the start pos of each element of a SPList on the top level. |
spfd |
Function that transforms the start pos of each element of a SPList on the lower levels. |
Writes a sound file.
nrtServerOptions |
a instance of NRTServerOptions. |
spf |
Function that transforms the start pos of each element of a SPList on the top level. |
spfd |
Function that transforms the start pos of each element of a SPList on the lower levels. |
Returns the number of Periods.
a Integer
returns the parent of a SPList.
a SPList
Make SPList flat again. Remove all clumping of SPLists.
Length in samples of a SPList
returns how deep the SPList structure is.
Perform a method on the Periods within a SPList
method |
method key |
... args |
argument of the method |
a Integer
Append a SPList to this SPList
anSPList |
Creates a deepCopy of a SPList. This is necessary when different transformations on the same source material should be applied.
a SPList
Attempts to bring a SPList into its original shape. But it can not recreate deleted Periods.
Some kind of wheiered flattening method
another strange flatten method
Print values of a specific type of the SPList. (should make use of bund method)
type |
type of analysed data: \amp,\rms,\freq,\length,\sec,\peaks,\delta |
apply a do on all levels of a SPList structure.
function |
The first argument is the current splist. The second argument is the value of deepness. |
No time right now to document.
(describe method here)
levels |
(describe argument here) |
times |
(describe argument here) |
curves |
(describe argument here) |
releaseNode |
(describe argument here) |
loopNode |
(describe argument here) |
(describe returnvalue here)
(describe method here)
fx |
(describe argument here) |
... args |
(describe argument here) |
(describe returnvalue here)
(describe method here)
newtime |
(describe argument here) |
(describe returnvalue here)
(describe method here)
newtime |
(describe argument here) |
(describe returnvalue here)
(describe method here)
fx |
(describe argument here) |
... args |
(describe argument here) |
(describe returnvalue here)
(describe method here)
p1 |
(describe argument here) |
p2 |
(describe argument here) |
p3 |
(describe argument here) |
(describe returnvalue here)