Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
VAUnity
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Institute of Technical Acoustics (ITA)
VAUnity
Commits
671fc186
Commit
671fc186
authored
Dec 12, 2017
by
Dipl.-Ing. Jonas Stienen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactoring
parent
675482c1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
35 deletions
+2
-35
VAUHRIRDataset.cs
VAUHRIRDataset.cs
+0
-33
VAUSignalSourceAudioFile.cs
VAUSignalSourceAudioFile.cs
+1
-1
VAUSoundReceiver.cs
VAUSoundReceiver.cs
+1
-1
No files found.
VAUHRIRDataset.cs
deleted
100644 → 0
View file @
675482c1
using
System.Collections
;
using
System.Collections.Generic
;
using
UnityEngine
;
public
class
VAUHRIRDataset
:
MonoBehaviour
{
protected
int
_ID
=
-
1
;
// ID assigned by VA
[
Tooltip
(
"Absolute or relative file path (relative to Assets folder or any folder added to search path using AddSearchPath)"
)]
public
string
FilePath
=
""
;
public
string
Name
=
""
;
// Versatile name
public
int
ID
{
get
{
return
_ID
;
}
}
// Use this for initialization
void
Start
()
{
if
(
FilePath
.
Length
>
0
)
_ID
=
VAUAdapter
.
VA
.
CreateDirectivityFromFile
(
FilePath
);
}
private
void
OnDestroy
()
{
if
(
_ID
!=
-
1
)
VAUAdapter
.
VA
.
DeleteDirectivity
(
_ID
);
_ID
=
-
1
;
}
}
VAU
AudiofileSignalSourc
e.cs
→
VAU
SignalSourceAudioFil
e.cs
View file @
671fc186
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
using
System.Collections.Generic
;
using
System.Collections.Generic
;
using
UnityEngine
;
using
UnityEngine
;
public
class
VAU
AudiofileSignalSourc
e
:
VAUSignalSource
public
class
VAU
SignalSourceAudioFil
e
:
VAUSignalSource
{
{
[
Tooltip
(
"Absolute or relative file path (relative to Assets folder or any folder added to search path using AddSearchPath)"
)]
[
Tooltip
(
"Absolute or relative file path (relative to Assets folder or any folder added to search path using AddSearchPath)"
)]
public
string
FilePath
;
public
string
FilePath
;
...
...
VAU
Listen
er.cs
→
VAU
SoundReceiv
er.cs
View file @
671fc186
...
@@ -12,7 +12,7 @@ public class VAUSoundReceiver : MonoBehaviour {
...
@@ -12,7 +12,7 @@ public class VAUSoundReceiver : MonoBehaviour {
public
int
NumMaxReverbZones
=
2
;
public
int
NumMaxReverbZones
=
2
;
public
string
VAAudioRenderer
=
"MyBinauralArtificialReverb"
;
public
string
VAAudioRenderer
=
"MyBinauralArtificialReverb"
;
[
Tooltip
(
"Add custom VAUHRIR dataset."
)]
[
Tooltip
(
"Add custom VAUHRIR dataset."
)]
public
VAU
HRIRDataset
HRIR
=
null
;
public
VAU
Directivity
HRIR
=
null
;
[
Tooltip
(
"Anthropometric data, for HRIR individualization or generic binaural cues"
)]
[
Tooltip
(
"Anthropometric data, for HRIR individualization or generic binaural cues"
)]
public
double
HeadWidth
=
0.12
;
public
double
HeadWidth
=
0.12
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment