%%%% This file is part of LilyPond, the GNU music typesetter.
%%%%
-%%%% Copyright (C) 2010 Carl D. Sorensen <c_sorensen@byu.edu>
+%%%% Copyright (C) 2010--2011 Carl D. Sorensen <c_sorensen@byu.edu>
%%%%
%%%% LilyPond is free software: you can redistribute it and/or modify
%%%% it under the terms of the GNU General Public License as published by
%%%% You should have received a copy of the GNU General Public License
%%%% along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
-\version "2.13.46"
+\version "2.14.0"
%% A stringTuning is a list of pitches ordered by string number
%% from 1 to N.
@{chord} must be in absolute pitches and should have the highest
string number (generally the lowest pitch) first. @code{tuning}
should be a string that will be converted to a symbol.")
- (begin
- (chord->tuning parser tuning chord)
- #{
- \set TabStaff.stringTunings = $(ly:parser-lookup parser tuning)
- \set FretBoards.stringTunings = $(ly:parser-lookup parser tuning)
- #}))
+ (chord->tuning parser tuning chord)
+ #{ \set stringTunings = #(ly:parser-lookup $parser $tuning)
+ #})
%% A music function for converting an alist to string-tunings
makeDefaultStringTunings =