-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathscript_performance_Noiselets17.scd
91 lines (79 loc) · 2.64 KB
/
script_performance_Noiselets17.scd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
// This is the script used for the live performance presented in the concert Noiselets (8.1.2017) by peterMann (aka Anna Xambó) at Freedonia, Barcelona, Spain.
// The code used in the concert of Noiselets 2017 corresponds to the following commit hash to GitHub:
// [https://github.com/axambo/MIRLC/commit/3d0d27a0d1098b34694d7ef29439dac7443d5167](https://github.com/axambo/MIRLC/commit/3d0d27a0d1098b34694d7ef29439dac7443d5167)
// The code is part of an old version of the MIRLCRep module.
// part 1, interferences
~nz = MIRLC.new
~nz.getsound(50699)
~nz.getsoundbycontent(queryfilter: 'lowlevel.mfcc.mean[0]:[-1124 TO -1121]')
~nz.getsoundbytag("cell-phone", 2)
~nz.getsoundbysimilarity(2)
~nz.getsoundbycontent(4)
~nz.getsoundbysimilarity(5)
~nz.printpool
~nz.sequence
~nz.parallel
~nz.stop
// part 2, digits, digit, hammer, random
~nz2 = MIRLC.new
~nz2.getsoundbytag("digits")
~nz2.getsoundbytag("digit", 2)
~nz2.getsoundbytag("hammer")
~nz2.getsoundbyrandom(2)
~nz2.printpool
~nz2.mute(5)
~nz2.mute(6)
~nz2.getsoundbyrandom(2)
~nz2.mute(7)
~nz2.sequence
~nz2.stop
// part 3, saw, squarewave, scratches
~nz3 = MIRLC.new
~nz3.getsoundbytag("saw")
~nz3.getsoundbytag("scratches", 3)
~nz3.getsoundbysimilarity(1)
~nz3.printpool
~nz3.sequence
~nz3.parallel
~nz3.stop
// part 4, digits, digit, digital
~nz10 = MIRLC.new
~nz10.getsoundbytag("digits", 6)
~nz10.getsoundbysimilarity(1)
~nz10.getsoundbyrandom(4)
~nz10.getsoundbytag("digit", 1)
~nz10.getsoundbytag("noise", 2)
~nz10.printpool
~nz10.getsoundbysimilarity(19)
~nz10.sequence
// GET TARGET SOUNDS
//~mirlc.getsoundbyrandom();
//~mirlc.getsoundbytag("nail", 3);
// GET SIMILAR SOUNDS FROM TARGET SOUNDS
//~mirlc.getsoundbysimilarity();
//~mirlc.getsoundbysimilarity(1);
//~mirlc.getsoundbysimilarity(numsnd:2, size:2);
//~mirlc.getsoundbycontent(queryfilter: 'lowlevel.mfcc.mean[0]:[-1124 TO -1121]')
//~mirlc.getsoundbycontent(queryfilter: 'lowlevel.mfcc.mean[0]:[-1124 TO -1121]', size:2)
//~mirlc.getsoundbycontent(queryfilter: 'lowlevel.mfcc.mean[1]:[17 TO 20]')
//~nz.getsoundbycontent(queryfilter: '.lowlevel.mfcc.mean[0]:[-1124 TO -1121]')
//~nz.getsoundbycontent(queryfilter: '.ltonal.key_scale:"major')
//~nz.getsoundbycontent(queryfilter: '.lowlevel.spectral_centroid:0.5')
//~nz.getsoundbycontent(queryfilter: '.lowlevel.barkbands.mean')
//~nz.getsoundbycontent(queryfilter: 'lowlevel.pitch_salience.mean:[0.6 TO *]')
// PLAYING WITH SOUNDS
//~mirlc.solo(4);
//~mirlc.mute(2);
//~mirlc.soloall(4);
//~mirlc.muteall(2);
//~mirlc.stop;
//~mirlc.play;
//~mirlc.sequence;
//~mirlc.parallel;
//~mirlc.free();
// VISUALIZING SOUNDS
//~mirlc.plotserver();
//~mirlc.printpool;
//~mirlc.scope;
// RECORDING
// Server.default.makeGui