{{ page.file }}
{% if page.file or page.bpm %}
{% if page.file %}
{% endif %}
{% if page.bpm %}
{% endif %}
📁 Arquivo: {{ page.file }}
🎵 BPM: {{ page.bpm }}
{% if page.tags %}
{% assign tags_vazias = true %}
{% for categoria in page.tags %}
{% if categoria[1].size > 0 %}
{% assign tags_vazias = false %}
{% endif %}
{% endfor %}
{% unless tags_vazias %}
{% endunless %}
{% endif %}
{% if page.tracks and page.tracks.size > 0 %}
{% comment %}
USANDO
{% endif %}
PARA CRIAR UM ACORDION NATIVO:
O atributo "open" (se presente) mantém a lista expandida.
O é o título clicável que o usuário vê.
{% endcomment %}
é o título clicável que o usuário vê.
{% endcomment %}
🎚️ Instrumentos
{% for track in page.tracks %}
{% assign tem_instr = false %}
{% if track.instruments and track.instruments.size > 0 %}
{% assign tem_instr = true %}
{% endif %}
{% if track.bassline_name or tem_instr %}
-
{% if track.bassline_name %}
🎼 {{ track.bassline_name }}
{% endif %}
{% if tem_instr %}
{% for instrument in track.instruments %}
{% if instrument.instrument_name %}
-
{% assign instrument_slug = instrument.instrument_name | replace: ' ', '+' %}
{{ instrument.instrument_name }}
{% comment %}
VERIFICAÇÃO DE SAMPLE:
Se `audiofileprocessor` existir E `src` existir E `src` não for vazio, exibe o player.
{% endcomment %}
{% assign sample_src = instrument.audiofileprocessor.src | default: "" | strip %}
{% if instrument.audiofileprocessor and sample_src != "" %}
{% assign audio_filename_with_path = 'src/samples/' | append: sample_src %}
{% else %}
{% comment %} CONDIÇÃO DE MENSAGEM: O sample não foi enviado! {% endcomment %}
O sample **não foi enviado** 😢
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
{% endif %}
{% endfor %}
🎚️ Instrumentos
-
{% for track in page.tracks %}
{% assign tem_instr = false %}
{% if track.instruments and track.instruments.size > 0 %}
{% assign tem_instr = true %}
{% endif %}
{% if track.bassline_name or tem_instr %}
-
{% if track.bassline_name %}
🎼 {{ track.bassline_name }}
{% endif %} {% if tem_instr %}-
{% for instrument in track.instruments %}
{% if instrument.instrument_name %}
-
{% assign instrument_slug = instrument.instrument_name | replace: ' ', '+' %}
{{ instrument.instrument_name }}{% comment %} VERIFICAÇÃO DE SAMPLE: Se `audiofileprocessor` existir E `src` existir E `src` não for vazio, exibe o player. {% endcomment %} {% assign sample_src = instrument.audiofileprocessor.src | default: "" | strip %} {% if instrument.audiofileprocessor and sample_src != "" %} {% assign audio_filename_with_path = 'src/samples/' | append: sample_src %}{% else %} {% comment %} CONDIÇÃO DE MENSAGEM: O sample não foi enviado! {% endcomment %}O sample **não foi enviado** 😢
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
-
{% assign instrument_slug = instrument.instrument_name | replace: ' ', '+' %}
🛠️ Abra na Criação Colaborativa
{% comment %} CONSTRUÇÃO DA URL CORRIGIDA PARA AMBIENTES DE TESTE: - O filtro `relative_url` foi removido para evitar a duplicação do caminho. - O prefixo de teste `/~jotachina/mmpSearch/` foi adicionado manualmente. {% endcomment %} {% assign creation_url = '/~jotachina/mmpSearch/creation.html?project=' | append: page.file %} Abrir no MMPCreator
O link abrirá o projeto em uma nova aba para edição.
Arquivo: {{ page.file }}
{% assign embed_url = creation_url | append: '&embed=true' %}