--- layout: default title: MMPSearch - Projetos permalink: /projetos/ --- {% assign list_bpm = "" %} {% assign list_plugins = "" %} {% assign list_instruments = "" %} {% assign list_samples = "" %} {% assign list_bassline = "" %} {% assign list_automation = "" %} {% for p in site.data.all %} {% assign raw_bpm = p.bpm | append: "" %} {% if raw_bpm != "" and raw_bpm != "N/A" and raw_bpm != "nil" %} {% assign list_bpm = list_bpm | append: raw_bpm | append: "|||" %} {% endif %} {% for item in p.tags.plugin %}{% if item != "" %}{% assign list_plugins = list_plugins | append: item | append: "|||" %}{% endif %}{% endfor %} {% if p.tags.bassline %}{% for item in p.tags.bassline %}{% if item != "" %}{% assign list_bassline = list_bassline | append: item | append: "|||" %}{% endif %}{% endfor %}{% endif %} {% if p.tags.automation %}{% for item in p.tags.automation %}{% if item != "" %}{% assign list_automation = list_automation | append: item | append: "|||" %}{% endif %}{% endfor %}{% endif %} {% for track in p.tracks %} {% if track.instruments %}{% for inst in track.instruments %}{% if inst.instrument_name %}{% assign list_instruments = list_instruments | append: inst.instrument_name | append: "|||" %}{% endif %}{% endfor %} {% elsif track.instrument_name %}{% assign list_instruments = list_instruments | append: track.instrument_name | append: "|||" %}{% endif %} {% if track.sample %}{% for smp in track.sample %}{% assign list_samples = list_samples | append: smp.sample_name | append: "|||" %}{% endfor %} {% elsif track.sample_name %}{% assign list_samples = list_samples | append: track.sample_name | append: "|||" %}{% endif %} {% endfor %} {% endfor %} {% assign unique_bpm_array = list_bpm | split: "|||" | uniq | sort %} {% assign unique_plugins = list_plugins | split: "|||" | uniq | sort %} {% assign unique_instruments = list_instruments | split: "|||" | uniq | sort %} {% assign unique_samples = list_samples | split: "|||" | uniq | sort %} {% assign unique_bassline = list_bassline | split: "|||" | uniq | sort %} {% assign unique_automation = list_automation | split: "|||" | uniq | sort %} {% assign min_limit = 0 %} {% assign max_limit = 300 %} {% if unique_bpm_array.size > 0 %} {% assign last_bpm = unique_bpm_array | last | plus: 0 %} {% if last_bpm > max_limit %}{% assign max_limit = last_bpm %}{% endif %} {% endif %}

{% include sidebar.html %}

📁 Projetos Disponíveis

Utilize os filtros laterais para refinar sua busca.


🥁 Pattern Rítmico

Desenhe o ritmo:

Clique para ativar steps


Gêneros (IA)

Tom / Key
{% assign keys_list = "C,Cm,C#,C#m,Db,Dm,D,D#m,Eb,E,Em,F,Fm,F#,F#m,Gb,G,Gm,G#,Ab,A,Am,Bb,B,Bm" | split: "," %} {% for key in keys_list %} {% endfor %}

Faixa de BPM

{% assign filter_groups = "instruments|Instrumentos,plugins|Plugins,bassline|Bassline,automation|Automação,samples|Samples" | split: "," %} {% for group in filter_groups %} {% assign parts = group | split: "|" %} {% assign cat_key = parts[0] %} {% assign cat_label = parts[1] %}
{{ cat_label }}
{% assign current_list = "" %} {% if cat_key == 'instruments' %}{% assign current_list = unique_instruments %} {% elsif cat_key == 'plugins' %}{% assign current_list = unique_plugins %} {% elsif cat_key == 'bassline' %}{% assign current_list = unique_bassline %} {% elsif cat_key == 'automation' %}{% assign current_list = unique_automation %} {% elsif cat_key == 'samples' %}{% assign current_list = unique_samples %} {% endif %} {% for item in current_list %}{% if item != "" %} {% endif %}{% endfor %}

