Warning: htmlspecialchars() expects parameter 1 to be string, array given in /homepages/29/d253062740/htdocs/elgitar/inc/parser/xhtml.php on line 1717

chordsheets plugin test

Bugs:

  • Layout issues with the Custom Chord Syntax (CCS) - separate block elements for each chord.
  • Chord name issues in the Custom Chord Syntax (CCS)
    • CCS must have the bracket parenthesis. Can corrupt other DokuWiki page content elements (even headings).
    • Same thing happens for CCS type chord names containing slashes, spaces (or space separated letters that can be interpreted as chord names) without corrupting the DokuWiki page content. Any such character within the CCS chord name seems to be interpreted as instances of regular JTab chord syntax (RCS), slashes are interpreted as the «repeat of the previous chord» sign…

Wishes:

  • Alternative or custom instruments, tunings and number of strings (ukulele, 8 string guitar, Open D and so on)
  • Scale diagrams
  • Compatibility with liquid/scalable/responsive design?
    • SVG images could they be written in a more responsive, scalable, or liquid fashion?
    • SVG images contain a lot of CSS style attributes, should and could those be moved to separate CSS file?
  • chord tones spelling, custom or enharmonically rendered.
  • intervals, custom or rendered.

Same grip... two diagrams?

Some chord diagrams (those with nothing on the first fret) are different in regular JTab chord syntax (RCS) and custom JTab chord syntax (CCS)

The A chord diagram via RCS:

A

The A chord diagram via CCS:

%0/0.0/0.2/2.2/3.2/4.0/0[A]

When using RCS the class='jtab rendered' is in a div tag

In CCS the class='jtab rendered' is in a span tag

Layout: Each chord... separate block

In RCS each chord diagram is rendered inside a nested HTML block element (divs). In CCS there's a similar nested tag sequence, but the first of them is not a block element: ('jtab render' SPAN tag) (), 'builder'-id div tag and svg div tag.

Example:

%0/0.2/2.2/3.1/1.0/0.0/0[E] %0/0.0/0.2/2.2/3.2/4.0/0[A] %X/X.0/0.2/2.2/3.3/4.0/0[Asus4] %0/0.2/2.0/0.1/1.0/0.0/0[E7] %0/0.2/2.2/3.1/1.3/4.0/0[E7]

%0/0.2/1.2/2.2/3.3/4.0/0[E7sus]

%0/0.X/X.2/3.1/1.0/0.0/0[E]

Layout: ASCII

It would be nice if several diagrams could be laid out on one line just by using carriage return or new line«… Just like when using the div class=«jtab chordonly» notation within html-tags in dokuwiki (with the «htmlok» configured to yes in dokuwiki).

Drop 3 voicings:

%5/3.X/X.3/1.4/2.3/1.X/X[Bm7b5] / %7/2.X/X.7/3.7/4.6/1.X/X[Bm7b5] / %10/2.X/X.9/1.10/3.10/4.X/X[Bm7b5] / %13/2.X/X.12/1.14/3.12/1.X/X[Bm7b5] / ||
%X/X.2/2.X/X.2/3.3/4.1/1[Bm7b5] / %X/X.5/2.X/X.4/1.6/4.5/3[Bm7b5] / %X/X.8/2.X/X.7/1.10/4.7/1[Bm7b5] / %X/X.12/3.X/X.10/1.12/4.10/1[Bm7b5] / ||

Drop 2 vocings:

%X/X.X/X.3/1.4/2.3/1.5/4[Bm7b5] / %X/X.X/X.7/2.7/3.6/1.7/4[Bm7b5] / %X/X.X/X.9/1.10/3.10/3.10/3[Bm7b5] / %X/X.X/X.12/1.14/3.12/1.13/2[Bm7b5] / ||
%X/X.2/1.3/3.2/2.3/4.X/X[Bm7b5] / %X/X.5/2.7/4.4/1.6/3.X/X[Bm7b5] / %X/X.8/2.9/3.7/1.10/4.X/X[Bm7b5] / %X/X.12/2.12/3.10/1.12/4.X/X[Bm7b5] / ||
%1/2.2/3.0/0.2/4.X/X.X/X[Bm7b5] / %5/3.5/4.3/1.4/2.X/X.X/X[Bm7b5] / %7/1.8/2.7/1.7/1.X/X.X/X[Bm7b5] / %10/2.12/4.9/1.10/3.X/X.X/X[Bm7b5] / ||

Drop 2&4 voicings:

