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

dittytoy

Package Overview
Dependencies
Maintainers
1
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dittytoy - npm Package Compare versions

Comparing version 0.1.6-dev.7cacb2b to 0.1.6-dev.dfa19a8

2

package.json
{
"name": "dittytoy",
"version": "0.1.6-dev.7cacb2b",
"version": "0.1.6-dev.dfa19a8",
"description": "",

@@ -5,0 +5,0 @@ "keywords": [

@@ -68,9 +68,11 @@ # Dittytoy

```ts
dittytoy.setVolume({master: {amp: 0.5}}); // set the volume to 50%
// set the volume to 50%
dittytoy.setVolume({master: {amp: 0.5}});
```
It is also possible to set the volume of the separate loops using the same method.
It is also possible to set the volume of two separate loops using the same method.
```ts
dittytoy.setVolume({loops: [{name: loop1, amp: 0.5}, {name: loop2, amp: 0.75}]}); // set the volume of loop1 to 50% and loop2 to 75%
// set the volume of loop1 to 50% and loop2 to 75%
dittytoy.setVolume({loops: [{name: loop1, amp: 0.5}, {name: loop2, amp: 0.75}]});
```

@@ -80,3 +82,3 @@

Dittytoy allows you to set [https://dittytoy.net/syntax#input-parameters](input parameters) for the ditty using the `setInputParameters` method. For example, to set two parameters `threshold` and `gain` to -15 and 4 respectively, you can use the following code:
Dittytoy allows you to set [input parameters](https://dittytoy.net/syntax#input-parameters) for the ditty using the `setInputParameters` method. For example, to set two parameters, `threshold` and `gain`, to -15 and 4, respectively, you can use the following code:

@@ -99,3 +101,3 @@ ```ts

The `MSG_INIT` event is emitted each time when the ditty is compiled successfully and ready to play.
The `MSG_INIT` event is emitted when the ditty is compiled successfully and ready to play.

@@ -134,3 +136,3 @@ ```ts

Different types of messages are emitted using the `MSG_LOG` and `MSG_ERROR` events.
Different messages are emitted using the `MSG_LOG` and `MSG_ERROR` events.

@@ -137,0 +139,0 @@ ```ts

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