From c67fa60fcce85a380bc91a769be9c0d9cb3b7510 Mon Sep 17 00:00:00 2001 From: Shobhit Bakliwal Date: Sun, 7 Jun 2020 14:07:10 +0530 Subject: [PATCH] Using the correct options to fallback to default harmonic set in the song's options --- lib/muse.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/muse.rb b/lib/muse.rb index 9eaf94f..26de69b 100644 --- a/lib/muse.rb +++ b/lib/muse.rb @@ -152,7 +152,7 @@ def bar(id, options={}) end options[:bpm] = options[:bpm] || @bpm || 120 options[:envelope] = options[:envelope] || @envelope || 'default' - options[:harmonic] = options[:harmonic] || @harmonic || 'default' + options[:h] = options[:h] || @harmonic || 'default' @bars[id] << Bar.new(id, options) @bars[id].last end