New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bitwig-multisamplegen

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitwig-multisamplegen - npm Package Compare versions

Comparing version 0.1.5 to 1.0.0

15

dist/index.js

@@ -223,2 +223,3 @@ #!/usr/bin/env node

const AUTHOR_NAME = 'Trapcodien';
const MULTISAMPLE_FILE = 'multisample.xml';

@@ -373,8 +374,8 @@ const DEFAULT_VELOCITY = 127;

const generateMultiSampleXml = samples => {
const generateMultiSampleXml = (instrumentName, author, samples) => {
let xmlResult = `<?xml version="1.0" encoding="UTF-8"?>
<multisample name="Generated Instrument">
<multisample name="${instrumentName}">
<generator>Bitwig Studio</generator>
<category></category>
<creator>Trapcodien</creator>
<creator>${author}</creator>
<description></description>

@@ -414,3 +415,5 @@ <keywords></keywords>

const zip = new JSZip();
zip.file(MULTISAMPLE_FILE, generateMultiSampleXml(samples));
zip.file(MULTISAMPLE_FILE, generateMultiSampleXml(givenPackageName, AUTHOR_NAME, samples), {
compression: 'DEFLATE'
});
const spinner = ora('Copy sample files...').start();

@@ -422,3 +425,5 @@

return Promise.resolve(fs.promises.readFile(filename)).then(function (buffer) {
zip.file(sample.name, buffer);
zip.file(sample.name, buffer, {
compression: 'DEFLATE'
});
});

@@ -425,0 +430,0 @@ });

{
"name": "bitwig-multisamplegen",
"version": "0.1.5",
"version": "1.0.0",
"description": "Generate multisample xml file from samples ",

@@ -5,0 +5,0 @@ "author": "guillaumearm",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc