Skip to content

Commit

Permalink
added homepage links to formats and some other features
Browse files Browse the repository at this point in the history
  • Loading branch information
doomy committed Jan 28, 2024
1 parent 5f76c10 commit 94ebdb3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
14 changes: 9 additions & 5 deletions content/formats.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
# # Human readable format name
# name = "MyFormatName"
#
# # Link to the homepage
# link = "https://example.com"
#
# # Short synopsis of the format
# description = "This format was designed for Plan9 computers only"
#
Expand All @@ -27,6 +30,7 @@

[[formats]]
name = "VST"
link = "https://steinbergmedia.github.io/vst3_dev_portal/pages/index.html"
description = "VST can refer to several different versions of the VST format by Steinberg. VST2 was one of the most common standards, but is now unlicensed. Instead, VST3 is recommended and is generally supported in most DAWs. Note that the Rust vst3-sys crate currently relies on GPLv3 code."
license = { name = "GPLv3 or Proprietary", url = "https://developer.steinberg.help/pages/viewpage.action?pageId=9797944" }
crates = [
Expand All @@ -37,9 +41,10 @@ resources = []

[[formats]]
name = "AudioUnit"
link = "https://developer.apple.com/documentation/audiounit/"
description = "AudioUnit (AU) is only available on Apple platforms. AU v2 is simlar to VST, and AU v3 follows an Apple framework approach, which is harder to implement without Apple tools. Currently, no Rust libraries implement the AudioUnit standard."
license = { name = "Proprietary", url = "https://developer.apple.com/licensing-trademarks/audio-units/" }
resources = [
resources = [
{ name = "Rust CoreAudio - AudioUnit struct documentation", url = "http://rustaudio.github.io/coreaudio-rs/coreaudio/audio_unit/struct.AudioUnit.html" },
{ name = "Rust CoreAudio - Possibility of creating AU plugins", url = "https://github.com/RustAudio/coreaudio-rs/issues/52" },
{ name = "Rust CoreAudio - AudioUnit implementation", url = "https://github.com/RustAudio/coreaudio-rs/blob/master/src/audio_unit/mod.rs" },
Expand All @@ -48,6 +53,7 @@ resources = [

[[formats]]
name = "LV2"
link = "https://lv2plug.in/"
description = "LV2 is only supported on Linux with a few exceptions. One interesting feature is that all LV2 plugin hosts and plugins are backwards compatible with previous versions."
license = { name = "ISC", url = "https://gitlab.com/lv2/lv2/-/blob/master/COPYING" }
crates = [
Expand All @@ -60,9 +66,7 @@ resources = [

[[formats]]
name = "CLAP"
link = "https://cleveraudio.org/"
description = "CLAP is a relatively new plugin format with permissive licensing. It does not currently have wide support outside of Bitwig."
license = { name = "MIT", url = "https://github.com/free-audio/clap/blob/main/LICENSE" }
crates = [
{ name = "clap-lv2", url = "https://github.com/glowcoil/clap-sys" },
]

crates = [{ name = "clap-lv2", url = "https://github.com/glowcoil/clap-sys" }]
12 changes: 8 additions & 4 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,10 @@ <h5>
</div>
{% endfor %}
</div> #}
<a style="padding: 1em; display: inline-block;" href="https://lib.rs/multimedia/audio" target="_blank">See all
audio
crates ➜</a>
</section>

<hr>

{# Resources #}
Expand All @@ -123,14 +125,16 @@ <h2>Audio plugin formats</h2>
{% set formats = load_data(path="content/formats.toml") %}
{% for format in formats.formats %}
<h3 style="display: inline-block;">
<pre>{{format.name}}</pre>
<a href="{{format.link}}" target="_blank">
<pre>{{format.name}}</pre>
</a>
</h3>


<span style="vertical-align: text-bottom; margin-left: 0.5em;">
{% if format.license.url %}<a target="_blank" class="license tag" href={{format.license.url}}>{% endif %}
{{format.license.name}}
{% if format.license.url %}
{% if format.license.url %}
</a>{% endif %}
</span>

Expand Down Expand Up @@ -259,4 +263,4 @@ <h2>{{group | capitalize}}</h2>
})();
</script>

{% endblock content %}
{% endblock content %}

0 comments on commit 94ebdb3

Please sign in to comment.