Skip to content

Commit

Permalink
Merge pull request #13 from open-audio-stack/plugin/salamander
Browse files Browse the repository at this point in the history
Add Airwindows and Salamander Drumkit
  • Loading branch information
kmturley authored Nov 22, 2024
2 parents 36d322c + 9acf684 commit 46b25d3
Show file tree
Hide file tree
Showing 8 changed files with 122 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
with:
vt_api_key: ${{ secrets.VT_API_KEY }}
request_rate: 4
files: ./downloads/*
files: ./downloads/**/*

- name: VirusTotal Report
uses: actions/github-script@v7
Expand Down
61 changes: 61 additions & 0 deletions src/plugins/airwindows/airwindows/1.0.0/index.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
---
audio: https://open-audio-stack.github.io/open-audio-stack-registry/plugins/airwindows/airwindows/airwindows.flac
author: Chris Johnson
changes: |
date: '2020-02-20T07:00:00.000Z'
description: Huge collection of effects using simple UI controls.
files:
- architectures:
- arm32
- arm64
- bit32
- bit64
contains:
- sfz
format: zip
sha256: 4bb27f9c5be1d52c2c338513d4106542a15d7be9a971901b5744004d3b01a6d8
systems:
- type: linux
size: 111866919
type: archive
url: https://github.com/airwindows/airwindows/archive/refs/heads/master.zip
- architectures:
- arm32
- arm64
- bit32
- bit64
contains:
- sfz
format: zip
sha256: 4bb27f9c5be1d52c2c338513d4106542a15d7be9a971901b5744004d3b01a6d8
systems:
- type: mac
size: 111866919
type: archive
url: https://github.com/airwindows/airwindows/archive/refs/heads/master.zip
- architectures:
- arm32
- arm64
- bit32
- bit64
contains:
- sfz
format: zip
sha256: 4bb27f9c5be1d52c2c338513d4106542a15d7be9a971901b5744004d3b01a6d8
systems:
- type: win
size: 111866919
type: archive
url: https://github.com/airwindows/airwindows/archive/refs/heads/master.zip
image: https://open-audio-stack.github.io/open-audio-stack-registry/plugins/airwindows/airwindows/airwindows.jpg
license: mit
name: Airwindows
tags:
- Effect
- Chorus
- Distortion
- EQ
- Filter
- Reverb
type: sampler
url: https://github.com/airwindows/airwindows
Binary file not shown.
Binary file added src/plugins/airwindows/airwindows/airwindows.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 58 additions & 0 deletions src/plugins/endolith/salamander-drumkit/1.0.0/index.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
audio: https://open-audio-stack.github.io/open-audio-stack-registry/plugins/endolith/salamander-drumkit/salamander-drumkit.flac
author: Rytmenpinne
changes: |
date: '2012-02-25T07:00:00.000Z'
description: Drumkit recorded in the garage with an acoustic sound/feel.
files:
- architectures:
- arm32
- arm64
- bit32
- bit64
contains:
- sfz
format: zip
sha256: 4ec33ed6244b166b7e68e594086487d177868171d3176e07560bacf81f7c144a
systems:
- type: linux
size: 24091
type: archive
url: https://github.com/endolith/Salamander-Drumkit/archive/refs/heads/master.zip
- architectures:
- arm32
- arm64
- bit32
- bit64
contains:
- sfz
format: zip
sha256: 4ec33ed6244b166b7e68e594086487d177868171d3176e07560bacf81f7c144a
systems:
- type: mac
size: 24091
type: archive
url: https://github.com/endolith/Salamander-Drumkit/archive/refs/heads/master.zip
- architectures:
- arm32
- arm64
- bit32
- bit64
contains:
- sfz
format: zip
sha256: 4ec33ed6244b166b7e68e594086487d177868171d3176e07560bacf81f7c144a
systems:
- type: win
size: 24091
type: archive
url: https://github.com/endolith/Salamander-Drumkit/archive/refs/heads/master.zip
image: https://open-audio-stack.github.io/open-audio-stack-registry/plugins/endolith/salamander-drumkit/salamander-drumkit.jpg
license: cc-by-sa-4.0
name: Salamander Drumkit
tags:
- Instrument
- Drums
- sfz
type: sampler
url: https://github.com/endolith/salamander-drumkit
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/validate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,14 @@ logReport(`${pkgSlug} | ${pkgVersion} | ${filePath}`, errors, recs);
for (const type in pkgFile.files) {
const file: PluginFile | PresetFile | ProjectFile = pkgFile.files[type];
const fileName: string = path.basename(file.url);
const fileLocalPath: string = path.join(DIR_DOWNLOADS, fileName);
const fileLocalPath: string = path.join(DIR_DOWNLOADS, pkgSlug, pkgVersion, fileName);

// Download file if it doesn't already exist
// Downloads directory is scanned for viruses in the next GitHub Action
if (!fileExists(fileLocalPath)) {
const fileArrayBuffer: ArrayBuffer = await apiBuffer(file.url);
const fileBuffer: Buffer = Buffer.from(fileArrayBuffer);
dirCreate(path.dirname(fileLocalPath));
fileCreate(fileLocalPath, fileBuffer);
}

Expand Down

0 comments on commit 46b25d3

Please sign in to comment.