Get current synth defaults

current_synth_defaults

[]

Returns the current synth defaults. This is a map of synth arg names to either values or functions.

Introduced in v2.0.0

Example 0 


use_synth_defaults amp: 0.5, cutoff: 80
play 50
puts current_synth_defaults



 
 
 # Plays note 50 with amp 0.5 and cutoff 80
 #=> Prints {amp: 0.5, cutoff: 80}