Skip to content

The first track specified in alphaTex is being rendering up an octave #289

@dgriessler

Description

@dgriessler

Your environment

Expected Results

When d3 is specified as a note, it should be rendered and drawn at d3.

Observed Results

Only for the first track, the entire first track is being drawn up the octave. I had to make the alphaTex have the values down the octave so it would get drawn in the right spot. This is easily heard when you play it back, it is playing in the 3rd octave which is unexpected. The other tracks are drawn and playback correctly.

Steps to Reproduce (for bugs)

  1. Define some alphaTex:
    \title "Down by the Riverside"
    \subtitle "Arranged by: Brant Adams. B.M.I."
    \tempo 84
    .

	\track "Soprano"
	\staff {score} \tuning piano \instrument acousticgrandpiano \ks G
    r.1 |
    r.2 :4 d3 e3 |
    g3{d}.2 :8 g3{-} a3 |
    b3{d}.2 :8 b3{-} r |
    \ts 2 4 :4 b3 a3 |
    \ts 4 4 g3.1 |
    :8 e3 d3 d3{- d}.2 :8 d3{-} r |
    \ts 2 4 :4 d3 e3 |
    \ts 4 4 g3{d}.2 :8 g3 a3 |
    :2 b3 a3 |
    g3.1 |
    \tempo 88
    \ts 4 4 :2 g3{-} r |
  1. Render using alphaTab
  2. Observe that all the notes are being drawn up one octave but are being played back as their correct octave.

Possible Solution

I'm still debugging to try and track down the source of the problem. Since the midi is being generated correctly, I assume this is a rendering issue.

Metadata

Metadata

Assignees

Labels

area-file-formatsRelated to supported file formatsstate-acceptedThis is a valid topic to work on.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions