File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import {
22 cagedPositionMapping ,
3- cagedPositionMappingMajor ,
43 diatonicPatterns ,
54 pentatonicPatterns ,
65 pentatonicPositionMapping ,
@@ -40,9 +39,8 @@ export default function caged(strings, scale) {
4039 // This aligns the patterns correctly with the scale degrees
4140 // const patternOffset = (noteCount === 5 && isMajor) ? 4 : 0;
4241 const patternOffset = isMajor ? 4 : 0 ;
43- const basePositionMapping = isMajor && noteCount === 7 ? cagedPositionMappingMajor : cagedPositionMapping ;
4442
45- const cagedShapes = Object . entries ( basePositionMapping ) . map (
43+ const cagedShapes = Object . entries ( cagedPositionMapping ) . map (
4644 ( [ pos , shape ] ) => {
4745 const basePattern = basePatterns [ shape ] ;
4846
Original file line number Diff line number Diff line change @@ -114,10 +114,10 @@ export const cagedPositionMapping = {
114114 5 : "D" ,
115115} ;
116116
117- export const cagedPositionMappingMajor = {
118- 1 : "A" ,
119- 2 : "G" ,
120- 3 : "E" ,
121- 4 : "D" ,
122- 5 : "C" ,
123- }
117+ // export const cagedPositionMappingMajor = {
118+ // 1: "A",
119+ // 2: "G",
120+ // 3: "E",
121+ // 4: "D",
122+ // 5: "C",
123+ // }
You can’t perform that action at this time.
0 commit comments