@@ -315,73 +404,6 @@ permalink: /projetos/
{% endif %}
-{% assign has_patterns_display = false %}
-{% capture patterns_html_content %}
-
- {% for track in page.tracks %}
- {% if track.instruments %}
- {% for inst in track.instruments %}
- {% if inst.patterns %}
- {% assign current_inst_patterns = "" | split: "," %}
- {% for pattern in inst.patterns %}
- {% assign p_steps = pattern.steps %}
- {% if p_steps and p_steps.size > 0 %}
- {% assign total_s = p_steps.size %}
- {% assign n_chunks = total_s | divided_by: 4 %}
- {% for i in (0..n_chunks) %}
- {% assign idx = i | times: 4 %}
- {% assign chunk = p_steps | slice: idx, 4 %}
- {% if chunk.size > 0 %}
- {% assign c_str = "" %}
- {% for s in chunk %}
- {% if s == true or s == 1 or s == 'true' %}{% assign c_str = c_str | append: "1" %}{% else %}{% assign c_str = c_str | append: "0" %}{% endif %}
- {% endfor %}
- {% if c_str != "0000" %}
- {% unless current_inst_patterns contains c_str %}
- {% assign current_inst_patterns = current_inst_patterns | push: c_str %}
- {% endunless %}
- {% endif %}
- {% endif %}
- {% endfor %}
- {% endif %}
- {% endfor %}
-
- {% if current_inst_patterns.size > 0 %}
- {% assign has_patterns_display = true %}
-
-
- {{ inst.instrument_name | truncate: 12 }}
-
-
- {% for pat in current_inst_patterns %}
-
- {% assign bits = pat | split: '' %}
- {% for bit in bits %}
-
- {% endfor %}
-
- {% endfor %}
-
-
- {% endif %}
- {% endif %}
- {% endfor %}
- {% endif %}
- {% endfor %}
-
-{% endcapture %}
-
-{% if has_patterns_display %}
-
-
- 🥁 RITMO
-
-
-
- {{ patterns_html_content }}
-
-
-{% endif %}
{% if page.tags.plugin.size > 0 %}
🔌 PLUGINS
@@ -557,6 +579,10 @@ permalink: /projetos/
border-bottom: 1px dashed #f0f0f0;
}
.pattern-row:last-child { border-bottom: none; }
+
+ /* AUDIO PLAYER CUSTOM */
+ audio::-webkit-media-controls-panel { background-color: #f1f3f5; }
+ .project-card:hover audio::-webkit-media-controls-panel { background-color: #eef6fc; }