Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Improvement: Transposing tabs with string adjustments.

Abierto
#1,587 1 comentario 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@Danielku15 ya está trabajando en esto.

Desde el 17/7/2024.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

Is there an existing issue for this?
  • I have searched the existing issues
Current Behavior

I'm experiencing issues with the transposition feature not working as expected. When I set transpositionPitches: [-4], the notes incorrectly go below 0. Instead, they should move up a string rather than displaying a -1.

Steps to Reproduce:

  1. Open the attached guitar tab file with no transposition applied (see Screenshot 1).
  2. Set transpositionPitches to [-4].
  3. Observe the transposed guitar tab (see Screenshot 2).

Expected Behavior:
The notes should transpose correctly by moving up a string instead of displaying a negative value, as demonstrated in the expected output from Songsterr (see Screenshot 3).

Screenshots:

  1. No transposition applied:
    Screenshot 2024-07-17 at 14 26 35

  2. After Setting transpositionPitches to [-4]:
    Screenshot 2024-07-17 at 14 28 52

  3. Expected Transposition Output - Screenshot from Songsterr for the same tab:

Screenshot 2024-07-18 at 01 15 47
Expected Behavior

The notes should transpose correctly by moving up a string instead of displaying a negative value, as demonstrated in the expected output from Songsterr (see Screenshot 3 above).

Steps To Reproduce
  1. Download the GP File:

  2. Set the Transposition:

    • Open the downloaded file and set transpositionPitches to [-4].
  3. Observe the Issue:

    • You will notice that the notes incorrectly move below 0, displaying negative values.
  4. Compare with Songsterr:

Link to jsFiddle, CodePen, Project

No response

Found in Version

1.4 (alpha)

Platform

Web

Environment
- **OS**:
- **Browser**:
- **.net Version**:
Anything else?

No response

Lenguaje dominante
TypeScript
Estrellas
1.9k
Forks
297
Merge medio
9 h 2 min
PR fusionados (30 d)
44

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de CoderLine/alphaTab

Todos los issues de CoderLine/alphaTab

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.