com.shinolab.autd3-sdk.modulation 0.2.0 → 0.3.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
|
@@ -77,7 +77,7 @@ namespace AUTD3
|
|
|
77
77
|
internal static extern int autd3_modulation_radiation_pressure_inplace(IntPtr buffer);
|
|
78
78
|
|
|
79
79
|
[DllImport("autd3capi")]
|
|
80
|
-
internal static extern IntPtr autd3_op_modulation(byte bank, IntPtr samplingConfig, IntPtr modulationBuffer, ushort loopRep, byte transitionMode, ulong transitionValue);
|
|
80
|
+
internal static extern IntPtr autd3_op_modulation(byte bank, IntPtr samplingConfig, IntPtr modulationBuffer, ushort loopRep, byte transitionMode, ulong transitionValue, uint transitionMarginNs);
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
public sealed class ModulationBuffer : IDisposable, IEnumerable<byte>
|
|
@@ -271,7 +271,7 @@ namespace AUTD3
|
|
|
271
271
|
try
|
|
272
272
|
{
|
|
273
273
|
return NativeModulation.autd3_op_modulation(
|
|
274
|
-
(byte)_bank, sampling, _buffer.Handle, _loopBehavior.Rep, _transitionMode.Mode, _transitionMode.Value);
|
|
274
|
+
(byte)_bank, sampling, _buffer.Handle, _loopBehavior.Rep, _transitionMode.Mode, _transitionMode.Value, _transitionMode.MarginNs);
|
|
275
275
|
}
|
|
276
276
|
finally
|
|
277
277
|
{
|
package/ModulationOps.cs
CHANGED
|
@@ -18,7 +18,7 @@ namespace AUTD3
|
|
|
18
18
|
internal static extern IntPtr autd3_op_config_modulation(byte bank, IntPtr samplingConfig, uint size, ushort rep);
|
|
19
19
|
|
|
20
20
|
[DllImport("autd3capi")]
|
|
21
|
-
internal static extern IntPtr autd3_op_change_modulation_bank(byte bank, byte transitionMode, ulong transitionValue);
|
|
21
|
+
internal static extern IntPtr autd3_op_change_modulation_bank(byte bank, byte transitionMode, ulong transitionValue, uint transitionMarginNs);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
public sealed class WriteModulationBuffer : ICommand
|
|
@@ -79,6 +79,6 @@ namespace AUTD3
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
IntPtr ICommand.CreateOp() =>
|
|
82
|
-
NativeModulationOp.autd3_op_change_modulation_bank((byte)_bank, _transitionMode.Mode, _transitionMode.Value);
|
|
82
|
+
NativeModulationOp.autd3_op_change_modulation_bank((byte)_bank, _transitionMode.Mode, _transitionMode.Value, _transitionMode.MarginNs);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/THIRD-PARTY-LICENSES.md
CHANGED
|
@@ -654,10 +654,10 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
654
654
|
|
|
655
655
|
Used by:
|
|
656
656
|
|
|
657
|
-
- autd3-ffi-abi 0.
|
|
658
|
-
- autd3-ffi-modulation 0.
|
|
659
|
-
- autd3-rs-core 0.
|
|
660
|
-
- autd3-rs-modulation 0.
|
|
657
|
+
- autd3-ffi-abi 0.3.0 — https://github.com/shinolab/autd3-sdk
|
|
658
|
+
- autd3-ffi-modulation 0.3.0 — https://github.com/shinolab/autd3-sdk
|
|
659
|
+
- autd3-rs-core 0.3.0 — https://github.com/shinolab/autd3-sdk
|
|
660
|
+
- autd3-rs-modulation 0.3.0 — https://github.com/shinolab/autd3-sdk
|
|
661
661
|
- chrono 0.4.45 — https://github.com/chronotope/chrono
|
|
662
662
|
- wide 1.5.0 — https://github.com/Lokathor/wide
|
|
663
663
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "com.shinolab.autd3-sdk.modulation",
|
|
3
|
-
"
|
|
3
|
+
"repository": {
|
|
4
|
+
"type": "git",
|
|
5
|
+
"url": "git+https://github.com/shinolab/autd3-sdk.git",
|
|
6
|
+
"directory": "bindings/unity/com.shinolab.autd3-sdk.modulation"
|
|
7
|
+
},
|
|
8
|
+
"version": "0.3.0",
|
|
4
9
|
"displayName": "AUTD3 Modulation",
|
|
5
10
|
"description": "AUTD3 amplitude modulation waveforms (Unity binding).",
|
|
6
11
|
"unity": "6000.0",
|
|
@@ -10,6 +15,6 @@
|
|
|
10
15
|
"url": "https://github.com/shinolab"
|
|
11
16
|
},
|
|
12
17
|
"dependencies": {
|
|
13
|
-
"com.shinolab.autd3-sdk.core": "0.
|
|
18
|
+
"com.shinolab.autd3-sdk.core": "0.3.0"
|
|
14
19
|
}
|
|
15
20
|
}
|