From 276718a076b4e6f58c880c673445a1418b54cef2 Mon Sep 17 00:00:00 2001 From: zymon Date: Mon, 13 Nov 2023 23:16:58 +0100 Subject: [PATCH] export types & description fixes --- src/ISM.jl | 6 +++--- src/RoomAcoustics.jl | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/ISM.jl b/src/ISM.jl index 3fb52e1..88f79dc 100644 --- a/src/ISM.jl +++ b/src/ISM.jl @@ -119,10 +119,10 @@ References: [4] F. Brinkmann, V. Erbes, and S. Weinzierl, “Extending the closed form image source model for source directivity,” presented at the DAGA 2018, Munich, Germany, Mar. 2018. """ function ISM_RectangularRoom_core!( - h::AbstractVector{<:T}, + h::AbstractVector{<:T}, # container for impulse reponse tx_p::SVector{3,T}, # transmitter position tx_dp::AbstractDirectivityPattern, # transmitter directivity pattern - tx_B::SMatrix{3,3,T}, # receiver orientation + tx_B::SMatrix{3,3,T}, # transmitter orientation rx_p::SVector{3,T}, # reveiver position rx_dp::AbstractDirectivityPattern, # receiver directivity pattern rx_B::SMatrix{3,3,T}, # receiver orientation @@ -136,7 +136,7 @@ function ISM_RectangularRoom_core!( lrng::AbstractRNG; # random number generator ) where {T<:AbstractFloat, I<:Integer} - # Number of samples in impulose response + # Number of samples in impulse response Nh = length(h) # Samples to distance coefficient [m] diff --git a/src/RoomAcoustics.jl b/src/RoomAcoustics.jl index 30e0c02..260e195 100644 --- a/src/RoomAcoustics.jl +++ b/src/RoomAcoustics.jl @@ -12,7 +12,9 @@ using DSP: conv include("TxRxModels.jl") export TxRxModels using .TxRxModels -using .TxRxModels: AbstractDirectivityPattern +using .TxRxModels: + AbstractDirectivityPattern, + AbstractTxRx include("types.jl") include("utils.jl")