{% endfor %}
{% assign project_pages = site.pages | where_exp: "page", "page.path contains 'projetos/'" | sort: "title" %} {% for page in project_pages %} {% if page.url != '/projetos/' %} {% assign raw_bpm = page.bpm | append: "" %} {% if raw_bpm == "" or raw_bpm == "N/A" or raw_bpm == "nil" %}{% assign p_bpm = 0 %}{% else %}{% assign p_bpm = raw_bpm | plus: 0 %}{% endif %} {% assign p_insts_array = "" | split: "," %} {% assign project_patterns_flat = "" | split: "," %} {% for track in page.tracks %} {% if track.instruments %}{% for inst in track.instruments %}{% if inst.instrument_name %}{% assign p_insts_array = p_insts_array | push: inst.instrument_name %}{% endif %} {% if inst.patterns %} {% for pattern in inst.patterns %} {% assign pattern_steps = pattern.steps %} {% if pattern_steps and pattern_steps.size > 0 %} {% assign chunk_string = "" %} {% assign step_count = 0 %} {% for step in pattern_steps %} {% if step == true or step == 'true' or step == 1 %}{% assign chunk_string = chunk_string | append: '1' %}{% else %}{% assign chunk_string = chunk_string | append: '0' %}{% endif %} {% assign step_count = step_count | plus: 1 %} {% if step_count == 4 %} {% unless project_patterns_flat contains chunk_string %} {% assign project_patterns_flat = project_patterns_flat | push: chunk_string %} {% endunless %} {% assign chunk_string = "" %} {% assign step_count = 0 %} {% endif %} {% endfor %} {% endif %} {% endfor %} {% endif %} {% endfor %} {% elsif track.instrument_name %}{% assign p_insts_array = p_insts_array | push: track.instrument_name %}{% endif %} {% endfor %} {% assign p_patterns_str = project_patterns_flat | join: ',' %} {% assign p_instruments_str = p_insts_array | uniq | join: ',' %} {% assign p_plugins = page.tags.plugin | join: ',' %} {% assign p_bassline = page.tags.bassline | join: ',' %} {% assign p_automation = page.tags.automation | join: ',' %} {% assign p_samples = page.tags.sample | join: ',' %} {% assign p_name = page.title | default: page.name | downcase %}
{% assign matching_beat = nil %} {% if site.data.beats %} {% assign proj_slug = page.file | slugify %} {% for filename in site.data.beats %} {% assign beat_slug = filename | remove: '.wav' | remove: '.mp3' | slugify %} {% if beat_slug == proj_slug %} {% assign matching_beat = filename %} {% break %} {% endif %} {% endfor %} {% endif %}

{{ page.title | default: page.name | replace: '.html', '' }}

{% if p_bpm > 0 %} 🎵 {{ p_bpm }} BPM {% else %} ⚠️ BPM N/A {% endif %}
{% if matching_beat %}
{% endif %}
{% assign unique_insts_page = p_insts_array | uniq | sort %} {% if unique_insts_page.size > 0 %}
🎸 INSTRUMENTS
{% 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
{% for tag in page.tags.plugin %}{% if tag != "" %} {{ tag | truncate: 18 }} {% endif %}{% endfor %}
{% endif %} {% if page.tags.bassline.size > 0 %}
🎹 BASSLINE
{% for tag in page.tags.bassline %}{% if tag != "" %} {{ tag | truncate: 18 }} {% endif %}{% endfor %}
{% endif %} {% if page.tags.automation.size > 0 %}
🎚️ AUTOMATION
{% for tag in page.tags.automation %}{% if tag != "" %} {{ tag | truncate: 18 }} {% endif %}{% endfor %}
{% endif %} {% if page.tags.sample.size > 0 %}
🎤 SAMPLES
{% for tag in page.tags.sample %}{% if tag != "" %} {{ tag | truncate: 18 }} {% endif %}{% endfor %}
{% endif %}
Ver {% assign creation_url = '/mmpSearch/creation.html?project=' | append: page.file %} {% assign embed_url = creation_url | append: '&embed=true' %} Editar
{% endif %} {% endfor %}
{% include preview-modal.html %}