%1/1.2/2.X/X.2/3.3/4.X/X[Bm7b5] / %5/2.5/3.X/X.4/1.6/4.X/X[Bm7b5] / %7/1.8/2.X/X.7/1.10/4.X/X[Bm7b5] / %10/1.12/3.X/X.10/1.12/4.X/X[Bm7b5] / ||
%X/X.2/1.3/2.X/X.3/3.5/4[Bm7b5] / %X/X.5/1.7/3.X/X.6/2.7/4[Bm7b5] / %X/X.8/1.9/2.X/X.10/4.10/4[Bm7b5] / %X/X.12/1.12/1.X/X.12/2.13/3[Bm7b5] / ||

I notice that the rendered class used here is jtab chordonly rendered.

Slash in CCS chord names breaks Dokuwiki page layout

Is there a conflict between custom chord syntax (CCS) and regular chord syntax (RCS), so that as soon as some CCS contains a slash [A/E] or spaces or space plus another letter, in the chord name, it's interpreted as RCS, and the next CCS chord is contained within a common »jtab render« span tag, »builder«-id div tag and svg tag for that and the next chord.

And that together with corrupting/gobbling up other elements below it on the page (text and even heading):

%0/0.0/0.2/2.2/3.2/4.0/0[A/E] 1-Lorem ipsum dolor sit amet, ad eos odio mucius ancillae, erant populo semper an qui. Eros propriae mel in. Esse veri vis in, mei vivendo lucilius et. Id augue delicatissimi mel, his at accusam perfecto. His te gloriatur disputando. ====== 2 - test ====== 2-Utinam laboramus argumentum est ei, et cum elitr iracundia gubergren, nisl elitr cetero ut cum. Dicat singulis an his. Duo viris dolor voluptatum ea, sed dicat phaedrum an. In atomorum democritum nam, has corrumpit reformidans ne. 3-Vim mollis assentior dissentiet an. Ei esse corpora consetetur quo, mel cu agam illum. At dico etiam eos, his ex vero tamquam. Sit ei eirmod mediocritatem, nec fugit eruditi debitis no. Ex aperiri alienum mei, ne vix ullum dolorem erroribus. Lorem meliore accumsan at eum, modo sanctus id quo. %0/0.0/0.2/2.2/3.2/4.0/0[A / E] 4-In offendit contentiones pri, ornatus erroribus disputando cum cu. Per ad tale brute verterem, vel quot vero vituperata ad. Cu pro omittam appareat, accusata eloquentiam vim an. No nominati abhorreant concludaturque quo, inani laoreet est ne, est cu sale persius. Vim eu virtute ullamcorper, in quo vide mentitum, vis ex malorum postulant expetenda. Recusabo temporibus ei usu, dicam soleat ceteros mei et, ei est facete omittam explicari. %0/0.0/0.2/2.2/3.2/4.0/0[A]

5-Ut noluisse quaestio nec. In sonet zril possit pri, saepe patrioque mel an. Natum option gloriatur vel in, eam consequat sadipscing dissentiunt in. An qui veri persecuti, ne duis efficiantur ius. Cum nihil solet in, cum probo tritani ea.

3 - test

Ei usu atqui postulant. Ea pro decore adipisci. Scripta repudiare theophrastus sea an, et vim quodsi vidisse. Torquatos interesset no nam. Suscipit oporteat consequat est ut.

Dicta delectus periculis no duo, nam ex audire malorum, ne malis putent vim. An putent pericula expetendis pri. Indoctum sapientem in nec. Id vis causae gloriatur consetetur, purto regione molestiae vis id. Mel porro omnium blandit eu.

C F Bm7b5 Em
Am Dm G7 C:2

$B 1 3 5 6 | $2 8 10 12 13 ||
F7 C7 G7 D7 |
A7 E7 B7 F#7 |
Cb7 Gb7 Db7 Ab7 |
Eb7 Bb7 |

%5/3.X/X.3/1.4/2.3/1.X/X[Bm7b5]

%7/2.X/X.7/3.7/4.6/1.X/X[Bm7b5]

%10/2.X/X.9/1.10/3.10/4.X/X[Bm7b5]

%13/2.X/X.12/1.14/3.12/1.X/X[Bm7b5]

%X/X.X/X.3/1.4/2.3/1.5/4[Bm7b5]

%X/X.X/X.7/2.7/3.6/1.7/4[Bm7b5]

%X/X.X/X.9/1.10/3.10/3.10/3[Bm7b5]

%X/X.X/X.12/1.14/3.12/1.13/2[Bm7b5]

| Dm7 / G7 / | Cmaj7 / A7#5 / ||
| Gm7 / C7 / | Fmaj7 / D9 / ||
| Cm7 / F7 / | Bbmaj7 / Bb69 / ||
| Fm7 / Bb7 / | Ebmaj7 / Eb69 / ||
| Bbm7 / Eb7 / | Abmaj7 / Ab6 / ||
| Ebm7 / Ab7 / | Dbmaj7 / Bbm7 / ||

