diff --git a/pages/projetos.md b/pages/projetos.md index 2c410662..eb352ab0 100755 --- a/pages/projetos.md +++ b/pages/projetos.md @@ -4,338 +4,461 @@ 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 %} + {% if p.bpm %}{% assign list_bpm = list_bpm | append: p.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 %}{% assign list_instruments = list_instruments | append: inst.instrument_name | append: "|||" %}{% 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 = 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 %} +
- Explore, ouça e reutilize projetos da comunidade LMMS. -
- ++ Use o menu lateral para filtrar projetos por BPM, Plugin, Instrumento, etc. +
+Preview
- -