Skip to content

Commit a43bc7f

Browse files
committed
clearer credits
1 parent d713bc6 commit a43bc7f

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

release-packaging/--CREDITS+INSTUCTIONS.md

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,42 @@ This was made possible thanks to the FluCoMa project (http://www.flucoma.org/) f
1212
3. Enjoy!
1313

1414
#### How to get started
15-
The fact that this package extends the native Buffer class means that the different instance methods will be documented in the Buffer helpfile. There is also a Guide entitled 'OfflineBufferProcesses' which explains and compares other methods to do similar tasks.
15+
The fact that this package extends the native Buffer class means that the new instance methods will be documented in the Buffer helpfile.
16+
17+
The new methods are:
18+
19+
.add
20+
adds an offset to the value of each sample (default: 0)
21+
22+
.mul
23+
multiplies each sample by the gain (default: -1)
24+
25+
.removeDC
26+
applies a one-pole high-pass filter to remove any DC offset, preserving the separate channels
27+
28+
.reverse
29+
swaps the order of samples in the buffer, from the end to the start, preserving the separate channels
30+
31+
.chunkSwap
32+
allows to move chunks of contiguous frames within a buffer, preserving the separate channels
33+
34+
.waveSetCopyTo
35+
allows to copy complete wavesets to a destination buffer, preserving the separate channels
36+
37+
A quick example of use in SuperCollider code would look like this:
38+
39+
```
40+
s.boot;
41+
//load a file, and play it
42+
b=Buffer.read(s,Platform.resourceDir +/+ "sounds/a11wlk01.wav", action:{b.play(true,0.1)})
43+
44+
// auto-glitch-scrambler
45+
10.do({b.chunkSwap(b.numFrames.rand,b.numFrames.rand,(b.numFrames.rand-(b.numFrames/2)));})
46+
47+
// clean up
48+
b.free;
49+
```
50+
51+
The Buffer helpfile has complete documentation of all methods with many examples. There is also a Guide entitled 'OfflineBufferProcesses' which explains and compares other methods to do similar tasks. You can find it by searching the SuperCollider help browser.
1652

1753
Comments, suggestions and bug reports are welcome.

0 commit comments

Comments
 (0)