com.shinolab.autd3-sdk.modulation 0.9.0 → 0.10.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/Modulation.cs
CHANGED
|
@@ -83,7 +83,10 @@ namespace AUTD3
|
|
|
83
83
|
internal static extern int autd3_modulation_fourier(SineComponentNative[] components, UIntPtr numComponents, IntPtr option, ModulationBufferHandle buffer, byte[] outErr, UIntPtr outErrLen);
|
|
84
84
|
|
|
85
85
|
[DllImport(Lib, CallingConvention = CallingConvention.Cdecl)]
|
|
86
|
-
internal static extern int
|
|
86
|
+
internal static extern int autd3_modulation_buffer_copy_to(ModulationBufferHandle buffer, [Out] byte[] dst, UIntPtr len);
|
|
87
|
+
|
|
88
|
+
[DllImport(Lib, CallingConvention = CallingConvention.Cdecl)]
|
|
89
|
+
internal static extern int autd3_modulation_constant(byte amplitude, ModulationBufferHandle buffer);
|
|
87
90
|
|
|
88
91
|
[DllImport(Lib, CallingConvention = CallingConvention.Cdecl)]
|
|
89
92
|
internal static extern int autd3_modulation_radiation_pressure(ModulationBufferHandle src, ModulationBufferHandle dst);
|
|
@@ -92,7 +95,16 @@ namespace AUTD3
|
|
|
92
95
|
internal static extern int autd3_modulation_radiation_pressure_inplace(ModulationBufferHandle buffer);
|
|
93
96
|
|
|
94
97
|
[DllImport(ClientLib, CallingConvention = CallingConvention.Cdecl)]
|
|
95
|
-
internal static extern IntPtr autd3_op_modulation(byte bank, IntPtr samplingConfig, ModulationBufferHandle modulationBuffer, ushort loopRep, byte transitionMode, ulong transitionValue
|
|
98
|
+
internal static extern IntPtr autd3_op_modulation(byte bank, IntPtr samplingConfig, ModulationBufferHandle modulationBuffer, ushort loopRep, byte transitionMode, ulong transitionValue);
|
|
99
|
+
|
|
100
|
+
[DllImport(ClientLib, CallingConvention = CallingConvention.Cdecl)]
|
|
101
|
+
internal static extern IntPtr autd3_op_write_modulation_buffer(byte bank, uint offset, ModulationBufferHandle modulationBuffer);
|
|
102
|
+
|
|
103
|
+
[DllImport(ClientLib, CallingConvention = CallingConvention.Cdecl)]
|
|
104
|
+
internal static extern IntPtr autd3_op_config_modulation(byte bank, IntPtr samplingConfig, uint size, ushort rep);
|
|
105
|
+
|
|
106
|
+
[DllImport(ClientLib, CallingConvention = CallingConvention.Cdecl)]
|
|
107
|
+
internal static extern IntPtr autd3_op_activate_modulation_bank(byte bank, byte transitionMode, ulong transitionValue);
|
|
96
108
|
}
|
|
97
109
|
|
|
98
110
|
internal sealed class ModulationBufferHandle : Autd3SafeHandle
|
|
@@ -138,6 +150,16 @@ namespace AUTD3
|
|
|
138
150
|
|
|
139
151
|
public int Length => (int)NativeModulation.autd3_modulation_buffer_len(Handle);
|
|
140
152
|
|
|
153
|
+
public byte[] ToArray()
|
|
154
|
+
{
|
|
155
|
+
var data = new byte[Length];
|
|
156
|
+
if (NativeModulation.autd3_modulation_buffer_copy_to(Handle, data, (UIntPtr)data.Length) != 0)
|
|
157
|
+
{
|
|
158
|
+
throw new Autd3Exception("failed to copy the modulation buffer");
|
|
159
|
+
}
|
|
160
|
+
return data;
|
|
161
|
+
}
|
|
162
|
+
|
|
141
163
|
public byte this[int index]
|
|
142
164
|
{
|
|
143
165
|
get
|
|
@@ -169,58 +191,32 @@ namespace AUTD3
|
|
|
169
191
|
|
|
170
192
|
public readonly struct SineOption
|
|
171
193
|
{
|
|
172
|
-
|
|
173
|
-
public byte
|
|
174
|
-
|
|
175
|
-
public
|
|
176
|
-
public
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
{
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
public SineOption(byte amplitude = 0xFF, byte offset = 0x80, Angle phase = default, bool clamp = false, SamplingConfig? samplingConfig = null)
|
|
183
|
-
{
|
|
184
|
-
Amplitude = amplitude;
|
|
185
|
-
Offset = offset;
|
|
186
|
-
Phase = phase;
|
|
187
|
-
Clamp = clamp;
|
|
188
|
-
SamplingConfig = samplingConfig ?? SamplingConfig.Freq4k;
|
|
189
|
-
}
|
|
194
|
+
private readonly byte? _amplitude;
|
|
195
|
+
public byte Amplitude { get => _amplitude ?? 0xFF; init => _amplitude = value; }
|
|
196
|
+
private readonly byte? _offset;
|
|
197
|
+
public byte Offset { get => _offset ?? 0x80; init => _offset = value; }
|
|
198
|
+
public Angle Phase { get; init; }
|
|
199
|
+
public bool Clamp { get; init; }
|
|
200
|
+
private readonly SamplingConfig? _samplingConfig;
|
|
201
|
+
public SamplingConfig SamplingConfig { get => _samplingConfig ?? SamplingConfig.Freq4k; init => _samplingConfig = value; }
|
|
190
202
|
}
|
|
191
203
|
|
|
192
204
|
public readonly struct SquareOption
|
|
193
205
|
{
|
|
194
|
-
public byte Low { get; }
|
|
195
|
-
|
|
196
|
-
public
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
{
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
public SquareOption(byte low = 0x00, byte high = 0xFF, float duty = 0.5f, SamplingConfig? samplingConfig = null)
|
|
204
|
-
{
|
|
205
|
-
Low = low;
|
|
206
|
-
High = high;
|
|
207
|
-
Duty = duty;
|
|
208
|
-
SamplingConfig = samplingConfig ?? SamplingConfig.Freq4k;
|
|
209
|
-
}
|
|
206
|
+
public byte Low { get; init; }
|
|
207
|
+
private readonly byte? _high;
|
|
208
|
+
public byte High { get => _high ?? 0xFF; init => _high = value; }
|
|
209
|
+
private readonly float? _duty;
|
|
210
|
+
public float Duty { get => _duty ?? 0.5f; init => _duty = value; }
|
|
211
|
+
private readonly SamplingConfig? _samplingConfig;
|
|
212
|
+
public SamplingConfig SamplingConfig { get => _samplingConfig ?? SamplingConfig.Freq4k; init => _samplingConfig = value; }
|
|
210
213
|
}
|
|
211
214
|
|
|
212
215
|
public readonly struct FourierOption
|
|
213
216
|
{
|
|
214
|
-
public float? ScaleFactor { get; }
|
|
215
|
-
public bool Clamp { get; }
|
|
216
|
-
public byte Offset { get; }
|
|
217
|
-
|
|
218
|
-
public FourierOption(float? scaleFactor = null, bool clamp = false, byte offset = 0x00)
|
|
219
|
-
{
|
|
220
|
-
ScaleFactor = scaleFactor;
|
|
221
|
-
Clamp = clamp;
|
|
222
|
-
Offset = offset;
|
|
223
|
-
}
|
|
217
|
+
public float? ScaleFactor { get; init; }
|
|
218
|
+
public bool Clamp { get; init; }
|
|
219
|
+
public byte Offset { get; init; }
|
|
224
220
|
}
|
|
225
221
|
|
|
226
222
|
public readonly struct SineComponent
|
|
@@ -270,22 +266,22 @@ namespace AUTD3
|
|
|
270
266
|
|
|
271
267
|
public static ModulationBuffer ModulationBuffer() => new ModulationBuffer();
|
|
272
268
|
|
|
273
|
-
public static uint SamplesPerPeriod(ushort divider,
|
|
269
|
+
public static uint? SamplesPerPeriod(ushort divider, Freq freq)
|
|
274
270
|
{
|
|
275
|
-
if (
|
|
271
|
+
if (freq.Mode != AUTD3.Freq.FreqMode.IntExact)
|
|
276
272
|
{
|
|
277
|
-
throw new Autd3Exception("samples_per_period
|
|
273
|
+
throw new Autd3Exception("samples_per_period requires an integer frequency", Autd3ErrorCode.InvalidArgument);
|
|
278
274
|
}
|
|
279
|
-
return value;
|
|
275
|
+
return NativeModulation.autd3_modulation_samples_per_period(divider, freq.HzIntValue, out var value) ? value : null;
|
|
280
276
|
}
|
|
281
277
|
|
|
282
|
-
IntPtr ICommand.CreateOp()
|
|
278
|
+
IntPtr ICommand.CreateOp(Geometry geometry)
|
|
283
279
|
{
|
|
284
280
|
var sampling = _samplingConfig.CreateHandle();
|
|
285
281
|
try
|
|
286
282
|
{
|
|
287
283
|
return NativeModulation.autd3_op_modulation(
|
|
288
|
-
(byte)_bank, sampling, _buffer.Handle, _loopBehavior.Rep, _transitionMode.Mode, _transitionMode.Value
|
|
284
|
+
(byte)_bank, sampling, _buffer.Handle, _loopBehavior.Rep, _transitionMode.Mode, _transitionMode.Value);
|
|
289
285
|
}
|
|
290
286
|
finally
|
|
291
287
|
{
|
|
@@ -357,9 +353,9 @@ namespace AUTD3
|
|
|
357
353
|
}
|
|
358
354
|
}
|
|
359
355
|
|
|
360
|
-
public static void Constant(byte
|
|
356
|
+
public static void Constant(byte amplitude, ModulationBuffer dst)
|
|
361
357
|
{
|
|
362
|
-
if (NativeModulation.autd3_modulation_constant(
|
|
358
|
+
if (NativeModulation.autd3_modulation_constant(amplitude, dst.Handle) != 0)
|
|
363
359
|
{
|
|
364
360
|
throw new Autd3Exception("constant modulation failed");
|
|
365
361
|
}
|
package/ModulationOps.cs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
using System;
|
|
2
|
-
using System.Runtime.InteropServices;
|
|
3
2
|
|
|
4
3
|
namespace AUTD3
|
|
5
4
|
{
|
|
@@ -9,25 +8,6 @@ namespace AUTD3
|
|
|
9
8
|
B1 = 1,
|
|
10
9
|
}
|
|
11
10
|
|
|
12
|
-
internal static class NativeModulationOp
|
|
13
|
-
{
|
|
14
|
-
private const string Lib = "autd3capi";
|
|
15
|
-
|
|
16
|
-
static NativeModulationOp() => NativeAbi.Verify(Lib, autd3_abi_version());
|
|
17
|
-
|
|
18
|
-
[DllImport(Lib, CallingConvention = CallingConvention.Cdecl)]
|
|
19
|
-
private static extern uint autd3_abi_version();
|
|
20
|
-
|
|
21
|
-
[DllImport(Lib, CallingConvention = CallingConvention.Cdecl)]
|
|
22
|
-
internal static extern IntPtr autd3_op_write_modulation_buffer(byte bank, uint offset, ModulationBufferHandle modulationBuffer);
|
|
23
|
-
|
|
24
|
-
[DllImport(Lib, CallingConvention = CallingConvention.Cdecl)]
|
|
25
|
-
internal static extern IntPtr autd3_op_config_modulation(byte bank, IntPtr samplingConfig, uint size, ushort rep);
|
|
26
|
-
|
|
27
|
-
[DllImport(Lib, CallingConvention = CallingConvention.Cdecl)]
|
|
28
|
-
internal static extern IntPtr autd3_op_change_modulation_bank(byte bank, byte transitionMode, ulong transitionValue, uint transitionMarginNs);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
11
|
public sealed class WriteModulationBuffer : ICommand
|
|
32
12
|
{
|
|
33
13
|
private readonly ModulationBank _bank;
|
|
@@ -41,8 +21,8 @@ namespace AUTD3
|
|
|
41
21
|
_buffer = data;
|
|
42
22
|
}
|
|
43
23
|
|
|
44
|
-
IntPtr ICommand.CreateOp() =>
|
|
45
|
-
|
|
24
|
+
IntPtr ICommand.CreateOp(Geometry geometry) =>
|
|
25
|
+
NativeModulation.autd3_op_write_modulation_buffer((byte)_bank, _offset, _buffer.Handle);
|
|
46
26
|
}
|
|
47
27
|
|
|
48
28
|
public sealed class ConfigModulation : ICommand
|
|
@@ -60,12 +40,12 @@ namespace AUTD3
|
|
|
60
40
|
_loopBehavior = loopBehavior ?? LoopBehavior.Infinite;
|
|
61
41
|
}
|
|
62
42
|
|
|
63
|
-
IntPtr ICommand.CreateOp()
|
|
43
|
+
IntPtr ICommand.CreateOp(Geometry geometry)
|
|
64
44
|
{
|
|
65
45
|
var sampling = _config.CreateHandle();
|
|
66
46
|
try
|
|
67
47
|
{
|
|
68
|
-
return
|
|
48
|
+
return NativeModulation.autd3_op_config_modulation((byte)_bank, sampling, _size, _loopBehavior.Rep);
|
|
69
49
|
}
|
|
70
50
|
finally
|
|
71
51
|
{
|
|
@@ -74,18 +54,18 @@ namespace AUTD3
|
|
|
74
54
|
}
|
|
75
55
|
}
|
|
76
56
|
|
|
77
|
-
public sealed class
|
|
57
|
+
public sealed class ActivateModulationBank : ICommand
|
|
78
58
|
{
|
|
79
59
|
private readonly ModulationBank _bank;
|
|
80
60
|
private readonly TransitionMode _transitionMode;
|
|
81
61
|
|
|
82
|
-
public
|
|
62
|
+
public ActivateModulationBank(ModulationBank bank, TransitionMode? transitionMode = null)
|
|
83
63
|
{
|
|
84
64
|
_bank = bank;
|
|
85
65
|
_transitionMode = transitionMode ?? TransitionMode.Immediate;
|
|
86
66
|
}
|
|
87
67
|
|
|
88
|
-
IntPtr ICommand.CreateOp() =>
|
|
89
|
-
|
|
68
|
+
IntPtr ICommand.CreateOp(Geometry geometry) =>
|
|
69
|
+
NativeModulation.autd3_op_activate_modulation_bank((byte)_bank, _transitionMode.Mode, _transitionMode.Value);
|
|
90
70
|
}
|
|
91
71
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
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 (30)
|
|
9
9
|
- Apache License 2.0 (3)
|
|
10
10
|
- Unicode License v3 (1)
|
|
11
11
|
|
|
@@ -437,79 +437,9 @@ Used by:
|
|
|
437
437
|
|
|
438
438
|
Used by:
|
|
439
439
|
|
|
440
|
-
-
|
|
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
|
+
- bitflags 2.13.2 — https://github.com/bitflags/bitflags
|
|
511
441
|
- num-complex 0.4.6 — https://github.com/rust-num/num-complex
|
|
512
|
-
- num-integer 0.1.
|
|
442
|
+
- num-integer 0.1.47 — https://github.com/rust-num/num-integer
|
|
513
443
|
- num-rational 0.4.2 — https://github.com/rust-num/num-rational
|
|
514
444
|
- num-traits 0.2.19 — https://github.com/rust-num/num-traits
|
|
515
445
|
|
|
@@ -575,65 +505,6 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
|
575
505
|
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
576
506
|
DEALINGS IN THE SOFTWARE.
|
|
577
507
|
|
|
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
|
-
|
|
637
508
|
```
|
|
638
509
|
|
|
639
510
|
## MIT License
|
|
@@ -713,10 +584,11 @@ DEALINGS IN THE SOFTWARE.
|
|
|
713
584
|
|
|
714
585
|
Used by:
|
|
715
586
|
|
|
716
|
-
-
|
|
587
|
+
- zerocopy-derive 0.8.52 — https://github.com/google/zerocopy
|
|
588
|
+
- zerocopy 0.8.52 — https://github.com/google/zerocopy
|
|
717
589
|
|
|
718
590
|
```
|
|
719
|
-
Copyright
|
|
591
|
+
Copyright 2023 The Fuchsia Authors
|
|
720
592
|
|
|
721
593
|
Permission is hereby granted, free of charge, to any
|
|
722
594
|
person obtaining a copy of this software and associated
|
|
@@ -742,42 +614,37 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
|
742
614
|
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
743
615
|
DEALINGS IN THE SOFTWARE.
|
|
744
616
|
|
|
617
|
+
|
|
745
618
|
```
|
|
746
619
|
|
|
747
620
|
## MIT License
|
|
748
621
|
|
|
749
622
|
Used by:
|
|
750
623
|
|
|
751
|
-
-
|
|
752
|
-
- zerocopy 0.8.52 — https://github.com/google/zerocopy
|
|
624
|
+
- crc 3.4.0 — https://github.com/mrhooray/crc-rs.git
|
|
753
625
|
|
|
754
626
|
```
|
|
755
|
-
|
|
627
|
+
MIT License
|
|
756
628
|
|
|
757
|
-
|
|
758
|
-
person obtaining a copy of this software and associated
|
|
759
|
-
documentation files (the "Software"), to deal in the
|
|
760
|
-
Software without restriction, including without
|
|
761
|
-
limitation the rights to use, copy, modify, merge,
|
|
762
|
-
publish, distribute, sublicense, and/or sell copies of
|
|
763
|
-
the Software, and to permit persons to whom the Software
|
|
764
|
-
is furnished to do so, subject to the following
|
|
765
|
-
conditions:
|
|
629
|
+
Copyright (c) 2017 crc-rs Developers
|
|
766
630
|
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
631
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
632
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
633
|
+
in the Software without restriction, including without limitation the rights
|
|
634
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
635
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
636
|
+
furnished to do so, subject to the following conditions:
|
|
770
637
|
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
774
|
-
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
|
775
|
-
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
776
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
777
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
778
|
-
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
779
|
-
DEALINGS IN THE SOFTWARE.
|
|
638
|
+
The above copyright notice and this permission notice shall be included in all
|
|
639
|
+
copies or substantial portions of the Software.
|
|
780
640
|
|
|
641
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
642
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
643
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
644
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
645
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
646
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
647
|
+
SOFTWARE.
|
|
781
648
|
|
|
782
649
|
```
|
|
783
650
|
|
|
@@ -785,12 +652,12 @@ DEALINGS IN THE SOFTWARE.
|
|
|
785
652
|
|
|
786
653
|
Used by:
|
|
787
654
|
|
|
788
|
-
-
|
|
655
|
+
- crc-catalog 2.5.0 — https://github.com/akhilles/crc-catalog.git
|
|
789
656
|
|
|
790
657
|
```
|
|
791
658
|
MIT License
|
|
792
659
|
|
|
793
|
-
Copyright (c)
|
|
660
|
+
Copyright (c) 2019 Akhil Velagapudi
|
|
794
661
|
|
|
795
662
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
796
663
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -854,9 +721,9 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
854
721
|
|
|
855
722
|
Used by:
|
|
856
723
|
|
|
857
|
-
- autd3-rs-core 0.
|
|
858
|
-
- autd3-rs-modulation 0.
|
|
859
|
-
- autd3-cpu-wire 0.
|
|
724
|
+
- autd3-rs-core 0.10.0 — https://github.com/shinolab/autd3-sdk
|
|
725
|
+
- autd3-rs-modulation 0.10.0 — https://github.com/shinolab/autd3-sdk
|
|
726
|
+
- autd3-cpu-wire 0.10.0 — https://github.com/shinolab/autd3-sdk
|
|
860
727
|
|
|
861
728
|
```
|
|
862
729
|
MIT License
|
|
@@ -887,23 +754,9 @@ SOFTWARE.
|
|
|
887
754
|
|
|
888
755
|
Used by:
|
|
889
756
|
|
|
890
|
-
- autd3-ffi-abi 0.
|
|
891
|
-
- autd3-ffi-modulation 0.
|
|
892
|
-
- chrono 0.4.45 — https://github.com/chronotope/chrono
|
|
757
|
+
- autd3-ffi-abi 0.10.0 — https://github.com/shinolab/autd3-sdk
|
|
758
|
+
- autd3-ffi-modulation 0.10.0 — https://github.com/shinolab/autd3-sdk
|
|
893
759
|
- 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
|
|
907
760
|
|
|
908
761
|
```
|
|
909
762
|
MIT License
|
|
@@ -931,11 +784,9 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
931
784
|
|
|
932
785
|
Used by:
|
|
933
786
|
|
|
934
|
-
- hermit-abi 0.5.2 — https://github.com/hermit-os/hermit-rs
|
|
935
787
|
- pin-project-lite 0.2.17 — https://github.com/taiki-e/pin-project-lite
|
|
936
788
|
- proc-macro2 1.0.106 — https://github.com/dtolnay/proc-macro2
|
|
937
789
|
- quote 1.0.46 — https://github.com/dtolnay/quote
|
|
938
|
-
- rustversion 1.0.22 — https://github.com/dtolnay/rustversion
|
|
939
790
|
- syn 2.0.118 — https://github.com/dtolnay/syn
|
|
940
791
|
- thiserror-impl 2.0.18 — https://github.com/dtolnay/thiserror
|
|
941
792
|
- 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.10.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.10.0"
|
|
19
19
|
}
|
|
20
20
|
}
|