comments added

This commit is contained in:
zymon 2024-05-16 09:49:40 +02:00
parent 08a67d10ce
commit f4fe65d11e
2 changed files with 4 additions and 4 deletions

View file

@ -132,7 +132,7 @@ function ISM_RectangularRoom_core!(
fs::T, # sampling frequeyncy fs::T, # sampling frequeyncy
order::Tuple{I,I}, # order of reflections; min max order::Tuple{I,I}, # order of reflections; min max
Wd::T, # Window width Wd::T, # Window width
ISD::T, # Random displacement of image source ISD::T, # Random displacement of image source position
lrng::AbstractRNG; # random number generator lrng::AbstractRNG; # random number generator
) where {T<:AbstractFloat, I<:Integer} ) where {T<:AbstractFloat, I<:Integer}

View file

@ -7,9 +7,9 @@ export Node, Event
abstract type AbstractRoom end abstract type AbstractRoom end
struct RectangularRoom{T<:Real} <: AbstractRoom struct RectangularRoom{T<:Real} <: AbstractRoom
c::T c::T # Sound wave velocity
L::Tuple{T,T,T} L::Tuple{T,T,T} # size of room (x, y, z)
β::Tuple{T,T,T,T,T,T} β::Tuple{T,T,T,T,T,T} # absorption coeffictions for walls
end end