From f4fe65d11e677cb6db922ab9506b3f7f70c965ee Mon Sep 17 00:00:00 2001 From: zymon Date: Thu, 16 May 2024 09:49:40 +0200 Subject: [PATCH] comments added --- src/ISM.jl | 2 +- src/types.jl | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ISM.jl b/src/ISM.jl index 0d0d921..5a2a982 100644 --- a/src/ISM.jl +++ b/src/ISM.jl @@ -132,7 +132,7 @@ function ISM_RectangularRoom_core!( fs::T, # sampling frequeyncy order::Tuple{I,I}, # order of reflections; min max Wd::T, # Window width - ISD::T, # Random displacement of image source + ISD::T, # Random displacement of image source position lrng::AbstractRNG; # random number generator ) where {T<:AbstractFloat, I<:Integer} diff --git a/src/types.jl b/src/types.jl index e299316..c6ee723 100644 --- a/src/types.jl +++ b/src/types.jl @@ -7,9 +7,9 @@ export Node, Event abstract type AbstractRoom end struct RectangularRoom{T<:Real} <: AbstractRoom - c::T - L::Tuple{T,T,T} - β::Tuple{T,T,T,T,T,T} + c::T # Sound wave velocity + L::Tuple{T,T,T} # size of room (x, y, z) + β::Tuple{T,T,T,T,T,T} # absorption coeffictions for walls end