sethares-dissonance 5.0.0-beta.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,20 +21,20 @@ export declare const DEFAULT_FIRST_ORDER_DISSONANCE_PARAMS: {
21
21
  };
22
22
  export declare const DEFAULT_SECOND_ORDER_DISSONANCE_PARAMS: {
23
23
  magnitude: number;
24
+ magnitudeFrequencyDecay: number;
24
25
  s1: 0.021;
25
26
  s2: 19;
26
27
  b1: 3.5;
27
28
  b2: 5.75;
28
29
  x_star: 0.24;
29
- magnitudeFrequencyDecay: 0;
30
30
  };
31
31
  export declare const DEFAULT_THIRD_ORDER_DISSONANCE_PARAMS: {
32
32
  magnitude: number;
33
+ magnitudeFrequencyDecay: number;
33
34
  s1: 0.021;
34
35
  s2: 19;
35
36
  b1: 3.5;
36
37
  b2: 5.75;
37
38
  x_star: 0.24;
38
- magnitudeFrequencyDecay: 0;
39
39
  };
40
- export declare const DEFAULT_PHANTOM_HARMONICS_NUMBER = 0;
40
+ export declare const DEFAULT_PHANTOM_HARMONICS_NUMBER = 3;
package/dist/lib/const.js CHANGED
@@ -11,6 +11,6 @@ export const SETHARES_DISSONANCE_PARAMS = {
11
11
  magnitudeFrequencyDecay: 0,
12
12
  };
13
13
  export const DEFAULT_FIRST_ORDER_DISSONANCE_PARAMS = { ...SETHARES_DISSONANCE_PARAMS };
14
- export const DEFAULT_SECOND_ORDER_DISSONANCE_PARAMS = { ...SETHARES_DISSONANCE_PARAMS, magnitude: 0.25 };
15
- export const DEFAULT_THIRD_ORDER_DISSONANCE_PARAMS = { ...SETHARES_DISSONANCE_PARAMS, magnitude: 0.1 };
16
- export const DEFAULT_PHANTOM_HARMONICS_NUMBER = 0;
14
+ export const DEFAULT_SECOND_ORDER_DISSONANCE_PARAMS = { ...SETHARES_DISSONANCE_PARAMS, magnitude: 0.75, magnitudeFrequencyDecay: 0.75 };
15
+ export const DEFAULT_THIRD_ORDER_DISSONANCE_PARAMS = { ...SETHARES_DISSONANCE_PARAMS, magnitude: 0.5, magnitudeFrequencyDecay: 1.75 };
16
+ export const DEFAULT_PHANTOM_HARMONICS_NUMBER = 3;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sethares-dissonance",
3
- "version": "5.0.0-beta.0",
3
+ "version": "5.0.0",
4
4
  "type": "module",
5
5
  "devDependencies": {
6
6
  "@types/bun": "latest"