ChordDiagrams

Discussions about using 3rd party extension with OpenOffice.org
Post Reply
musikai
Volunteer
Posts: 294
Joined: Wed Nov 11, 2015 12:19 am

ChordDiagrams

Post by musikai »

Hi,

there is a new Extension for musicians available at
https://extensions.openoffice.org/en/pr ... nstruments

Image

Create ChordDiagrams for Fretted Instruments.
Chord Diagrams are inserted as grouped Draw Elements and thus can also further be edited afterwards.
Supports any number of strings and frets.

The Toolbar has 4 Buttons:
1. Chordinput
This Button lets you insert new or replace selected chords by typing in.
Type the name of the chord e.g. cmaj7
Default types besides major are: 5,7,m,m7,m7b5,maj7,sus4,7sus4,dim7
These default types can be transposed by the Extension "ChordTransposer" https://extensions.openoffice.org/de/node/18502

Further types are: -scale and -scalefull.
To create horizontal Diagrams type "-" so e.g.
-f-scalefull will create the horizontal Diagram shown in the screenshot

Alternatively you can also type in a Chord-Code e.g. C:x/3/2/0/1/0
This will create a normal C Chord. Strings are separated by / . So 6strings need 5/
The MainSyntax is: Name:Dots:Barrees:FretLabels

To add text to the Dots, Barrees or FretLabels type: ,text so: C:x/3,3/2,2/0/1,1/0 adds text into the Dots.
Barrees are added with :B and Fretnumber e.g.: F:/3/3/2//:B1 is a standard F-chord
Partial Barrees can be input by giving Start and End values Example: Dm7:x/x/0/2//:B1(2-1)
You can add FretLabels to any Fret with :Lfretnumber,text e.g. :L1,yourtext
When you add a FretLabel to the first Fret then the Nut will be removed. So the F-Chord can be changed into a G-Chord at the 3rd Fret only by adding a FretLabel to the first Fret: G:/3/3/2//:B1:L1,III
More Dots on the same string (for scales) can be entered by using - so this will create a Grid with 1 string and 3 dots:
ScaleExample:1-3-5
Just look at Code generated by the Chord-Editor

2.Edit
This Button lets you insert or replace selected chords by Editing in a Chord-Editor. The Editor supports 1 to 6 strings and 1 to 12 Frets.
The result Diagram will only include filled Frets or Labels. So if you want to show 12 Frets but only have Dots until the 10th Fret then add some text to the 12th FretLabel eg an empty space.
Here you can also have a look at the autogenerated Chord-Code. The Chord-Code is what will create the Diagram. You can turn Auto-Mode off and add more strings if you like.
3.Style
This Button lets you set the Preferences for new ChordDiagrams and change the style of selected chorddiagrams. (The Setting will be saved into the Custom Document Properties of your Document) For Reset just Delete this Property in File->Document->Properties->Custom Properties)
You can import styles from selected chords and apply to selections. There is also a realtime mode available.
The Button at the Top called "Rebuild selection" is for the cases when you want to apply a different structure to already existing Chords like the minimum number of shown Frets or the Layout Orientation.
4.Export
This lets you export selected Chords to SVG or .png format. (Or you can copy and paste a chord into Draw and export from there)

Some Hints:
- To change the scale of the diagrams best use the "Style"-Button. (You can also directly change the Size by dragging the corners manually and then fix the Text Sizes by importing, editing and applying the Style.)
- Anchoring "AS Character" is possible but not recommended. ( "AS Character" doesn't allow manual editing of the elements as described below:)
- Every part of a Diagram can also be edited directly by either entering the group or ctrl-click. To edit text double-click on it. To change color use the Navigator. To move parts use the keyboard arrow-keys, for small movements use alt+arrow-keys. On Windows multiple parts can be selected with shift+ctrl-click
-if you want to select or change multiple chord diagrams at once you can select them by double clicking on a Chordname in the Navigator, or by selecting one chord diagram in the document and shift clicking on more. Or select one chord diagram and then shift+click and drag to make a selection rectangle. You can also just make a normal text range selection. Then all chord diagrams that are anchored within this selection range will be affected by applying a style.

The same extension for LibreOffice4:
https://extensions.libreoffice.org/exte ... rddiagrams

ChordDiagrams is part of my free Project for LibreOffice and OpenOffice:
LibreOfficeSongbookArchitect (LOSA)
http://struckkai.blogspot.de/2015/04/li ... itect.html
Win7 Pro, Lubuntu 15.10, LO 4.4.7, OO 4.1.3
Free Project: LibreOffice Songbook Architect (LOSA)
http://struckkai.blogspot.de/2015/04/li ... itect.html
Post Reply