function y = render_note(note) % The muted variant: identical mapping to the standup export, with the % damping character fixed rather than exposed (slow release, short tail). P = bass_defaults(); P.sample_rate = note.sample_rate; P.note_count = 1; P.seed = 1; P.pre_delay_ms = 0; P.normalize = 0; if note.preview ~= 0 P.oversample = 1; end P.root_midi = max(28, min(55, round(note.pitch))); P.pluck_force_n = 3 + (30 - 3) * note.velocity; P.pluck_pos = note.params.pluck_pos; P.finger_release_ms = 6; P.tail_s = 0.8; y = bass_render(P); end