com.shinolab.autd3-sdk.modulation 0.4.0 → 0.6.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.
- package/AssemblyInfo.cs +0 -2
- package/Modulation.cs +38 -17
- package/ModulationOps.cs +10 -3
- package/Plugins/linux-x64/libautd3_modulation.so +0 -0
- package/Plugins/osx-arm64/libautd3_modulation.dylib +0 -0
- package/Plugins/win-x64/autd3_modulation.dll +0 -0
- package/README.md +1 -33
- package/THIRD-PARTY-LICENSES.md +284 -6
- package/package.json +2 -2
package/AssemblyInfo.cs
CHANGED
package/Modulation.cs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
using System;
|
|
2
|
+
using System.Threading;
|
|
2
3
|
using System.Collections;
|
|
3
4
|
using System.Collections.Generic;
|
|
4
5
|
using System.Runtime.InteropServices;
|
|
@@ -18,6 +19,20 @@ namespace AUTD3
|
|
|
18
19
|
{
|
|
19
20
|
private const string Lib = "autd3_modulation";
|
|
20
21
|
|
|
22
|
+
private const string ClientLib = "autd3capi";
|
|
23
|
+
|
|
24
|
+
static NativeModulation()
|
|
25
|
+
{
|
|
26
|
+
NativeAbi.Verify(Lib, autd3_abi_version());
|
|
27
|
+
NativeAbi.Verify(ClientLib, autd3capi_abi_version());
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
[DllImport(Lib)]
|
|
31
|
+
private static extern uint autd3_abi_version();
|
|
32
|
+
|
|
33
|
+
[DllImport(ClientLib, EntryPoint = "autd3_abi_version")]
|
|
34
|
+
private static extern uint autd3capi_abi_version();
|
|
35
|
+
|
|
21
36
|
[DllImport(Lib)]
|
|
22
37
|
internal static extern IntPtr autd3_modulation_buffer_new();
|
|
23
38
|
|
|
@@ -47,7 +62,7 @@ namespace AUTD3
|
|
|
47
62
|
internal static extern void autd3_modulation_sine_option_free(IntPtr option);
|
|
48
63
|
|
|
49
64
|
[DllImport(Lib)]
|
|
50
|
-
internal static extern int autd3_modulation_sine(byte mode, float freq, uint freqInt, IntPtr option, IntPtr buffer);
|
|
65
|
+
internal static extern int autd3_modulation_sine(byte mode, float freq, uint freqInt, IntPtr option, IntPtr buffer, byte[] outErr, UIntPtr outErrLen);
|
|
51
66
|
|
|
52
67
|
[DllImport(Lib)]
|
|
53
68
|
internal static extern IntPtr autd3_modulation_square_option_new(byte low, byte high, float duty, IntPtr samplingConfig);
|
|
@@ -56,7 +71,7 @@ namespace AUTD3
|
|
|
56
71
|
internal static extern void autd3_modulation_square_option_free(IntPtr option);
|
|
57
72
|
|
|
58
73
|
[DllImport(Lib)]
|
|
59
|
-
internal static extern int autd3_modulation_square(byte mode, float freq, uint freqInt, IntPtr option, IntPtr buffer);
|
|
74
|
+
internal static extern int autd3_modulation_square(byte mode, float freq, uint freqInt, IntPtr option, IntPtr buffer, byte[] outErr, UIntPtr outErrLen);
|
|
60
75
|
|
|
61
76
|
[DllImport(Lib)]
|
|
62
77
|
internal static extern IntPtr autd3_modulation_fourier_option_new([MarshalAs(UnmanagedType.I1)] bool hasScaleFactor, float scaleFactor, [MarshalAs(UnmanagedType.I1)] bool clamp, byte offset);
|
|
@@ -65,7 +80,7 @@ namespace AUTD3
|
|
|
65
80
|
internal static extern void autd3_modulation_fourier_option_free(IntPtr option);
|
|
66
81
|
|
|
67
82
|
[DllImport(Lib)]
|
|
68
|
-
internal static extern int autd3_modulation_fourier(SineComponentNative[] components, UIntPtr numComponents, IntPtr option, IntPtr buffer);
|
|
83
|
+
internal static extern int autd3_modulation_fourier(SineComponentNative[] components, UIntPtr numComponents, IntPtr option, IntPtr buffer, byte[] outErr, UIntPtr outErrLen);
|
|
69
84
|
|
|
70
85
|
[DllImport(Lib)]
|
|
71
86
|
internal static extern int autd3_modulation_constant(byte intensity, IntPtr buffer);
|
|
@@ -76,13 +91,15 @@ namespace AUTD3
|
|
|
76
91
|
[DllImport(Lib)]
|
|
77
92
|
internal static extern int autd3_modulation_radiation_pressure_inplace(IntPtr buffer);
|
|
78
93
|
|
|
79
|
-
[DllImport(
|
|
94
|
+
[DllImport(ClientLib)]
|
|
80
95
|
internal static extern IntPtr autd3_op_modulation(byte bank, IntPtr samplingConfig, IntPtr modulationBuffer, ushort loopRep, byte transitionMode, ulong transitionValue, uint transitionMarginNs);
|
|
81
96
|
}
|
|
82
97
|
|
|
83
98
|
public sealed class ModulationBuffer : IDisposable, IEnumerable<byte>
|
|
84
99
|
{
|
|
85
|
-
|
|
100
|
+
private IntPtr _handle;
|
|
101
|
+
|
|
102
|
+
internal IntPtr Handle => _handle;
|
|
86
103
|
|
|
87
104
|
private ModulationBuffer(IntPtr handle)
|
|
88
105
|
{
|
|
@@ -90,7 +107,7 @@ namespace AUTD3
|
|
|
90
107
|
{
|
|
91
108
|
throw new Autd3Exception("failed to create modulation buffer");
|
|
92
109
|
}
|
|
93
|
-
|
|
110
|
+
_handle = handle;
|
|
94
111
|
}
|
|
95
112
|
|
|
96
113
|
internal ModulationBuffer() : this(NativeModulation.autd3_modulation_buffer_new())
|
|
@@ -136,19 +153,20 @@ namespace AUTD3
|
|
|
136
153
|
|
|
137
154
|
public void Dispose()
|
|
138
155
|
{
|
|
139
|
-
|
|
156
|
+
var handle = Interlocked.Exchange(ref _handle, IntPtr.Zero);
|
|
157
|
+
if (handle != IntPtr.Zero)
|
|
140
158
|
{
|
|
141
|
-
NativeModulation.autd3_modulation_buffer_free(
|
|
142
|
-
Handle = IntPtr.Zero;
|
|
159
|
+
NativeModulation.autd3_modulation_buffer_free(handle);
|
|
143
160
|
}
|
|
144
161
|
GC.SuppressFinalize(this);
|
|
145
162
|
}
|
|
146
163
|
|
|
147
164
|
~ModulationBuffer()
|
|
148
165
|
{
|
|
149
|
-
|
|
166
|
+
var handle = Interlocked.Exchange(ref _handle, IntPtr.Zero);
|
|
167
|
+
if (handle != IntPtr.Zero)
|
|
150
168
|
{
|
|
151
|
-
NativeModulation.autd3_modulation_buffer_free(
|
|
169
|
+
NativeModulation.autd3_modulation_buffer_free(handle);
|
|
152
170
|
}
|
|
153
171
|
}
|
|
154
172
|
}
|
|
@@ -294,9 +312,10 @@ namespace AUTD3
|
|
|
294
312
|
option.Amplitude, option.Offset, option.Phase.Radian, option.Clamp, sampling);
|
|
295
313
|
try
|
|
296
314
|
{
|
|
297
|
-
|
|
315
|
+
var err = new byte[NativeAbi.ErrorBufferLength];
|
|
316
|
+
if (NativeModulation.autd3_modulation_sine(modeCode, freq.HzValue, freq.HzIntValue, optionHandle, dst.Handle, err, (UIntPtr)err.Length) != 0)
|
|
298
317
|
{
|
|
299
|
-
throw new Autd3Exception(
|
|
318
|
+
throw new Autd3Exception(NativeUtil.Utf8(err));
|
|
300
319
|
}
|
|
301
320
|
}
|
|
302
321
|
finally
|
|
@@ -325,9 +344,10 @@ namespace AUTD3
|
|
|
325
344
|
option.Low, option.High, option.Duty, sampling);
|
|
326
345
|
try
|
|
327
346
|
{
|
|
328
|
-
|
|
347
|
+
var err = new byte[NativeAbi.ErrorBufferLength];
|
|
348
|
+
if (NativeModulation.autd3_modulation_square(modeCode, freq.HzValue, freq.HzIntValue, optionHandle, dst.Handle, err, (UIntPtr)err.Length) != 0)
|
|
329
349
|
{
|
|
330
|
-
throw new Autd3Exception(
|
|
350
|
+
throw new Autd3Exception(NativeUtil.Utf8(err));
|
|
331
351
|
}
|
|
332
352
|
}
|
|
333
353
|
finally
|
|
@@ -377,9 +397,10 @@ namespace AUTD3
|
|
|
377
397
|
option.ScaleFactor.HasValue, option.ScaleFactor ?? 0f, option.Clamp, option.Offset);
|
|
378
398
|
try
|
|
379
399
|
{
|
|
380
|
-
|
|
400
|
+
var err = new byte[NativeAbi.ErrorBufferLength];
|
|
401
|
+
if (NativeModulation.autd3_modulation_fourier(native, (UIntPtr)components.Length, fourierOption, dst.Handle, err, (UIntPtr)err.Length) != 0)
|
|
381
402
|
{
|
|
382
|
-
throw new Autd3Exception(
|
|
403
|
+
throw new Autd3Exception(NativeUtil.Utf8(err));
|
|
383
404
|
}
|
|
384
405
|
}
|
|
385
406
|
finally
|
package/ModulationOps.cs
CHANGED
|
@@ -11,13 +11,20 @@ namespace AUTD3
|
|
|
11
11
|
|
|
12
12
|
internal static class NativeModulationOp
|
|
13
13
|
{
|
|
14
|
-
|
|
14
|
+
private const string Lib = "autd3capi";
|
|
15
|
+
|
|
16
|
+
static NativeModulationOp() => NativeAbi.Verify(Lib, autd3_abi_version());
|
|
17
|
+
|
|
18
|
+
[DllImport(Lib)]
|
|
19
|
+
private static extern uint autd3_abi_version();
|
|
20
|
+
|
|
21
|
+
[DllImport(Lib)]
|
|
15
22
|
internal static extern IntPtr autd3_op_write_modulation_buffer(byte bank, uint offset, IntPtr modulationBuffer);
|
|
16
23
|
|
|
17
|
-
[DllImport(
|
|
24
|
+
[DllImport(Lib)]
|
|
18
25
|
internal static extern IntPtr autd3_op_config_modulation(byte bank, IntPtr samplingConfig, uint size, ushort rep);
|
|
19
26
|
|
|
20
|
-
[DllImport(
|
|
27
|
+
[DllImport(Lib)]
|
|
21
28
|
internal static extern IntPtr autd3_op_change_modulation_bank(byte bank, byte transitionMode, ulong transitionValue, uint transitionMarginNs);
|
|
22
29
|
}
|
|
23
30
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/README.md
CHANGED
|
@@ -2,39 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Amplitude modulation waveforms such as sine and square.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Add the scoped registry and the package to `Packages/manifest.json`; sibling
|
|
8
|
-
AUTD3 packages are resolved from the registry automatically.
|
|
9
|
-
|
|
10
|
-
```json
|
|
11
|
-
{
|
|
12
|
-
"scopedRegistries": [
|
|
13
|
-
{ "name": "npmjs", "url": "https://registry.npmjs.org", "scopes": ["com.shinolab"] }
|
|
14
|
-
],
|
|
15
|
-
"dependencies": {
|
|
16
|
-
"com.shinolab.autd3-sdk.modulation": "0.1.0"
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
Packages served from `registry.npmjs.org` do **not** appear in the Package Manager's
|
|
22
|
-
*My Registries* tab, because npmjs does not implement the legacy `/-/all` route that
|
|
23
|
-
Unity's package listing relies on. Resolution is unaffected: edit the manifest as above,
|
|
24
|
-
or use **+ → Add package by name**.
|
|
25
|
-
|
|
26
|
-
## Platforms
|
|
27
|
-
|
|
28
|
-
Editor and Standalone builds on Windows (`win-x64`), Linux (`linux-x64`) and Apple
|
|
29
|
-
Silicon macOS (`osx-arm64`). Intel macOS is not shipped.
|
|
30
|
-
|
|
31
|
-
## Notes
|
|
32
|
-
|
|
33
|
-
Minimum Unity version is 6 (6000.x). The API speaks Unity's left-handed, metre frame;
|
|
34
|
-
conversion to the AUTD3 canonical frame happens at the binding boundary.
|
|
35
|
-
|
|
36
|
-
See the [Unity binding README](https://github.com/shinolab/autd3-sdk/blob/main/bindings/unity/README.md) for the
|
|
37
|
-
coordinate system, the full package list and local development with `file:` references.
|
|
5
|
+
See the [Unity binding README](https://github.com/shinolab/autd3-sdk/blob/main/bindings/unity/README.md) for more details.
|
|
38
6
|
|
|
39
7
|
## License
|
|
40
8
|
|
package/THIRD-PARTY-LICENSES.md
CHANGED
|
@@ -5,7 +5,7 @@ The following is a list of those components and the full text of their licenses.
|
|
|
5
5
|
|
|
6
6
|
## Overview
|
|
7
7
|
|
|
8
|
-
- MIT License (
|
|
8
|
+
- MIT License (50)
|
|
9
9
|
- Apache License 2.0 (3)
|
|
10
10
|
- Unicode License v3 (1)
|
|
11
11
|
|
|
@@ -437,6 +437,77 @@ Used by:
|
|
|
437
437
|
|
|
438
438
|
Used by:
|
|
439
439
|
|
|
440
|
+
- cfg-if 1.0.4 — https://github.com/rust-lang/cfg-if
|
|
441
|
+
|
|
442
|
+
```
|
|
443
|
+
Copyright (c) 2014 Alex Crichton
|
|
444
|
+
|
|
445
|
+
Permission is hereby granted, free of charge, to any
|
|
446
|
+
person obtaining a copy of this software and associated
|
|
447
|
+
documentation files (the "Software"), to deal in the
|
|
448
|
+
Software without restriction, including without
|
|
449
|
+
limitation the rights to use, copy, modify, merge,
|
|
450
|
+
publish, distribute, sublicense, and/or sell copies of
|
|
451
|
+
the Software, and to permit persons to whom the Software
|
|
452
|
+
is furnished to do so, subject to the following
|
|
453
|
+
conditions:
|
|
454
|
+
|
|
455
|
+
The above copyright notice and this permission notice
|
|
456
|
+
shall be included in all copies or substantial portions
|
|
457
|
+
of the Software.
|
|
458
|
+
|
|
459
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
|
460
|
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
461
|
+
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
462
|
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
|
463
|
+
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
464
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
465
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
466
|
+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
467
|
+
DEALINGS IN THE SOFTWARE.
|
|
468
|
+
|
|
469
|
+
```
|
|
470
|
+
|
|
471
|
+
## MIT License
|
|
472
|
+
|
|
473
|
+
Used by:
|
|
474
|
+
|
|
475
|
+
- core_affinity 0.8.3 — https://github.com/Elzair/core_affinity_rs
|
|
476
|
+
|
|
477
|
+
```
|
|
478
|
+
Copyright (c) 2014 The Rust Project Developers
|
|
479
|
+
|
|
480
|
+
Permission is hereby granted, free of charge, to any
|
|
481
|
+
person obtaining a copy of this software and associated
|
|
482
|
+
documentation files (the "Software"), to deal in the
|
|
483
|
+
Software without restriction, including without
|
|
484
|
+
limitation the rights to use, copy, modify, merge,
|
|
485
|
+
publish, distribute, sublicense, and/or sell copies of
|
|
486
|
+
the Software, and to permit persons to whom the Software
|
|
487
|
+
is furnished to do so, subject to the following
|
|
488
|
+
conditions:
|
|
489
|
+
|
|
490
|
+
The above copyright notice and this permission notice
|
|
491
|
+
shall be included in all copies or substantial portions
|
|
492
|
+
of the Software.
|
|
493
|
+
|
|
494
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
|
495
|
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
496
|
+
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
497
|
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
|
498
|
+
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
499
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
500
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
501
|
+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
502
|
+
DEALINGS IN THE SOFTWARE.
|
|
503
|
+
```
|
|
504
|
+
|
|
505
|
+
## MIT License
|
|
506
|
+
|
|
507
|
+
Used by:
|
|
508
|
+
|
|
509
|
+
- bitflags 2.13.0 — https://github.com/bitflags/bitflags
|
|
510
|
+
- log 0.4.33 — https://github.com/rust-lang/log
|
|
440
511
|
- num-complex 0.4.6 — https://github.com/rust-num/num-complex
|
|
441
512
|
- num-integer 0.1.46 — https://github.com/rust-num/num-integer
|
|
442
513
|
- num-rational 0.4.2 — https://github.com/rust-num/num-rational
|
|
@@ -504,6 +575,65 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
|
504
575
|
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
505
576
|
DEALINGS IN THE SOFTWARE.
|
|
506
577
|
|
|
578
|
+
```
|
|
579
|
+
|
|
580
|
+
## MIT License
|
|
581
|
+
|
|
582
|
+
Used by:
|
|
583
|
+
|
|
584
|
+
- winapi 0.3.9 — https://github.com/retep998/winapi-rs
|
|
585
|
+
|
|
586
|
+
```
|
|
587
|
+
Copyright (c) 2015-2018 The winapi-rs Developers
|
|
588
|
+
|
|
589
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
590
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
591
|
+
in the Software without restriction, including without limitation the rights
|
|
592
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
593
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
594
|
+
furnished to do so, subject to the following conditions:
|
|
595
|
+
|
|
596
|
+
The above copyright notice and this permission notice shall be included in all
|
|
597
|
+
copies or substantial portions of the Software.
|
|
598
|
+
|
|
599
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
600
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
601
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
602
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
603
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
604
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
605
|
+
SOFTWARE.
|
|
606
|
+
|
|
607
|
+
```
|
|
608
|
+
|
|
609
|
+
## MIT License
|
|
610
|
+
|
|
611
|
+
Used by:
|
|
612
|
+
|
|
613
|
+
- num_cpus 1.17.0 — https://github.com/seanmonstar/num_cpus
|
|
614
|
+
|
|
615
|
+
```
|
|
616
|
+
Copyright (c) 2015-2025 Sean McArthur
|
|
617
|
+
|
|
618
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
619
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
620
|
+
in the Software without restriction, including without limitation the rights
|
|
621
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
622
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
623
|
+
furnished to do so, subject to the following conditions:
|
|
624
|
+
|
|
625
|
+
The above copyright notice and this permission notice shall be included in
|
|
626
|
+
all copies or substantial portions of the Software.
|
|
627
|
+
|
|
628
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
629
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
630
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
631
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
632
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
633
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
634
|
+
THE SOFTWARE.
|
|
635
|
+
|
|
636
|
+
|
|
507
637
|
```
|
|
508
638
|
|
|
509
639
|
## MIT License
|
|
@@ -547,6 +677,77 @@ DEALINGS IN THE SOFTWARE.
|
|
|
547
677
|
|
|
548
678
|
Used by:
|
|
549
679
|
|
|
680
|
+
- tracing-core 0.1.36 — https://github.com/tokio-rs/tracing
|
|
681
|
+
- tracing 0.1.44 — https://github.com/tokio-rs/tracing
|
|
682
|
+
|
|
683
|
+
```
|
|
684
|
+
Copyright (c) 2019 Tokio Contributors
|
|
685
|
+
|
|
686
|
+
Permission is hereby granted, free of charge, to any
|
|
687
|
+
person obtaining a copy of this software and associated
|
|
688
|
+
documentation files (the "Software"), to deal in the
|
|
689
|
+
Software without restriction, including without
|
|
690
|
+
limitation the rights to use, copy, modify, merge,
|
|
691
|
+
publish, distribute, sublicense, and/or sell copies of
|
|
692
|
+
the Software, and to permit persons to whom the Software
|
|
693
|
+
is furnished to do so, subject to the following
|
|
694
|
+
conditions:
|
|
695
|
+
|
|
696
|
+
The above copyright notice and this permission notice
|
|
697
|
+
shall be included in all copies or substantial portions
|
|
698
|
+
of the Software.
|
|
699
|
+
|
|
700
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
|
701
|
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
702
|
+
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
703
|
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
|
704
|
+
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
705
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
706
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
707
|
+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
708
|
+
DEALINGS IN THE SOFTWARE.
|
|
709
|
+
|
|
710
|
+
```
|
|
711
|
+
|
|
712
|
+
## MIT License
|
|
713
|
+
|
|
714
|
+
Used by:
|
|
715
|
+
|
|
716
|
+
- libc 0.2.186 — https://github.com/rust-lang/libc
|
|
717
|
+
|
|
718
|
+
```
|
|
719
|
+
Copyright (c) The Rust Project Developers
|
|
720
|
+
|
|
721
|
+
Permission is hereby granted, free of charge, to any
|
|
722
|
+
person obtaining a copy of this software and associated
|
|
723
|
+
documentation files (the "Software"), to deal in the
|
|
724
|
+
Software without restriction, including without
|
|
725
|
+
limitation the rights to use, copy, modify, merge,
|
|
726
|
+
publish, distribute, sublicense, and/or sell copies of
|
|
727
|
+
the Software, and to permit persons to whom the Software
|
|
728
|
+
is furnished to do so, subject to the following
|
|
729
|
+
conditions:
|
|
730
|
+
|
|
731
|
+
The above copyright notice and this permission notice
|
|
732
|
+
shall be included in all copies or substantial portions
|
|
733
|
+
of the Software.
|
|
734
|
+
|
|
735
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
|
736
|
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
737
|
+
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
738
|
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
|
739
|
+
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
740
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
741
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
742
|
+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
743
|
+
DEALINGS IN THE SOFTWARE.
|
|
744
|
+
|
|
745
|
+
```
|
|
746
|
+
|
|
747
|
+
## MIT License
|
|
748
|
+
|
|
749
|
+
Used by:
|
|
750
|
+
|
|
550
751
|
- zerocopy-derive 0.8.52 — https://github.com/google/zerocopy
|
|
551
752
|
- zerocopy 0.8.52 — https://github.com/google/zerocopy
|
|
552
753
|
|
|
@@ -578,6 +779,37 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
|
578
779
|
DEALINGS IN THE SOFTWARE.
|
|
579
780
|
|
|
580
781
|
|
|
782
|
+
```
|
|
783
|
+
|
|
784
|
+
## MIT License
|
|
785
|
+
|
|
786
|
+
Used by:
|
|
787
|
+
|
|
788
|
+
- thread-priority 3.1.1 — https://github.com/iddm/thread-priority
|
|
789
|
+
|
|
790
|
+
```
|
|
791
|
+
MIT License
|
|
792
|
+
|
|
793
|
+
Copyright (c) 2017 Victor Polevoy
|
|
794
|
+
|
|
795
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
796
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
797
|
+
in the Software without restriction, including without limitation the rights
|
|
798
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
799
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
800
|
+
furnished to do so, subject to the following conditions:
|
|
801
|
+
|
|
802
|
+
The above copyright notice and this permission notice shall be included in all
|
|
803
|
+
copies or substantial portions of the Software.
|
|
804
|
+
|
|
805
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
806
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
807
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
808
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
809
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
810
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
811
|
+
SOFTWARE.
|
|
812
|
+
|
|
581
813
|
```
|
|
582
814
|
|
|
583
815
|
## MIT License
|
|
@@ -622,13 +854,56 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
622
854
|
|
|
623
855
|
Used by:
|
|
624
856
|
|
|
625
|
-
- autd3-
|
|
626
|
-
- autd3-
|
|
627
|
-
- autd3-
|
|
628
|
-
|
|
629
|
-
|
|
857
|
+
- autd3-rs-core 0.6.0 — https://github.com/shinolab/autd3-sdk
|
|
858
|
+
- autd3-rs-modulation 0.6.0 — https://github.com/shinolab/autd3-sdk
|
|
859
|
+
- autd3-cpu-wire 0.6.0 — https://github.com/shinolab/autd3-sdk
|
|
860
|
+
|
|
861
|
+
```
|
|
862
|
+
MIT License
|
|
863
|
+
|
|
864
|
+
Copyright (c) 2026 Shun Suzuki
|
|
865
|
+
|
|
866
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
867
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
868
|
+
in the Software without restriction, including without limitation the rights
|
|
869
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
870
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
871
|
+
furnished to do so, subject to the following conditions:
|
|
872
|
+
|
|
873
|
+
The above copyright notice and this permission notice shall be included in all
|
|
874
|
+
copies or substantial portions of the Software.
|
|
875
|
+
|
|
876
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
877
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
878
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
879
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
880
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
881
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
882
|
+
SOFTWARE.
|
|
883
|
+
|
|
884
|
+
```
|
|
885
|
+
|
|
886
|
+
## MIT License
|
|
887
|
+
|
|
888
|
+
Used by:
|
|
889
|
+
|
|
890
|
+
- autd3-ffi-abi 0.6.0 — https://github.com/shinolab/autd3-sdk
|
|
891
|
+
- autd3-ffi-modulation 0.6.0 — https://github.com/shinolab/autd3-sdk
|
|
630
892
|
- chrono 0.4.45 — https://github.com/chronotope/chrono
|
|
631
893
|
- wide 1.5.0 — https://github.com/Lokathor/wide
|
|
894
|
+
- winapi-i686-pc-windows-gnu 0.4.0 — https://github.com/retep998/winapi-rs
|
|
895
|
+
- winapi-x86_64-pc-windows-gnu 0.4.0 — https://github.com/retep998/winapi-rs
|
|
896
|
+
- windows-collections 0.3.2 — https://github.com/microsoft/windows-rs
|
|
897
|
+
- windows-core 0.62.2 — https://github.com/microsoft/windows-rs
|
|
898
|
+
- windows-future 0.3.2 — https://github.com/microsoft/windows-rs
|
|
899
|
+
- windows-implement 0.60.2 — https://github.com/microsoft/windows-rs
|
|
900
|
+
- windows-interface 0.59.3 — https://github.com/microsoft/windows-rs
|
|
901
|
+
- windows-link 0.2.1 — https://github.com/microsoft/windows-rs
|
|
902
|
+
- windows-numerics 0.3.1 — https://github.com/microsoft/windows-rs
|
|
903
|
+
- windows-result 0.4.1 — https://github.com/microsoft/windows-rs
|
|
904
|
+
- windows-strings 0.5.1 — https://github.com/microsoft/windows-rs
|
|
905
|
+
- windows-threading 0.2.1 — https://github.com/microsoft/windows-rs
|
|
906
|
+
- windows 0.62.2 — https://github.com/microsoft/windows-rs
|
|
632
907
|
|
|
633
908
|
```
|
|
634
909
|
MIT License
|
|
@@ -656,8 +931,11 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
656
931
|
|
|
657
932
|
Used by:
|
|
658
933
|
|
|
934
|
+
- hermit-abi 0.5.2 — https://github.com/hermit-os/hermit-rs
|
|
935
|
+
- pin-project-lite 0.2.17 — https://github.com/taiki-e/pin-project-lite
|
|
659
936
|
- proc-macro2 1.0.106 — https://github.com/dtolnay/proc-macro2
|
|
660
937
|
- quote 1.0.46 — https://github.com/dtolnay/quote
|
|
938
|
+
- rustversion 1.0.22 — https://github.com/dtolnay/rustversion
|
|
661
939
|
- syn 2.0.118 — https://github.com/dtolnay/syn
|
|
662
940
|
- thiserror-impl 2.0.18 — https://github.com/dtolnay/thiserror
|
|
663
941
|
- thiserror 2.0.18 — https://github.com/dtolnay/thiserror
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"url": "git+https://github.com/shinolab/autd3-sdk.git",
|
|
6
6
|
"directory": "bindings/unity/com.shinolab.autd3-sdk.modulation"
|
|
7
7
|
},
|
|
8
|
-
"version": "0.
|
|
8
|
+
"version": "0.6.0",
|
|
9
9
|
"displayName": "AUTD3 Modulation",
|
|
10
10
|
"description": "AUTD3 amplitude modulation waveforms (Unity binding).",
|
|
11
11
|
"unity": "6000.0",
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
"url": "https://github.com/shinolab"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"com.shinolab.autd3-sdk.core": "0.
|
|
18
|
+
"com.shinolab.autd3-sdk.core": "0.6.0"
|
|
19
19
|
}
|
|
20
20
|
}
|