/ proof-of-concept / cymsim
Sign in
proof-of-concept / cymsim
cymsim / examples / hit_train.yaml
108 lines · 1.8 KBBlameHistoryRaw
1# A train of four hits: a mallet stroke, two stick crashes on the ringing cymbal, and a second
2# mallet stroke. Each hit has its own exciter, released at its time just above the moving surface.
3material:
4 E: 110000000000.0
5 nu: 0.34
6 rho: 8700.0
7 sigma0: 0.9
8 sigma1: 0.0005
9profile:
10 radius: 0.2286
11 bell_height: 0.013
12 bell_top_radius: 0.025
13 bell_shoulder_radius: 0.08
14 bow_height: 0.03
15 bow_power: 1.4
16 h_rim: 0.001
17 h_shoulder: 0.0017
18 h_bell: 0.0026
19 max_slope: 0.4
20imperfections:
21 seed: 1
22 n_dents: 400
23 dent_depth: 0.00025
24 dent_sigma: 0.007
25 dent_margin: 0.01
26 rim_warp: 0.0006
27 rim_warp_modes:
28 - 2
29 - 3
30 - 4
31 - 5
32 shoulder_ovality: 0.03
33 bell_offset: 0.0015
34mesh:
35 element_size: 0.006
36 smoothing: 1
37hits:
38- time: 0.0
39 r: 0.137
40 phi: 0.3
41 velocity: 8.0
42 exciter:
43 kind: mallet
44 mass: 0.3
45 alpha: 2.5
46 compression: 0.012
47 radius: 0.012
48 gap: 0.0001
49- time: 0.8
50 r: 0.194
51 phi: 2.0
52 velocity: 7.0
53 exciter:
54 kind: stick
55 mass: 0.03
56 k: 500000000.0
57 alpha: 1.5
58 patch_length: 0.03
59 patch_points: 7
60 patch_angle: 0.6
61 gap: 0.0001
62- time: 1.4
63 r: 0.194
64 phi: 2.3
65 velocity: 5.0
66 exciter:
67 kind: stick
68 mass: 0.03
69 k: 500000000.0
70 alpha: 1.5
71 patch_length: 0.03
72 patch_points: 7
73 patch_angle: 0.6
74 gap: 0.0001
75- time: 2.0
76 r: 0.137
77 phi: -1.0
78 velocity: 6.0
79 exciter:
80 kind: mallet
81 mass: 0.3
82 alpha: 2.5
83 compression: 0.012
84 radius: 0.012
85 gap: 0.0001
86listener:
87 position:
88 - 0.4
89 - 0.3
90 - 0.9
91 c_air: 343.0
92 rho_air: 1.2
93 back_diffraction_gain: 1.0
94numerics:
95 fs: 44100
96 duration: 3.0
97 cfl_safety: 0.6
98 rot_inertia_factor: 0.015625
99 inplane_mass_scale: 1.0
100 steps_per_block: 20000
101 dtype: float32
102 nonlinear: true
103 n_progress: 20
104output:
105 prefix: train
106 wav: true
107 npz: true
108 cascade_plot: true
↑↓ move↵openescclose