cknadler / marktab-c

Concise, machine readable guitar tabs
MIT License
36 stars 7 forks source link

Definitions #27

Closed cknadler closed 11 years ago

cknadler commented 11 years ago

Should we allow for definitions to be place anywhere, or only before the actual tab.

For example:

# definitions

1:2 3:4

5:5 6:6

or

# definitions

1:2 3:4

# definitions

5:5 6:6

The first example should definitely be valid but what about the second one? Should definitions be allowed anywhere?

/cc @russplaysguitar

cknadler commented 11 years ago

To clarify, by definitions, I mean sequence and chord definitions.

russplaysguitar commented 11 years ago

I say anywhere, otherwise it'll result in multiple marktab files for one song (one file per part) OR a bunch of definitions at the top for stuff that isn't relevant for a long time in the song.

cknadler commented 11 years ago

Sounds good. Leaving open until tests are written.

cknadler commented 11 years ago

On another note, I require definitions to happen on their own line. Is that similar to your implementation?

cknadler commented 11 years ago

Same question for printing stings actually.

I require the print symbol to be on its own line.

russplaysguitar commented 11 years ago

I don't see a reason why definitions need their own line. I mean, it kinda looks better, but logically I see no problems with same line definitions. Pretty sure it works in the current marktab-coffee.

I haven't implemented the print symbol yet, but that does make sense for it to be on it's own line.