test 1

%0/0.0/0.2/2.2/3.2/4.0/0[A]

%9/0.2/2.2/3.1/1.0/0.0/0 %0/0.0/0.2/2.2/3.2/4.0/0 %X/X.0/0.2/2.2/3.2/4.0/0 %0/0.2/2.2/3.1/1.0/0.0/0 %0/0.2/2.2/3.1/1.0/0.0/0 ====== test 2 ====== %0/0.0/0.2/2.2/3.2/4.0/0[ A ] ====== test 3 ====== These two instances of chord syntax create 3 chord diagrams: %0/0.0/0.2/2.2/3.2/4.0/0[ A Bdim C6 Amaj7 ] %1/1.2/2.X/X.2/3.3/4.X/X[Bm7b5]

%5/2.5/3.X/X.4/1.6/4.X/X[Bm7b5]

%7/1.8/2.X/X.7/1.10/4.X/X[Bm7b5]

%10/1.12/3.X/X.10/1.12/4.X/X[Bm7b5]

test 4

%X/X.0/0.2/2.0/0.2/4.0/0[A7] %X/X.0/0.2/2.0/0.1/1.0/0[Am7]

test 5

%0/0.0/0.2/2.2/3.2/4.0/0[ A ] %X/X.0/0.2/2.0/0.2/4.0/0[A7]

Bb7:1 A#7:1 Bb7sus4 Bb7:5 Eb7:2
Ebdim, D#dim comes out as Ebdim7, D#dim7

%0/0.0/0.2/2.2/3.2/4.0/0[ A ]

A A7
%9/0.2/2.2/3.1/1.0/0.0/0[N/A] %0/0.0/0.2/2.2/3.2/4.0/0 %X/X.0/0.2/2.2/3.2/4.0/0[NA] %0/0.2/2.2/3.1/1.0/0.0/0 %0/0.2/2.2/3.1/1.0/0.0/0 %0/0.2/2.2/3.1/1.0/0.0/0[] %0/0.2/2.2/3.1/1.0/0.0/0[] %0/0.2/2.2/3.1/1.0/0.0/0 %X/X.X/X.X/X.X/X.X/X.X/X %0/0.2/2.2/3.1/1.0/0.0/0 %3/3.X/X.3/4.2/2.1/1.1/1 %3/X.X/X.3/X.2/X.1/X.0/X[F/G] %3/3.X/X.3/4.2/2.1/1.0/0[G11] %3/3.X/X.3/4.2/2.1/1.0/0[Fmaj7/G] %3/3.X/X.3/4.2/2.1/1.0/0[G13sus] %3/3.X/X.3/4.2/2.1/1.1/1[G9sus]

test 6


[Intro]
Am F/C C G C [Verse]
C
Someone told me long ago
C G
There's a calm before the storm, I know
C
And it's been coming for some time
C
When it's over, so they say
C G
It'll rain a sunny day, I know
C
Shining down like water

Mea graecis insolens an. Quaeque moderatius ea mei. Pri quod iriure eligendi ne, viris sententiae appellantur no ius, aliquam labores tractatos vix te. In elit autem atomorum usu, ex sit error ancillae offendit, mundi regione moderatius vix ei. Pro at omnium meliore, ad autem malis invenire eum, aeterno moderatius sit ut.

Ullum admodum et nec, te quo mnesarchum posidonium. Audiam copiosae eu mel, nusquam appareat definitiones cu has. Altera possim hendrerit vim et. Usu dicit euripidis te. Eum novum honestatis sadipscing id.

Cum adipisci laboramus an, mei albucius expetenda maiestatis an, te eos causae dignissim. Cu mutat intellegam mea. Ius erat singulis ea, te mei facilis accumsan. Erroribus accommodare mel et, ad omnis saepe dolorem eum. Cu sit natum propriae, quo ad justo luptatum. Elitr malorum assentior sea ei.

Erroneous or peculiar voicings

Dominant 7 Bb7:1 is Bb7sus

Bb7:1 A#7

Ebdim, D#dim comes out as Ebdim7, D#dim7

Ebdim D#dim Ebdim7 D#dim7

Dominant 7 Bb7:5, Eb7:2 is not wrong, but a bit odd to have in a chord library.

Bb7:5 Eb7:2

Same goes for Bbaug:1 or Bbaug:6.

Bbaug:1 Bbaug:6

  • akkorder/chordsheets-test.txt
  • Sist endret: 4 måneder siden
  • av admin