or download this
## pseudocode
my @style_levels = (
[ qw/noise/ ],
...
my $next_style = ${ $style_levels[$next_index] }[ rand @{$style_le
+vels[$next_index]} ]; ## choose a style of this level
return get_song { style => $next_style }; ## pick some song of
+ this style
}