/ proof-of-concept / cymsim
Sign in
proof-of-concept / cymsim
cymsim / examples / crash_mallet.yaml
72 lines · 1.3 KBCodeBlameHistory
71e94accymsim: nonlinear FEM cymbal simulation packageJeremy Magland 1# Soft mallet, gong-like stroke on an 18 inch medium-thin crash (the prototype's default run).
2# The mallet injects only low frequencies; everything above a few hundred Hz comes from the
3# nonlinear cascade. Units are SI throughout (m, kg, s, Pa). See docs/model.md.
4material:
5 E: 110000000000.0
6 nu: 0.34
7 rho: 8700.0
8 sigma0: 0.9
9 sigma1: 0.0005
10profile:
11 radius: 0.2286
12 bell_height: 0.013
13 bell_top_radius: 0.025
14 bell_shoulder_radius: 0.08
15 bow_height: 0.03
16 bow_power: 1.4
17 h_rim: 0.001
18 h_shoulder: 0.0017
19 h_bell: 0.0026
20 max_slope: 0.4
21imperfections:
22 seed: 1
23 n_dents: 400
24 dent_depth: 0.00025
25 dent_sigma: 0.007
26 dent_margin: 0.01
27 rim_warp: 0.0006
28 rim_warp_modes:
29 - 2
30 - 3
31 - 4
32 - 5
33 shoulder_ovality: 0.03
34 bell_offset: 0.0015
35mesh:
36 element_size: 0.006
37 smoothing: 1
38hits:
39- time: 0.0
40 r: 0.13716
41 phi: 0.3
42 velocity: 8.0
43 exciter:
44 kind: mallet
45 mass: 0.3
46 alpha: 2.5
47 compression: 0.012
48 radius: 0.012
49 gap: 0.0001
50listener:
51 position:
52 - 0.4
53 - 0.3
54 - 0.9
55 c_air: 343.0
56 rho_air: 1.2
57 back_diffraction_gain: 1.0
58numerics:
59 fs: 44100
60 duration: 2.0
61 cfl_safety: 0.6
62 rot_inertia_factor: 0.015625
63 inplane_mass_scale: 1.0
64 steps_per_block: 20000
65 dtype: float32
66 nonlinear: true
67 n_progress: 20
68output:
69 prefix: crash_mallet
70 wav: true
71 npz: true
72 cascade_plot: true
↑↓ move↵openescclose