diff --git a/CMakeLists.txt b/CMakeLists.txt index a0e8b389c..b074e3964 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,144 @@ cmake_minimum_required(VERSION 3.22) project(ARMixConsole VERSION 0.5.0 LANGUAGES C CXX) +# Experimental P6 native profile: OFF by default in production/installer. +option(ARMIX_SONKU_EXPERIMENTAL_DIRECTIONAL_RT + "Enable unqualified SonKu full KEMAR directional reflections on the native JUCE callback" + OFF) +# Native XYZ/ACK v3: isolated research switch, OFF in every public installer. +# This implies the measured KEMAR full-elevation research tables explicitly +# and never changes the ordinary 46-byte SonKu v2 native FX ABI. +option(ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT + "Enable P7.2 unqualified native real-time XYZ/v3 research adapter" + OFF) +# P7.5 field-failure research: spatial MUSIC MID and strictly retain stereo SIDE. +# No effect on public builds or original P7.4 research unless explicit ON. +option(ARMIX_SONKU_EXPERIMENTAL_MUSIC_SAFE + "Enable quarantined phase-preserving music-stereo P7.5 PCM only in XYZ research" + OFF) +if(ARMIX_SONKU_EXPERIMENTAL_MUSIC_SAFE AND + NOT ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT) + message(FATAL_ERROR "P7.5 music-safe requires explicit native XYZ research ON") +endif() +# Research-only P8 acoustic diagnostic. Does NOT change public LIGHT, +# shipping presets, or P7.5 without explicit operator build flags. +option(ARMIX_SONKU_EXPERIMENTAL_P8_TRANSPARENT_BASS + "Enable P8 original stereo low-frequency pressure with measured high-band HRTF" + OFF) +if(ARMIX_SONKU_EXPERIMENTAL_P8_TRANSPARENT_BASS AND + NOT ARMIX_SONKU_EXPERIMENTAL_MUSIC_SAFE) + message(FATAL_ERROR "P8 requires the isolated P7.5 music-safe research profile") +endif() +# P8.2 six-wall frequency-dependent material + shared LF/MID/HF late RT60. +# Separate from the P8.1 listening checkpoint and always OFF publicly. +option(ARMIX_SONKU_EXPERIMENTAL_P82_ROOM + "Enable independently gated P8.2 six-surface 3-band research room" + OFF) +if(ARMIX_SONKU_EXPERIMENTAL_P82_ROOM AND + NOT ARMIX_SONKU_EXPERIMENTAL_P8_TRANSPARENT_BASS) + message(FATAL_ERROR "P8.2 room requires P8.1 transparent-bass experiment") +endif() +# Isolated P8.3 physical speakers + music-LF A/B, public binaries OFF. +# Requires the already opt-in P8.2 native measured room/XYZ stack. +option(ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT + "Enable P8.3 v4 native render mode and real-time speaker audition (unreleased)" + OFF) +if(ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT AND + NOT ARMIX_SONKU_EXPERIMENTAL_P82_ROOM) + message(FATAL_ERROR "P8.3 native speaker research requires P8.2 room ON") +endif() +# P8.4 v5, ONLY in private/research FAT binaries. Not a public default. +option(ARMIX_SONKU_EXPERIMENTAL_P84_NATIVE_RT + "Enable P8.4 single-core music-fused native v5 research (headphone FAT only)" + OFF) +if(ARMIX_SONKU_EXPERIMENTAL_P84_NATIVE_RT AND + NOT ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT) + message(FATAL_ERROR "P8.4 research requires P8.3 typed native host as transport; old P8.3 modes remain hidden/rejected") +endif() +option(ARMIX_SONKU_EXPERIMENTAL_P85_NATIVE_RT + "Enable opt-in P8.5 world-locked music scene for private headphone FAT" OFF) +if(ARMIX_SONKU_EXPERIMENTAL_P85_NATIVE_RT AND + NOT ARMIX_SONKU_EXPERIMENTAL_P84_NATIVE_RT) + message(FATAL_ERROR "P8.5 requires P8.4 native fusion research; production stays OFF") +endif() +# Isolated post-FAT P8.6 horizontal speaker focus. OFF in production. +option(ARMIX_SONKU_EXPERIMENTAL_P86_NATIVE_RT + "Opt-in P8.6 horizontal speaker focus while keeping golden 0/3/4" OFF) +if(ARMIX_SONKU_EXPERIMENTAL_P86_NATIVE_RT AND + NOT ARMIX_SONKU_EXPERIMENTAL_P85_NATIVE_RT) + message(FATAL_ERROR "P8.6 focus requires P8.5 coherent-world research") +endif() +# P8.7 musical air and resonant FDN LF body, private A/B only. +option(ARMIX_SONKU_EXPERIMENTAL_P87_NATIVE_RT + "Opt-in P8.7 music-first direct air + FDN LF body" OFF) +if(ARMIX_SONKU_EXPERIMENTAL_P87_NATIVE_RT AND + NOT ARMIX_SONKU_EXPERIMENTAL_P86_NATIVE_RT) + message(FATAL_ERROR "P8.7 music body requires P8.6 horizontal focus research") +endif() +# Listener-calibrated HRTF elevation independent of physical source XYZ. +option(ARMIX_SONKU_EXPERIMENTAL_P88_NATIVE_RT + "Private P8.8 HRTF vertical alignment and source distance research" OFF) +if(ARMIX_SONKU_EXPERIMENTAL_P88_NATIVE_RT AND + NOT ARMIX_SONKU_EXPERIMENTAL_P87_NATIVE_RT) + message(FATAL_ERROR "P8.8 needs private P8.7 music-body research") +endif() +# P8.9 keeps old modes and original stereo, moves bounded far-field +# emphasis toward measured directional early reflections. +option(ARMIX_SONKU_EXPERIMENTAL_P89_NATIVE_RT + "Private P8.9 headphone stereo/room coherence research" OFF) +if(ARMIX_SONKU_EXPERIMENTAL_P89_NATIVE_RT AND + NOT ARMIX_SONKU_EXPERIMENTAL_P88_NATIVE_RT) + message(FATAL_ERROR "P8.9 requires P8.8 perceptual alignment") +endif() +# P9.0 opt-in experiment. Production builds and previous P8.x modes remain OFF. +option(ARMIX_SONKU_EXPERIMENTAL_P90_NATIVE_RT + "Private P9 true external speaker two-source binaural PCM experiment" OFF) +if(ARMIX_SONKU_EXPERIMENTAL_P90_NATIVE_RT AND + NOT ARMIX_SONKU_EXPERIMENTAL_P89_NATIVE_RT) + message(FATAL_ERROR "P9.0 requires P8.9 research branch baseline") +endif() +# Private P9.4 perceptual A/B: default OFF and never silently changes P9.1. +option(ARMIX_SONKU_EXPERIMENTAL_P94_FRONT_BACK_DEPTH + "Private front/back HRTF/early reflection depth calibration experiment" OFF) +if(ARMIX_SONKU_EXPERIMENTAL_P94_FRONT_BACK_DEPTH AND + NOT ARMIX_SONKU_EXPERIMENTAL_P90_NATIVE_RT) + message(FATAL_ERROR "P9.4 depth cue requires the P9 measured two-speaker engine") +endif() +# Optional P9.5 upward-only, slow electrical musical presence. No public default. +option(ARMIX_SONKU_EXPERIMENTAL_P95_MUSICAL_PRESENCE + "Private P9.5 cinema/venue music-level compensation" OFF) +if(ARMIX_SONKU_EXPERIMENTAL_P95_MUSICAL_PRESENCE AND + NOT ARMIX_SONKU_EXPERIMENTAL_P90_NATIVE_RT) + message(FATAL_ERROR "P9.5 requires P9 measured spatial engine") +endif() +# Private stage-speaker reinforcement, isolated from P9.5 production. +option(ARMIX_SONKU_EXPERIMENTAL_P96_DISTANCE_REINFORCEMENT + "Private P9.6 stage-speaker LF/HF distance retention over 2m" OFF) +if(ARMIX_SONKU_EXPERIMENTAL_P96_DISTANCE_REINFORCEMENT AND + NOT ARMIX_SONKU_EXPERIMENTAL_P95_MUSICAL_PRESENCE) + message(FATAL_ERROR "P9.6 requires P9.5 musical presence and P9 world speaker") +endif() +# P9.7 is research only and never changes the approved P9.6 checkpoint. +option(ARMIX_SONKU_EXPERIMENTAL_P97_STAGE_IMPACT + "Private P9.7 concert bass impact, center HRTF and binaural early air" OFF) +if(ARMIX_SONKU_EXPERIMENTAL_P97_STAGE_IMPACT AND + NOT ARMIX_SONKU_EXPERIMENTAL_P96_DISTANCE_REINFORCEMENT) + message(FATAL_ERROR "P9.7 requires the P9.6 sound-reinforced world-speaker engine") +endif() +# Typed native v12 voicing of Signature/Cinema/Studio: P9.7 Venue remains immutable. +option(ARMIX_SONKU_EXPERIMENTAL_P98_SCENE_VOICING + "Private P9.8 scene bass/voice/air voicing; preserve approved P9.7 Venue" OFF) +if(ARMIX_SONKU_EXPERIMENTAL_P98_SCENE_VOICING AND + NOT ARMIX_SONKU_EXPERIMENTAL_P97_STAGE_IMPACT) + message(FATAL_ERROR "P9.8 requires P9.7 approved stage; public default OFF") +endif() +# P9.9 adds modest adaptive center-vocal articulation and spatial unmasking. +# Named scenes only; P9.8 is an independent immutable reference on its branch. +option(ARMIX_SONKU_EXPERIMENTAL_P99_VOCAL_DEPTH + "Private low-cost musical vocal focus; keep P9.8/approved Venue unchanged" OFF) +if(ARMIX_SONKU_EXPERIMENTAL_P99_VOCAL_DEPTH AND + NOT ARMIX_SONKU_EXPERIMENTAL_P98_SCENE_VOICING) + message(FATAL_ERROR "P9.9 requires P9.8 native typed scene voicings") +endif() set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON) @@ -192,7 +331,87 @@ target_compile_definitions(ARMixConsole PRIVATE JUCE_APPLICATION_NAME_STRING="AR MIX Studio" JUCE_APPLICATION_VERSION_STRING="${ARMIX_APP_VERSION}" ARMIX_BUILD_SOURCE_SHA="${ARMIX_BUILD_SOURCE_SHA}" - ARMIX_GFX_EMBED_PNG_SKINS=1) + ARMIX_GFX_EMBED_PNG_SKINS=1 + $<$:ARMIX_SONKU_EXPERIMENTAL_DIRECTIONAL_RT=1> + $<$:ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT=1> + $<$:SONKU_P7_MEASURED_ELEVATION_RESEARCH=1> + $<$:SONKU_P71_DIRECT_XYZ_RESEARCH=1> + $<$:SONKU_P72_NATIVE_XYZ_RT=1> + $<$:SONKU_P75_MUSIC_SAFE_RESEARCH=1> + $<$:SONKU_P80_TRANSPARENT_BASS_RESEARCH=1> + $<$:SONKU_P82_MULTIBAND_ROOM_RESEARCH=1> + $<$:ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT=1> + $<$:SONKU_P83_PHYSICAL_SPEAKER_RESEARCH=1> + $<$:ARMIX_SONKU_EXPERIMENTAL_P84_NATIVE_RT=1> + $<$:SONKU_P84_SINGLE_CORE_FUSION_RESEARCH=1> + $<$:ARMIX_SONKU_EXPERIMENTAL_P85_NATIVE_RT=1> + $<$:SONKU_P85_WORLD_COHERENCE_RESEARCH=1> + $<$:ARMIX_SONKU_EXPERIMENTAL_P86_NATIVE_RT=1> + $<$:SONKU_P86_HORIZONTAL_FOCUS_RESEARCH=1> + $<$:ARMIX_SONKU_EXPERIMENTAL_P87_NATIVE_RT=1> + $<$:SONKU_P87_MUSIC_BODY_RESEARCH=1> + $<$:ARMIX_SONKU_EXPERIMENTAL_P88_NATIVE_RT=1> + $<$:SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH=1> + $<$:ARMIX_SONKU_EXPERIMENTAL_P89_NATIVE_RT=1> + $<$:SONKU_P89_DEPTH_COHERENCE_RESEARCH=1> + $<$:ARMIX_SONKU_EXPERIMENTAL_P90_NATIVE_RT=1> + $<$:SONKU_P90_TRUE_EXTERNAL_RESEARCH=1> + $<$:SONKU_P94_FRONT_BACK_DEPTH_RESEARCH=1> + $<$:ARMIX_SONKU_EXPERIMENTAL_P94_FRONT_BACK_DEPTH=1> + $<$:ARMIX_SONKU_EXPERIMENTAL_P95_MUSICAL_PRESENCE=1> + $<$:SONKU_P95_MUSICAL_PRESENCE_RESEARCH=1> + $<$:SONKU_P96_DISTANCE_REINFORCEMENT_RESEARCH=1> + $<$:ARMIX_SONKU_EXPERIMENTAL_P96_DISTANCE_REINFORCEMENT=1> + $<$:SONKU_P97_STAGE_IMPACT_RESEARCH=1> + $<$:ARMIX_SONKU_EXPERIMENTAL_P97_STAGE_IMPACT=1> + $<$:SONKU_P98_SCENE_VOICING_RESEARCH=1> + $<$:ARMIX_SONKU_EXPERIMENTAL_P98_SCENE_VOICING=1> + $<$:SONKU_P99_MUSICAL_VOCAL_DEPTH_RESEARCH=1> + $<$:ARMIX_SONKU_EXPERIMENTAL_P99_VOCAL_DEPTH=1>) +# Approved SonKu P9.9 stereo-orbit engine. Product-local (8D-SonKu only), +# not a global research gate: tests and other products retain their own flags. +# CMake cache option can be OFF to build the previous v2 production default. +option(ARMIX_SONKU_APPROVED_P99_MAIN + "Ship the user-listening-approved SonKu P9.9 in ARMixConsole only" ON) +if(ARMIX_SONKU_APPROVED_P99_MAIN) + target_compile_definitions(ARMixConsole PRIVATE + ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT=1 + SONKU_P7_MEASURED_ELEVATION_RESEARCH=1 + SONKU_P71_DIRECT_XYZ_RESEARCH=1 + SONKU_P72_NATIVE_XYZ_RT=1 + SONKU_P75_MUSIC_SAFE_RESEARCH=1 + SONKU_P80_TRANSPARENT_BASS_RESEARCH=1 + SONKU_P82_MULTIBAND_ROOM_RESEARCH=1 + ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT=1 + SONKU_P83_PHYSICAL_SPEAKER_RESEARCH=1 + ARMIX_SONKU_EXPERIMENTAL_P84_NATIVE_RT=1 + SONKU_P84_SINGLE_CORE_FUSION_RESEARCH=1 + ARMIX_SONKU_EXPERIMENTAL_P85_NATIVE_RT=1 + SONKU_P85_WORLD_COHERENCE_RESEARCH=1 + ARMIX_SONKU_EXPERIMENTAL_P86_NATIVE_RT=1 + SONKU_P86_HORIZONTAL_FOCUS_RESEARCH=1 + ARMIX_SONKU_EXPERIMENTAL_P87_NATIVE_RT=1 + SONKU_P87_MUSIC_BODY_RESEARCH=1 + ARMIX_SONKU_EXPERIMENTAL_P88_NATIVE_RT=1 + SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH=1 + ARMIX_SONKU_EXPERIMENTAL_P89_NATIVE_RT=1 + SONKU_P89_DEPTH_COHERENCE_RESEARCH=1 + ARMIX_SONKU_EXPERIMENTAL_P90_NATIVE_RT=1 + SONKU_P90_TRUE_EXTERNAL_RESEARCH=1 + SONKU_P94_FRONT_BACK_DEPTH_RESEARCH=1 + ARMIX_SONKU_EXPERIMENTAL_P94_FRONT_BACK_DEPTH=1 + ARMIX_SONKU_EXPERIMENTAL_P95_MUSICAL_PRESENCE=1 + SONKU_P95_MUSICAL_PRESENCE_RESEARCH=1 + SONKU_P96_DISTANCE_REINFORCEMENT_RESEARCH=1 + ARMIX_SONKU_EXPERIMENTAL_P96_DISTANCE_REINFORCEMENT=1 + SONKU_P97_STAGE_IMPACT_RESEARCH=1 + ARMIX_SONKU_EXPERIMENTAL_P97_STAGE_IMPACT=1 + SONKU_P98_SCENE_VOICING_RESEARCH=1 + ARMIX_SONKU_EXPERIMENTAL_P98_SCENE_VOICING=1 + SONKU_P99_MUSICAL_VOCAL_DEPTH_RESEARCH=1 + ARMIX_SONKU_EXPERIMENTAL_P99_VOCAL_DEPTH=1) +endif() + if(WIN32) # Windows retains its proven ASIO-first / WASAPI / static WebView2 distribution. # Never link Windows loader or sound APIs into macOS/Linux builds. @@ -265,14 +484,561 @@ if(BUILD_TESTING) add_executable(ARMixSonKuCoreTests tests/sonku_spatial_core_test.cpp) target_compile_features(ARMixSonKuCoreTests PRIVATE cxx_std_20) add_test(NAME NativeSonKuMeasuredBinauralDirectionalAndChunkParity COMMAND ARMixSonKuCoreTests) + # P6 same core/PCM profile: no JUCE or SDK required for source regression. + add_executable(ARMixSonKuP6PreparedTests tests/sonku_p6_realtime_quality_test.cpp) + target_compile_features(ARMixSonKuP6PreparedTests PRIVATE cxx_std_20) + add_test(NAME NativeSonKuP6PreparedRoomDirectionalAndChunkParity + COMMAND ARMixSonKuP6PreparedTests) # Real JUCE processor: audio-applied ACK, v1/v2 state, corruption fences. juce_add_console_app(ARMixSonKuNativeStateTests PRODUCT_NAME "ArSonMix SonKu Native State Tests") target_sources(ARMixSonKuNativeStateTests PRIVATE tests/sonku_native_state_test.cpp) target_link_libraries(ARMixSonKuNativeStateTests PRIVATE juce::juce_audio_processors juce::juce_recommended_config_flags) target_compile_features(ARMixSonKuNativeStateTests PRIVATE cxx_std_20) + # Compile and test the same opt-in native profile in the actual JUCE + # adapter when a deliberately qualified experimental build requests it. + if(ARMIX_SONKU_EXPERIMENTAL_DIRECTIONAL_RT) + target_compile_definitions(ARMixSonKuNativeStateTests PRIVATE + ARMIX_SONKU_EXPERIMENTAL_DIRECTIONAL_RT=1) + endif() add_test(NAME NativeSonKuSessionV1V2AndAudioAppliedAck COMMAND ARMixSonKuNativeStateTests) + + # P7.2 native real-time 3D is never required in production: its test + # binaries, large measured elevation bank and v3 schema are built ONLY + # when explicitly opted in. Reuse the exact existing JUCE processor. + if(ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT) + add_executable(ARMixSonKuP72SourceTests + tests/sonku_p72_realtime_xyz_test.cpp) + target_compile_features(ARMixSonKuP72SourceTests PRIVATE cxx_std_20) + target_compile_definitions(ARMixSonKuP72SourceTests PRIVATE + SONKU_P7_MEASURED_ELEVATION_RESEARCH=1 + SONKU_P71_DIRECT_XYZ_RESEARCH=1 + SONKU_P72_NATIVE_XYZ_RT=1) + add_test(NAME NativeSonKuP72AtomicXyzLiveEditSource + COMMAND ARMixSonKuP72SourceTests) + + juce_add_console_app(ARMixSonKuP72NativeTests + PRODUCT_NAME "ArSonMix SonKu P72 Native XYZ Tests") + target_sources(ARMixSonKuP72NativeTests PRIVATE + tests/sonku_p72_native_juce_xyz_test.cpp) + target_link_libraries(ARMixSonKuP72NativeTests PRIVATE + juce::juce_audio_processors juce::juce_recommended_config_flags) + target_compile_features(ARMixSonKuP72NativeTests PRIVATE cxx_std_20) + target_compile_definitions(ARMixSonKuP72NativeTests PRIVATE + ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT=1 + SONKU_P7_MEASURED_ELEVATION_RESEARCH=1 + SONKU_P71_DIRECT_XYZ_RESEARCH=1 + SONKU_P72_NATIVE_XYZ_RT=1) + add_test(NAME NativeSonKuP72JuceV3XyzLiveAckV1V2Restore + COMMAND ARMixSonKuP72NativeTests) + if(ARMIX_SONKU_EXPERIMENTAL_MUSIC_SAFE) + # The executable and THIS actual JUCE adapter run the identical P7.5 DSP. + target_compile_definitions(ARMixSonKuP72NativeTests PRIVATE + SONKU_P75_MUSIC_SAFE_RESEARCH=1) + add_executable(ARMixSonKuP75MusicIntegrityTests + tests/sonku_p75_stereo_integrity_test.cpp) + target_compile_features(ARMixSonKuP75MusicIntegrityTests PRIVATE cxx_std_20) + target_compile_definitions(ARMixSonKuP75MusicIntegrityTests PRIVATE + SONKU_P7_MEASURED_ELEVATION_RESEARCH=1 + SONKU_P71_DIRECT_XYZ_RESEARCH=1 + SONKU_P72_NATIVE_XYZ_RT=1 + SONKU_P75_MUSIC_SAFE_RESEARCH=1) + add_test(NAME NativeSonKuP75MusicStereoPhaseNoNullAndChunkParity + COMMAND ARMixSonKuP75MusicIntegrityTests) + if(ARMIX_SONKU_EXPERIMENTAL_P8_TRANSPARENT_BASS) + # The native JUCE adapter and the PCM fixture must compile identical + # P8 DSP flags. The default P7.5/ship branch retains its original DSP. + target_compile_definitions(ARMixSonKuP72NativeTests PRIVATE + SONKU_P80_TRANSPARENT_BASS_RESEARCH=1) + add_executable(ARMixSonKuP80TonalEvidenceTests + tests/sonku_p80_tonal_room_evidence_test.cpp) + target_compile_features(ARMixSonKuP80TonalEvidenceTests PRIVATE cxx_std_20) + target_compile_definitions(ARMixSonKuP80TonalEvidenceTests PRIVATE + SONKU_P7_MEASURED_ELEVATION_RESEARCH=1 + SONKU_P71_DIRECT_XYZ_RESEARCH=1 + SONKU_P72_NATIVE_XYZ_RT=1 + SONKU_P75_MUSIC_SAFE_RESEARCH=1 + SONKU_P80_TRANSPARENT_BASS_RESEARCH=1) + add_test(NAME NativeSonKuP80TransparentBassStereoPhaseAndRoomDiagnostic + COMMAND ARMixSonKuP80TonalEvidenceTests) + if(ARMIX_SONKU_EXPERIMENTAL_P82_ROOM) + # This is the actual live JUCE SonKu instance, not an offline + # room-only approximation. Preserve P8.1 as an unmodified fallback. + target_compile_definitions(ARMixSonKuP72NativeTests PRIVATE + SONKU_P82_MULTIBAND_ROOM_RESEARCH=1) + target_compile_definitions(ARMixSonKuP80TonalEvidenceTests PRIVATE + SONKU_P82_MULTIBAND_ROOM_RESEARCH=1) + add_executable(ARMixSonKuP82RoomTests + tests/sonku_p82_sixsurface_multiband_room_test.cpp) + target_compile_features(ARMixSonKuP82RoomTests PRIVATE cxx_std_20) + target_compile_definitions(ARMixSonKuP82RoomTests PRIVATE + SONKU_P7_MEASURED_ELEVATION_RESEARCH=1 + SONKU_P71_DIRECT_XYZ_RESEARCH=1 + SONKU_P72_NATIVE_XYZ_RT=1 + SONKU_P75_MUSIC_SAFE_RESEARCH=1 + SONKU_P80_TRANSPARENT_BASS_RESEARCH=1 + SONKU_P82_MULTIBAND_ROOM_RESEARCH=1) + add_test(NAME NativeSonKuP82SixWallThreeBandRoomTimingDecayAndParity + COMMAND ARMixSonKuP82RoomTests) + if(ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT) + add_executable(ARMixSonKuP83LiveSourceTests + tests/sonku_p83_live_scene_edit_test.cpp) + target_compile_features(ARMixSonKuP83LiveSourceTests PRIVATE cxx_std_20) + target_compile_definitions(ARMixSonKuP83LiveSourceTests PRIVATE + SONKU_P7_MEASURED_ELEVATION_RESEARCH=1 + SONKU_P71_DIRECT_XYZ_RESEARCH=1 + SONKU_P72_NATIVE_XYZ_RT=1 + SONKU_P75_MUSIC_SAFE_RESEARCH=1 + SONKU_P80_TRANSPARENT_BASS_RESEARCH=1 + SONKU_P82_MULTIBAND_ROOM_RESEARCH=1 + SONKU_P83_PHYSICAL_SPEAKER_RESEARCH=1) + add_test(NAME NativeSonKuP83RealtimeModeSourceAndMusicIntegrity + COMMAND ARMixSonKuP83LiveSourceTests) + juce_add_console_app(ARMixSonKuP83NativeTests + PRODUCT_NAME "ArSonMix SonKu P83 Native JUCE v4 Tests") + target_sources(ARMixSonKuP83NativeTests PRIVATE + tests/sonku_p83_native_juce_v4_test.cpp) + target_compile_features(ARMixSonKuP83NativeTests PRIVATE cxx_std_20) + target_link_libraries(ARMixSonKuP83NativeTests PRIVATE + juce::juce_audio_processors juce::juce_recommended_config_flags) + target_compile_definitions(ARMixSonKuP83NativeTests PRIVATE + ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT=1 + SONKU_P7_MEASURED_ELEVATION_RESEARCH=1 + SONKU_P71_DIRECT_XYZ_RESEARCH=1 + SONKU_P72_NATIVE_XYZ_RT=1 + SONKU_P75_MUSIC_SAFE_RESEARCH=1 + SONKU_P80_TRANSPARENT_BASS_RESEARCH=1 + SONKU_P82_MULTIBAND_ROOM_RESEARCH=1 + SONKU_P83_PHYSICAL_SPEAKER_RESEARCH=1) + add_test(NAME NativeSonKuP83JuceV4AudioAckLegacyRestoreAndHeadYaw + COMMAND ARMixSonKuP83NativeTests) + if(ARMIX_SONKU_EXPERIMENTAL_P84_NATIVE_RT) + add_executable(ARMixSonKuP84LiveSourceTests + tests/sonku_p84_fused_single_core_test.cpp) + target_compile_features(ARMixSonKuP84LiveSourceTests PRIVATE cxx_std_20) + target_compile_definitions(ARMixSonKuP84LiveSourceTests PRIVATE + SONKU_P7_MEASURED_ELEVATION_RESEARCH=1 + SONKU_P71_DIRECT_XYZ_RESEARCH=1 + SONKU_P72_NATIVE_XYZ_RT=1 + SONKU_P75_MUSIC_SAFE_RESEARCH=1 + SONKU_P80_TRANSPARENT_BASS_RESEARCH=1 + SONKU_P82_MULTIBAND_ROOM_RESEARCH=1 + SONKU_P83_PHYSICAL_SPEAKER_RESEARCH=1 + SONKU_P84_SINGLE_CORE_FUSION_RESEARCH=1) + add_test(NAME NativeSonKuP84SingleCoreMusicFidelityAndWorldYaw + COMMAND ARMixSonKuP84LiveSourceTests) + juce_add_console_app(ARMixSonKuP84NativeTests + PRODUCT_NAME "ArSonMix SonKu P84 Native JUCE v5 Tests") + target_sources(ARMixSonKuP84NativeTests PRIVATE + tests/sonku_p84_native_juce_v5_test.cpp) + target_compile_features(ARMixSonKuP84NativeTests PRIVATE cxx_std_20) + target_link_libraries(ARMixSonKuP84NativeTests PRIVATE + juce::juce_audio_processors juce::juce_recommended_config_flags) + target_compile_definitions(ARMixSonKuP84NativeTests PRIVATE + ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P84_NATIVE_RT=1 + SONKU_P7_MEASURED_ELEVATION_RESEARCH=1 + SONKU_P71_DIRECT_XYZ_RESEARCH=1 + SONKU_P72_NATIVE_XYZ_RT=1 + SONKU_P75_MUSIC_SAFE_RESEARCH=1 + SONKU_P80_TRANSPARENT_BASS_RESEARCH=1 + SONKU_P82_MULTIBAND_ROOM_RESEARCH=1 + SONKU_P83_PHYSICAL_SPEAKER_RESEARCH=1 + SONKU_P84_SINGLE_CORE_FUSION_RESEARCH=1) + add_test(NAME NativeSonKuP84JuceV5AudioAckLegacySafeRestore + COMMAND ARMixSonKuP84NativeTests) + if(ARMIX_SONKU_EXPERIMENTAL_P85_NATIVE_RT) + add_executable(ARMixSonKuP85WorldSourceTests + tests/sonku_p85_world_locked_source_test.cpp) + target_compile_features(ARMixSonKuP85WorldSourceTests PRIVATE cxx_std_20) + target_compile_definitions(ARMixSonKuP85WorldSourceTests PRIVATE + SONKU_P7_MEASURED_ELEVATION_RESEARCH=1 + SONKU_P71_DIRECT_XYZ_RESEARCH=1 + SONKU_P72_NATIVE_XYZ_RT=1 + SONKU_P75_MUSIC_SAFE_RESEARCH=1 + SONKU_P80_TRANSPARENT_BASS_RESEARCH=1 + SONKU_P82_MULTIBAND_ROOM_RESEARCH=1 + SONKU_P83_PHYSICAL_SPEAKER_RESEARCH=1 + SONKU_P84_SINGLE_CORE_FUSION_RESEARCH=1 + SONKU_P85_WORLD_COHERENCE_RESEARCH=1) + add_test(NAME NativeSonKuP85WorldCoherentMidYawSourceAndFidelity + COMMAND ARMixSonKuP85WorldSourceTests) + juce_add_console_app(ARMixSonKuP85NativeTests + PRODUCT_NAME "ArSonMix SonKu P85 Native JUCE v6 Tests") + target_sources(ARMixSonKuP85NativeTests PRIVATE + tests/sonku_p85_native_juce_v6_test.cpp) + target_compile_features(ARMixSonKuP85NativeTests PRIVATE cxx_std_20) + target_link_libraries(ARMixSonKuP85NativeTests PRIVATE + juce::juce_audio_processors juce::juce_recommended_config_flags) + target_compile_definitions(ARMixSonKuP85NativeTests PRIVATE + ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P84_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P85_NATIVE_RT=1 + SONKU_P7_MEASURED_ELEVATION_RESEARCH=1 + SONKU_P71_DIRECT_XYZ_RESEARCH=1 + SONKU_P72_NATIVE_XYZ_RT=1 + SONKU_P75_MUSIC_SAFE_RESEARCH=1 + SONKU_P80_TRANSPARENT_BASS_RESEARCH=1 + SONKU_P82_MULTIBAND_ROOM_RESEARCH=1 + SONKU_P83_PHYSICAL_SPEAKER_RESEARCH=1 + SONKU_P84_SINGLE_CORE_FUSION_RESEARCH=1 + SONKU_P85_WORLD_COHERENCE_RESEARCH=1) + add_test(NAME NativeSonKuP85JuceV6AudioAckLegacySafeRestore + COMMAND ARMixSonKuP85NativeTests) + if(ARMIX_SONKU_EXPERIMENTAL_P86_NATIVE_RT) + add_executable(ARMixSonKuP86FocusSourceTests + tests/sonku_p86_horizontal_focus_native_source_test.cpp) + target_compile_features(ARMixSonKuP86FocusSourceTests PRIVATE cxx_std_20) + target_compile_definitions(ARMixSonKuP86FocusSourceTests PRIVATE + SONKU_P7_MEASURED_ELEVATION_RESEARCH=1 + SONKU_P71_DIRECT_XYZ_RESEARCH=1 + SONKU_P72_NATIVE_XYZ_RT=1 + SONKU_P75_MUSIC_SAFE_RESEARCH=1 + SONKU_P80_TRANSPARENT_BASS_RESEARCH=1 + SONKU_P82_MULTIBAND_ROOM_RESEARCH=1 + SONKU_P83_PHYSICAL_SPEAKER_RESEARCH=1 + SONKU_P84_SINGLE_CORE_FUSION_RESEARCH=1 + SONKU_P85_WORLD_COHERENCE_RESEARCH=1 + SONKU_P86_HORIZONTAL_FOCUS_RESEARCH=1) + add_test(NAME NativeSonKuP86SixWallHorizontalFocusAndMusicIntegrity + COMMAND ARMixSonKuP86FocusSourceTests) + juce_add_console_app(ARMixSonKuP86NativeTests + PRODUCT_NAME "ArSonMix SonKu P86 Native JUCE v7 Tests") + target_sources(ARMixSonKuP86NativeTests PRIVATE + tests/sonku_p86_native_juce_v7_test.cpp) + target_compile_features(ARMixSonKuP86NativeTests PRIVATE cxx_std_20) + target_link_libraries(ARMixSonKuP86NativeTests PRIVATE + juce::juce_audio_processors juce::juce_recommended_config_flags) + target_compile_definitions(ARMixSonKuP86NativeTests PRIVATE + ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P84_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P85_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P86_NATIVE_RT=1 + SONKU_P7_MEASURED_ELEVATION_RESEARCH=1 + SONKU_P71_DIRECT_XYZ_RESEARCH=1 + SONKU_P72_NATIVE_XYZ_RT=1 + SONKU_P75_MUSIC_SAFE_RESEARCH=1 + SONKU_P80_TRANSPARENT_BASS_RESEARCH=1 + SONKU_P82_MULTIBAND_ROOM_RESEARCH=1 + SONKU_P83_PHYSICAL_SPEAKER_RESEARCH=1 + SONKU_P84_SINGLE_CORE_FUSION_RESEARCH=1 + SONKU_P85_WORLD_COHERENCE_RESEARCH=1 + SONKU_P86_HORIZONTAL_FOCUS_RESEARCH=1) + add_test(NAME NativeSonKuP86JuceV7AudioAckAndV6Restore + COMMAND ARMixSonKuP86NativeTests) + if(ARMIX_SONKU_EXPERIMENTAL_P87_NATIVE_RT) + add_executable(ARMixSonKuP87MusicSourceTests + tests/sonku_p87_musical_air_body_source_test.cpp) + target_compile_features(ARMixSonKuP87MusicSourceTests PRIVATE cxx_std_20) + target_compile_definitions(ARMixSonKuP87MusicSourceTests PRIVATE + SONKU_P7_MEASURED_ELEVATION_RESEARCH=1 + SONKU_P71_DIRECT_XYZ_RESEARCH=1 + SONKU_P72_NATIVE_XYZ_RT=1 + SONKU_P75_MUSIC_SAFE_RESEARCH=1 + SONKU_P80_TRANSPARENT_BASS_RESEARCH=1 + SONKU_P82_MULTIBAND_ROOM_RESEARCH=1 + SONKU_P83_PHYSICAL_SPEAKER_RESEARCH=1 + SONKU_P84_SINGLE_CORE_FUSION_RESEARCH=1 + SONKU_P85_WORLD_COHERENCE_RESEARCH=1 + SONKU_P86_HORIZONTAL_FOCUS_RESEARCH=1 + SONKU_P87_MUSIC_BODY_RESEARCH=1) + add_test(NAME NativeSonKuP87MusicalAirBodyP86DryParityAndFdnBass + COMMAND ARMixSonKuP87MusicSourceTests) + juce_add_console_app(ARMixSonKuP87NativeTests + PRODUCT_NAME "ArSonMix SonKu P87 Native JUCE v8 Tests") + target_sources(ARMixSonKuP87NativeTests PRIVATE + tests/sonku_p87_native_juce_v8_test.cpp) + target_compile_features(ARMixSonKuP87NativeTests PRIVATE cxx_std_20) + target_link_libraries(ARMixSonKuP87NativeTests PRIVATE + juce::juce_audio_processors juce::juce_recommended_config_flags) + target_compile_definitions(ARMixSonKuP87NativeTests PRIVATE + ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P84_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P85_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P86_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P87_NATIVE_RT=1 + SONKU_P7_MEASURED_ELEVATION_RESEARCH=1 + SONKU_P71_DIRECT_XYZ_RESEARCH=1 + SONKU_P72_NATIVE_XYZ_RT=1 + SONKU_P75_MUSIC_SAFE_RESEARCH=1 + SONKU_P80_TRANSPARENT_BASS_RESEARCH=1 + SONKU_P82_MULTIBAND_ROOM_RESEARCH=1 + SONKU_P83_PHYSICAL_SPEAKER_RESEARCH=1 + SONKU_P84_SINGLE_CORE_FUSION_RESEARCH=1 + SONKU_P85_WORLD_COHERENCE_RESEARCH=1 + SONKU_P86_HORIZONTAL_FOCUS_RESEARCH=1 + SONKU_P87_MUSIC_BODY_RESEARCH=1) + add_test(NAME NativeSonKuP87JuceV8AudioAppliedAckV7Restore + COMMAND ARMixSonKuP87NativeTests) + if(ARMIX_SONKU_EXPERIMENTAL_P88_NATIVE_RT) + add_executable(ARMixSonKuP88SourceTests + tests/sonku_p88_height_distance_source_test.cpp) + target_compile_features(ARMixSonKuP88SourceTests PRIVATE cxx_std_20) + target_compile_definitions(ARMixSonKuP88SourceTests PRIVATE + SONKU_P7_MEASURED_ELEVATION_RESEARCH=1 + SONKU_P71_DIRECT_XYZ_RESEARCH=1 + SONKU_P72_NATIVE_XYZ_RT=1 + SONKU_P75_MUSIC_SAFE_RESEARCH=1 + SONKU_P80_TRANSPARENT_BASS_RESEARCH=1 + SONKU_P82_MULTIBAND_ROOM_RESEARCH=1 + SONKU_P83_PHYSICAL_SPEAKER_RESEARCH=1 + SONKU_P84_SINGLE_CORE_FUSION_RESEARCH=1 + SONKU_P85_WORLD_COHERENCE_RESEARCH=1 + SONKU_P86_HORIZONTAL_FOCUS_RESEARCH=1 + SONKU_P87_MUSIC_BODY_RESEARCH=1 + SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH=1) + add_test(NAME NativeSonKuP88MeasuredEarHeightAndDistanceDrr + COMMAND ARMixSonKuP88SourceTests) + juce_add_console_app(ARMixSonKuP88NativeTests + PRODUCT_NAME "ArSonMix SonKu P88 JUCE v9 State Tests") + target_sources(ARMixSonKuP88NativeTests PRIVATE + tests/sonku_p88_native_juce_v9_test.cpp) + target_compile_features(ARMixSonKuP88NativeTests PRIVATE cxx_std_20) + target_link_libraries(ARMixSonKuP88NativeTests PRIVATE + juce::juce_audio_processors juce::juce_recommended_config_flags) + target_compile_definitions(ARMixSonKuP88NativeTests PRIVATE + ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P84_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P85_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P86_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P87_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P88_NATIVE_RT=1 + SONKU_P7_MEASURED_ELEVATION_RESEARCH=1 + SONKU_P71_DIRECT_XYZ_RESEARCH=1 + SONKU_P72_NATIVE_XYZ_RT=1 + SONKU_P75_MUSIC_SAFE_RESEARCH=1 + SONKU_P80_TRANSPARENT_BASS_RESEARCH=1 + SONKU_P82_MULTIBAND_ROOM_RESEARCH=1 + SONKU_P83_PHYSICAL_SPEAKER_RESEARCH=1 + SONKU_P84_SINGLE_CORE_FUSION_RESEARCH=1 + SONKU_P85_WORLD_COHERENCE_RESEARCH=1 + SONKU_P86_HORIZONTAL_FOCUS_RESEARCH=1 + SONKU_P87_MUSIC_BODY_RESEARCH=1 + SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH=1) + add_test(NAME NativeSonKuP88JuceV9AppliedAckAndV8Restore + COMMAND ARMixSonKuP88NativeTests) + if(ARMIX_SONKU_EXPERIMENTAL_P89_NATIVE_RT) + add_executable(ARMixSonKuP89SourceTests + tests/sonku_p89_stereo_room_depth_source_test.cpp) + target_compile_features(ARMixSonKuP89SourceTests PRIVATE cxx_std_20) + target_compile_definitions(ARMixSonKuP89SourceTests PRIVATE + SONKU_P7_MEASURED_ELEVATION_RESEARCH=1 + SONKU_P71_DIRECT_XYZ_RESEARCH=1 + SONKU_P72_NATIVE_XYZ_RT=1 + SONKU_P75_MUSIC_SAFE_RESEARCH=1 + SONKU_P80_TRANSPARENT_BASS_RESEARCH=1 + SONKU_P82_MULTIBAND_ROOM_RESEARCH=1 + SONKU_P83_PHYSICAL_SPEAKER_RESEARCH=1 + SONKU_P84_SINGLE_CORE_FUSION_RESEARCH=1 + SONKU_P85_WORLD_COHERENCE_RESEARCH=1 + SONKU_P86_HORIZONTAL_FOCUS_RESEARCH=1 + SONKU_P87_MUSIC_BODY_RESEARCH=1 + SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH=1 + SONKU_P89_DEPTH_COHERENCE_RESEARCH=1) + add_test(NAME NativeSonKuP89RoomAnchoredStereoAndP88GoldenParity + COMMAND ARMixSonKuP89SourceTests) + juce_add_console_app(ARMixSonKuP89NativeTests + PRODUCT_NAME "ArSonMix SonKu P89 JUCE v10 State Tests") + target_sources(ARMixSonKuP89NativeTests PRIVATE + tests/sonku_p89_native_juce_v10_test.cpp) + target_compile_features(ARMixSonKuP89NativeTests PRIVATE cxx_std_20) + target_link_libraries(ARMixSonKuP89NativeTests PRIVATE + juce::juce_audio_processors juce::juce_recommended_config_flags) + target_compile_definitions(ARMixSonKuP89NativeTests PRIVATE + ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P84_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P85_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P86_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P87_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P88_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P89_NATIVE_RT=1 + SONKU_P7_MEASURED_ELEVATION_RESEARCH=1 + SONKU_P71_DIRECT_XYZ_RESEARCH=1 + SONKU_P72_NATIVE_XYZ_RT=1 + SONKU_P75_MUSIC_SAFE_RESEARCH=1 + SONKU_P80_TRANSPARENT_BASS_RESEARCH=1 + SONKU_P82_MULTIBAND_ROOM_RESEARCH=1 + SONKU_P83_PHYSICAL_SPEAKER_RESEARCH=1 + SONKU_P84_SINGLE_CORE_FUSION_RESEARCH=1 + SONKU_P85_WORLD_COHERENCE_RESEARCH=1 + SONKU_P86_HORIZONTAL_FOCUS_RESEARCH=1 + SONKU_P87_MUSIC_BODY_RESEARCH=1 + SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH=1 + SONKU_P89_DEPTH_COHERENCE_RESEARCH=1) + add_test(NAME NativeSonKuP89JuceV10AppliedAckAndV9Restore + COMMAND ARMixSonKuP89NativeTests) + if(ARMIX_SONKU_EXPERIMENTAL_P90_NATIVE_RT) + add_executable(ARMixSonKuP90SourceTests + tests/sonku_p90_true_external_source_test.cpp) + target_compile_features(ARMixSonKuP90SourceTests PRIVATE cxx_std_20) + target_compile_definitions(ARMixSonKuP90SourceTests PRIVATE + SONKU_P7_MEASURED_ELEVATION_RESEARCH=1 + SONKU_P71_DIRECT_XYZ_RESEARCH=1 + SONKU_P72_NATIVE_XYZ_RT=1 + SONKU_P75_MUSIC_SAFE_RESEARCH=1 + SONKU_P80_TRANSPARENT_BASS_RESEARCH=1 + SONKU_P82_MULTIBAND_ROOM_RESEARCH=1 + SONKU_P83_PHYSICAL_SPEAKER_RESEARCH=1 + SONKU_P84_SINGLE_CORE_FUSION_RESEARCH=1 + SONKU_P85_WORLD_COHERENCE_RESEARCH=1 + SONKU_P86_HORIZONTAL_FOCUS_RESEARCH=1 + SONKU_P87_MUSIC_BODY_RESEARCH=1 + SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH=1 + SONKU_P89_DEPTH_COHERENCE_RESEARCH=1 + SONKU_P90_TRUE_EXTERNAL_RESEARCH=1) + add_test(NAME NativeSonKuP90StereoExternalizationSource + COMMAND ARMixSonKuP90SourceTests) + add_executable(ARMixSonKuP91P92MusicBassTests + tests/sonku_p91_p92_music_bass_foundation_test.cpp) + target_compile_features(ARMixSonKuP91P92MusicBassTests PRIVATE cxx_std_20) + target_compile_definitions(ARMixSonKuP91P92MusicBassTests PRIVATE + SONKU_P7_MEASURED_ELEVATION_RESEARCH=1 + SONKU_P71_DIRECT_XYZ_RESEARCH=1 + SONKU_P72_NATIVE_XYZ_RT=1 + SONKU_P75_MUSIC_SAFE_RESEARCH=1 + SONKU_P80_TRANSPARENT_BASS_RESEARCH=1 + SONKU_P82_MULTIBAND_ROOM_RESEARCH=1 + SONKU_P83_PHYSICAL_SPEAKER_RESEARCH=1 + SONKU_P84_SINGLE_CORE_FUSION_RESEARCH=1 + SONKU_P85_WORLD_COHERENCE_RESEARCH=1 + SONKU_P86_HORIZONTAL_FOCUS_RESEARCH=1 + SONKU_P87_MUSIC_BODY_RESEARCH=1 + SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH=1 + SONKU_P89_DEPTH_COHERENCE_RESEARCH=1 + SONKU_P90_TRUE_EXTERNAL_RESEARCH=1) + add_test(NAME NativeSonKuP91P92MusicFidelityWorldBassAndRoom + COMMAND ARMixSonKuP91P92MusicBassTests) + if(ARMIX_SONKU_EXPERIMENTAL_P94_FRONT_BACK_DEPTH) + add_executable(ARMixSonKuP94ReferenceTests + tests/sonku_p94_front_back_depth_source_test.cpp) + target_compile_features(ARMixSonKuP94ReferenceTests PRIVATE cxx_std_20) + target_compile_definitions(ARMixSonKuP94ReferenceTests PRIVATE + $) + add_executable(ARMixSonKuP94SourceTests + tests/sonku_p94_front_back_depth_source_test.cpp) + target_compile_features(ARMixSonKuP94SourceTests PRIVATE cxx_std_20) + # Reuse the proven exact P9.1/P9.2 native flag set. + # Do not duplicate a parallel DSP/test configuration. + target_compile_definitions(ARMixSonKuP94SourceTests PRIVATE + $ + SONKU_P94_FRONT_BACK_DEPTH_RESEARCH=1) + add_test(NAME NativeSonKuP94FrontBackDepthA_BSource + COMMAND ARMixSonKuP94SourceTests) + add_test(NAME NativeSonKuP94LevelMatchedAB + COMMAND "${Python3_EXECUTABLE}" + "${CMAKE_SOURCE_DIR}/scripts/verify_sonku_p94_acoustic_levels.py" + "$" + "$") + endif() + if(ARMIX_SONKU_EXPERIMENTAL_P95_MUSICAL_PRESENCE) + add_executable(ARMixSonKuP95MusicTests + tests/sonku_p95_musical_presence_source_test.cpp) + target_compile_features(ARMixSonKuP95MusicTests PRIVATE cxx_std_20) + target_compile_definitions(ARMixSonKuP95MusicTests PRIVATE + $ + SONKU_P94_FRONT_BACK_DEPTH_RESEARCH=1 + SONKU_P95_MUSICAL_PRESENCE_RESEARCH=1 + $<$:SONKU_P96_DISTANCE_REINFORCEMENT_RESEARCH=1> + $<$:SONKU_P97_STAGE_IMPACT_RESEARCH=1> + $<$:SONKU_P98_SCENE_VOICING_RESEARCH=1> + $<$:SONKU_P99_MUSICAL_VOCAL_DEPTH_RESEARCH=1>) + add_test(NAME NativeSonKuP95MusicPresenceVenue + COMMAND ARMixSonKuP95MusicTests) + endif() + if(ARMIX_SONKU_EXPERIMENTAL_P96_DISTANCE_REINFORCEMENT) + add_executable(ARMixSonKuP96DistanceTests + tests/sonku_p96_distance_reinforcement_source_test.cpp) + target_compile_features(ARMixSonKuP96DistanceTests PRIVATE cxx_std_20) + add_test(NAME NativeSonKuP96DistanceBassAndTrebleRetention + COMMAND ARMixSonKuP96DistanceTests) + endif() + if(ARMIX_SONKU_EXPERIMENTAL_P97_STAGE_IMPACT) + add_executable(ARMixSonKuP97StageTests + tests/sonku_p97_stage_impact_source_test.cpp) + target_compile_features(ARMixSonKuP97StageTests PRIVATE cxx_std_20) + add_test(NAME NativeSonKuP97BassVocalExternalAirSafety + COMMAND ARMixSonKuP97StageTests) + endif() + if(ARMIX_SONKU_EXPERIMENTAL_P98_SCENE_VOICING) + add_executable(ARMixSonKuP98VoicingTests + tests/sonku_p98_scene_voicing_source_test.cpp) + target_compile_features(ARMixSonKuP98VoicingTests PRIVATE cxx_std_20) + add_test(NAME NativeSonKuP98SceneVoicingVenueLock + COMMAND ARMixSonKuP98VoicingTests) + endif() + if(ARMIX_SONKU_EXPERIMENTAL_P99_VOCAL_DEPTH) + add_executable(ARMixSonKuP99VocalDepthTests + tests/sonku_p99_vocal_depth_source_test.cpp) + target_compile_features(ARMixSonKuP99VocalDepthTests PRIVATE cxx_std_20) + add_test(NAME NativeSonKuP99AdaptiveVocalDepthVenueLock + COMMAND ARMixSonKuP99VocalDepthTests) + add_executable(ARMixSonKuP99DefaultOrbitTests + tests/sonku_p99_default_orbit_source_test.cpp) + target_compile_features(ARMixSonKuP99DefaultOrbitTests PRIVATE cxx_std_20) + # Exactly the same nested P9 physical/native core + # flags as its P95/P96/P97/P98/P99 integrated build. + target_compile_definitions(ARMixSonKuP99DefaultOrbitTests PRIVATE + $) + add_test(NAME NativeSonKuP99NewDefaultOrbitNative + COMMAND ARMixSonKuP99DefaultOrbitTests) + endif() + juce_add_console_app(ARMixSonKuP90NativeTests + PRODUCT_NAME "ArSonMix SonKu P90 JUCE v11 State Tests") + target_sources(ARMixSonKuP90NativeTests PRIVATE + tests/sonku_p90_native_juce_v11_test.cpp) + target_compile_features(ARMixSonKuP90NativeTests PRIVATE cxx_std_20) + target_link_libraries(ARMixSonKuP90NativeTests PRIVATE + juce::juce_audio_processors juce::juce_recommended_config_flags) + target_compile_definitions(ARMixSonKuP90NativeTests PRIVATE + ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P84_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P85_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P86_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P87_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P88_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P89_NATIVE_RT=1 + ARMIX_SONKU_EXPERIMENTAL_P90_NATIVE_RT=1 + $<$:ARMIX_SONKU_EXPERIMENTAL_P98_SCENE_VOICING=1> + $<$:SONKU_P98_SCENE_VOICING_RESEARCH=1> + $<$:SONKU_P99_MUSICAL_VOCAL_DEPTH_RESEARCH=1> + $<$:ARMIX_SONKU_EXPERIMENTAL_P99_VOCAL_DEPTH=1> + SONKU_P7_MEASURED_ELEVATION_RESEARCH=1 + SONKU_P71_DIRECT_XYZ_RESEARCH=1 + SONKU_P72_NATIVE_XYZ_RT=1 + SONKU_P75_MUSIC_SAFE_RESEARCH=1 + SONKU_P80_TRANSPARENT_BASS_RESEARCH=1 + SONKU_P82_MULTIBAND_ROOM_RESEARCH=1 + SONKU_P83_PHYSICAL_SPEAKER_RESEARCH=1 + SONKU_P84_SINGLE_CORE_FUSION_RESEARCH=1 + SONKU_P85_WORLD_COHERENCE_RESEARCH=1 + SONKU_P86_HORIZONTAL_FOCUS_RESEARCH=1 + SONKU_P87_MUSIC_BODY_RESEARCH=1 + SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH=1 + SONKU_P89_DEPTH_COHERENCE_RESEARCH=1 + SONKU_P90_TRUE_EXTERNAL_RESEARCH=1) + add_test(NAME NativeSonKuP90JuceV11AppliedAckAndLegacyRestore + COMMAND ARMixSonKuP90NativeTests) + endif() + endif() + endif() + endif() + endif() + endif() + endif() + endif() + endif() + endif() + endif() + endif() # Pure control-plane first-run routing selection: no JUCE, drivers, # WASAPI activation or callback dependencies. Full Windows CTest gate. add_executable(ARMixFirstRunEndpointPolicyTests diff --git a/docs/SONKU_P94_FRONT_REAR_EXTERNALIZATION_FAT_20261116.md b/docs/SONKU_P94_FRONT_REAR_EXTERNALIZATION_FAT_20261116.md new file mode 100644 index 000000000..d0f7d7ded --- /dev/null +++ b/docs/SONKU_P94_FRONT_REAR_EXTERNALIZATION_FAT_20261116.md @@ -0,0 +1,43 @@ +# SonKu P9.4 — Front/Rear Externalization A/B (2026-11-16) + +**STATUS: PRIVATE HEADPHONE FAT CANDIDATE / DRAFT, NOT ACOUSTICALLY VERIFIED.** + +## Baselines / preservation +- Production main: `37985f02caecd93b22f853183888d81e18dc6736`. +- Operator-confirmed P9.1/P9.2: `763706a15a2617a10d23b5e2e43eb5689e454ccb`, frozen at `checkpoint/sonku-p91-p92-operator-confirmed-20261116`, issue #720. +- P9.3 GUI: draft PR #721; original perspective **ellipse** (148×83 SVG) is the APPROVED 3D oblique view of a circular 360° audio orbit. It is not the fault. Its movable modeless window, accepted FX Power, preset scenes and SPACE layout are inherited without changes. +- P9.4 starts from PR #721 head and adds *only* an explicitly opt-in spatial-depth experiment to the actual P9 native renderer. No upstream PR/main/checkpoint source is changed. + +## What the listener actually reported +At equal physical source radius and continuous 360° orbit, front (0°) and rear (180°) are perceived too close to the listener while ±90° lateral positions feel farther away. A person perceives a *flattened acoustic orbit*, **not a faulty UI ellipse**. + +The P9.1 renderer already uses a world-anchored two-speaker KEMAR 2×2 measured-HRIR field and LF foundation. It centres correlated stereo content at the actual median-plane HRIR. With a non-individualized HRTF, front/back spectral cues and distance externalization can be weak despite geometrically correct source angles. Older P9 direct/ER/tail levels have no head-relative angular externalization compensation. This is a perceptual limitation to investigate, not proof the DSP position calculation is elliptical. + +## P9.4 A/B hypothesis and code contract +Research in binaural externalization relates localization to HRTF pinna fine structure, listener/head rotation, individualized headphone calibration, binaural reflections and direct-to-reverberant ratio (DRR); increasing diffuse reverb alone is not proven to fix it. A published 2026 frontal-source study also discusses direct and reflection level adjustment in generic BRIRs. Such research motivates a **bounded test**, not any claim of dearVR parity. + +`SonKuP94FrontBackDepthCue.h` is a fixed-size, 45ms-slewed median-plane angular weighting computed on the existing 16-sample HRTF retarget cadence. It uses a 361-entry table prepared once, no allocation, locks, timers, FFT, or trigonometry in the per-sample audio callback. + +- Head-relative centre azimuth: `p83::toHead(worldCenter, yaw)`. Never use SVG pixel coordinates or pretend the speaker moved closer. +- Weight: `cos^4(theta)`: 1 at 0° and 180°, 0 at ±90°; smooth and periodic at the wrap. +- For P9 only and if room + early reflection wet are ON: multiply the **already measured HRTF direct pressure** by `1-0.045*w` (max −0.40 dB), and its **directional early reflections** by `1+0.28*w` (max +2.14 dB). Late reverb, bass room modes, KEMAR spectral coefficients, ITD, ILD, source distance, orbit phase, output gain and stereo MID/SIDE graph are unchanged. The front/rear direct/early pressure-ratio proxy changes by at most about −2.54 dB. The ROOM OFF / ER=0 return is exactly neutral. This is **not** a measured personalized BRIR, not a cabinet resonance model and not a substitute for head tracking. +- The feature is compiled only with `-DARMIX_SONKU_EXPERIMENTAL_P94_FRONT_BACK_DEPTH=ON` and P9 already enabled. Default builds OFF, compile-time guard rejects P9.4 without P9. +- No state schema/ABI change: `renderMode=9` remains authoritative, but native readback `p94FrontBackDepthCue=true` specifically identifies this experimental build. UI label `P9.4 · FRONT/REAR DEPTH (A/B)` appears only for that genuine capability. P9.1-only builds still say P9.1+P9.2. + +## Automated acceptance & safety boundaries +- Test real source PCM at 44.1/48 kHz, static 0/90/180/270 with ROOM ON/OFF, mono-like stereo and strict anti-phase, 64 vs 256-frame bit-parity, finite output + existing 0.98 linked peak guard. +- Isolate the curve itself: equal front/rear gains, lateral exactly neutral once smoothed, bounded ratio correction, head-yaw turns world FRONT into head SIDE, wrap continuity. Re-run existing P9.1/P9.2 PCM, P9.0 coherence, P8.9, GUI dropdown and Chromium tests. +- Exact source build of Windows native mixer + CTest and portable artifact must PASS before operator FAT. Keep draft, do not merge to main. + +## Mandatory headphone FAT / rejection conditions +- Compare ***original checkpoint P9.1+P9.2***, PR #721 GUI-only and P9.4 at matching integrated loudness (±0.5 LU) on the SAME device/headphones. Play actual music: kick, bass guitar, low-level room content, vocals, percussive transients, and 30–180Hz anti-phase material. +- Orbit static stepped 0, ±45, ±90, ±135, 180; then continuous slow 6–12s with head yaw 0/90/180 and fixed 1.6/3.1m source distance. Record perceived distance (front/right/back/left), front-back reversals, tonal degradation, and whether room returns become echoes/boom. +- Inspect measured signal energy and short-time binaural interaural coherence per direction, direct/ER cross-correlation, potential transient smearing, limiter gain reduction, and true loudness against raw music. +- **Reject P9.4** if user perceives no appreciable improvement, music becomes more reverberant/distant but not externalized, integrated level moves >0.5 LU without intentional user gain, or bass/treble/phase and ASIO stability regress. Retain accepted checkpoint. Real HRTF personalization/head tracking/BRIR options remain future work. + +## References / cautions +- Sound Externalization: A Review of Recent Research. https://pmc.ncbi.nlm.nih.gov/articles/PMC7488874/ +- Auditory localization: a comprehensive practical review. https://pmc.ncbi.nlm.nih.gov/articles/PMC11267622/ +- Enhancing Externalization of Frontal Virtual Sound Sources in Binaural Synthesis via Level and Reflection Adjustment of Non-individualized BRIRs (2026). https://doi.org/10.1177/23312165261468752 + +No claims that these articles establish the optimal numeric .045/.28 values: those are **research calibration candidates** requiring controlled audio comparison. diff --git a/docs/SONKU_P95_IMMERSIVE_MUSIC_VENUE_FAT_20261116.md b/docs/SONKU_P95_IMMERSIVE_MUSIC_VENUE_FAT_20261116.md new file mode 100644 index 000000000..175590429 --- /dev/null +++ b/docs/SONKU_P95_IMMERSIVE_MUSIC_VENUE_FAT_20261116.md @@ -0,0 +1,28 @@ +# SonKu P9.5 Immersive Music & Venue — acceptance and architecture (2026-11-16) + +**PRIVATE DRAFT: no public release, no claim of dearVR acoustic parity.** + +## Operator sound reference +The operator likes P9.1/P9.2 **music fidelity, real separation and living external sound** but wants deeper front/back and a much larger sound-system presentation, with powerful yet controlled bass. Reference screenshot settings: P9.4 mode, 6.5 s orbit, 82° spread, MIX 100%, GAIN +7dB, LARGE room 28.8×28.8m, distance 3.1m, reflections 100%, reverb 62%, plus rear/front distance concern. This is the starting reference, **not** a verified universal optimum. + +## Protected checkpoints +- Operator-accepted P9.1/P9.2: `763706a15a2617a10d23b5e2e43eb5689e454ccb` checkpoint issue #720 +- GUI-only PR #721 retains 148×83 *visual perspective ellipse* as the correct 3D view. +- P9.4 PR #723 provides real measured KEMAR source with bounded median-plane DRR adjustment; no claim of measured individual BRIR. +- P9.5 is an isolated child branch. No merge into main without headphone FAT. + +## P9.5 implemented engineering +1. **Bypass animation** — the JS visual PLL stops integrating when accepted native FX state is OFF / RACK OFF / UNKNOWN. Discard stale observed azimuth on disable. Do not reset to 0 on every 250ms readback. Resume only from current native telemetry; freeze visual pose while audio callback bypassed. Native FX rack remains sole audio authority. +2. **One latest-engine selector** — no confusing P8.4/P8.9/P9.0/P9.4 research catalog for a P9.5-capable build; legacy saved mode can be displayed honestly as legacy session and switched to latest by explicit operator action, never silently rewritten. +3. **Factory scenes** — five deliberate starting points, full native setting transaction + ACK/readback, editable afterwards: Signature 3.1m/100% ER/62% late/+5.6dB (1.9x linear), Large Studio 4.8m/94% ER/72% late/+4.3dB, Cinema 7.5m/100% ER/84% late/+4.6dB, Venue 10m/100% ER/100% late/+5.1dB, Live Orbit 6.5m/100% ER/83% late/+4.9dB. All use the physical LARGE 28.8m room model, **not claimed as distinct new BRIR measurements or individually different architectural room designs**. Old SMALL/CHAMBER values remain in the schema for session compatibility. +4. **Default only for NEW P9.5 inserts** — initialize `accepted_` with Signature rather than 1.6m/ROOM OFF/outputTrim .75. `.smix` restore applies saved exact settings. Other experimental/production builds unchanged. +5. **Slow electrical music-presence compensation (opt-in)** — 280ms stereo energy detector, 450ms smoothing of the makeup, update desired max once per 256 PCM samples, upward-only target 1.0..1.65. A near-1dB electrical minimum is a **target, not guaranteed loudness** with strong transients. Never reduce explicitly requested positive GAIN. Existing linked 0.98 sample peak limiter remains, peak safety comes before any claiming of dynamic improvement. P9.5 only, no WebAudio, heap, second graph, or front/rear geometry changes. Force bypass at 0% mix. +6. **Large venue low-frequency foundation** — existing three finite-Q room modes increase by at most 18% on the ROOM=Large wet modal return, *not* on direct bass; no fake subwoofer box or hidden low shelf. Bass/treble integrity and attack must survive field tests. +7. **No new .smix schema**: mode9 and typed native settings remain the same, new feature advertised only by `p95MusicalPresence` readback. Existing saved state is authoritative. + +## FAT / reject +- Linux source P9, P9.1/P9.2, P9.4 baseline PCM checks, P9.5 44.1/48k and stereo anti-phase, 64/256 buffer parity; UI Chromium with bypass motion freeze and 5 scene transaction/readback. +- Windows actual JUCE + V11 state ACK, GUI portable, checks / source provenance. No release until operator listens. +- Critical loudness: equal-gain A/B and user-preferred +gain A/B are **separate**. Compare integrated loudness, short-term crest factor and limiter activity; do NOT select louder just because it wins unblinded A/B. +- Headphones, same device / gain path / speaker fader / source, actual 0/90/180/270 and 6–12 second orbit, 3.1m/7.5m/10m; compare bass drum punch, 50–120Hz notes, cymbal air and stereo music separation. Retain P9.1/P9.2 baseline for quick revert. Reject if boost causes pumping, peak flatlining, harshness, mono collapse, spurious echoes, or ASIO interruptions. +- Important known ceiling: these five named scenes still share existing native large-room geometry and algorithm. True physically distinct cinema/venue BRIRs need new early-reflection geometry, materials, speaker directivity, and listening measurements. Label this as a FOUNDATION, not completed dearVR equivalent. diff --git a/docs/SONKU_P96_DISTANCE_REINFORCEMENT_FAT_20261116.md b/docs/SONKU_P96_DISTANCE_REINFORCEMENT_FAT_20261116.md new file mode 100644 index 000000000..34c916af7 --- /dev/null +++ b/docs/SONKU_P96_DISTANCE_REINFORCEMENT_FAT_20261116.md @@ -0,0 +1,25 @@ +# SonKu P9.6 — Distance Without Losing Bass & Air (PRIVATE FAT, 2026-11-16) + +**Research branch, not approved sound, no public release.** Child of P9.5 PR #725 exact head b895d92c1706ab0e098bfe49447fa7b83058f865. Do not merge competing P9.5 #724 changes or alter frozen operator-approved P9.1/P9.2 checkpoint 763706a1. Preserve approved visual ellipse and P9.5 bypass/GUI fixes. + +## Proven source root cause + +In native P9 mode 9, with ROOM enabled, the complete direct KEMAR ear pressure is multiplied by 1/(1+0.27*(distanceMeters-1.6)), reaching **0.306x at 10m**. World-speaker LF shares the attenuation, while independent room returns can still dominate midrange. P9.5 RMS makeup / output trim do not selectively restore LF / HF. This identifies an engineering mechanism, not a listening-quality proof. + +Research basis: https://pmc.ncbi.nlm.nih.gov/articles/PMC5479918/ finds atmospheric HF loss in the 1–15m range relatively small; https://pmc.ncbi.nlm.nih.gov/articles/PMC4744263/ discusses distance/DRR. The target is a **sound-reinforced concert speaker** rather than literal free-field attenuation. + +## Narrow change + +- OFF-by-default native flag ARMIX_SONKU_EXPERIMENTAL_P96_DISTANCE_REINFORCEMENT, requires P9.5 and P9 world source. P9.5 with flag OFF is preserved. +- P9 mode 9 only, with room ON and distance above 2m: split SAME HRTF-positioned direct ear pressure with causal 170Hz and 4.2kHz complementary first-order filters; retain more bass and air while preserving early/late wet and original source position. +- Slowly ramp distance retention over 35ms, no headlocked dry bass, no second graph, no extra FIR/delay/FFT/heap. P9.4 front/rear calibration remains multiplicative outside this band split. +- At 10m, target LF/mid/HF direct pressure gains ~0.83/0.50/0.77 before crossover rolloffs; locally tested sinus probes are approximately 0.79 at 70Hz, 0.50 at 800Hz and 0.65 at 7.5kHz. NOT verified final-output/headphone loudness. +- ROOM OFF / <=2m preserves original direct samples after transition settles; schema v11 unchanged. Native capability p96DistanceReinforcement is emitted only from the opted-in native build. +- Existing limiter (linked 0.98 sample peak), P9.5 music presence and saved sessions are unchanged. + +## Acceptance before merge or release + +1. 44.1/48k isolated native tests: ROOM OFF, <=2m exact direct samples, LF/MID/HF spectral energy, anti-phase, finite output; full P9.5 core P96-on source compile/render at 0/90/180/270 and 64/256 buffers. +2. Exact-head Windows JUCE/native ACK/CTest and source-provenance bundle. Do not claim CI or audio-device FAT until inspected. +3. A/B reference P9.5 versus P9.6 on headphones at 2m / 5m / 7.5m / 10m, identical input, source angle and gain; compare measured band RMS, LUFS/crest/peak protection, then loudness-match for subjective depth. +4. REJECT if distance collapses, highs become harsh, kick masks vocal, reverb becomes dry or limiter pumps. Do not claim dearVR parity without headphone evidence. diff --git a/docs/SONKU_P97_STAGE_IMPACT_FAT_20261116.md b/docs/SONKU_P97_STAGE_IMPACT_FAT_20261116.md new file mode 100644 index 000000000..4c4c1ffc8 --- /dev/null +++ b/docs/SONKU_P97_STAGE_IMPACT_FAT_20261116.md @@ -0,0 +1,31 @@ +# SonKu P9.7 Stage Impact and External Presence — PRIVATE FAT, 2026-11-16 + +**Selected listening checkpoint:** P9.6 PR #727 head `720cec619b41aa601414d4b5ae664cb418f04ca1`. User confirmed P9.6 is already reasonably good; preserve it immutably for A/B. P9.7 is a child branch and does not rebase P9.6, alter `main`, merge the competing P9.5 PR #724, or change old .smix bytes. + +## Research, limits, and actual algorithm + +- [Sound Externalization: A Review of Recent Research](https://pmc.ncbi.nlm.nih.gov/articles/PMC7488874/) describes the significance of direct pinna cues, realistic interaural differences in reverberation, and room/source congruence. Real externalization requires headphone listening and cannot be proven by spectral gain or generalized KEMAR only. +- [Jiang et al., effect of pinna filtering](https://doi.org/10.1016/j.apacoust.2020.107257) finds direct pinna filtering helps externalization whereas applying it to diffuse reverberation can reduce externalization. We retain the measured direct HRIR and existing non-pinna image-source ER path. +- [AES virtual bass review](https://aes.org/publications/elibrary/elibrary-page/?id=18050) documents perceived bass versus distortion risks. We DO NOT generate missing-fundamental harmonics, synthesize extra LFE, or attach a headlocked mono bass. + +One opt-in **native P9.7** component (`SonKuP97StageImpact.h`) adds three bounded paths to the existing P9 mode-9 scene only when ROOM is ON and distance is above 2m. All parameters are research constants, not hardcoded .smix fields or hidden GUI pseudo-controls: + +1. **Concert punch / room body:** prepared, low-Q ~85Hz bandpass at +0.23 relative peak to the already HRTF/P9.6-processed direct ear pressure; one-pole 62Hz sub body at +0.085. The existing P9.2 position-aware damped 3-mode low-frequency *room return* is modestly increased by at most 12%, without modifying resonator decay or creating uncontrolled feedback. +2. **Center-panned presence (not vocal separation):** low-Q ~1.9kHz bandpass of INPUT L+R MID with at most +0.19 on both virtual speaker source feeds, before existing full KEMAR HRIR convolution. The center-band is filtered twice to suppress high-frequency phase leakage, and a further modest +0.085 centered presence band is added to the *already HRIR-positioned direct ears*, never a dry mono voice. The original stereo feeds remain authoritative for decoder observation, P9.2 world bass and room reflections. No dry/headlocked vocal injection or extra FIR. This can enhance centered vocal *and centered instruments*; it is NOT an AI stem separator. +3. **Early-reflection air:** +0.24 of the high-pass complement above 4.5kHz, applied only to the existing two-ear directional early-reflection result. No inter-channel mixing, Haas timing, repeated reverb worker or extra spectral EQ on the diffuse tail. This aims to improve high-frequency spatial cues without simply making room reverb hissier. + +A small +0.038 high-frequency direct-air complement preserves the already-external KEMAR cymbal/treble energy when the center-band is boosted, avoiding the earlier P9.7 first-pass regression where 7.5kHz electrical energy fell by ~13% at 10m. An explicit no-high-loss test now rejects that outcome. P9.5's adaptive upward makeup was found to reduce its overall gain as P9.7 made bass and center louder; in the first integrated candidate 7.5kHz remained ~16% below P9.6 even after the center-band filter was narrowed. A bounded 135Hz low complement (+0.080 max) and 4.5kHz high complement (+0.35 max) are therefore applied to the **already externalized, post-P9.5 stereo ear signal** immediately before the unchanged linked 0.98 peak guard. This last-stage gain is not an extra dry/stem/reverb path, and identical bilateral coefficients preserve channel-based localization cues. A test checks spectral output *after* P9.5 normalization. Reject the design if the limiter's dynamic pumping increases on music FAT. + +All P9.7 source, direct/early/modal and post-makeup stages are explicitly disabled at 0% spatial MIX so the existing native dry/bypass is preserved bit for bit; the full-PCM hash verifier covers that case with ROOM still enabled at 10m. + +The three gains ramp together over 45ms as distance moves through 2–6m. All bands use control-side prepared coefficients, bounded stable filters, fixed memory and no callback allocations. No new EQ slots, public schema, selectable render modes, fake stereo widening or additional HRTF graph. P9.5 output makeup and 0.98 linked peak guard remain unchanged. + +## Gates before approving listening audio + +1. Independently compile 44.1/48k source tests for exact ROOM OFF, 0% spatial MIX with active ROOM, and <=2m, voice/air/bass response, finite PCM, antiphase symmetry, bounded room-modal amplification and no device-restart stale memory. +2. Compare complete P9.6 and P9.7 native PCM *hashes* at 2m and ROOM OFF, and target bands at 3.1m and 10m (front and back) for 44.1/48k, using the very same source fixture. The checkpoint must remain bit-for-bit identical in disabled scenes. This guards known-good sound rather than relying on nominal gains. +3. Compile exact Windows JUCE application, V11 state/ACK, sample-peak safety CTests, UI Chromium and source-provenance portable in a branch-qualified build. No public release/merge based on a green Linux source test alone. +4. Operator headphone A/B at matching LUFS and also matching *GAIN setting*: kick/tom attack, bass audibility and decay, center vocal location and intelligibility, edge/cymbal air, interaural position, stage distance, reverb body, 0/90/180/270° and 44.1/48k. Reject nasal vocals, metallic cymbals, mono collapse, bass masking, over-limiter pumping, apparent image moving inside the head. User preference controls promotion. +5. No marketing claim of source-separated vocals, customized individual BRIR, measured live concert loudspeaker impulse response, true-peak certification or dearVR acoustic parity. + +**Checkpoint:** P9.6 remains branch/PR #727 and this draft P9.7 is entirely removable by deleting its child branch. Feature OFF recovers P9.6 binary behavior and no new user parameter exists. diff --git a/docs/SONKU_P98_CI_ROOT_CAUSE_RECOVERY_20261116.md b/docs/SONKU_P98_CI_ROOT_CAUSE_RECOVERY_20261116.md new file mode 100644 index 000000000..262ddb9fd --- /dev/null +++ b/docs/SONKU_P98_CI_ROOT_CAUSE_RECOVERY_20261116.md @@ -0,0 +1,27 @@ +# P9.8 / PR #729 — actual red-CI root causes and controlled repair (2026-11-16) + +## Operator checkpoint + +The approved *Venue · Mega Space* P9.7 commit `fda0eef669e0a59575c489e149662c1bf878c998` remains immutable on `checkpoint/sonku-p97-venue-mega-space-approved-20261116`. No public release or main merge is authorized by this repair. No Venue curve/preset/PCM coefficients change. + +## 1. True v12 Windows CTest failure + +Exact-head workflow run [43828402066](https://github.com/masarray/arsonmix/actions/runs/43828402066) compiled Windows ARMixConsole and JUCE tests successfully, then failed **1/11** in `NativeSonKuP90JuceV11AppliedAckAndLegacyRestore`, test line 299. The negative fixture writes retired physical/mono `renderMode=2` to bytes 50..53 of a 67-byte v12 state. The v11 restoration code rejected this; v12 was accidentally omitted from the v11-only mode whitelist. With typed `sceneVoicing=0`, the generic SonKu core validator also permitted the operator-rejected legacy P8.3 modes. This is a genuine native state-acceptance defect, not an unrelated flaky Windows build. + +**Repair:** P9.8-gated `SonKuSpatialCore::valid` requires mode 0 or 3..9, no legacy LF480, and selected voicing only for mode9. `SonKuSpatialProcessor::restoreUnpublishedState` checks the same whitelist for v11 *and* v12. Negative tests now cover modes 1 and 2 in native JSON, native PCM queue and corrupt v12 restore; also retain positive v11 restore and v12 round-trip, exact Venue/ROOM-OFF/MIX=0 hashing. Do not simply delete the failing assertion. + +## 2. Retired P8.3 negative FAT caused unrelated PR to look red + +[Run 43828402288](https://github.com/masarray/arsonmix/actions/runs/43828402288) failed with `P83_HEADPHONE_FAT_CANDIDATE ... REJECTED_LOW_ENERGY_OR_SPECTRAL_HOLE`. This intentionally negative research mode is neither the current accepted P9.7 Venue nor supported by P9.8. It is NOT repaired or made musically qualified. Its strict test is retained for dedicated `research/sonku-p83-*`/`feat/sonku-p83-*` branches and manual `workflow_dispatch`, instead of firing for every shared SonKu core edit. + +## 3. Two broken 0-job GitHub workflow runs, not a DSP fault + +[Run 43835166813](https://github.com/masarray/arsonmix/actions/runs/43835166813) reports `Invalid workflow file: .github/workflows/sonku-p89-windows-field.yml#L346`. The independent P90 workflow also produced an immediate 0-job push failure. Both files had a **pasted duplicate Windows test block after the first upload-artifact `with:` map**, including an executable PowerShell `if ($LASTEXITCODE ...)` line illegally indented inside YAML. A quoted `ctest -R` PowerShell expression was also unterminated. Both needed source repair. + +**Repair:** Remove the duplicated tail and wrong YAML indentation. Close native CTest regular-expression quoting. Maintain exactly one Windows compile/CTest/portable artifact workflow each. P8.9 is genuinely v10 (without P9.0 CMake flag, no P9.0 tests, state schema 10, P8.9 docs/ZIP/provenance); P9.0 remains v11 (state schema 11). They are scoped to their own historical research branch, explicit manual dispatch, or P9.0 reusable workflow call. No duplicated heavy x64 build on the newer P9.8 PR. + +`scripts/verify_sonku_legacy_workflows.py` runs in the existing P9 source preflight with only Python standard library and blocks reintroducing duplicated artifact steps, unterminated CTest commands, schema mismatch, or accidental P9.0 runtime in P8.9. + +## Verification rule + +Use **exact SHA** of this repair commit, not an older run, and require the full Windows P9.8 JUCE CTest plus exact-head portable provenance and Chromium smoke. Source/PCM spectral ratios do not prove subjective quality; the user still performs level-matched headphone FAT before promoting Signature or Cinema. Historical failed runs remain in GitHub history even if the newly corrected workflow validates successfully. diff --git a/docs/SONKU_P98_OPERATOR_VENUE_CHECKPOINT_AND_VOICING_FAT_20261116.md b/docs/SONKU_P98_OPERATOR_VENUE_CHECKPOINT_AND_VOICING_FAT_20261116.md new file mode 100644 index 000000000..31131c697 --- /dev/null +++ b/docs/SONKU_P98_OPERATOR_VENUE_CHECKPOINT_AND_VOICING_FAT_20261116.md @@ -0,0 +1,30 @@ +# SonKu P9.8 — operator-approved Venue lock & Signature/Studio/Cinema voicing + +**Operator audible acceptance (16 November 2026):** VENUE · MEGA SPACE produces goosebumps. Preserve **exact** P9.7 master scene on branch `checkpoint/sonku-p97-venue-mega-space-approved-20261116` at `fda0eef669e0a59575c489e149662c1bf878c998`. Do not edit that branch, its preset (10m, 106° spread, Large 28.8m, 100% room, 100% ambience, gain 1.8) or P9.7 engine. No release/main merge before user listening. + +## Specific requested retune + +1. **Cinema · Grand Stage** (7.5m, room 100%, late 84%): more credible low-frequency pressure/impact without adding exaggerated broad midrange reverb. +2. **Large Studio · Live** (4.8m): only a little extra punch/warmth. +3. **Signature · Immersive** (3.1m): flagship musical clarity, upfront center-panned vocal/instrument detail, punch/body, coherent first-reflection air; should compete with or perceptually outperform Venue *for music*, not simply louder output. +4. **Venue**: sacred approved P9.7 baseline, no additional DSP and no changed preset numbers. **Live Orbit** also neutral unless explicitly requested. +5. "Vocal/instrument separation" is a gentle center-panned tonal emphasis only. There is NO stem demixing or true vocal isolation. + +## Architecture + +A named, typed native **`sceneVoicing`** integer 0..3 removes all fragile guesswork based on floating-point distance/reverb. 0=approved Venue/Custom neutral, 1=Signature, 2=Live Studio, 3=Cinema. Browser only picks complete scenes and sends them via existing native FX transaction; **native readback/ACK** must validate type. Existing custom .smix, P9.7 presets, and older state must not be rewritten behind the operator's back. Newly inserted P9.8 SonKu starts at the actual Signature voicing (typed ID=1) because its P9.5 default scene already has 3.1m Signature parameters. Old loaded .smix/v11 state remains ID=0, never retuned without user preset selection. A native P9.8 candidate **v12 (67 bytes)** *append-only* stores the explicit voicing; existing v1..v11 load as neutral 0. Older P9.7 binaries still use v11 and refuse unsupported properties; UI removes sceneVoicing when capability absent. P9.8 is OFF by default and requires P9.7, P9.6, P9.5 stack. + +The same authoritative measured two-world-speaker KEMAR PCM engine processes: +- **Center clarity:** modest doubly bandpassed 2.05kHz center sum injected into the two virtual speaker source feeds pre-HRTF. Never dry to headphone MID. Enhances *all* centered elements (vocal, kick, lead), not a voice stem. +- **Low-frequency pressure:** low-Q 86Hz punch and smooth 130Hz low body *after* the current P9.5 dynamic makeup, and *before* existing sample-peak guard; no subharmonic oscillator, no modified room RT60/feedback or headlocked LFE. +- **Directional external air:** modest highpass 5.2kHz enhancement on actual two-ear early reflection outputs, and gentle coherent per-ear sparkle in the final world binaural field; no synthetic Haas crossfeed. +- **Scene-specific gains, at full articulation:** Signature: center .22, bass body .15, kick .17, voice .15, ER air .16, end air .07; Studio .035/.045/.055/.045/.04/.02; Cinema .075/.15/.15/.06/.065/.035; Venue ALL ZERO. These constants are *audition hypotheses*, not perceptual ratings. +- All gains interpolate over 55ms, coefficients calculated only during prepare, fixed memory, no extra JUCE processor, FFT or delay. + +## Gates + +- Output sample peak <=0.9805 at 44.1/48k, front/back, real **wet** Signature/Studio/Cinema/Venue and ROOM OFF/0% MIX. +- Full integrated P9.7-vs-P9.8 per-sample **PCM hash exact** at approved Venue 10m with 100% room/ambience and existing 106° spread, plus ROOM OFF and 0% MIX. +- Cinema LF component >P9.7, Studio modest LF enhancement, Signature LF and vocal presence >P9.7 with no severe loss of treble. Compare at input matched and *also* match final loudness in owner headphone FAT. +- Native Windows JUCE schema v12 ACK/round-trip and v11 restore default0; invalid enum/rejected JSON, device restart and corrupt 67-byte snapshot; Chromium editor native mode/ACK; exact-head portable artifact. +- Operator FAT must verify actual perceived live stage, singer intelligibility, bass tightness/transient decay and no presence harshness or limiter pumping. Do not claim Signature is better to everyone's ears, or that a pre-defined room is a measured cinema/hall BRIR. diff --git a/docs/SONKU_P99_CROSS_THREAD_RECONCILIATION_20261116.md b/docs/SONKU_P99_CROSS_THREAD_RECONCILIATION_20261116.md new file mode 100644 index 000000000..63c155406 --- /dev/null +++ b/docs/SONKU_P99_CROSS_THREAD_RECONCILIATION_20261116.md @@ -0,0 +1,43 @@ +# SonKu P9.9 — cross-thread reconciliation and integration contract (2026-11-16) + +This is a deliberately **non-merging** reconciliation of independently active developer threads. This branch is a draft, not public release/main, and this document **does not authorize a force push, PR retarget, cherry-pick of entire files, auto-merge or rewrite of other threads**. + +## Live GitHub topology checked + +| Work | PR | Head at audit | Base / status | Ownership | +| --- | --- | --- | --- | --- | +| Approved Venue P9.7 | #728 | `fda0eef669e0a59575c489e149662c1bf878c998` | P9.6 draft | Immutable approved audio checkpoint | +| Signature/Cinema/Studio P9.8 | #729 | `4a9e5b2c455818c7a0dc8507ec2b7863be215033` | P9.7 draft | SonKu typed scenes 0–3; original v12 | +| Orbit default / warm vocal-room P9.9 | #730 | `94255ba476d1896cbd54904a87f2b9927851a360` before this reconciliation | P9.8 draft; native Windows 13/13 green | SonKu native audio and GUI | +| ImmerSIB concert / room cohesion | #732 | `c32345f9f638dfb837c60ec84405a5ef315631ac` | Separate ImmerSIB #722 branch; draft; GitHub reported mergeable=false | Product-owned static scene, private voicings 4/5 | +| ImmerSIB single engine | #722 | `b693618cabe9c13e8756633c1d64607b9254cde6` | P9.1/P9.2 draft | Separate product, ONE shared native SonKu PCM core | +| Native floating FX ownership | #731 | `61d64cd76ca56d51a8dcd4d621eea49ac4ca7819` | main, draft | Owner of `NativeFxWin32Owner.h`, `NativeOwnedFloatingWindow.h`, editor lifecycle | +| Factory reset | #708 | `a97462c2730f3e0feae1b9e8982c2784e81ea9a6` | main, draft, non-mergeable at audit | Native session / mixer recovery | +| Guitar FX redesign | #668 | `0a4209b06352f6cc6c0aca27ce99f3615eacd6f5` | main draft | JUCE guitar visuals, independent acceptance | + +Main was `37985f02caecd93b22f853183888d81e18dc6736` at audit. `main` is an ancestor of SonKu P9.9, but P9.9 includes **353 commits, 166 file changes compared to main**, most from older stacked research stages. Applying the entire P9.9 branch as a replacement for main or rebasing/merging other branches blindly is **not** a responsible integration. ImmerSIB #732 is divergent from P9.9, with independently developed SonKu voicing/header changes. Do not discard either. + +## Confirmed API and sonic conflicts + +1. On P9.9 the base class `SonKuSpatialProcessor` was mistakenly `final`, while ImmerSIB's `ImerSipP92Processor` derives from it. **Corrected only P9.9**: base now has a product-specific protected initial-scene constructor, queued-scene admission hook, and unpublished-state adoption with control-side validation and native ACK preservation. The derived product and its identity/state/editor are not copied into the SonKu branch. +2. The P9.9 `SonKuSpatialCore` originally activated its vocalist center/330Hz room stage merely because the project-wide compile flag was ON and a scene was ID 1/2/3. **Corrected**: a branded product sharing the same core is neutral by default; only the **8D-SonKu** native insert explicitly opts in *per instance* before prepare. This is not a second renderer, a new persistent state field, or a listener guess. Other products keep their scene DSP unmodified even in the same compiled application. +3. ImmerSIB #732 has native scene IDs **4/5** and different `SonKuP98SceneVoicing.h` / `SonKuSpatialCore.h` files, while SonKu #730 only has neutral/Signature/Studio/Cinema **0–3**. These remain separate until an explicitly reviewed additive integration preserves **all** IDs and the two product contracts. Do **not** raise SonKu ID validation to 5 without the actual ImmerSIB implementation/tests. +4. FX editor #731 changes `CMakeLists.txt`, `src/Main.cpp`, and native window ownership. Those ownership changes must be replayed with a real three-way merge when integrating, **not** overwritten by the SonKu versions of those shared files. The two native window headers in #732 currently match #731 blob SHA, but future updates must be inspected again. +5. P9.9's **ORBIT STAGE · DEFAULT** (127°, 12s, 2.7m, 100% ER, 77% late, +5.1dB) remains for **new SonKu instances only**. Existing .smix sessions, ImmerSIB's factory, legacy v11/v12 restore, and the P9.7 10m Venue are untouched. + +## Objective gates added before any integration + +- SonKu P9.9 actual private DSP remains **opted in** in its real native processor, the full integrated scene test and factory Orbit source test. +- A second copy of the **same full KEMAR + directional six-wall + late-room + limiter** test is built with P9.9 compile flag **ON but per-instance opt-in OFF**. The gate compares every complete output row and PCM hash to P9.8 native reference at **44.1/48k, front/rear, all six scenes = 24 cases**, with **zero tolerance**: `scripts/verify_sonku_p99_shared_core_isolation.py`. This is the shared-engine protection for ImmerSIB/other products, not a cosmetic capability check. +- Native JUCE test actually instantiates a branded derived processor, verifies own initial static scene, rejects forbidden moving scenes, checks applied edit ACK/readback, allows control-side unpublished state adoption, and rejects publication-time overwrite. Existing 13 Windows CTests remain active. +- Venue scene=0/ROOM OFF/MIX0 continue their exact P9.8 PCM hash gates, including all independent P9.7 approval fixtures. +- No additional audio latency, heap allocation in the PCM callback, extra HRTF, or duplicated convolution pipeline introduced. + +## Safe future integration order (not executed here) + +1. Keep separate reviewed source checkpoints. Do not merge P9.9 in isolation from its P9.5/P9.6/P9.7/P9.8 ancestry. The release decision needs owner headphone/ASIO A/B approval and a single explicit coherent integration plan. +2. Integrate **#731** native floating editor lifetime/ownership by three-way code merge of `src/Main.cpp` and `CMakeLists.txt`, preserving its tested ownership and source-specific closing/reopen behavior; avoid overwriting from old SonKu snapshot. +3. Reconcile **#722/#732** independently as ImmerSIB's product-owned branch. Forward-port the typed voicing IDs 4/5, IMRS v7 restore constraints, authorized static-scene constructor, audio-gate and GUI assets deliberately; verify no loss of SonKu IDs 0–3, no new PCM authority, and no accidental P9.9 change to ImmerSIB presets. +4. Only after integrated Windows JUCE/Chromium/PCM and product-specific session regressions pass, and owner explicitly approves acoustic candidate, decide main release. Keep draft PRs and their SHAs as reviewable provenance. + +**This reconciliation intentionally changes only P9.9 branch-owned native API compatibility and opt-in guards.** No writes to main, #731, #732, #722, #708, Guitar FX, checkpoint Venue, or shipped installer. Any cross-product *compile* with combined #732 is not yet proven because those PR branches are divergent and their scene IDs/headers still require a manual three-way integration. diff --git a/docs/SONKU_P99_MUSICAL_VOCAL_DEPTH_FAT_20261116.md b/docs/SONKU_P99_MUSICAL_VOCAL_DEPTH_FAT_20261116.md new file mode 100644 index 000000000..2f62bd421 --- /dev/null +++ b/docs/SONKU_P99_MUSICAL_VOCAL_DEPTH_FAT_20261116.md @@ -0,0 +1,69 @@ +# SonKu P9.9 — Musical Vocal Depth / Wide Instrument Layers (2026-11-16) + +## Approved checkpoints and strict boundaries + +- **Venue Mega Space is frozen** at P9.7 SHA `fda0eef669e0a59575c489e149662c1bf878c998` on `checkpoint/sonku-p97-venue-mega-space-approved-20261116`. Identical Venue P9.8 native PCM remains the mandatory baseline. +- P9.8 `4a9e5b2c455818c7a0dc8507ec2b7863be215033` is the independent scene-voicing baseline, *not* overwritten. P9.9 is stacked in a separate opt-in draft branch/PR. +- P9.9 adds no audio device, callback, IR convolution, PCM graph, 96k resampling, WebAudio sidecar, neural model or new .smix state schema. It is an extra compile-time stage in the **existing single native graph** for typed scene IDs 1 Signature, 2 Studio, 3 Cinema, only in active world-speaker mode9 with ROOM ON and spatial MIX>0. +- VENUE / Custom scene ID 0 (including old restored v11 state), ROOM OFF, and MIX=0 **must remain exact P9.8 bytes** at 44.1/48k and front/rear; explicitly compare native PCM hash. No change to spatial placement, scene preset values, 10m Venue, curves, P98 class or KEMAR HRIR. +- Private `ARMIX_SONKU_EXPERIMENTAL_P99_VOCAL_DEPTH=OFF` default requires opt-in P9.8. Native bridge remains *v12*, with truthful additive `p99MusicalVocalDepth` capability (never infer from GUI). The ordinary public build remains unchanged. + +## Engineering rationale from global audio research + +Full stereo recordings do not provide separated singer and backing stems. A center-frequency boost alone elevates guitars/piano/snare too; a center-dominant *activity estimate* is a conservative guide, not actual voice identity. This project must never claim vocal separation or independent vocalist positioning. Relevant research: + +- Yuval Ronen, AES 139 Paper 9445 (2015), [Vocal Clarity in the Mix](https://aes.org/publications/elibrary/elibrary-page/?id=18001): professional mixing techniques can improve *perceived* intelligibility; perceptual testing is needed. +- Wakefield & Dewey, AES 138 Paper 9341 (2015), [Frequency Masking in Multitrack Music](https://aes.org/publications/elibrary/elibrary-page/?id=17765): spatial separation/panning is a useful alternative to large mirrored EQ boosts. +- Kirsten Hermes, AES 146 Paper 10174 (2019), [Spectral Clarity of Vocals](https://aes.org/publications/elibrary/elibrary-page/?id=20307): timbral clarity depends on program; simply adding high-frequency content is not universally safe. +- Hafezi & Reiss, JAES 63(5) (2015), [Autonomous Multitrack EQ Masking Reduction](https://aes.org/publications/elibrary/elibrary-page/?id=17637): masking relief can improve intelligibility when instrument stems are available—**not equivalent** to doing stem-specific EQ on one stereo master. +- Wichern et al., AES 141 Paper 9646 (2016), [Masking and Loudness Loss](https://aes.org/publications/elibrary/elibrary-page/?id=18450): not all spectral overlap is problematic, so avoid indiscriminate maximal unmasking. + +## Implemented single-graph acoustic strategy + +1. **Direct center articulation, full-bodied**: source before the existing measured loudspeaker KEMAR FIR. Two broad first-order complementary bands (210–880Hz body, 760–3350Hz articulation), at bounded profile weights. The gate follows a smoothed ratio of in-band MID to SIDE and a minimum audible level; its 21ms/122ms envelope + 32ms/187ms gain attention avoid per-syllable switches. A 55ms scene change ramp prevents step clicks. Sig > Cinema > Studio intensity. +2. **Lateral instrument atmosphere without fake Haas**: only the *already physically modeled first-image stereo reflection* receives a tiny complementary 680–3900Hz SIDE emphasis (maximum 0.08 linear); the MID and source phase are unchanged. No added random delay, decorrelation, stereo phase rotation, width collapse or rear center duplication. +3. **Physically coupled room body (P9.9 room correction)**: the original approach enhanced direct history_ while the real `room_.process` and `reverb_.process` received original x0/x1. That inconsistency made the enriched singer sound *too dry/less physically present*. Feed an activity-gated **165–670 Hz coherent MID band** into the pre-existing true directional first-images and diffuse reverb, using separate Signature ER 0.48 / late 0.22, Cinema 0.34 / 0.15, Studio 0.22 / 0.095 scalar send weights. No extra delay/feedback/second room/binaural crossfeed. The room remains frequency-dependent through its own native physical geometry and acoustics. This is a musically bounded warm band, NOT a claimed isolated vocal stem or a synthetic high-Q resonant mode. The existing L/R SIDE is unchanged. +4. **Vocal vs backdrop depth**: preserve the 200–650 Hz vocal room body; slightly relieve only 1350–3800Hz MID of the *existing late room return* (maximum 0.095 linear), never its SIDE or bass. This retains articulatory definition while low-mid reflections/tail supply room presence. The floor/ceiling/side reflection network and room tails otherwise remain authoritative. +4. **No 4–8k treble/sibilance shelf**; no high-pass stripping at 250Hz, hard expander, multiband limiter, or vocal-only fake stem. Preserve bass impact and 0.98 linked peak guard, and reject non-finite PCM in existing core. +6. **Bounded real-time overhead**: fixed scalar one-pole states, six-coefficient scene profiles, no heap allocation/block buffer/FFT/convolution beyond the existing P90 path, no additional samples of latency. Filtering into the existing room adds two biquad warm-band filter states and feed mixing. Actual CPU margin and ASIO headphone audition remain operator FAT. + +## Validation matrix and acceptance limits + +- Standalone **44.1/48k**: male-range 260Hz body must not thin; 1800Hz increases vocal-band center audibility; 7600Hz bounded (not harsh); real early-IMAGE side expands slightly; late center band reduces; late SIDE and anti-phase direct remain unchanged; near silence avoids pump; on-the-fly Venue and ROOM OFF exact. +- Full wet actual KEMAR+room+P95-P98 graph: P9.8 vs P9.9 **24 cases** at 86/2050/7500 Hz and a separate **24-case, complete six-wall room 320/2050/7500 Hz probe** (44.1/48k × front/rear × Venue/Signature/Studio/Cinema/ROOM OFF/MIX0). Demand warm 320Hz response in scene1/2/3, not merely new dry EQ; exact hashes for Venue/ROOM OFF/MIX0 in both sets; no original bass deletion or 7500Hz excessive boost; linked peak guard. +- Native JUCE v12 ACK and old v11 migration regressions; compile/test on Windows x64 and Chromium front-end capability contract; package full GUI portable executable with SHA provenance and this FAT guide. No automatic merge/release without native Windows CI and a level-matched listener test. + +## Honest remaining limitations and hearing FAT + +Mid/side gating can enhance a centered guitar/snare/piano, not only a singer. No algorithm can distinguish overlapping mono-center sources with certainty without separate stems or model-based extraction. The confidence detector **must remain conservative** and can occasionally act on instrument-only centered content. + +Use level-matched male/female vocal recordings, dense rock drums/guitars, piano/voice, sibilant vocal, cymbal-heavy instrumental, mono full mix, deliberate 180° anti-phase, and front/rear stage motion. Listen for chest body, articulatory consonants, non-nasal tone, no new sharp 3–8k peak, no center ghost, no pumping, no collapsed room or bass. Quantitative PCM/spectral tests do not prove the intended **subjective** intimacy or audience goosebumps. In all doubt restore the P9.8 reference; the Venue P9.7 checkpoint is non-negotiable. + + +## Correction rationale — direct sound and acoustic-body consistency + +The operator correctly identified that P9.9 initially strengthened the CENTER of the direct KEMAR virtual speaker input while both ROOM processors still observed the unchanged stereo master. Furthermore, a 720–3400 Hz late-mid reduction made the vocal seem even more dry/detached. It did **not** mean there was zero room sound; the issue was inconsistent excitation/voicing between direct and reflected paths. + +This revision deliberately sends a two-biquad, activity-controlled, identical L/R low-mid contribution to the original room engines BEFORE their existing wall/late response. It does not reroute all P9.7/P9.8 tonal boost (which would over-excite snare, cymbals and LF). Only P9.9 scene IDs 1–3, room ON, wet MIX>0 get this feed. A source with no center signal, or a near-silent gate, returns exact original stereo. The user-approved Venue scene ID0 / ROOM OFF / MIX0 remain cold-start native PCM unchanged. + +See background on direct/reverberant balance and C50/C80 clarity: https://pmc.ncbi.nlm.nih.gov/articles/PMC6375510/ and https://aes.org/publications/elibrary/elibrary-page/?id=14920 . A little early reflection often increases fullness and can improve articulation; excessive late energy can mask words. This is NOT a proof of vocalist identification in a stereo mix, nor a promise of subjective superiority before listening. + + +## DSP gate rejected — first room feed LF cancellation + +The first warm-band attempt (difference of 165Hz and 670Hz second-order low-passes) made an apparent +47% direct ER320 input, but **failed full-graph P9.8/P9.9 86Hz regression at 0.929×**. This is an important counterexample: extra low-mid energy may cancel sub/bass because of filter phase and existing six-wall paths. The test was **not relaxed**. Replaced this imperfect difference response with a pair of stable, centered 330Hz Q1.4 biquads whose lower-octave magnitude rolls off strongly, and reduced sends so LF remains within the existing approved bound. The verification harness still rejects any decrease below 96% at 86Hz and any peak above the previously approved bounds. + +No claim that boosted ER input by itself proves a better final acoustic output. Always check complete KEMAR+room+limiter PCM and listener A/B. + + +## 2026-11-16 operator screenshot → P9.9 Default Orbit Stage + +The operator provided a screenshot of **CUSTOM · MANUAL** with ORBIT (not STATIC), CLOCKWISE, 12.0 s revolution, 127° speaker angle, 100% spatial mix, +5.1 dB display gain, Large 28.8×28.8m, 2.7m source distance, elevation 0°, HRTF ear-height align 0°, HEAD YAW 0°, Reflections 100%, Reverb 77%. Input provided a visual speaker placement mid-orbit; this does NOT reveal a persisted initial azimuth. Start azimuth is explicitly set to **FRONT 0°** for a deterministic new orbit, and gain **1.8 linear** renders approximately +5.1dB as in the screenshot. The screenshot does not expose the native `sceneVoicing` byte: choose **typed Signature ID1** instead of neutral ID0, otherwise the P9.9 center-body/room coupling would never activate. + +- New `ORBIT STAGE · DEFAULT` (GUI id `orbitStage`) is an **additional opt-in P9.9 preset**, not a rewrite of existing `music`, `studio`, `wide`, `deep` (approved Venue), or `orbit`. +- The authoritative C++ `DefaultOrbitStage::settings()` is installed by `SonKuSpatialProcessor` only for brand-new opt-in P9.9 inserts. Native v12 state and ACK are unchanged; saved `.smix` / v11-v12 restore and operator Custom states are never silently changed. UI label matches the native readback and is unavailable to P9.8-only binaries. +- Previously, `sameSettings()` ignored `sceneVoicing` (and HRTF elevation trim): a pure scene-ID change could be silently treated as a no-op. Now both typed parameters participate in native command deduplication. This is required for presets to change the **real DSP**, not merely their visible names. +- This **user-guided stronger Signature** steps the limited P9.9 weights from `{.095,.165,.080,.095,.48,.22}` to `{.112,.200,.105,.108,.55,.25}` (body, focus, directional early, late-mid relief, 330Hz early-room feed, late-room feed). These are bounded *mixing coefficients*, not extra dB, no independent stem extractor. Live Studio and Cinema are unchanged. Venue/neutral remains exactly zero-weight. +- Acceptance: independently test exact new factory numbers, native JUCE NEW insert save/reopen, no default migration for old sessions, 1s native orbit = +30° at 44.1/48k, scene-only queued edits actually transmit, safe peaks, early 330Hz body, 1.8k articulation, 7.6k sibilance cap; full original P9.8/P9.9 static 24-case Venue PCM bit-exact tests must still pass. Real level-matched headphone listening remains required; do not release because numeric tests alone pass. + +Screenshot application footer reads `NATIVE IMMERSIVE · SCENE VOICING · VENUE LOCKED`, not `MUSICAL VOCAL DEPTH · REAL STAGE`; it appears to be a P9.8-capable binary rather than P9.9. Do not represent any P9.9 improvements as already auditioned on that screenshot without matching executable build SHA and native capability. diff --git a/docs/THIRD_PARTY_8D_SONKU_HRTF.md b/docs/THIRD_PARTY_8D_SONKU_HRTF.md index 2fe6caa3c..53bae1218 100644 --- a/docs/THIRD_PARTY_8D_SONKU_HRTF.md +++ b/docs/THIRD_PARTY_8D_SONKU_HRTF.md @@ -3,7 +3,9 @@ Date 2026-11-12. Source: 8D-SonKu `SonKuMeasuredHrir.h`. - Original HRIR measurements: Bill Gardner and Keith Martin, MIT Media Laboratory, 1994. MIT KEMAR (0° elevation). - MIT Media Laboratory terms are reported in the OpenAL Soft MIT_KEMAR.def: free of charge without usage restrictions provided original authors are cited. https://github.com/kcat/openal-soft/blob/master/utils/MIT_KEMAR.def - C table format and 44.1/48 kHz processed 128/140-tap values derived from **Aristotel Digenis, MIT HRTF C Library**, https://github.com/jhonmark/mit-hrtf-lib (MIT license; copyright 2007 Aristotel Digenis; repository LICENSE copyright 2014 greekgoddj). -- Source path: `source/normal/mit_hrtf_normal_44100.h` and `source/normal/mit_hrtf_normal_48000.h`; only the 0° elevation 0–180° at 5° spacing; 44.1 kHz rows zero-padded to 140; negative 180..360 by ear symmetry. +- Existing public source path: `source/normal/mit_hrtf_normal_44100.h` and `source/normal/mit_hrtf_normal_48000.h`; only the 0° elevation 0–180° at 5° spacing; 44.1 kHz rows zero-padded to 140; negative 180..360 by ear symmetry. +- **P7 research-only** `engine/builtin_fx/sonku/SonKuMeasuredHrir3D.h` additionally copies the original MIT-licensed measurements at **14 elevations (−40..+90°)** with the exact upstream nonuniform azimuth grids (368 measured angle pairs/sample-rate, including 0° reused from the native public bank). Upstream Git blobs `5e5bcac17b0d59f1b8e7fee04b380170f7d521d2` (44.1k) and `39931add922dad4687e572059bc157b124926944` (48k). The extractor `scripts/generate_sonku_measured_hrir3d.py` regenerates this checked-in bank from locally supplied verified source headers; no runtime/network dataset fetching or proprietary vendor coefficients. +- The extra P7 measured bank compiles only with `SONKU_P7_MEASURED_ELEVATION_RESEARCH=1`. No P7 installer redistribution is authorized yet; retain this MIT attribution and all third-party notices in any future test package. - **These are general-purpose nonindividualized HRIRs**. Front/rear externalization is NOT guaranteed. No dearVR code or IR is used. MIT License (MIT) diff --git a/engine/builtin_fx/SonKuSpatialProcessor.h b/engine/builtin_fx/SonKuSpatialProcessor.h index 2412d6c87..e1b3b20e3 100644 --- a/engine/builtin_fx/SonKuSpatialProcessor.h +++ b/engine/builtin_fx/SonKuSpatialProcessor.h @@ -1,6 +1,9 @@ // SPDX-License-Identifier: AGPL-3.0-only #pragma once #include "sonku/SonKuSpatialCore.h" +#if defined(ARMIX_SONKU_EXPERIMENTAL_P99_VOCAL_DEPTH) && ARMIX_SONKU_EXPERIMENTAL_P99_VOCAL_DEPTH +#include "sonku/SonKuP99DefaultOrbitStage.h" +#endif #include "FxSpsc.h" #include "../core/RealtimeNativeFxControl.h" #include @@ -10,7 +13,9 @@ // Built-in insert only; JUCE VST3 packaging is a separate adapter/quality gate. // Existing FX instance owns bypass, MIDI scratch, ChannelId, PDC and retirement. namespace armix::builtin_fx { -class SonKuSpatialProcessor final : public juce::AudioProcessor, +// Non-final native DSP owner intentionally supports *restricted* branded +// inserts sharing ONE PCM graph, without sharing their product defaults. +class SonKuSpatialProcessor : public juce::AudioProcessor, public armix::mixer::RealtimeNativeFxControl { public: static constexpr const char* catalogIdentity="armix.builtin.8d-sonku.v1"; @@ -18,7 +23,36 @@ class SonKuSpatialProcessor final : public juce::AudioProcessor, SonKuSpatialProcessor() : juce::AudioProcessor(BusesProperties() .withInput("Input",juce::AudioChannelSet::stereo(),true) - .withOutput("Output",juce::AudioChannelSet::stereo(),true)) {} + .withOutput("Output",juce::AudioChannelSet::stereo(),true)) { +#if defined(ARMIX_SONKU_EXPERIMENTAL_P99_VOCAL_DEPTH) && ARMIX_SONKU_EXPERIMENTAL_P99_VOCAL_DEPTH + // Approved operator settings as a NEW P9.9 factory Orbit default. + // Existing .smix restore/accepted realtime state is never remapped. + // Identical shared settings() are exercised in source and JUCE tests. + accepted_=armix::sonku::p99::DefaultOrbitStage::settings(); + p99ForSonKuProduct_=true; // explicit only for real 8D-SonKu +#elif defined(ARMIX_SONKU_EXPERIMENTAL_P95_MUSICAL_PRESENCE) && ARMIX_SONKU_EXPERIMENTAL_P95_MUSICAL_PRESENCE + // NEW inserts only. Restore from an existing .smix uses its saved + // settings verbatim; no automatic remapping of operator sessions. + // Signature reference is the operator's immersive 3.1m / full first + // reflection / 62% reverb scene with conservative native linked guard. + accepted_.renderMode=9; + accepted_.musicCompatibleLowFrequency=false; + accepted_.moving=true; + accepted_.revolutionSeconds=6.5f; + accepted_.stereoSpreadDegrees=82.f; + accepted_.spatialMix=1.f; + accepted_.outputTrim=1.9f; + accepted_.spacePreset=3; + accepted_.sourceDistanceMeters=3.1f; + accepted_.roomAmount=1.f; + accepted_.ambience=.62f; +#if defined(ARMIX_SONKU_EXPERIMENTAL_P98_SCENE_VOICING) && ARMIX_SONKU_EXPERIMENTAL_P98_SCENE_VOICING + // Only brand-new P9.8 inserts start in its actual flagship voicing. + // A restored v11 operator session still uses typed neutral 0. + accepted_.sceneVoicing=1; // SIGNATURE; not Venue. +#endif +#endif + } const juce::String getName() const override {return "8D-SonKu";} bool acceptsMidi() const override {return false;} bool producesMidi() const override {return false;} @@ -38,9 +72,31 @@ class SonKuSpatialProcessor final : public juce::AudioProcessor, && layout.getMainOutputChannelSet()==juce::AudioChannelSet::stereo(); } void prepareToPlay(double rate,int) override { - ready_=core_.prepare(rate); + // P6 is opt-in at build time on an unreleased test binary only. + // The render profile is immutable across native audio callbacks. +#if defined(ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT) && ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT + // Only an explicit native experimental build prepares six surfaces. + constexpr auto profile=armix::sonku::SonKuReflectionProfile::SixSurfaceKemarResearch; +#elif defined(ARMIX_SONKU_EXPERIMENTAL_DIRECTIONAL_RT) && ARMIX_SONKU_EXPERIMENTAL_DIRECTIONAL_RT + constexpr auto profile=armix::sonku::SonKuReflectionProfile::DirectionalKemar; +#else + constexpr auto profile=armix::sonku::SonKuReflectionProfile::Lightweight; +#endif +#if defined(ARMIX_SONKU_EXPERIMENTAL_P99_VOCAL_DEPTH) && ARMIX_SONKU_EXPERIMENTAL_P99_VOCAL_DEPTH + // Set once, OFF the callback: branded product instances inherit + // P9.8 core without unrequested P9.9 vocal processing. + if(p99ForSonKuProduct_)core_.optInP99ForSonKuInsert(); +#endif + ready_=core_.prepare(rate,profile); observedAzimuthDegrees_.store(accepted_.startAzimuthDegrees,std::memory_order_relaxed); if(ready_)ready_=core_.setSettings(accepted_); +#if defined(ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT + audioSettings_=accepted_; + modeFade_=1.f; + modePhase_=ModePhase::Stable; + modeTransitionPending_.store(false,std::memory_order_release); + modeStep_=static_cast(1./(rate*.012)); +#endif } void releaseResources() override {ready_=false;} void processBlock(juce::AudioBuffer& pcm,juce::MidiBuffer&) override { @@ -48,21 +104,70 @@ class SonKuSpatialProcessor final : public juce::AudioProcessor, if(!ready_||pcm.getNumChannels()<2||pcm.getNumSamples()<=0)return; consumeRealtimeEdits(); core_.process(pcm.getWritePointer(0),pcm.getWritePointer(1),pcm.getNumSamples()); +#if defined(ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT + // No extra PCM graph: click-safe fade OUT before changing the + // authoritative FIR speaker transfer, then IN on subsequent blocks. + // An APPLIED completion is published only AFTER core.setSettings(). + if(modePhase_!=ModePhase::Stable){ + auto* l=pcm.getWritePointer(0); + auto* r=pcm.getWritePointer(1); + for(int i=0;i(core_.azimuthDegrees()), std::memory_order_relaxed); } void processBlock(juce::AudioBuffer&,juce::MidiBuffer&) override {} void consumeRealtimeEdits() noexcept override { Edit next; - if(!ready_||!complete_.canPush()||!queue_.pop(next))return; + if(!ready_||!complete_.canPush())return; +#if defined(ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT + if(modePhase_!=ModePhase::Stable)return; +#endif + if(!queue_.pop(next))return; +#if defined(ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT + // Logical/unpublished FX has NO callback: apply directly so + // an offline .smix edit can be saved instead of hanging in fade. + if(published_ && + (next.settings.renderMode!=audioSettings_.renderMode || + next.settings.musicCompatibleLowFrequency!= + audioSettings_.musicCompatibleLowFrequency || + next.settings.headYawDegrees!=audioSettings_.headYawDegrees)){ + stagedModeEdit_=next; + modeTransitionPending_.store(true,std::memory_order_release); + modePhase_=ModePhase::FadingOut; + return; // ACK only after the actual audio-side mode switch + } +#endif const bool ok=core_.setSettings(next.settings); +#if defined(ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT + if(ok)audioSettings_=next.settings; +#endif complete_.push({next.requestId,next.settings,ok}); } // Control thread: returns QUEUED, not accepted/applied. Host native ACK // is permitted only after corresponding completion/readback. bool queueSettings(const armix::sonku::Settings& next,std::uint64_t requestId) noexcept { return ready_&&requestId&&armix::sonku::valid(next) - &&queue_.push(Edit{requestId,next}); + &&admitQueuedScene(next)&&queue_.push(Edit{requestId,next}); } bool pollCompletion(Completion& done) noexcept { if(!complete_.pop(done))return false; @@ -71,18 +176,65 @@ class SonKuSpatialProcessor final : public juce::AudioProcessor, } armix::sonku::Settings acceptedSettings() const noexcept {return accepted_;} bool isReady() const noexcept {return ready_;} + armix::sonku::SonKuReflectionProfile preparedReflectionProfile() const noexcept { + return core_.preparedReflectionProfile(); + } float observedAzimuthDegrees() const noexcept { return observedAzimuthDegrees_.load(std::memory_order_relaxed); } void sealForRealtime() noexcept override {published_=true;} bool stateSnapshotQuiescent() const noexcept override { - return queue_.empty()&&complete_.empty(); + return queue_.empty()&&complete_.empty() +#if defined(ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT + && !modeTransitionPending_.load(std::memory_order_acquire) +#endif + ; } // CONTROL only; state is accepted, not speculative or PCM-owned. void getStateInformation(juce::MemoryBlock& dest) override { juce::MemoryOutputStream out(dest,false); out.writeInt(0x534F4E4B); // SONK +#if defined(ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT) && ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT +#if defined(ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT +#if defined(ARMIX_SONKU_EXPERIMENTAL_P84_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P84_NATIVE_RT +#if defined(ARMIX_SONKU_EXPERIMENTAL_P85_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P85_NATIVE_RT +#if defined(ARMIX_SONKU_EXPERIMENTAL_P86_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P86_NATIVE_RT +#if defined(ARMIX_SONKU_EXPERIMENTAL_P87_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P87_NATIVE_RT +#if defined(ARMIX_SONKU_EXPERIMENTAL_P88_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P88_NATIVE_RT +#if defined(ARMIX_SONKU_EXPERIMENTAL_P89_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P89_NATIVE_RT +#if defined(ARMIX_SONKU_EXPERIMENTAL_P90_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P90_NATIVE_RT +#if defined(ARMIX_SONKU_EXPERIMENTAL_P98_SCENE_VOICING) && ARMIX_SONKU_EXPERIMENTAL_P98_SCENE_VOICING + out.writeInt(12); // P9.8 append-only typed voicing, 67 bytes +#else + out.writeInt(11); // unchanged 63-byte state; P9 mode 9 +#endif +#else + out.writeInt(10); // 63 bytes v9 layout, opt-in mode 8 +#endif +#else + out.writeInt(9); // v8 59-byte state + 4-byte HRTF trim +#endif +#else + out.writeInt(8); // same 59-byte layout; modes 0/3/4/5/6 +#endif +#else + out.writeInt(7); // 59-byte layout; mode 5, old sessions intact +#endif +#else + out.writeInt(6); // unchanged 59-byte state; P8.5 is opt-in mode 4 +#endif +#else + out.writeInt(5); // same 59-byte layout as v4, new P8.4 mode +#endif +#else + out.writeInt(4); +#endif +#else + out.writeInt(3); +#endif +#else out.writeInt(2); +#endif out.writeFloat(accepted_.startAzimuthDegrees); out.writeFloat(accepted_.revolutionSeconds); out.writeFloat(accepted_.stereoSpreadDegrees); @@ -94,15 +246,107 @@ class SonKuSpatialProcessor final : public juce::AudioProcessor, out.writeFloat(accepted_.sourceDistanceMeters); out.writeFloat(accepted_.roomAmount); out.writeFloat(accepted_.ambience); +#if defined(ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT) && ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT + out.writeFloat(accepted_.directElevationDegrees); +#endif +#if defined(ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT + out.writeInt(accepted_.renderMode); + out.writeByte(accepted_.musicCompatibleLowFrequency?1:0); + out.writeFloat(accepted_.headYawDegrees); +#endif +#if defined(ARMIX_SONKU_EXPERIMENTAL_P88_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P88_NATIVE_RT + out.writeFloat(accepted_.hrtfElevationTrimDegrees); +#endif +#if defined(ARMIX_SONKU_EXPERIMENTAL_P98_SCENE_VOICING) && ARMIX_SONKU_EXPERIMENTAL_P98_SCENE_VOICING + out.writeInt(accepted_.sceneVoicing); +#endif } bool restoreUnpublishedState(const void* data,int size) { - if(published_||!data||(size!=30&&size!=46)|| + if(published_||!data|| +#if defined(ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT) && ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT +#if defined(ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT +#if defined(ARMIX_SONKU_EXPERIMENTAL_P88_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P88_NATIVE_RT +#if defined(ARMIX_SONKU_EXPERIMENTAL_P98_SCENE_VOICING) && ARMIX_SONKU_EXPERIMENTAL_P98_SCENE_VOICING + (size!=30&&size!=46&&size!=50&&size!=59&&size!=63&&size!=67)|| +#else + (size!=30&&size!=46&&size!=50&&size!=59&&size!=63)|| +#endif +#else + (size!=30&&size!=46&&size!=50&&size!=59)|| +#endif +#else + (size!=30&&size!=46&&size!=50)|| +#endif +#else + (size!=30&&size!=46)|| +#endif !queue_.empty()||!complete_.empty())return false; juce::MemoryInputStream in(data,static_cast(size),false); if(in.readInt()!=0x534F4E4B)return false; const int version=in.readInt(); - if((version!=1&&version!=2)|| - (version==1&&size!=30)||(version==2&&size!=46))return false; + if((version!=1&&version!=2 +#if defined(ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT) && ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT + &&version!=3 +#if defined(ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT + &&version!=4 +#if defined(ARMIX_SONKU_EXPERIMENTAL_P84_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P84_NATIVE_RT + &&version!=5 +#if defined(ARMIX_SONKU_EXPERIMENTAL_P85_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P85_NATIVE_RT + &&version!=6 +#if defined(ARMIX_SONKU_EXPERIMENTAL_P86_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P86_NATIVE_RT + &&version!=7 +#if defined(ARMIX_SONKU_EXPERIMENTAL_P87_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P87_NATIVE_RT + &&version!=8 +#if defined(ARMIX_SONKU_EXPERIMENTAL_P88_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P88_NATIVE_RT + &&version!=9 +#if defined(ARMIX_SONKU_EXPERIMENTAL_P89_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P89_NATIVE_RT + &&version!=10 +#if defined(ARMIX_SONKU_EXPERIMENTAL_P90_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P90_NATIVE_RT + &&version!=11 +#if defined(ARMIX_SONKU_EXPERIMENTAL_P98_SCENE_VOICING) && ARMIX_SONKU_EXPERIMENTAL_P98_SCENE_VOICING + &&version!=12 +#endif +#endif +#endif +#endif +#endif +#endif +#endif +#endif +#endif +#endif + ) || (version==1&&size!=30)||(version==2&&size!=46) +#if defined(ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT) && ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT + ||(version==3&&size!=50) +#if defined(ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT + ||(version==4&&size!=59) +#if defined(ARMIX_SONKU_EXPERIMENTAL_P84_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P84_NATIVE_RT + ||(version==5&&size!=59) +#if defined(ARMIX_SONKU_EXPERIMENTAL_P85_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P85_NATIVE_RT + ||(version==6&&size!=59) +#if defined(ARMIX_SONKU_EXPERIMENTAL_P86_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P86_NATIVE_RT + ||(version==7&&size!=59) +#if defined(ARMIX_SONKU_EXPERIMENTAL_P87_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P87_NATIVE_RT + ||(version==8&&size!=59) +#if defined(ARMIX_SONKU_EXPERIMENTAL_P88_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P88_NATIVE_RT + ||(version==9&&size!=63) +#if defined(ARMIX_SONKU_EXPERIMENTAL_P89_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P89_NATIVE_RT + ||(version==10&&size!=63) +#if defined(ARMIX_SONKU_EXPERIMENTAL_P90_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P90_NATIVE_RT + ||(version==11&&size!=63) +#if defined(ARMIX_SONKU_EXPERIMENTAL_P98_SCENE_VOICING) && ARMIX_SONKU_EXPERIMENTAL_P98_SCENE_VOICING + ||(version==12&&size!=67) +#endif +#endif +#endif +#endif +#endif +#endif +#endif +#endif +#endif +#endif + )return false; armix::sonku::Settings next{}; next.startAzimuthDegrees=in.readFloat(); next.revolutionSeconds=in.readFloat(); @@ -110,17 +354,97 @@ class SonKuSpatialProcessor final : public juce::AudioProcessor, next.spatialMix=in.readFloat(); next.outputTrim=in.readFloat(); const int moving=in.readByte(),clockwise=in.readByte(); - if(moving>1||clockwise>1)return false; + // JUCE readByte() may return a SIGNED char. Reject -1/0xFF, + // not just values above 1, for every v1/v2/v3/v4 restoration. + if((moving!=0&&moving!=1)||(clockwise!=0&&clockwise!=1)) + return false; next.moving=moving!=0; next.clockwise=clockwise!=0; - if(version==2) { + if(version>=2) { next.spacePreset=in.readInt(); next.sourceDistanceMeters=in.readFloat(); next.roomAmount=in.readFloat(); next.ambience=in.readFloat(); } - // Old v1 .smix restores to HRTF-only. New v2 carries the acoustic - // scene, but never allows malformed/partial state into live PCM. +#if defined(ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT) && ARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT + if(version>=3)next.directElevationDegrees=in.readFloat(); +#endif +#if defined(ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT + if(version>=4){ + next.renderMode=in.readInt(); + const int music=in.readByte(); + if(music!=0&&music!=1)return false; + next.musicCompatibleLowFrequency=music!=0; + next.headYawDegrees=in.readFloat(); +#if defined(ARMIX_SONKU_EXPERIMENTAL_P84_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P84_NATIVE_RT + // Critical headphone FAT v4 backward-safety: old P8.3 + // physical/mono session must NOT silently restore the + // owner-rejected renderer in the new research candidate. + // Explicitly migrate old v4 non-P8.2 to golden Music Bed. + if(version==4) { + // All legacy v4 Speaker LF flags are discarded, even for + // a v4 P8.2 MusicBed session. P8.4 v5 exposes NO LF480 path. + next.musicCompatibleLowFrequency=false; + if(next.renderMode!=0) { + next.renderMode=0; + next.headYawDegrees=0.f; + } + } + if(version==5 && + (next.renderMode!=0 && next.renderMode!=3)) + return false; + if(version==5 && next.musicCompatibleLowFrequency) + return false; +#if defined(ARMIX_SONKU_EXPERIMENTAL_P85_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P85_NATIVE_RT + // Preserve legacy P8.4 mode=3 on v5 restore. Never revive v4 + // rejected physical modes; v6 permits only music modes 0/3/4. + if(version==6 && next.renderMode!=0 && next.renderMode!=3 && next.renderMode!=4) + return false; + if(version==6 && next.musicCompatibleLowFrequency)return false; +#if defined(ARMIX_SONKU_EXPERIMENTAL_P86_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P86_NATIVE_RT + // P8.6 mode 5 is opt-in only. v6 mode 4 is never migrated. + if(version==7 && next.renderMode!=0 && next.renderMode!=3 && + next.renderMode!=4 && next.renderMode!=5)return false; + if(version==7 && next.musicCompatibleLowFrequency)return false; +#if defined(ARMIX_SONKU_EXPERIMENTAL_P87_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P87_NATIVE_RT + if(version==8 && next.renderMode!=0 && next.renderMode!=3 && + next.renderMode!=4 && next.renderMode!=5 && next.renderMode!=6)return false; + if(version==8 && next.musicCompatibleLowFrequency)return false; +#if defined(ARMIX_SONKU_EXPERIMENTAL_P88_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P88_NATIVE_RT + if(version==9 && next.renderMode!=0 && next.renderMode!=3 && next.renderMode!=4 && next.renderMode!=5 && next.renderMode!=6 && next.renderMode!=7)return false; + if(version==9 && next.musicCompatibleLowFrequency)return false; +#if defined(ARMIX_SONKU_EXPERIMENTAL_P89_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P89_NATIVE_RT + if(version==10 && next.renderMode!=0 && next.renderMode!=3 && + next.renderMode!=4 && next.renderMode!=5 && next.renderMode!=6 && + next.renderMode!=7 && next.renderMode!=8)return false; + if(version==10 && next.musicCompatibleLowFrequency)return false; +#if defined(ARMIX_SONKU_EXPERIMENTAL_P90_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P90_NATIVE_RT + // Both v11 and append-only v12 forbid retired P8.3 modes. + // A v12 state with voicing=0 still cannot restore mode 1/2. + if(version>=11 && next.renderMode!=0 && next.renderMode!=3 && + next.renderMode!=4 && next.renderMode!=5 && next.renderMode!=6 && + next.renderMode!=7 && next.renderMode!=8 && next.renderMode!=9) + return false; + if(version>=11 && next.musicCompatibleLowFrequency)return false; +#endif +#endif +#endif +#endif +#endif +#endif +#endif + } +#endif +#if defined(ARMIX_SONKU_EXPERIMENTAL_P88_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P88_NATIVE_RT + if(version>=9)next.hrtfElevationTrimDegrees=in.readFloat(); +#endif +#if defined(ARMIX_SONKU_EXPERIMENTAL_P98_SCENE_VOICING) && ARMIX_SONKU_EXPERIMENTAL_P98_SCENE_VOICING + if(version>=12)next.sceneVoicing=in.readInt(); + // Old v11 sessions restore neutral (exact P9.7) until preset chosen. +#endif + // v1 OFF, v2 original scene; experimental v3 includes direct + // elevation, and is rejected by ordinary public v2 builds. + // Never accept a partial or malformed native FX state. if(!in.isExhausted())return false; if(!armix::sonku::valid(next))return false; if(ready_&&!core_.setSettings(next))return false; @@ -130,13 +454,54 @@ class SonKuSpatialProcessor final : public juce::AudioProcessor, void setStateInformation(const void* data,int size) override { (void)restoreUnpublishedState(data,size); } +protected: + // Product-specific admission is a CONTROL-thread operation; the audio + // callback still owns the same core, edit queue and applied ACK. + virtual bool admitQueuedScene( + const armix::sonku::Settings&) const noexcept {return true;} + + // Branded insert constructor never borrows SonKu's newly approved + // ORBIT STAGE default or P9.9 sonic character. A derived product + // explicitly supplies its own scene and may adopt P9.9 separately. + explicit SonKuSpatialProcessor(const armix::sonku::Settings& initial) + : juce::AudioProcessor(BusesProperties() + .withInput("Input",juce::AudioChannelSet::stereo(),true) + .withOutput("Output",juce::AudioChannelSet::stereo(),true)), + accepted_(initial) {} + + // Only unpublished native instances may restore their own branded + // state; never overwrite an active PCM graph or queued transaction. + bool adoptUnpublishedScene(const armix::sonku::Settings& next) noexcept { + if(published_ || !armix::sonku::valid(next) || + !admitQueuedScene(next) || + !queue_.empty() || !complete_.empty())return false; + if(ready_ && !core_.setSettings(next))return false; + accepted_=next; +#if defined(ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT + audioSettings_=next; +#endif + observedAzimuthDegrees_.store(next.startAzimuthDegrees, + std::memory_order_relaxed); + return true; + } private: struct Edit {std::uint64_t requestId=0;armix::sonku::Settings settings{};}; armix::sonku::SonKuSpatialCore core_{}; +#if defined(ARMIX_SONKU_EXPERIMENTAL_P99_VOCAL_DEPTH) && ARMIX_SONKU_EXPERIMENTAL_P99_VOCAL_DEPTH + bool p99ForSonKuProduct_=false; // no shared-core vocal leak +#endif FxSpsc queue_{}; FxSpsc complete_{}; armix::sonku::Settings accepted_{}; std::atomic observedAzimuthDegrees_{0.f}; +#if defined(ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT) && ARMIX_SONKU_EXPERIMENTAL_P83_NATIVE_RT + enum class ModePhase : std::uint8_t { Stable, FadingOut, FadingIn }; + Edit stagedModeEdit_{}; + armix::sonku::Settings audioSettings_{}; + ModePhase modePhase_=ModePhase::Stable; + std::atomic modeTransitionPending_{false}; + float modeFade_=1.f,modeStep_=0.f; +#endif bool ready_=false; bool published_=false; }; diff --git a/engine/builtin_fx/sonku/SonKuEarlyReflections.h b/engine/builtin_fx/sonku/SonKuEarlyReflections.h index 92aeebf05..46209c6b8 100644 --- a/engine/builtin_fx/sonku/SonKuEarlyReflections.h +++ b/engine/builtin_fx/sonku/SonKuEarlyReflections.h @@ -5,11 +5,27 @@ #include #include #include +#include "SonKuMeasuredHrir.h" +#if defined(SONKU_P83_PHYSICAL_SPEAKER_RESEARCH) && SONKU_P83_PHYSICAL_SPEAKER_RESEARCH +#include "SonKuP83SpeakerScene.h" +#endif +#if defined(SONKU_P82_MULTIBAND_ROOM_RESEARCH) && SONKU_P82_MULTIBAND_ROOM_RESEARCH +#include "SonKuRoomMaterials.h" +#endif +// The full licensed multi-elevation dataset and geometry are excluded from +// default/public builds at preprocess time: no extra DSP or data cost. +#if defined(SONKU_P7_MEASURED_ELEVATION_RESEARCH) && SONKU_P7_MEASURED_ELEVATION_RESEARCH +#include "SonKuMeasuredHrir3D.h" +#include "SonKuVerticalImageSource.h" +#if defined(SONKU_P71_DIRECT_XYZ_RESEARCH) && SONKU_P71_DIRECT_XYZ_RESEARCH +#include "SonKuSourcePlacement3D.h" +#endif +#endif -// Bounded, first-order image-source room for headphone externalization trials. -// Reflection image geometry follows Allen & Berkley (JASA, 1979), not -// randomized stereo delays. The ears use lightweight ITD/ILD approximation; -// this is NOT an HRTF-convolved reflection / arbitrary geometry simulation. +// Bounded first-order image-source room (Allen & Berkley JASA, 1979). +// LIGHT uses the original small ITD/ILD approximation; P6 uses measured +// horizontal KEMAR; P7 research adds physically delayed floor and ceiling +// with the measured elevation KEMAR HRIR. This is NOT proprietary dearVR BRIR. // No allocation, locks, worker, I/O, FFT or second device callback. namespace armix::sonku { enum class SonKuRoomShape : std::uint8_t { Rectangular=0, Square=1 }; @@ -18,22 +34,61 @@ enum class SonKuRoomShape : std::uint8_t { Rectangular=0, Square=1 }; // No realtime mutation or native state schema is published by this experiment. struct SonKuRoomGeometry { float widthMeters=7.2f,depthMeters=7.2f,distanceMeters=1.6f; + // Research-only dimensions, no public .smix schema change. + float heightMeters=3.2f,listenerHeightMeters=1.45f,sourceHeightMeters=1.45f; +}; +// One render profile is admitted at prepare time, never switched inside PCM. +// The measured horizontal KEMAR path remains experimental until ASIO/AB FAT. +enum class SonKuReflectionProfile : std::uint8_t { + Lightweight=0, DirectionalKemar=1, SixSurfaceKemarResearch=2 }; class SonKuEarlyReflections final { public: struct Ears {float left=0.f,right=0.f;}; - static constexpr int wallCount=4; + static constexpr int wallCount=4; // original wall paths remain exact +#if defined(SONKU_P7_MEASURED_ELEVATION_RESEARCH) && SONKU_P7_MEASURED_ELEVATION_RESEARCH + static constexpr int maxWallCount=6; // add floor/ceiling only to P7 +#else + static constexpr int maxWallCount=wallCount; +#endif static constexpr int sourceCount=2; static constexpr int ringFrames=8192; static constexpr int geometryInterval=64; - bool prepare(double rate) noexcept { + bool prepare(double rate, SonKuReflectionProfile profile= + SonKuReflectionProfile::Lightweight) noexcept { ready_=false; + if(profile!=SonKuReflectionProfile::Lightweight && + profile!=SonKuReflectionProfile::DirectionalKemar +#if defined(SONKU_P7_MEASURED_ELEVATION_RESEARCH) && SONKU_P7_MEASURED_ELEVATION_RESEARCH + && profile!=SonKuReflectionProfile::SixSurfaceKemarResearch +#endif + )return false; if(!std::isfinite(rate) || (std::abs(rate-44100.)>.1 && std::abs(rate-48000.)>.1))return false; rate_=static_cast(rate); +#if defined(SONKU_P82_MULTIBAND_ROOM_RESEARCH) && SONKU_P82_MULTIBAND_ROOM_RESEARCH + multibandRoom_=profile==SonKuReflectionProfile::SixSurfaceKemarResearch; + // All per-wall material pressure coefficients and crossover poles + // are prepared OFF the realtime callback; audio only multiplies. + preparedWallPressure_=room82::preparePressure(); + constexpr double pi=3.14159265358979323846; + roomLowAlpha_=static_cast(1.-std::exp(-2.*pi*250./rate)); + roomHighAlpha_=static_cast(1.-std::exp(-2.*pi*4800./rate)); +#endif delaySlew_=static_cast(1.-std::exp(-1./(rate*0.024))); gainSlew_=static_cast(1.-std::exp(-1./(rate*0.012))); amountSlew_=static_cast(1.-std::exp(-1./(rate*0.010))); + kernelSlew_=static_cast(1.-std::exp(-1./(rate*0.008))); + // Match the sample-rate tolerance admitted by both native cores; an + // ASIO rate close to 44100 must never index the 48k measured HRIR. + hrirBank_=(std::abs(rate-44100.)<=.1)?hrir::normal44100:hrir::normal48000; + profile_=profile; + // P6: select the exact P2+P3+P4 kernels before publishing this + // instance. No runtime transition, heap, mode queue or graph fork. + directionalHrir_=profile!=SonKuReflectionProfile::Lightweight; + fastZeroSpread_=directionalHrir_; + fastContiguousHrir_=directionalHrir_; + realtimeMode_=false; reset(); ready_=true; return true; @@ -44,7 +99,41 @@ class SonKuEarlyReflections final { for(auto& paths:tap_)for(auto& p:paths)p=Tap{}; write_=0;untilGeometry_=0;primed_=false;validFrames_=0; amount_=0.f; + fuseEligible_=true; + } + SonKuReflectionProfile preparedProfile() const noexcept{return profile_;} + // OFFLINE A/B ONLY: existing approved room mode remains bit-exact by + // default. Reject mode changes while active; no public state/GUI switch. + bool setDirectionalHrir(bool enabled) noexcept { + if(profile_!=SonKuReflectionProfile::Lightweight || active())return false; + directionalHrir_=enabled; + if(!enabled){fastZeroSpread_=false;fastContiguousHrir_=false;} + fuseEligible_=true; + untilGeometry_=0;primed_=false; + return true; + } + bool directionalHrirEnabled() const noexcept{return directionalHrir_;} + // Offline-only P3 exact-linear four-wall source fusion. Valid ONLY + // while both emitters share the same direction (spread == 0). + // This changes no public settings or live graph authority. + bool setDirectionalZeroSpreadFusion(bool enabled) noexcept { + if(profile_!=SonKuReflectionProfile::Lightweight || + active() || (enabled && !directionalHrir_))return false; + fastZeroSpread_=enabled; + fuseEligible_=true; + return true; } + bool zeroSpreadFusionEnabled() const noexcept{return fastZeroSpread_;} + // P4 experimental, inactive-only: eliminate per-tap circular masking + // when the delayed 140-tap HRIR FIR window is wholly in one ring span. + // No duplicated ring storage and no HRIR coefficient truncation. + bool setDirectionalContiguousHrir(bool enabled) noexcept { + if(profile_!=SonKuReflectionProfile::Lightweight || + active() || (enabled && !directionalHrir_))return false; + fastContiguousHrir_=enabled; + return true; + } + bool contiguousHrirEnabled() const noexcept{return fastContiguousHrir_;} // Deliberately experimental and OFF by default. Legacy 8/8 direction // baseline stays bit-identical. A/B is set on an unpublished/offline core // until headphone, CPU and device gates approve native publication. @@ -97,8 +186,27 @@ class SonKuEarlyReflections final { bool enabled) noexcept { if(!std::isfinite(amount)||amount<0.f||amount>1.f)return false; if(enabled && !validGeometry(g))return false; +#if defined(SONKU_P7_MEASURED_ELEVATION_RESEARCH) && SONKU_P7_MEASURED_ELEVATION_RESEARCH + if(enabled && profile_==SonKuReflectionProfile::SixSurfaceKemarResearch && + !sixsurface::fitsDelayRing( + {g.heightMeters,g.listenerHeightMeters,g.sourceHeightMeters}, + (g.distanceMeters!=0.f? + std::sqrt(std::max(0.f,g.distanceMeters*g.distanceMeters- + (g.sourceHeightMeters-g.listenerHeightMeters)* + (g.sourceHeightMeters-g.listenerHeightMeters))):0.f), + rate_,ringFrames,hrir::taps))return false; +#endif if(!active() && enabled && amount>0.f){ validFrames_=0; lowpass_.fill(0.f); +#if defined(SONKU_P82_MULTIBAND_ROOM_RESEARCH) && SONKU_P82_MULTIBAND_ROOM_RESEARCH + // No stale material-filter energy after OFF→ON. Small, fixed + // 2-source×6-wall state reset; never clear the 8192-frame ring. + if(multibandRoom_) + for(auto& source:tap_)for(auto& tap:source) { + tap.bandLowL=tap.bandWideL=0.f; + tap.bandLowR=tap.bandWideR=0.f; + } +#endif } if(enabled){ geometry_=g;custom_=true;shape_=SonKuRoomShape::Square; @@ -110,16 +218,32 @@ class SonKuEarlyReflections final { untilGeometry_=0; return true; } +#if defined(SONKU_P83_PHYSICAL_SPEAKER_RESEARCH) && SONKU_P83_PHYSICAL_SPEAKER_RESEARCH + bool setResearchWallMask(std::uint8_t mask) noexcept { + if(validFrames_!=0 || (mask & ~0x3fu)!=0u)return false; + p83WallMask_=mask; + return true; + } +#endif float relativeDistanceGain() const noexcept { return custom_?1.6f/geometry_.distanceMeters:1.f; } SonKuRoomShape shape() const noexcept {return shape_;} bool active() const noexcept {return ready_&&(amount_>0.f||amountTarget_>0.f);} float targetAmount() const noexcept {return amountTarget_;} - Ears process(float left,float right,double azimuth,float spread) noexcept { + int activeWallCount() const noexcept { +#if defined(SONKU_P7_MEASURED_ELEVATION_RESEARCH) && SONKU_P7_MEASURED_ELEVATION_RESEARCH + return profile_==SonKuReflectionProfile::SixSurfaceKemarResearch + ?maxWallCount:wallCount; +#else + return wallCount; // original shipping source optimizes to 4 +#endif + } + Ears process(float left,float right,double azimuth,float spread, + float headYawDegrees=0.f,bool horizontalFocus=false) noexcept { if(!active())return {}; if(untilGeometry_==0){ - updateGeometry(azimuth,spread); + updateGeometry(azimuth,spread,headYawDegrees); untilGeometry_=geometryInterval; } const float x[2]{std::isfinite(left)?left:0.f, @@ -127,23 +251,177 @@ class SonKuEarlyReflections final { for(int s=0;s(ringFrames-hrir::taps-3)); + const int d=static_cast(delay); + const float frac=delay-d; + const int idx=(write_-d)&(ringFrames-1); + const auto& signal=history_[s]; + float l=0.f,r=0.f; + // ROOM may have been OFF for a long time without writing + // new audio into history_. After reactivation never read + // old, pre-OFF samples as new directional reflections. + // The fractional-delay source requires both adjacent + // samples to be from the current activation epoch. + // Zero-filling a 64KiB ring inside the callback is banned. + const int freshTaps=realtimeMode_? + std::clamp(validFrames_-d,0,hrir::taps):hrir::taps; +#if !defined(SONKU_P71_DIRECT_XYZ_RESEARCH) || !SONKU_P71_DIRECT_XYZ_RESEARCH + const bool warming=freshTaps{hL,hR}; + }; + const auto render=[&](auto&& sample) noexcept { + for(int k=0;k=freshTaps) + ?0.f:sample(k); + auto& hL=p.kernel[0][k]; + auto& hR=p.kernel[1][k]; + hL+=kernelSlew_*(p.targetKernel[0][k]-hL); + hR+=kernelSlew_*(p.targetKernel[1][k]-hR); + if(fused){ + tap_[1][wall].kernel[0][k]=hL; + tap_[1][wall].kernel[1][k]=hR; + } + l+=v*hL;r+=v*hR; + } + }; +#endif + if(fastContiguousHrir_ && idx>=hrir::taps){ + // For 8052/8192 ring positions the entire 140-tap + // window is continuous; no wrap mask inside FIR. + const float* first=signal.data()+idx; + const float* second=history_[1].data()+idx; + render([&](int k) noexcept { + return fused + ?((1.f-frac)*(first[-k]+second[-k])+ + frac*(first[-k-1]+second[-k-1])) + :((1.f-frac)*first[-k]+frac*first[-k-1]); + }); + }else{ + // Exact, original masked circular reference path, + // used for all non-opt-in and near-wrap samples. + render([&](int k) noexcept { + const int at=(idx-k)&(ringFrames-1); + const int prev=(at-1)&(ringFrames-1); + return fused + ?((1.f-frac)*(signal[at]+history_[1][at])+ + frac*(signal[prev]+history_[1][prev])) + :((1.f-frac)*signal[at]+frac*signal[prev]); + }); + } + if(fused){ + auto& second=tap_[1][wall]; + second.delayL=p.delayL;second.delayR=p.delayR; + second.gainL=p.gainL;second.gainR=p.gainR; + } +#if defined(SONKU_P82_MULTIBAND_ROOM_RESEARCH) && SONKU_P82_MULTIBAND_ROOM_RESEARCH + if(multibandRoom_) { + // Same minimum-phase spectral boundary on BOTH + // measured ears. This preserves HRTF ITD/ILD while + // giving left/front/floor/ceiling distinct materials. + // Bands are LF<250, 250..4800, HF>4800Hz. + const auto bandpass=[&](float sample, + float& low,float& wide) noexcept -> float { + low+=roomLowAlpha_*(sample-low); + wide+=roomHighAlpha_*(sample-wide); + return p.materialPressure[0]*low+ + p.materialPressure[1]*(wide-low)+ + p.materialPressure[2]*(sample-wide); + }; + l=bandpass(l,p.bandLowL,p.bandWideL); + r=bandpass(r,p.bandLowR,p.bandWideR); + } +#endif +#if defined(SONKU_P83_PHYSICAL_SPEAKER_RESEARCH) && SONKU_P83_PHYSICAL_SPEAKER_RESEARCH + if((p83WallMask_ & (1u<=wallCount){ + const float verticalWeight=wall==wallCount?.24f:.15f; + output.left+=verticalWeight*(p.gainL*l); + output.right+=verticalWeight*(p.gainR*r); + }else{ + output.left+=p.gainL*l; + output.right+=p.gainR*r; + } +#if defined(SONKU_P83_PHYSICAL_SPEAKER_RESEARCH) && SONKU_P83_PHYSICAL_SPEAKER_RESEARCH + } +#endif + }else{ + if(horizontalFocus && wall>=wallCount){ + const float verticalWeight=wall==wallCount?.24f:.15f; + output.left+=verticalWeight*(p.gainL*delayed(s,p.delayL)); + output.right+=verticalWeight*(p.gainR*delayed(s,p.delayR)); + }else{ + output.left+=p.gainL*delayed(s,p.delayL); + output.right+=p.gainR*delayed(s,p.delayR); + } + } } } write_=(write_+1)&(ringFrames-1); @@ -160,6 +438,12 @@ class SonKuEarlyReflections final { float delayL=1.f,delayR=1.f,gainL=0.f,gainR=0.f; float targetDelayL=1.f,targetDelayR=1.f; float targetGainL=0.f,targetGainR=0.f; + using EarBank=std::array,2>; + EarBank kernel{},targetKernel{}; +#if defined(SONKU_P82_MULTIBAND_ROOM_RESEARCH) && SONKU_P82_MULTIBAND_ROOM_RESEARCH + room82::Bands materialPressure{1.f,1.f,1.f}; + float bandLowL=0.f,bandWideL=0.f,bandLowR=0.f,bandWideR=0.f; +#endif }; float delayed(int source,float delay) const noexcept { // Fractional delay interpolated in a fixed-size power-of-two ring. @@ -173,9 +457,22 @@ class SonKuEarlyReflections final { const int i1=(i0-1)&(ringFrames-1); return history_[source][i0]*(1.f-fract)+history_[source][i1]*fract; } - void updateGeometry(double azimuth,float spread) noexcept { + void updateGeometry(double azimuth,float spread,float headYawDegrees) noexcept { + // Used only by world-yaw research variants; keep P6/P8.4 -Werror builds valid. + (void)headYawDegrees; constexpr float pi=3.14159265358979323846f; const float sourceDistance=custom_?geometry_.distanceMeters:1.60f; + // The existing four-wall path stays bit-exact at equal source/ear + // height. Only explicitly enabled research geometry projects true XYZ. + float horizontalDistance=sourceDistance,dz=0.f; +#if defined(SONKU_P71_DIRECT_XYZ_RESEARCH) && SONKU_P71_DIRECT_XYZ_RESEARCH + if(profile_==SonKuReflectionProfile::SixSurfaceKemarResearch && + geometry_.sourceHeightMeters!=geometry_.listenerHeightMeters) { + dz=geometry_.sourceHeightMeters-geometry_.listenerHeightMeters; + horizontalDistance=std::sqrt(std::max(0.f, + sourceDistance*sourceDistance-dz*dz)); + } +#endif // Preserve the approved 7.2m/1.6m path exactly when custom_ is false. // A wider room changes physical image paths, not KEMAR azimuth signs. const float halfWidth=custom_?geometry_.widthMeters*.5f: @@ -191,33 +488,85 @@ class SonKuEarlyReflections final { const float degrees=static_cast(azimuth) +(source==0?-.5f:.5f)*spread; const float rad=degrees*(pi/180.f); - const float sx=sourceDistance*std::sin(rad); - const float sy=sourceDistance*std::cos(rad); + const float sx=horizontalDistance*std::sin(rad); + const float sy=horizontalDistance*std::cos(rad); const std::array,wallCount> images{{ {{-2.f*halfWidth-sx,sy}},{{2.f*halfWidth-sx,sy}}, {{sx,2.f*halfDepth-sy}},{{sx,-2.f*halfDepth-sy}} }}; for(int wall=0;wall(ringFrames-3)); - tap.targetDelayR=std::clamp(common-earDelta,1.f, + tap.targetDelayR=std::clamp(common-(directionalHrir_?0.f:earDelta),1.f, static_cast(ringFrames-3)); - tap.targetGainL=level*(1.f-.13f*directionX); - tap.targetGainR=level*(1.f+.13f*directionX); + tap.targetGainL=level*(directionalHrir_?1.f:(1.f-.13f*directionX)); + tap.targetGainR=level*(directionalHrir_?1.f:(1.f+.13f*directionX)); + if(directionalHrir_){ + // The IMAGE-source arrival angle, NOT source azimuth. + // World room image is fixed; head orientation rotates + // only the ear-relative direction. Wrap BEFORE indexing + // measured 0..180 KEMAR, otherwise yaw 260 clamps to REAR. + const float worldDir=std::atan2(x,y)*180.f/pi; +#if defined(SONKU_P83_PHYSICAL_SPEAKER_RESEARCH) && SONKU_P83_PHYSICAL_SPEAKER_RESEARCH + const float dir=headYawDegrees==0.f?worldDir: + p83::toHead(worldDir,headYawDegrees); +#else + const float dir=worldDir; +#endif +#if defined(SONKU_P71_DIRECT_XYZ_RESEARCH) && SONKU_P71_DIRECT_XYZ_RESEARCH + if(profile_==SonKuReflectionProfile::SixSurfaceKemarResearch && + dz!=0.f){ + hrir3d::interpolate(dir,std::atan2(dz,planarPath)*180.f/pi, + std::abs(rate_-44100.f)<.1f, + tap.targetKernel); + if(!primed_)tap.kernel=tap.targetKernel; + }else +#endif + { + const float pos=std::abs(dir)/hrir::spacingDegrees; + const int lo=std::clamp(static_cast(pos),0, + hrir::directions-1); + const int hi=std::min(lo+1,hrir::directions-1); + const float t=pos-lo; + constexpr float scale=1.f/32768.f; + for(int ear=0;ear<2;++ear){ + const int measured=dir<0.f?1-ear:ear; + for(int k=0;k(azimuth)+ + (source==0?-.5f:.5f)*spread; + for(int i=0;i<2;++i){ + const auto boundary=i==0?sixsurface::Boundary::Floor: + sixsurface::Boundary::Ceiling; + const auto arrival=sixsurface::image( + heights,horizontalDistance,sourceAz,boundary,rate_); + auto& p=tap_[source][wallCount+i]; +#if defined(SONKU_P82_MULTIBAND_ROOM_RESEARCH) && SONKU_P82_MULTIBAND_ROOM_RESEARCH + if(multibandRoom_)p.materialPressure= + preparedWallPressure_[room82::index( + room82::familyForWidth(geometry_.widthMeters))][wallCount+i]; +#endif + // Measured HRIR already contains directional ITD/ILD. + // No invented extra ear delay, EQ or pseudo elevation. + const float delay=std::clamp(arrival.delaySamples,1.f, + static_cast(ringFrames-hrir::taps-3)); + p.targetDelayL=p.targetDelayR=delay; + p.targetGainL=p.targetGainR=arrival.gain; + hrir3d::interpolate(arrival.azimuth-headYawDegrees,arrival.elevation, + std::abs(rate_-44100.f)<.1f, + p.targetKernel); + if(!primed_){ + p.kernel=p.targetKernel; + p.delayL=p.delayR=delay; + p.gainL=p.gainR=arrival.gain; + } + } + } + } +#endif primed_=true; } static_assert((ringFrames&(ringFrames-1))==0); std::array,sourceCount> history_{}; - std::array,sourceCount> tap_{}; + std::array,sourceCount> tap_{}; std::array lowpass_{}; - float rate_=0.f,delaySlew_=0.f,gainSlew_=0.f,amountSlew_=0.f; +#if defined(SONKU_P82_MULTIBAND_ROOM_RESEARCH) && SONKU_P82_MULTIBAND_ROOM_RESEARCH + std::array preparedWallPressure_{}; + float roomLowAlpha_=0.f,roomHighAlpha_=0.f; + bool multibandRoom_=false; +#endif + using Bank=const std::int16_t (*)[2][hrir::taps]; + Bank hrirBank_=nullptr; + float rate_=0.f,delaySlew_=0.f,gainSlew_=0.f,amountSlew_=0.f,kernelSlew_=0.f; float amount_=0.f,amountTarget_=0.f; int write_=0,untilGeometry_=0,validFrames_=0; bool realtimeMode_=false; SonKuRoomShape shape_=SonKuRoomShape::Rectangular; SonKuRoomGeometry geometry_{}; bool custom_=false,ready_=false,primed_=false; + bool directionalHrir_=false; + bool fastZeroSpread_=false,fuseEligible_=true; + bool fastContiguousHrir_=false; +#if defined(SONKU_P83_PHYSICAL_SPEAKER_RESEARCH) && SONKU_P83_PHYSICAL_SPEAKER_RESEARCH + std::uint8_t p83WallMask_=0x3f; +#endif + SonKuReflectionProfile profile_=SonKuReflectionProfile::Lightweight; }; } // namespace armix::sonku diff --git a/engine/builtin_fx/sonku/SonKuHrtfTonalCalibration.h b/engine/builtin_fx/sonku/SonKuHrtfTonalCalibration.h new file mode 100644 index 000000000..233e2b26c --- /dev/null +++ b/engine/builtin_fx/sonku/SonKuHrtfTonalCalibration.h @@ -0,0 +1,122 @@ +// SPDX-License-Identifier: AGPL-3.0-only +#pragma once +#include "SonKuMeasuredHrir.h" +#include +#include +#include +#include + +// P8.1: direction-INDEPENDENT tonal equalization calibrated from the actual +// measured KEMAR horizontal bank. Applied equally to both ears, and only to +// the direct HRTF source, never SIDE, DRY, ER or diffuse late reverb. +// All analysis/trigonometry/pow is performed ONCE in prepare(), off RT. +// A pair of bounded minimum-phase biquads adds no device/audio-block latency. +// This research-only profile is not a substitute for a proprietary HRTF model +// and never claims dearVR's Clarity algorithm or individualized HRTF. +namespace armix::sonku { +class SonKuHrtfTonalCalibration final { +public: + using Bank=const std::int16_t (*)[2][hrir::taps]; + bool prepare(double rate,Bank bank) noexcept { + if(!bank || !std::isfinite(rate) || rate<40000. || rate>50000.)return false; + constexpr double eps=1.e-8; + // Horizontal geometric mean of measured ear response; NOT a measured + // head-related diffuse-field transfer function or a fitted room IR. + const double low=averageMagnitude(bank,rate,1000.); + const double middle=averageMagnitude(bank,rate,2000.); + const double upper=averageMagnitude(bank,rate,4000.); + const double treble=averageMagnitude(bank,rate,8000.); + if(low(std::clamp( + -20.*std::log10(middle/adjacent),-5.5,0.)); + // Never invert 8k pinna notches fully: modest broad air return. + airDb_=static_cast(std::clamp( + .40*20.*std::log10(low/treble),0.,4.)); + presence_=peaking(rate,2200.,.85,presenceDb_); + air_=highShelf(rate,6200.,airDb_); + reset(); + return true; + } + void reset() noexcept { + for(auto& x:presenceMemory_)x={}; + for(auto& x:airMemory_)x={}; + } + void process(float& left,float& right) noexcept { + left=run(presence_,presenceMemory_[0],left); + right=run(presence_,presenceMemory_[1],right); + left=run(air_,airMemory_[0],left); + right=run(air_,airMemory_[1],right); + } + float presenceCutDb() const noexcept{return presenceDb_;} + float highAirDb() const noexcept{return airDb_;} +private: + struct Coeff { + float b0=1.f,b1=0.f,b2=0.f,a1=0.f,a2=0.f; + }; + struct State{float z1=0.f,z2=0.f;}; + static float run(const Coeff& c,State& s,float x) noexcept { + const float out=c.b0*x+s.z1; + s.z1=c.b1*x-c.a1*out+s.z2; + s.z2=c.b2*x-c.a2*out; + return out; + } + static Coeff normalized(double b0,double b1,double b2, + double a0,double a1,double a2) noexcept { + if(!std::isfinite(a0)||a0<1.e-9)return {}; + const double inverse=1./a0; + return {static_cast(b0*inverse), + static_cast(b1*inverse), + static_cast(b2*inverse), + static_cast(a1*inverse), + static_cast(a2*inverse)}; + } + static Coeff peaking(double sr,double hz,double q,double db) noexcept { + constexpr double pi=3.14159265358979323846; + const double omega=2.*pi*hz/sr; + const double cosw=std::cos(omega),alpha=std::sin(omega)/(2.*q); + const double A=std::pow(10.,db/40.); + return normalized(1.+alpha*A,-2.*cosw,1.-alpha*A, + 1.+alpha/A,-2.*cosw,1.-alpha/A); + } + static Coeff highShelf(double sr,double hz,double db) noexcept { + constexpr double pi=3.14159265358979323846; + const double omega=2.*pi*hz/sr; + const double cosw=std::cos(omega); + const double A=std::pow(10.,db/40.); + const double root=std::sqrt(A); + // RBJ high shelf, S=1. Shared common transfer on both ears. + const double slope=2.*root*(std::sin(omega)*.5*std::sqrt(2.)); + return normalized(A*((A+1.)+(A-1.)*cosw+slope), + -2.*A*((A-1.)+(A+1.)*cosw), + A*((A+1.)+(A-1.)*cosw-slope), + (A+1.)-(A-1.)*cosw+slope, + 2.*((A-1.)-(A+1.)*cosw), + (A+1.)-(A-1.)*cosw-slope); + } + static double averageMagnitude(Bank bank,double rate, + double hz) noexcept { + constexpr double pi=3.14159265358979323846; + const double w=2.*pi*hz/rate; + double sumLog=0.; + for(int direction=0;direction(bank[direction][ear][k]); + real+=x*std::cos(p); + imag-=x*std::sin(p); + } + const double magnitude=std::hypot(real,imag)/32768.; + sumLog+=std::log(std::max(magnitude,1.e-9)); + } + return std::exp(sumLog/(2.*hrir::directions)); + } + Coeff presence_{},air_{}; + std::array presenceMemory_{},airMemory_{}; + float presenceDb_=0.f,airDb_=0.f; +}; +} // namespace armix::sonku diff --git a/engine/builtin_fx/sonku/SonKuMeasuredHrir3D.h b/engine/builtin_fx/sonku/SonKuMeasuredHrir3D.h new file mode 100644 index 000000000..816e72559 --- /dev/null +++ b/engine/builtin_fx/sonku/SonKuMeasuredHrir3D.h @@ -0,0 +1,834 @@ +// SPDX-License-Identifier: MIT +// AUTOGENERATED from the MIT KEMAR normal compact dataset (Gardner & Martin). +// Original tables (MIT HRTF C Library, Aristotel Digenis) licensed MIT: +// https://github.com/jhonmark/mit-hrtf-lib/tree/master/source/normal +// Source blobs: 44100 5e5bcac17b0d59f1b8e7fee04b380170f7d521d2 +// 48000 39931add922dad4687e572059bc157b124926944 +// Four negative and ten zero/positive measured elevations, -40 to +90. +// All 14 measured elevation bands; 0 elevation shares the existing 8D-SonKu bank. +// AZIMUTH POSITIONS ARE NOT UNIFORM across elevations. Do not assume 5° spacing. +// 44.1k compact FIR 128 taps, zero padded to 140; 48k 140 taps. +// Never include this file in the production default build; P7 research gate only. +#pragma once +#include "SonKuMeasuredHrir.h" +#include +#include +#include +#include +#include +namespace armix::sonku::hrir3d { +using EarBank=std::array,2>; +struct Row {int elevation; int count; const std::uint8_t* angles; const std::int16_t (*pcm)[2][hrir::taps];}; +inline constexpr int elevationCount=14; +inline constexpr int elevationMin=-40; +inline constexpr int elevationMax=90; +// BEGIN GENERATED MEASUREMENT ARRAYS +inline constexpr std::uint8_t az_m40[29]={0,6,13,19,26,32,39,45,51,58,64,71,77,84,90,96,103,109,116,122,129,135,141,148,154,161,167,174,180}; +inline constexpr std::uint8_t az_m30[31]={0,6,12,18,24,30,36,42,48,54,60,66,72,78,84,90,96,102,108,114,120,126,132,138,144,150,156,162,168,174,180}; +inline constexpr std::uint8_t az_m20[37]={0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100,105,110,115,120,125,130,135,140,145,150,155,160,165,170,175,180}; +inline constexpr std::uint8_t az_m10[37]={0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100,105,110,115,120,125,130,135,140,145,150,155,160,165,170,175,180}; +inline constexpr std::uint8_t az_p0[37]={0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100,105,110,115,120,125,130,135,140,145,150,155,160,165,170,175,180}; +inline constexpr std::uint8_t az_p10[37]={0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100,105,110,115,120,125,130,135,140,145,150,155,160,165,170,175,180}; +inline constexpr std::uint8_t az_p20[37]={0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100,105,110,115,120,125,130,135,140,145,150,155,160,165,170,175,180}; +inline constexpr std::uint8_t az_p30[31]={0,6,12,18,24,30,36,42,48,54,60,66,72,78,84,90,96,102,108,114,120,126,132,138,144,150,156,162,168,174,180}; +inline constexpr std::uint8_t az_p40[29]={0,6,13,19,26,32,39,45,51,58,64,71,77,84,90,96,103,109,116,122,129,135,141,148,154,161,167,174,180}; +inline constexpr std::uint8_t az_p50[23]={0,8,16,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,160,168,176}; +inline constexpr std::uint8_t az_p60[19]={0,10,20,30,40,50,60,70,80,90,100,110,120,130,140,150,160,170,180}; +inline constexpr std::uint8_t az_p70[13]={0,15,30,45,60,75,90,105,120,135,150,165,180}; +inline constexpr std::uint8_t az_p80[7]={0,30,60,90,120,150,180}; +inline constexpr std::uint8_t az_p90[1]={0}; +inline constexpr std::int16_t pcm44100_m40[29][2][hrir::taps]={ + {{-8,8,-6,14,-12,18,-27,20,-20,10,-17,20,-39,2138,6623,-2555,-8071,181,-1297,1448,8830,7885,3327,4823,10354,2975,-4886,-3540,-6390,-7410,-431,-2190,-6705,-3865,-1268,-716,-437,1002,1574,883,1711,3056,942,46,535,301,-300,-1129,-1019,-1168,-1324,-677,-708,-996,-198,229,88,292,510,662,449,-66,-51,-456,-517,136,238,177,280,180,-10,-369,-563,-780,-1233,-1004,-476,-175,175,349,472,513,292,268,32,-320,-548,-635,-472,-203,-30,75,49,31,52,-76,-118,-90,-59,-145,-252,-208,-118,-103,-96,-191,-281,-246,-184,-178,-119,2,45,58,94,103,57,-30,-82,-109,-152,-187,-226,-214,-266,-249,-149,-44,0,0,0,0,0,0,0,0,0,0,0,0},{-8,8,-6,14,-12,18,-27,20,-20,10,-17,20,-39,2138,6623,-2555,-8071,181,-1297,1448,8830,7885,3327,4823,10354,2975,-4886,-3540,-6390,-7410,-431,-2190,-6705,-3865,-1268,-716,-437,1002,1574,883,1711,3056,942,46,535,301,-300,-1129,-1019,-1168,-1324,-677,-708,-996,-198,229,88,292,510,662,449,-66,-51,-456,-517,136,238,177,280,180,-10,-369,-563,-780,-1233,-1004,-476,-175,175,349,472,513,292,268,32,-320,-548,-635,-472,-203,-30,75,49,31,52,-76,-118,-90,-59,-145,-252,-208,-118,-103,-96,-191,-281,-246,-184,-178,-119,2,45,58,94,103,57,-30,-82,-109,-152,-187,-226,-214,-266,-249,-149,-44,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 0 degrees + {{0,-5,6,-2,9,0,4,-2,-7,11,-22,27,-33,27,773,5186,1511,-7266,-3093,-1911,-1127,6838,8155,5111,4292,8061,6269,-1041,-2356,-4349,-7785,-3072,-363,-4268,-4977,-3159,-1305,-516,308,1126,759,986,2655,2071,599,667,596,-123,-772,-998,-1304,-1462,-1016,-735,-871,-564,-161,159,436,460,293,260,-85,185,673,409,376,353,-4,-260,-329,-359,-759,-1120,-956,-804,-483,3,150,266,499,500,415,74,-204,-451,-676,-517,-250,-114,-42,39,144,115,-47,-67,-97,-66,-79,-248,-359,-287,-214,-205,-172,-135,-116,-51,-28,-52,-66,-72,-28,47,54,-24,-54,-88,-117,-92,-43,-86,-72,-83,-230,-251,-196,-146,0,0,0,0,0,0,0,0,0,0,0,0},{3,-3,12,-7,8,-10,-10,15,-34,34,-56,38,1078,6965,703,-9834,-1650,-665,-346,8622,9657,4712,3507,11023,6150,-5439,-4622,-5772,-8484,-1101,-573,-7161,-5119,-1559,-1085,-1240,485,1738,1296,1681,3420,1838,266,695,240,-220,-1200,-1494,-1421,-1476,-847,-571,-1011,-294,429,272,285,483,593,507,-136,-209,-367,-698,-32,305,162,227,134,13,-252,-573,-790,-1277,-1109,-424,-62,179,375,460,621,455,306,46,-385,-593,-717,-579,-307,-135,-17,24,17,101,18,-20,29,56,-23,-172,-209,-146,-147,-154,-245,-366,-342,-253,-194,-153,-42,8,31,94,124,99,58,2,-32,-128,-188,-275,-332,-323,-303,-189,-94,56,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 6 degrees + {{-1,-2,-5,4,-3,9,-4,9,-13,4,-4,-4,6,-3,-7,1234,4979,-188,-6510,-2072,-2010,294,6581,6614,4600,4571,7669,4762,-1084,-1914,-4448,-6839,-2684,-964,-4253,-4738,-2447,-600,-392,232,1103,1045,1459,2273,1266,589,900,388,-513,-946,-1097,-1277,-1296,-959,-742,-682,-394,-31,302,422,299,309,324,73,504,667,392,382,113,-243,-413,-440,-494,-879,-1042,-820,-645,-253,84,174,303,342,317,230,-43,-234,-481,-591,-373,-156,-64,4,88,145,11,-90,-116,-184,-132,-188,-329,-346,-233,-187,-171,-132,-140,-96,3,-7,-51,-44,-17,17,48,1,-76,-119,-174,-175,-97,-54,-71,-44,-101,-185,-160,-142,0,0,0,0,0,0,0,0,0,0,0,0},{1,5,5,-8,14,-37,46,-66,74,-109,114,316,6214,4417,-10039,-4795,301,-1812,7497,11056,6616,2863,10367,9593,-5041,-5920,-5091,-9296,-2217,916,-7110,-6565,-1852,-1500,-2522,-73,2718,1897,1177,3415,2967,753,1036,181,-575,-1134,-1536,-1849,-1976,-1096,-495,-938,-351,627,476,344,493,635,662,-3,-385,-331,-765,-326,308,101,92,56,-20,-109,-483,-715,-1244,-1264,-489,47,289,454,492,581,524,410,170,-354,-647,-817,-743,-366,-143,-114,-24,23,162,142,32,80,145,122,-39,-173,-152,-129,-157,-274,-441,-432,-351,-230,-153,-51,17,22,73,135,142,104,48,36,-51,-162,-244,-372,-401,-352,-229,-100,6,154,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 13 degrees + {{-1,0,-2,-4,4,-2,10,-5,9,-10,3,-3,-1,8,1,-3,1146,4361,-152,-5565,-1943,-1518,556,5161,5653,4534,4314,6781,4367,-394,-1565,-3963,-6075,-2691,-1092,-4080,-4393,-2012,-344,-398,122,1123,1367,1655,1897,1061,667,710,18,-807,-1125,-1043,-1079,-1270,-964,-534,-447,-260,68,373,455,374,453,372,188,513,435,285,266,-23,-350,-537,-502,-661,-1041,-1016,-664,-394,4,235,283,325,241,189,69,-147,-335,-580,-548,-268,-71,-20,2,80,85,-33,-91,-148,-205,-166,-217,-316,-290,-190,-184,-173,-135,-128,-50,15,-19,-50,-14,25,40,10,-60,-102,-162,-220,-191,-104,-79,-37,16,-37,-92,-123,0,0,0,0,0,0,0,0,0,0,0,0},{1,14,-19,29,-52,57,-72,77,-110,122,31,5387,6874,-9243,-7892,473,-2125,6565,11845,8198,3471,9515,11245,-3526,-6667,-6127,-9312,-2233,1026,-7119,-7280,-2614,-2542,-3415,-136,3980,2667,850,3213,3863,1429,1017,227,-769,-1554,-1665,-1905,-2403,-1527,-580,-945,-376,823,653,383,628,833,832,227,-361,-406,-893,-714,92,89,-5,36,-75,-138,-397,-618,-1186,-1324,-581,120,474,595,517,476,472,435,270,-292,-653,-842,-836,-505,-220,-173,-60,68,249,288,120,98,162,182,88,-71,-144,-151,-150,-261,-498,-500,-447,-328,-167,8,85,29,55,108,132,126,84,56,-3,-126,-205,-365,-468,-391,-250,-109,1,124,208,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 19 degrees + {{-3,0,0,-3,-2,4,-1,9,-4,9,-12,12,-12,15,-8,19,-2,1462,3902,-1131,-4775,-1378,-1085,992,4361,5145,4195,4263,6127,3479,-205,-1507,-4122,-5419,-1890,-1362,-4252,-3778,-1310,-198,-371,295,1174,1490,1708,1700,866,471,367,-287,-983,-1072,-893,-1110,-1252,-703,-321,-325,-138,210,491,574,569,461,145,147,393,226,165,90,-136,-416,-574,-636,-896,-1086,-818,-418,-99,254,376,384,328,183,30,-167,-324,-478,-626,-487,-172,24,8,-28,42,55,-35,-112,-171,-177,-150,-214,-267,-217,-186,-230,-184,-129,-93,-28,-11,-22,-12,8,23,13,-42,-99,-149,-194,-228,-165,-79,-21,61,49,-38,-111,0,0,0,0,0,0,0,0,0,0,0,0},{21,-22,29,-39,33,-31,20,-31,23,-71,2929,9258,-4107,-12310,-867,-1651,3581,11833,10015,4992,6548,13718,1525,-7692,-6548,-9955,-3719,1911,-6044,-8742,-3878,-3094,-3832,-761,3897,3525,1409,2898,4130,2055,1172,280,-578,-1438,-2133,-2084,-2355,-1795,-841,-1067,-695,693,764,521,794,977,938,589,-156,-467,-847,-1132,-389,32,-30,109,2,-107,-343,-484,-967,-1373,-806,-70,442,658,590,449,386,350,356,-56,-517,-805,-903,-637,-270,-183,-160,-2,201,369,259,140,138,168,164,70,-62,-129,-155,-237,-488,-563,-494,-414,-232,-23,133,107,63,59,58,110,103,38,27,-74,-147,-272,-445,-468,-327,-161,-25,104,186,159,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 26 degrees + {{0,-1,0,0,-1,-1,3,0,8,-4,9,-8,11,-9,15,-6,20,-6,1287,3393,-893,-4102,-1069,-741,431,3542,4758,3882,3883,5344,3326,258,-1321,-3854,-4657,-1544,-1517,-3938,-3168,-893,-105,-396,310,1217,1459,1363,1346,886,419,89,-464,-833,-817,-854,-1139,-1063,-463,-240,-341,-136,402,738,631,502,293,33,53,107,41,19,-113,-267,-473,-543,-633,-850,-882,-597,-216,102,361,440,399,215,27,-121,-309,-488,-606,-590,-348,-52,43,-67,-67,37,37,-42,-109,-155,-172,-149,-174,-201,-183,-213,-255,-173,-100,-73,-54,-27,3,-24,-36,-9,-19,-86,-133,-181,-232,-194,-57,13,44,80,16,-74,0,0,0,0,0,0,0,0,0,0,0,0},{-9,9,-17,-6,16,-42,42,-80,34,1411,9356,875,-14134,-4053,-518,1880,11433,10948,5370,5553,15640,5275,-7722,-7392,-10962,-4459,2308,-4959,-9899,-5844,-3402,-2974,-961,2861,3749,2334,3449,4307,2162,1093,201,-468,-1183,-2494,-2683,-2359,-1719,-1006,-1056,-931,534,811,726,862,970,1065,827,60,-507,-849,-1390,-874,-53,-16,78,141,6,-267,-452,-797,-1301,-903,-233,300,517,549,471,354,313,383,152,-323,-746,-979,-754,-363,-163,-140,-21,122,316,302,155,138,179,169,174,80,-50,-115,-218,-484,-630,-582,-484,-237,-44,136,157,86,51,14,45,45,-6,20,-13,-95,-205,-370,-471,-406,-208,-71,53,143,154,144,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 32 degrees + {{0,1,0,0,0,-1,1,2,2,6,1,9,-8,14,-9,17,-15,29,24,1543,2820,-1589,-3226,-529,-851,557,3488,4310,3450,3800,4656,2614,257,-1433,-3774,-3711,-1249,-2000,-3364,-2098,-521,-266,-290,562,1202,1148,925,1088,875,448,-47,-550,-645,-630,-875,-1090,-887,-463,-269,-206,110,584,737,527,275,39,-89,-63,-62,-81,-138,-219,-303,-422,-430,-557,-703,-656,-397,-78,191,339,355,247,35,-101,-215,-380,-529,-560,-425,-160,-9,-62,-123,-52,2,-16,-45,-115,-190,-167,-138,-147,-156,-166,-209,-200,-108,-82,-71,-73,-67,-53,-67,-43,-15,-62,-126,-162,-198,-189,-87,17,32,70,71,-12,0,0,0,0,0,0,0,0,0,0,0,0},{-16,28,-56,69,-92,95,-141,149,13,6465,8013,-11069,-10779,-74,-26,8977,12125,6268,4232,15382,12111,-5484,-8000,-11556,-7434,2429,-2197,-10248,-8310,-4186,-2098,-1143,828,3276,2911,3767,4988,2673,1035,475,-305,-944,-2269,-3043,-2925,-1847,-1037,-969,-1063,269,800,769,905,859,967,1001,499,-337,-813,-1359,-1308,-395,1,-29,242,212,-106,-412,-622,-1075,-1028,-521,49,357,413,447,393,283,420,399,-46,-464,-933,-936,-581,-229,-139,-62,45,185,327,214,114,195,200,213,196,51,-43,-112,-352,-632,-647,-572,-344,-105,87,203,138,53,-7,-20,27,5,-18,24,-35,-136,-274,-399,-466,-323,-106,9,120,152,115,162,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 39 degrees + {{1,1,0,0,1,0,-1,2,2,4,7,4,7,-4,12,-10,18,-10,22,103,1743,2038,-1957,-2180,-431,-972,930,3368,3803,3106,3564,3890,2212,367,-1737,-3658,-2840,-1132,-1959,-2488,-1425,-418,-208,-7,546,846,708,761,1153,865,365,-136,-494,-519,-557,-880,-1164,-849,-236,-32,-19,224,475,423,306,127,-146,-211,-150,-78,-108,-172,-199,-290,-320,-321,-477,-586,-502,-260,-16,154,223,194,34,-100,-109,-197,-355,-434,-387,-252,-103,-87,-176,-167,-67,-31,-31,-101,-185,-174,-128,-111,-120,-123,-128,-129,-98,-86,-103,-116,-135,-122,-92,-73,-47,-35,-83,-123,-151,-164,-130,-41,33,61,102,53,0,0,0,0,0,0,0,0,0,0,0,0},{25,-44,44,-41,23,-40,29,-107,3088,10755,-3796,-15679,-2837,395,6440,11676,6781,4439,13725,17554,-1548,-8941,-11801,-9340,2190,-868,-9949,-9980,-4754,-1880,-693,-381,1753,3184,3722,5180,3632,1511,460,-207,-595,-2127,-3130,-3491,-2333,-1033,-697,-1188,-8,1048,752,826,753,941,938,746,-27,-723,-1216,-1505,-942,-105,5,111,288,152,-169,-545,-912,-976,-694,-230,147,255,313,386,379,387,488,223,-177,-713,-931,-687,-379,-244,-177,-26,78,197,218,143,206,310,263,249,169,43,-56,-243,-522,-665,-622,-435,-197,-4,171,183,94,19,-67,-53,15,-6,20,45,-77,-255,-337,-427,-412,-195,-27,105,185,144,98,98,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 45 degrees + {{0,-1,-1,-1,-1,-1,0,-2,0,1,3,2,1,0,-2,9,-9,10,-9,1,152,1558,1434,-1522,-1488,-671,-820,1006,2810,3217,2802,3200,3361,2122,287,-1874,-3061,-2013,-926,-1578,-1729,-943,-226,-136,-130,197,531,612,755,1001,658,182,-125,-292,-427,-690,-965,-872,-406,-35,-70,-129,4,196,206,89,-64,-178,-203,-200,-74,-25,-102,-161,-201,-246,-346,-466,-489,-403,-228,-65,31,42,2,-75,-87,-54,-130,-223,-259,-233,-212,-212,-231,-241,-172,-116,-117,-140,-175,-158,-121,-98,-100,-76,-56,-65,-73,-97,-117,-149,-172,-187,-169,-127,-87,-31,-45,-85,-101,-123,-147,-139,-46,27,76,88,0,0,0,0,0,0,0,0,0,0,0,0},{17,-48,67,-99,103,-156,159,162,7894,7456,-13794,-11149,369,3108,10187,8292,5159,8680,20276,8501,-8288,-10895,-12370,-583,1932,-7569,-11471,-6562,-2702,-1103,-203,466,2117,2898,4999,4520,2342,1399,-64,-402,-1355,-2722,-3746,-3099,-1642,-801,-964,-650,915,898,891,747,828,924,902,380,-476,-1064,-1411,-1316,-672,-51,-67,182,341,153,-239,-738,-961,-834,-445,-60,58,132,268,501,463,428,357,131,-383,-861,-771,-459,-304,-354,-181,-11,75,154,142,127,286,354,345,297,172,32,-185,-395,-579,-670,-549,-304,-132,57,187,148,52,-27,-97,-37,9,8,46,20,-177,-333,-361,-427,-310,-135,-1,165,216,134,64,0,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 51 degrees + {{3,2,1,2,1,1,4,3,1,4,3,6,3,7,2,7,3,0,1,-1,-6,373,1498,596,-1245,-946,-840,-341,1209,2427,2797,2755,3011,2575,1555,-73,-1887,-2283,-1205,-780,-1145,-923,-441,-250,-318,-92,153,309,427,632,675,402,157,-85,-282,-477,-633,-659,-435,-167,-154,-242,-221,-82,10,19,-2,-121,-209,-237,-119,55,52,-33,-113,-192,-303,-411,-447,-392,-319,-228,-112,-35,5,-38,-80,-38,-21,-67,-134,-167,-210,-242,-249,-253,-228,-199,-184,-178,-165,-152,-118,-68,-53,-53,-50,-45,-45,-55,-82,-130,-170,-192,-179,-139,-105,-62,-22,-30,-52,-85,-129,-153,-115,-31,20,70,0,0,0,0,0,0,0,0,0,0,0,0},{-28,24,-20,-18,11,-46,-27,2142,11392,-1218,-17870,-4760,2085,6596,9561,6401,5545,15567,19308,-2183,-10746,-12947,-5689,3606,-3629,-11047,-9536,-4027,-1968,-188,89,1185,1696,3304,5429,3296,1822,661,260,-480,-2202,-3291,-3657,-2302,-1472,-1016,-1104,380,1059,860,995,842,899,861,792,-50,-838,-1391,-1379,-1076,-455,-192,-169,331,451,119,-416,-831,-824,-691,-249,-37,-15,66,360,599,456,396,272,-24,-619,-807,-550,-333,-363,-342,-142,-34,40,114,116,166,305,370,426,353,215,-40,-334,-490,-607,-641,-437,-232,-84,88,185,121,34,-53,-79,-3,-33,28,51,-50,-251,-334,-349,-379,-229,-113,27,189,210,133,29,-45,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 58 degrees + {{4,1,1,2,3,2,3,3,3,2,3,1,6,3,4,2,8,-6,1,-1,11,1,487,1141,173,-746,-715,-801,-50,1088,2043,2580,2478,2183,1901,1427,36,-1508,-1448,-527,-264,-270,-446,-551,-411,-305,-278,-234,-10,147,334,506,402,51,-208,-207,-157,-267,-338,-268,-236,-288,-342,-355,-281,-128,-61,-117,-246,-258,-159,5,150,118,4,-127,-246,-340,-406,-403,-370,-319,-239,-92,7,-17,-68,-102,-62,-39,-60,-89,-140,-190,-224,-238,-253,-249,-230,-227,-204,-176,-144,-86,-46,-70,-100,-57,-16,-9,-31,-81,-140,-179,-157,-135,-135,-113,-50,-13,-26,-61,-128,-170,-170,-116,-60,-22,0,0,0,0,0,0,0,0,0,0,0,0},{-56,77,-109,95,-140,149,-184,5902,10954,-11571,-15684,805,3349,8646,7876,5018,9107,21664,10635,-9623,-12568,-9683,2344,1085,-8686,-11994,-6477,-2334,-1317,156,56,1319,1768,4212,4144,2341,1426,427,836,-803,-2716,-3920,-2790,-1745,-1606,-1622,-677,1060,919,1051,1021,1045,859,853,446,-431,-1168,-1532,-1293,-931,-298,-377,-204,449,511,95,-607,-757,-662,-521,-153,-106,-85,126,542,599,391,262,135,-291,-716,-612,-334,-266,-393,-329,-157,-62,-7,64,103,249,349,404,424,344,210,-145,-417,-535,-623,-587,-355,-169,-58,89,159,127,41,-70,-38,-33,-53,41,-21,-141,-234,-269,-347,-329,-209,-94,90,183,151,87,-15,-48,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 64 degrees + {{3,2,1,2,3,2,3,3,3,2,1,0,2,4,3,1,2,3,-2,7,-2,1,67,652,738,-163,-472,-628,-545,320,1331,1842,1871,1919,1765,1728,1318,-42,-979,-389,250,88,-221,-584,-627,-545,-506,-551,-434,-220,-5,332,407,155,-115,-9,228,176,-110,-272,-308,-365,-416,-452,-430,-339,-231,-190,-229,-260,-209,-91,95,229,160,-28,-190,-286,-340,-381,-384,-351,-282,-145,-30,-35,-88,-135,-143,-107,-93,-70,-42,-79,-160,-205,-217,-236,-257,-264,-248,-217,-186,-150,-105,-93,-108,-81,-13,24,13,-27,-86,-126,-141,-149,-146,-126,-87,-38,-35,-65,-121,-176,-194,-183,-126,-85,0,0,0,0,0,0,0,0,0,0,0,0},{-58,88,-136,143,-205,223,37,8756,8073,-17443,-11495,3085,4004,9158,6217,5279,13484,22297,3077,-13045,-12050,-4045,4690,-2370,-10772,-11424,-4251,-1935,-1068,-172,0,1447,2068,4185,3216,1991,810,1047,1003,-1120,-2886,-3839,-2305,-1604,-1673,-1951,-268,1117,899,1055,1121,1192,786,751,202,-601,-1338,-1502,-1257,-822,-285,-492,-90,463,501,45,-663,-652,-586,-374,-139,-172,-61,287,676,548,270,122,-73,-483,-661,-387,-187,-249,-403,-343,-206,-77,3,38,139,330,433,413,344,294,128,-192,-413,-538,-603,-553,-320,-145,-18,111,160,127,29,-66,-1,-55,-54,37,-91,-174,-192,-231,-329,-292,-210,-70,132,184,120,20,-82,-34,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 71 degrees + {{0,0,1,1,1,3,2,1,2,-1,-1,-1,0,1,-1,1,0,1,3,2,-2,-3,-1,132,570,414,-200,-311,-363,-12,599,817,866,1238,1815,1909,1870,1490,555,120,378,155,-324,-449,-605,-791,-833,-740,-744,-597,-326,-5,231,130,109,343,570,547,214,-182,-370,-434,-549,-566,-482,-492,-474,-358,-245,-239,-235,-148,-1,188,229,117,-33,-169,-283,-325,-318,-335,-300,-240,-160,-89,-111,-177,-222,-226,-188,-82,32,65,-17,-120,-183,-232,-263,-286,-291,-276,-252,-209,-168,-144,-116,-77,-10,29,34,20,-14,-55,-125,-163,-150,-126,-112,-97,-83,-92,-114,-160,-199,-213,-197,-152,0,0,0,0,0,0,0,0,0,0,0,0},{-40,76,-138,166,-235,254,582,11286,3329,-20977,-6135,4221,4644,8287,4969,7020,17601,19654,-4367,-14925,-8813,1991,3980,-5656,-12010,-9702,-2366,-2375,-975,-607,-202,1366,2759,3933,2440,1445,378,1714,956,-1156,-3181,-3250,-1618,-1662,-1935,-1879,26,795,775,966,1182,1154,786,600,-28,-551,-1313,-1422,-1193,-784,-458,-588,74,514,448,-94,-548,-424,-465,-349,-240,-230,-33,420,677,369,117,66,-168,-519,-527,-193,-103,-268,-392,-394,-288,-67,18,19,151,376,484,400,320,282,34,-243,-427,-483,-527,-557,-327,-132,28,140,149,109,21,-41,-10,-56,-44,-16,-133,-170,-118,-227,-338,-270,-181,-5,156,167,57,-67,-114,-23,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 77 degrees + {{1,1,0,3,2,4,2,1,1,0,-2,0,1,1,1,3,3,-1,6,5,3,-5,0,2,208,493,174,-195,50,222,-99,-169,351,887,1528,2159,2180,2086,1950,1031,94,-121,-344,-618,-587,-671,-1048,-1060,-759,-644,-499,-230,-5,83,276,665,824,650,390,-11,-397,-504,-577,-702,-642,-514,-512,-477,-338,-227,-184,-138,-38,78,161,162,110,7,-166,-280,-296,-283,-285,-272,-256,-225,-168,-180,-265,-314,-239,-75,74,152,91,-55,-168,-224,-261,-298,-307,-290,-259,-240,-209,-163,-121,-68,-13,40,44,41,23,-43,-111,-146,-142,-129,-118,-125,-121,-101,-109,-140,-189,-208,-198,-174,0,0,0,0,0,0,0,0,0,0,0,0},{-32,68,-133,172,-248,274,789,12157,1166,-21917,-3768,4802,4396,7246,4907,8330,19237,17371,-8146,-15354,-5483,5002,2774,-7245,-12192,-8192,-1931,-2892,-1103,-1257,-259,1513,2894,3664,2223,1038,401,2007,782,-1143,-2953,-2659,-1431,-1563,-2091,-1879,115,576,460,736,1181,1070,837,556,-82,-467,-1148,-1270,-1194,-836,-622,-608,168,537,457,-181,-521,-280,-319,-332,-322,-307,-38,481,603,227,48,62,-153,-441,-404,-154,-154,-297,-338,-395,-370,-84,40,22,115,355,510,405,356,259,-24,-268,-455,-436,-474,-543,-356,-147,33,163,171,85,3,-24,3,-45,-78,-77,-146,-146,-65,-230,-392,-262,-111,54,157,115,-3,-102,-114,-60,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 84 degrees + {{1,1,1,3,3,3,2,2,1,0,-1,-2,1,2,2,4,3,2,3,6,3,-2,-11,-4,29,249,373,309,408,-47,-690,-597,66,974,1489,1783,2402,2868,2592,1499,74,-550,-434,-537,-868,-907,-866,-1084,-907,-456,-379,-365,-189,23,408,819,899,718,448,98,-322,-631,-679,-679,-744,-671,-502,-406,-379,-267,-138,-117,-86,-13,97,188,196,70,-88,-170,-228,-236,-287,-327,-311,-304,-273,-255,-269,-304,-231,-70,76,157,100,-37,-153,-193,-243,-286,-282,-272,-248,-257,-233,-168,-119,-75,-18,36,52,52,16,-61,-120,-132,-136,-141,-128,-124,-114,-101,-111,-135,-159,-174,-189,-190,0,0,0,0,0,0,0,0,0,0,0,0},{-39,80,-144,192,-277,325,599,12149,1122,-22138,-3023,5547,3381,6099,5190,9240,19623,15691,-10252,-14975,-2057,6663,1517,-8328,-11607,-6939,-2055,-3318,-1541,-1873,-530,1685,2880,3216,2254,1042,518,2030,765,-1237,-2659,-1777,-1241,-1738,-2072,-1741,-143,294,147,423,1012,1017,898,553,44,-290,-968,-1090,-1110,-943,-794,-619,202,544,444,-143,-477,-232,-181,-317,-396,-433,-80,522,526,110,24,111,-96,-321,-288,-151,-230,-326,-310,-377,-375,-114,-22,-24,131,385,515,409,403,274,-32,-282,-468,-426,-436,-480,-366,-179,26,160,175,75,24,-1,28,-19,-125,-107,-157,-158,-44,-191,-398,-237,-49,72,165,102,-51,-141,-127,-53,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 90 degrees + {{0,0,0,1,2,2,2,0,-1,0,-2,-3,-2,1,1,-1,3,4,3,-3,1,-5,-4,-11,6,31,490,1040,186,-897,-880,-310,445,956,1349,1833,2578,3145,2477,1069,217,-304,-700,-774,-991,-1254,-1044,-585,-588,-573,-123,38,-179,-165,313,786,882,728,450,9,-347,-559,-762,-783,-701,-658,-579,-402,-265,-240,-195,-142,-101,-26,110,165,116,56,-24,-66,-111,-195,-308,-403,-399,-342,-321,-316,-276,-233,-166,-78,-3,15,-30,-55,-68,-120,-208,-238,-215,-216,-246,-273,-250,-191,-116,-69,-41,11,42,31,-31,-100,-144,-163,-152,-141,-126,-105,-90,-89,-97,-103,-122,-153,-200,-223,0,0,0,0,0,0,0,0,0,0,0,0},{-62,118,-191,242,-327,411,-14,10815,4367,-21657,-5322,6372,2275,5383,5247,9135,18836,16276,-9343,-15067,-902,7034,1663,-8378,-11005,-6726,-2337,-3520,-1977,-2168,-1041,1519,2590,3200,2342,1225,715,2038,882,-1207,-2453,-1562,-908,-1651,-2233,-1753,-279,3,-147,292,800,905,932,676,192,-140,-743,-1034,-1063,-929,-902,-762,180,627,473,-109,-451,-235,-197,-363,-439,-439,-81,495,516,119,-1,88,-60,-230,-209,-159,-305,-356,-292,-378,-408,-159,-52,-60,158,435,502,391,406,305,19,-274,-489,-476,-438,-414,-328,-200,-20,111,160,97,73,23,11,-38,-137,-110,-179,-193,-52,-133,-347,-232,-63,49,161,92,-59,-131,-111,-37,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 96 degrees + {{3,2,2,2,4,3,3,3,2,2,1,0,1,2,1,3,3,7,4,2,-2,0,-3,3,2,239,928,548,-656,-940,-459,322,833,1033,1303,2267,3097,2306,1172,773,358,-100,-548,-1165,-1300,-1066,-940,-658,-216,-79,-49,291,267,-146,-28,522,862,686,270,-121,-420,-537,-631,-729,-736,-613,-495,-397,-254,-184,-200,-159,-8,77,63,29,37,64,51,-14,-136,-231,-325,-370,-392,-375,-307,-264,-229,-190,-127,-120,-146,-143,-90,-26,-24,-75,-129,-131,-130,-171,-241,-279,-240,-168,-120,-84,-44,10,42,7,-68,-139,-173,-172,-158,-137,-102,-61,-46,-49,-60,-67,-92,-141,-193,-235,0,0,0,0,0,0,0,0,0,0,0,0},{-88,145,-208,236,-304,381,-415,8013,8955,-18916,-10142,7021,1629,4313,5099,8447,17263,17713,-5939,-15626,-1154,7024,2592,-7769,-10691,-6897,-2599,-3606,-2535,-2052,-1884,1101,2244,3136,2649,1452,799,2181,1327,-1186,-2344,-1546,-803,-1483,-2133,-1958,-595,-25,-381,10,643,826,890,818,436,-23,-550,-933,-1018,-934,-897,-894,7,702,594,-39,-506,-292,-223,-400,-509,-438,-48,463,518,155,4,78,-37,-140,-151,-167,-369,-409,-280,-383,-455,-216,-29,-57,136,450,492,381,380,345,111,-231,-490,-544,-430,-363,-296,-225,-69,69,121,110,89,71,8,-59,-150,-139,-190,-203,-51,-83,-265,-249,-111,21,123,95,-12,-62,-85,-51,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 103 degrees + {{3,2,2,2,4,3,3,3,2,3,2,1,4,0,1,0,3,2,6,3,0,3,-2,8,225,1129,613,-1182,-1186,-233,607,1067,1120,1197,2105,3131,2253,648,-38,20,229,-8,-692,-1144,-1246,-974,-530,-405,-204,333,600,516,453,117,-164,79,482,461,18,-296,-402,-488,-586,-626,-603,-557,-450,-307,-267,-192,-55,-35,14,75,17,-79,-54,42,23,-101,-224,-278,-309,-312,-333,-321,-261,-238,-193,-174,-175,-209,-235,-201,-131,-67,-32,-29,-30,-26,-68,-141,-212,-263,-252,-176,-105,-92,-70,-11,16,-20,-99,-175,-215,-203,-179,-121,-49,-13,-10,-27,-28,-38,-77,-134,-199,-237,0,0,0,0,0,0,0,0,0,0,0,0},{-63,79,-97,62,-58,43,-142,3498,12638,-10492,-17476,5571,2569,2100,5154,7036,14789,18811,889,-15481,-3587,6804,3856,-6273,-10512,-7450,-3183,-3227,-3527,-1633,-2255,14,1822,3069,2999,1857,944,1925,2118,-675,-2399,-1944,-862,-1368,-2064,-1924,-1005,-208,-378,-185,395,757,916,872,674,200,-367,-858,-968,-918,-940,-969,-219,564,623,177,-423,-332,-232,-437,-584,-515,-62,445,508,185,28,137,22,-127,-177,-213,-383,-463,-327,-358,-438,-282,-25,-24,65,376,492,399,352,353,185,-154,-442,-577,-459,-373,-300,-246,-131,34,63,111,86,116,42,-77,-176,-213,-202,-196,-57,-39,-173,-268,-211,-44,88,118,39,-19,-51,-73,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 109 degrees + {{4,3,2,4,2,3,3,3,4,3,3,3,3,1,-1,1,2,0,8,-8,10,-6,16,103,1128,1219,-1143,-1818,-684,530,1424,1505,1378,1952,3362,2800,470,-649,-480,-412,-462,-494,-821,-986,-791,-499,-359,-105,217,461,830,945,573,109,-136,-141,-81,-15,-29,-215,-459,-573,-542,-529,-477,-442,-386,-228,-127,-113,-64,57,106,9,-99,-124,-88,-61,-117,-229,-276,-259,-225,-262,-334,-271,-214,-239,-227,-166,-134,-198,-260,-245,-170,-95,-52,-24,16,17,-38,-100,-186,-245,-242,-190,-117,-67,-49,-56,-55,-56,-106,-179,-228,-218,-172,-104,-36,8,11,-3,-7,-35,-74,-118,-190,-231,0,0,0,0,0,0,0,0,0,0,0,0},{18,-50,84,-155,206,-281,338,373,11069,1153,-20589,-1053,5520,-366,4689,6186,11917,18281,8059,-12376,-7420,5978,5074,-4250,-10266,-7991,-4117,-2819,-4292,-1949,-1653,-841,1246,2536,3423,2387,1257,1478,2521,276,-2153,-2388,-1354,-1223,-2032,-1992,-1238,-318,-348,-319,342,695,884,881,795,408,-160,-663,-1013,-892,-859,-1047,-510,380,623,333,-260,-340,-215,-438,-607,-591,-153,432,548,293,70,143,93,-133,-204,-291,-403,-438,-359,-341,-379,-288,-54,16,27,272,478,441,365,328,222,-50,-347,-551,-514,-402,-340,-240,-147,23,29,86,125,139,104,-84,-200,-243,-208,-169,-75,-11,-83,-238,-275,-110,60,110,65,24,14,-56,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 116 degrees + {{3,3,3,3,2,2,3,3,3,4,3,6,4,0,-5,5,-6,10,-14,9,-16,24,51,1171,1774,-1147,-2418,-972,409,1554,1798,1738,2211,3961,3530,367,-1209,-1037,-976,-1046,-1219,-1526,-1132,-557,-197,59,135,401,739,882,1000,898,606,207,-228,-419,-535,-441,-215,-228,-475,-591,-535,-465,-382,-187,-32,-99,-119,-46,55,137,35,-162,-230,-168,-104,-167,-317,-339,-264,-200,-218,-340,-356,-272,-194,-148,-124,-80,-79,-171,-274,-322,-250,-122,-55,-19,13,3,-19,-67,-165,-220,-226,-181,-97,-21,-32,-124,-154,-121,-117,-154,-202,-206,-152,-93,-48,-9,14,18,9,-38,-75,-116,-179,-220,0,0,0,0,0,0,0,0,0,0,0,0},{53,-84,99,-122,107,-118,145,-244,4373,10995,-11841,-13939,6146,551,1066,6112,8826,15293,14354,-3440,-11195,2255,6971,-1170,-9618,-9122,-5162,-2925,-4203,-3593,-989,-1052,745,1981,3109,3031,2051,1386,2137,1481,-1426,-2518,-2055,-1428,-1938,-2236,-1620,-545,-58,-347,103,742,873,833,850,686,28,-356,-797,-1036,-876,-1065,-797,54,570,490,-85,-387,-200,-344,-572,-651,-311,380,574,418,199,86,107,-124,-270,-320,-449,-462,-386,-317,-273,-262,-129,24,28,191,438,453,353,297,222,53,-235,-523,-592,-456,-370,-259,-157,-13,66,52,136,146,134,-15,-215,-276,-235,-158,-102,-34,-23,-164,-273,-190,-38,70,74,43,76,15,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 122 degrees + {{3,2,2,2,2,3,3,3,3,2,7,4,6,-4,7,-7,11,-8,2,-11,13,-1,839,2412,-413,-3108,-1475,157,1555,2000,1945,2209,4124,4752,1081,-1598,-1433,-1181,-1407,-1658,-2073,-1868,-1219,-390,198,302,747,1097,1168,1269,1164,564,274,347,-2,-691,-962,-701,-490,-364,-372,-570,-577,-258,3,52,18,-19,-8,48,138,33,-268,-310,-157,-105,-171,-272,-364,-345,-262,-276,-453,-500,-292,-136,-61,-6,25,29,-54,-204,-332,-396,-317,-170,-44,25,-3,-37,-26,-43,-129,-213,-222,-129,-10,9,-86,-179,-190,-159,-133,-129,-178,-186,-130,-68,-45,-40,-9,25,26,-19,-79,-144,-174,-204,0,0,0,0,0,0,0,0,0,0,0,0},{-8,27,-57,80,-142,181,-246,298,189,9366,2975,-17827,-2880,5077,-1672,3989,7422,11641,15860,6062,-9033,-3553,6562,2719,-7032,-10831,-6799,-3391,-3404,-4730,-1932,-507,70,1822,2930,3319,2336,1774,1837,2089,-340,-2461,-2374,-1784,-1822,-2405,-2095,-1033,-14,-33,-115,577,926,899,851,876,344,-280,-547,-1028,-905,-988,-1007,-263,368,527,119,-372,-329,-302,-454,-518,-404,207,545,474,334,111,61,-90,-328,-387,-485,-485,-359,-331,-249,-198,-164,7,78,163,353,451,356,218,160,88,-126,-465,-624,-514,-383,-289,-160,-61,77,82,102,175,128,39,-170,-305,-278,-167,-112,-105,-43,-94,-215,-214,-134,-11,69,46,67,62,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 129 degrees + {{3,2,1,0,2,1,1,3,1,6,4,8,-1,4,-1,1,8,-9,6,-18,23,427,2728,801,-3695,-2279,-50,1511,2265,2124,2251,4011,5865,2264,-1816,-1889,-1350,-1711,-1885,-2358,-2481,-1759,-1040,-238,201,735,1338,1560,1653,1471,813,471,432,290,-199,-879,-1117,-972,-787,-645,-460,-261,-88,-17,142,218,126,62,18,39,-16,-247,-365,-287,-114,-33,-169,-357,-398,-373,-428,-582,-640,-419,-153,37,151,171,138,41,-105,-259,-424,-486,-363,-182,-33,6,-33,-19,1,-40,-132,-207,-163,-50,12,-33,-139,-190,-181,-185,-179,-160,-148,-139,-132,-94,-46,-24,10,38,4,-46,-109,-159,-172,-205,0,0,0,0,0,0,0,0,0,0,0,0},{-19,34,-38,25,-24,-11,28,-57,15,1860,10264,-3826,-15380,1508,1997,-626,5646,8148,12542,13571,915,-6990,1747,5202,-2002,-9412,-9457,-5646,-3660,-3930,-3610,-977,-122,1125,2490,3598,3334,2053,1500,1910,1511,-1388,-2733,-2228,-1838,-2179,-2509,-1859,-665,104,3,274,869,1030,1026,913,728,-40,-373,-713,-967,-811,-1095,-705,-22,391,290,-184,-378,-296,-344,-399,-397,-62,485,472,401,286,64,-34,-343,-490,-508,-538,-352,-270,-261,-155,-139,-54,113,208,285,345,351,207,35,-7,-20,-249,-547,-582,-447,-329,-174,-70,11,125,118,184,178,59,-93,-284,-315,-198,-108,-146,-131,-91,-138,-166,-187,-122,37,68,41,90,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 135 degrees + {{3,0,0,0,-1,2,1,0,5,4,10,2,2,6,-7,19,-22,36,-45,62,251,3062,1696,-4551,-3043,-8,1596,2756,2461,2478,4128,6832,3080,-2238,-2400,-1518,-2037,-2276,-2645,-2964,-2256,-1402,-380,-13,400,1252,1781,1846,1814,1242,639,635,453,-141,-758,-842,-1016,-1360,-1168,-630,-212,131,307,387,397,261,124,-29,-78,-27,-305,-537,-324,-52,23,-99,-291,-446,-551,-584,-616,-711,-543,-166,110,278,297,230,128,-54,-228,-405,-523,-451,-322,-218,-108,-17,43,42,-3,-44,-95,-103,-71,-77,-98,-83,-82,-134,-221,-247,-199,-141,-134,-180,-185,-97,6,61,82,31,-40,-94,-151,-191,-217,-225,0,0,0,0,0,0,0,0,0,0,0,0},{22,-33,52,-72,82,-113,120,-147,183,-241,4507,8548,-9588,-10486,2741,-188,1784,6636,8939,12844,9972,-1986,-2887,3832,1560,-5599,-10052,-7785,-4716,-4144,-4330,-2105,34,360,1689,3090,3910,2921,2016,1552,1609,329,-1918,-2334,-2120,-2183,-2479,-2318,-1456,-417,8,103,708,1026,1110,1057,912,377,-247,-387,-870,-832,-949,-960,-367,93,272,46,-221,-337,-344,-394,-365,-243,275,525,384,412,190,-11,-252,-532,-551,-571,-411,-228,-247,-148,-84,-133,6,196,299,295,272,186,16,-54,-18,-116,-402,-570,-503,-354,-227,-106,-40,91,162,146,190,109,-32,-198,-320,-247,-134,-144,-186,-140,-143,-144,-159,-195,-53,82,77,77,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 141 degrees + {{3,0,1,0,0,2,0,3,8,6,13,-4,20,-19,35,-38,57,-55,91,15,2706,3455,-4508,-4673,-36,1345,3072,2845,2756,3952,7324,4663,-2104,-3075,-1644,-2139,-2656,-2763,-3419,-2686,-1802,-704,14,272,1000,1545,1970,2109,1570,841,738,510,4,-746,-1066,-881,-922,-1097,-1065,-616,14,465,649,638,387,105,29,-17,-25,-248,-582,-493,-170,53,-18,-304,-516,-550,-531,-587,-753,-621,-183,151,307,333,283,170,-18,-223,-371,-487,-497,-389,-296,-189,-85,8,80,60,25,-15,-23,0,-63,-172,-160,-76,-55,-136,-228,-227,-170,-142,-190,-240,-183,-58,64,160,140,25,-78,-141,-179,-207,-232,-247,0,0,0,0,0,0,0,0,0,0,0,0},{4,8,-14,29,-54,70,-113,142,-194,242,-9,6699,4935,-11800,-6075,1638,-432,3897,6952,9428,12428,6633,-2241,661,2984,-2049,-7671,-9355,-6422,-4357,-4177,-3933,-1315,437,1100,2093,3350,3810,2652,1898,1667,1378,-596,-2137,-2005,-2020,-2393,-2597,-2120,-1130,-258,-50,251,890,1144,1228,1032,682,23,-248,-504,-790,-768,-1010,-664,-132,184,112,-90,-252,-363,-394,-408,-366,-69,453,438,393,362,103,-87,-392,-542,-564,-500,-298,-246,-216,-80,-101,-113,40,208,327,264,146,64,-2,-37,-82,-250,-468,-524,-398,-256,-145,-85,-28,105,142,154,162,44,-95,-216,-259,-194,-164,-206,-191,-164,-161,-144,-192,-138,22,106,93,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 148 degrees + {{-1,0,-3,1,1,-3,1,8,0,14,-12,23,-25,42,-44,60,-53,96,-36,2666,4619,-4763,-6249,142,1483,3342,3324,3113,4356,7960,5586,-2263,-3865,-1967,-2173,-3137,-3112,-3687,-3180,-2066,-795,-9,74,939,1776,2120,2138,1786,952,786,647,-152,-1069,-1250,-888,-926,-942,-703,-472,-220,218,626,743,602,274,78,-2,89,-48,-606,-659,-295,-62,-154,-386,-512,-516,-523,-539,-614,-599,-209,180,402,468,317,116,-91,-259,-398,-542,-576,-474,-314,-188,-77,9,65,82,83,60,29,56,14,-118,-198,-184,-133,-127,-153,-181,-192,-177,-193,-248,-240,-119,22,147,201,116,-18,-120,-178,-210,-226,-232,-242,0,0,0,0,0,0,0,0,0,0,0,0},{0,9,1,-2,13,-32,48,-84,111,-157,193,235,6826,3637,-10928,-5335,627,-30,4484,7162,9024,11260,6138,-469,1294,938,-3632,-8179,-8647,-5223,-4140,-4445,-3397,-920,340,1204,2340,3447,3492,2611,2172,1632,1081,-572,-1913,-2078,-2169,-2309,-2433,-1998,-1092,-245,74,498,917,1030,1098,865,392,-122,-181,-400,-539,-725,-853,-394,-45,139,24,-146,-362,-464,-430,-416,-344,15,386,366,456,355,126,-62,-334,-467,-583,-544,-400,-329,-179,-71,-119,-80,43,233,297,172,130,112,24,-57,-164,-332,-459,-430,-281,-190,-151,-130,-64,75,133,127,128,45,-48,-151,-205,-193,-209,-216,-212,-185,-163,-158,-164,-99,57,123,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 154 degrees + {{-1,-2,1,1,-2,-2,10,-3,17,-15,25,-27,34,-30,29,-20,50,-26,1955,5824,-3222,-8350,-653,1728,3393,3802,3333,4458,8071,7040,-1345,-4491,-2561,-2248,-3425,-3372,-3978,-3601,-2364,-1282,-163,159,1024,1772,2293,2357,1916,979,728,612,-124,-875,-1397,-1207,-1076,-955,-685,-329,10,105,276,597,733,448,266,152,73,104,-410,-778,-566,-240,-127,-267,-474,-577,-542,-494,-529,-615,-318,135,410,552,426,149,-92,-249,-385,-574,-690,-621,-415,-194,-58,-31,36,109,144,133,62,62,70,-37,-175,-224,-219,-203,-165,-147,-168,-184,-207,-267,-261,-140,-17,98,179,147,40,-58,-149,-227,-239,-211,-203,-224,0,0,0,0,0,0,0,0,0,0,0,0},{4,-4,16,-10,13,-11,-1,8,-34,47,-82,85,854,7310,1243,-10677,-4153,217,866,5226,7299,8875,10070,5303,953,889,-1416,-4957,-8147,-7163,-4268,-4287,-4476,-2856,-460,582,1206,2246,3445,3364,2636,2147,1484,789,-787,-1679,-1954,-2382,-2493,-2276,-1537,-613,-97,34,551,914,874,747,559,201,-32,-104,-304,-452,-749,-610,-204,48,109,-75,-296,-494,-528,-491,-415,-299,77,304,394,524,347,142,-113,-312,-531,-700,-635,-514,-336,-143,-91,-127,-34,107,252,230,148,173,114,-14,-155,-300,-393,-411,-321,-222,-203,-186,-162,-95,28,69,89,123,57,-37,-121,-180,-209,-228,-259,-246,-217,-193,-161,-150,-79,40,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 161 degrees + {{-4,-1,-1,-3,-5,10,-5,17,-17,23,-26,28,-28,20,-14,37,-15,1969,6449,-2914,-9529,-1296,1881,3916,4450,3616,5014,8375,7353,-733,-4621,-3426,-2731,-3662,-3482,-4268,-4406,-2770,-1279,-6,206,1124,2083,2622,2578,2048,911,487,556,-181,-938,-1502,-1379,-1231,-1088,-714,-349,-17,229,462,547,605,385,198,300,275,191,-405,-921,-620,-143,-3,-166,-415,-539,-528,-564,-582,-621,-383,89,384,561,562,307,-53,-305,-422,-553,-698,-691,-503,-281,-100,-44,15,93,158,198,184,181,102,-52,-164,-221,-257,-264,-223,-138,-126,-190,-234,-263,-253,-152,-24,93,177,164,68,-44,-141,-210,-227,-216,-194,-199,-205,0,0,0,0,0,0,0,0,0,0,0,0},{-9,7,-4,13,-7,8,-8,-3,6,-32,40,-68,76,823,6826,1715,-10122,-4890,182,1541,5595,6687,7826,9248,6118,1882,-202,-2545,-5157,-7237,-6043,-4005,-4478,-4323,-2695,-489,633,1145,2188,3219,3158,2577,2117,1391,812,-544,-1546,-1956,-2222,-2164,-2008,-1408,-620,-76,195,505,679,704,736,531,103,-79,-148,-197,-409,-638,-381,-55,88,51,-99,-365,-571,-577,-484,-397,-302,-2,238,481,598,388,113,-144,-336,-597,-725,-697,-567,-334,-134,-107,-85,64,183,275,276,222,154,40,-96,-262,-363,-330,-263,-210,-187,-201,-205,-212,-152,-28,13,86,181,131,41,-56,-176,-205,-229,-272,-258,-231,-178,-128,-133,-79,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 167 degrees + {{-3,0,-1,-5,9,-4,16,-11,18,-16,14,-8,-7,13,-8,31,1431,6696,-873,-10284,-2897,1531,3712,5396,4165,5153,8023,7762,865,-3869,-4083,-3614,-3948,-3686,-4267,-4912,-3383,-1693,10,532,1099,2042,2765,2697,2180,1343,660,491,-331,-1008,-1510,-1552,-1388,-1259,-965,-578,-29,287,568,743,730,404,11,111,132,97,-219,-695,-603,-172,91,12,-173,-420,-534,-615,-649,-645,-551,-111,276,519,629,473,114,-225,-380,-569,-719,-706,-537,-333,-166,-93,-57,63,136,211,254,228,144,-2,-128,-209,-264,-285,-241,-151,-134,-197,-248,-251,-234,-176,-74,52,193,201,103,-15,-127,-192,-230,-230,-206,-189,-185,-190,0,0,0,0,0,0,0,0,0,0,0,0},{-3,-8,8,-5,16,-10,13,-15,8,-9,-12,13,-26,30,1253,6949,321,-10293,-4169,491,2576,6113,6119,6891,8523,6421,1743,-1368,-3476,-5186,-6250,-4896,-3983,-4918,-4034,-2190,-271,731,1380,2180,2976,2932,2433,1903,1152,630,-559,-1306,-1759,-2064,-1992,-1781,-1222,-598,-125,208,588,815,843,707,260,-42,-159,-254,-194,-414,-509,-227,39,92,12,-165,-405,-522,-573,-546,-536,-357,27,335,578,563,332,27,-194,-416,-706,-779,-696,-476,-260,-146,-129,-1,168,243,302,268,181,76,-68,-213,-315,-297,-212,-180,-173,-205,-243,-254,-232,-154,-58,7,126,213,149,75,-80,-210,-216,-255,-257,-236,-226,-173,-123,-107,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 174 degrees + {{-1,-1,-8,7,-2,14,-7,10,-7,1,7,-26,32,-42,65,991,6579,1021,-10230,-4486,952,2997,5918,5230,5641,7788,7514,2233,-2630,-4060,-4303,-4974,-4206,-3914,-5102,-4163,-2062,99,721,988,1971,2838,2822,2412,1693,817,591,-210,-1050,-1713,-1784,-1569,-1585,-1220,-627,-99,229,588,820,875,717,129,-196,-206,-63,-61,-518,-580,-180,145,112,-50,-263,-428,-542,-647,-657,-640,-341,113,463,667,564,235,-97,-265,-481,-737,-792,-631,-376,-208,-120,-84,28,144,234,271,243,168,36,-106,-220,-265,-242,-208,-174,-175,-228,-252,-234,-227,-178,-84,17,155,216,150,42,-105,-188,-213,-259,-245,-207,-183,-150,-150,0,0,0,0,0,0,0,0,0,0,0,0},{-1,-1,-8,7,-2,14,-7,10,-7,1,7,-26,32,-42,65,991,6579,1021,-10230,-4486,952,2997,5918,5230,5641,7788,7514,2233,-2630,-4060,-4303,-4974,-4206,-3914,-5102,-4163,-2062,99,721,988,1971,2838,2822,2412,1693,817,591,-210,-1050,-1713,-1784,-1569,-1585,-1220,-627,-99,229,588,820,875,717,129,-196,-206,-63,-61,-518,-580,-180,145,112,-50,-263,-428,-542,-647,-657,-640,-341,113,463,667,564,235,-97,-265,-481,-737,-792,-631,-376,-208,-120,-84,28,144,234,271,243,168,36,-106,-220,-265,-242,-208,-174,-175,-228,-252,-234,-227,-178,-84,17,155,216,150,42,-105,-188,-213,-259,-245,-207,-183,-150,-150,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 180 degrees +}; +inline constexpr std::int16_t pcm44100_m30[31][2][hrir::taps]={ + {{-8,6,-4,5,0,-4,3,-28,34,-59,59,-83,82,655,6313,2093,-10148,-2457,-1373,-2539,8574,9341,4579,5326,13776,5453,-7484,-2713,-5026,-10468,-1681,1057,-5970,-3755,857,989,-400,341,1379,-235,133,1819,-377,-1766,-95,163,-1102,-1370,-685,-649,-652,160,251,-271,204,736,699,362,124,60,-45,-475,-476,-492,-691,-476,-197,-266,-274,11,31,-13,120,129,-7,-47,-109,-157,-178,-130,-86,-52,-161,-152,-75,-63,-41,-18,-58,-155,-118,-142,-177,-25,-70,-507,-621,-520,-273,267,500,372,269,-7,-326,-474,-651,-848,-677,-37,296,257,256,170,64,9,-38,6,118,142,32,-83,-208,-255,-276,-329,-383,-472,0,0,0,0,0,0,0,0,0,0,0,0},{-8,6,-4,5,0,-4,3,-28,34,-59,59,-83,82,655,6313,2093,-10148,-2457,-1373,-2539,8574,9341,4579,5326,13776,5453,-7484,-2713,-5026,-10468,-1681,1057,-5970,-3755,857,989,-400,341,1379,-235,133,1819,-377,-1766,-95,163,-1102,-1370,-685,-649,-652,160,251,-271,204,736,699,362,124,60,-45,-475,-476,-492,-691,-476,-197,-266,-274,11,31,-13,120,129,-7,-47,-109,-157,-178,-130,-86,-52,-161,-152,-75,-63,-41,-18,-58,-155,-118,-142,-177,-25,-70,-507,-621,-520,-273,267,500,372,269,-7,-326,-474,-651,-848,-677,-37,296,257,256,170,64,9,-38,6,118,142,32,-83,-208,-255,-276,-329,-383,-472,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 0 degrees + {{0,-6,1,2,-3,9,-11,15,-33,31,-47,38,-54,58,159,3965,4477,-6545,-5128,-1416,-4895,3901,9291,6265,5357,10957,8410,-3241,-3008,-2692,-8650,-4493,1613,-2767,-3974,-946,-475,-572,-753,229,549,-458,1132,1365,-322,-127,191,-393,-1254,-1039,-703,-1405,-796,281,-297,105,876,518,346,271,-37,62,-95,-151,-236,-504,-408,-293,-318,-361,-249,-177,-127,-32,83,-62,-70,91,-18,-97,51,30,-4,-40,-62,-23,-96,-185,-239,-304,-395,-307,-36,-6,-470,-641,-507,-299,293,680,549,370,154,-127,-409,-663,-954,-1012,-451,8,56,68,135,225,287,283,216,201,209,52,-105,-201,-328,-386,-390,-413,-511,-535,0,0,0,0,0,0,0,0,0,0,0,0},{3,0,3,7,-12,16,-43,51,-76,76,-104,109,390,6358,4016,-11083,-4316,-845,-3584,9049,10850,5079,4984,14694,7744,-8579,-3805,-5046,-11724,-2301,1405,-6009,-3936,882,1425,-159,197,1676,-480,-692,1750,-239,-1751,246,217,-1334,-1405,-406,-699,-1004,161,467,-246,248,660,526,443,330,161,-64,-462,-432,-527,-850,-633,-337,-355,-258,118,140,29,175,221,3,27,-94,-281,-283,-212,-167,-111,-173,-159,-78,-79,-6,43,20,-33,-9,-101,-206,-84,25,-394,-676,-620,-487,52,488,404,311,146,-178,-370,-586,-860,-848,-231,312,318,252,172,55,43,48,54,111,163,86,-64,-217,-301,-332,-351,-325,-382,-460,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 6 degrees + {{0,0,-5,2,0,-1,7,-6,10,-25,25,-40,35,-45,51,224,3744,3531,-5818,-4055,-1660,-4130,3741,7843,5834,5524,9531,6942,-2263,-2248,-2422,-7193,-3684,780,-2706,-3250,-1285,-871,-852,-1097,154,578,-221,1213,1434,259,350,280,-397,-1116,-899,-871,-1619,-1065,-154,-404,93,646,334,309,336,177,348,215,61,-100,-389,-423,-378,-409,-426,-353,-290,-266,-198,-14,-19,54,135,38,23,89,56,41,47,2,-47,-121,-227,-319,-416,-489,-332,-45,-157,-577,-556,-390,-53,505,683,520,267,19,-232,-469,-689,-954,-841,-313,1,100,119,132,154,167,206,212,220,166,22,-81,-173,-277,-370,-454,-507,-560,0,0,0,0,0,0,0,0,0,0,0,0},{6,-3,16,-21,26,-54,59,-79,75,-101,113,118,5726,6522,-10650,-7467,-271,-4426,8311,12760,5940,4553,15011,10703,-8723,-5530,-4800,-12937,-3714,2691,-5575,-4905,856,1641,4,24,1955,-745,-2167,1581,1035,-1374,-87,381,-1010,-1434,-319,-608,-1392,-128,538,-299,102,582,408,356,314,349,194,-367,-382,-337,-726,-727,-482,-493,-499,-16,214,91,211,312,28,27,2,-264,-366,-311,-269,-223,-193,-125,-50,-90,30,144,73,-18,28,-42,-206,-154,56,-280,-712,-654,-537,-196,341,444,347,273,-14,-229,-457,-811,-991,-523,199,364,285,177,24,37,82,116,172,236,167,-18,-174,-297,-399,-446,-364,-317,-426,-383,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 12 degrees + {{-3,0,-1,-5,1,-1,-1,4,-5,6,-19,18,-33,29,-36,38,261,3390,2834,-4897,-3367,-1818,-3313,3251,6620,5630,5185,8044,6005,-1295,-1540,-2034,-5742,-3208,28,-2434,-2950,-1411,-947,-1347,-1588,-64,562,168,1494,1583,741,868,645,-412,-1284,-1032,-1115,-1775,-1319,-495,-452,-11,363,250,381,557,539,576,348,200,-21,-347,-368,-382,-520,-563,-505,-536,-482,-246,12,83,150,189,113,100,148,90,47,13,-13,-58,-181,-300,-362,-426,-467,-281,-110,-345,-603,-467,-257,167,576,602,420,152,-86,-294,-496,-739,-902,-614,-154,64,130,83,73,80,79,129,209,222,115,12,-69,-181,-280,-394,-508,-550,0,0,0,0,0,0,0,0,0,0,0,0},{-4,21,-28,30,-57,52,-65,49,-71,78,-38,4478,8847,-8253,-11214,-728,-4445,6555,14123,7522,4461,14485,14062,-7487,-7699,-5383,-14023,-4471,4072,-4880,-6058,101,1711,461,-48,1804,-1267,-3686,1793,2961,-1111,-899,560,-1,-1192,-748,-842,-1485,-311,516,-570,-290,559,358,273,264,429,386,-226,-246,-22,-577,-730,-485,-494,-639,-244,7,-12,263,401,2,-55,94,-177,-385,-336,-292,-234,-210,-177,-27,-67,25,136,112,7,83,26,-222,-259,-3,-94,-651,-746,-589,-370,181,459,396,370,144,-90,-313,-659,-1034,-871,-37,375,263,173,28,26,66,121,243,308,290,117,-89,-245,-408,-520,-457,-358,-377,-433,-220,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 18 degrees + {{-1,-1,0,0,-3,1,-1,1,3,-3,6,-15,14,-23,24,-24,29,247,2931,2513,-3935,-3086,-1743,-2702,2536,5868,5321,4458,6839,5512,-393,-951,-1426,-4631,-3124,-280,-2146,-2771,-1446,-1303,-1942,-1770,4,679,593,1724,1805,1152,1064,664,-423,-1292,-1311,-1371,-1777,-1374,-635,-629,-239,304,438,584,689,692,701,445,242,-5,-278,-331,-431,-627,-752,-720,-609,-480,-261,27,139,202,260,222,150,143,91,23,-48,-95,-104,-168,-269,-341,-410,-412,-238,-201,-483,-592,-387,-83,330,512,455,296,64,-157,-356,-521,-704,-701,-344,-22,89,89,2,10,5,13,130,219,165,37,-34,-98,-185,-270,-403,-507,0,0,0,0,0,0,0,0,0,0,0,0},{23,-25,26,-42,27,-26,-1,-5,-4,-26,2859,10181,-3917,-14275,-2720,-4154,4328,14770,9042,5093,13797,16908,-4603,-9476,-7752,-14526,-3825,4367,-3948,-6457,-1409,980,1407,119,653,-1547,-4162,1819,4265,-703,-1312,802,822,-789,-1151,-1234,-1555,-405,315,-752,-567,315,218,326,311,342,448,7,-47,178,-418,-679,-358,-380,-646,-441,-176,-150,95,317,21,-46,93,-144,-336,-297,-220,-169,-159,-184,-54,-57,-4,98,85,-5,43,80,-100,-269,-136,9,-462,-821,-656,-464,0,445,428,452,361,65,-209,-548,-953,-1102,-407,345,291,121,-7,16,111,92,273,417,397,260,30,-134,-323,-540,-554,-465,-373,-403,-308,-115,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 24 degrees + {{0,-1,0,0,0,-3,1,0,1,3,-1,4,-10,12,-18,22,-17,20,208,2459,2348,-3097,-2893,-1547,-2304,2014,5256,4643,3834,5894,5050,421,-300,-888,-3875,-2951,-448,-1847,-2650,-1933,-1820,-1904,-1400,67,805,942,1910,1888,1125,946,513,-370,-1114,-1346,-1557,-1818,-1375,-770,-663,-213,374,577,704,717,638,669,482,245,-12,-251,-399,-549,-700,-775,-717,-621,-461,-249,25,130,178,279,252,198,129,31,-21,-79,-66,-78,-178,-277,-327,-370,-376,-239,-317,-538,-488,-268,44,329,389,322,172,-22,-224,-366,-480,-577,-432,-140,4,39,2,-76,-74,-29,22,94,138,56,-11,-30,-101,-180,-262,-376,0,0,0,0,0,0,0,0,0,0,0,0},{-5,3,-14,-18,27,-68,74,-114,94,1215,9831,2035,-15366,-6429,-3526,1358,14426,10760,5617,12964,19870,-419,-11477,-9313,-14731,-4432,4881,-2675,-6988,-2810,-180,1880,300,-963,-1141,-3109,995,4183,409,-1033,715,1180,-338,-1082,-1597,-1993,-553,274,-980,-830,225,63,193,276,302,527,341,-40,191,-71,-470,-403,-334,-570,-582,-266,-281,-114,171,-40,-86,119,-67,-277,-293,-183,-78,-81,-218,-69,-1,-32,27,31,-14,-4,49,-67,-232,-225,22,-164,-746,-801,-548,-187,364,452,393,466,291,-33,-398,-826,-1201,-853,141,383,101,-73,-92,94,108,260,486,506,400,157,-44,-186,-474,-604,-563,-484,-417,-350,-156,-80,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 30 degrees + {{-1,-2,-2,-2,-1,-2,-4,-2,-2,-3,1,-4,1,-12,7,-16,19,-18,12,152,2054,2293,-2454,-2782,-1380,-1974,1690,4544,3970,3406,5018,4699,1170,265,-533,-3330,-2714,-556,-1758,-2701,-2336,-1959,-1512,-984,210,1051,1172,1591,1530,1093,907,420,-351,-1007,-1275,-1560,-1854,-1373,-662,-424,-41,330,476,616,604,508,582,458,159,-82,-304,-407,-520,-640,-708,-688,-564,-483,-285,-33,53,141,232,250,155,104,55,-8,-23,-66,-114,-213,-293,-345,-384,-347,-302,-396,-463,-367,-190,85,283,271,189,48,-120,-262,-332,-386,-412,-254,-98,-49,-33,-87,-148,-128,-76,-36,51,76,9,-8,-44,-117,-171,-258,0,0,0,0,0,0,0,0,0,0,0,0},{-17,21,-61,70,-107,107,-153,168,120,7476,7987,-12699,-11638,-3227,-1309,12135,12461,6397,11659,22277,5166,-12807,-9259,-14848,-6859,5182,-1150,-7245,-4146,-1001,1043,536,-1888,-979,-1379,392,3303,1203,-244,677,1284,-190,-1013,-1366,-2349,-1290,264,-729,-1241,79,78,128,154,159,591,617,119,109,153,-251,-329,-322,-564,-703,-428,-369,-243,146,-52,-225,98,60,-126,-228,-246,-99,-14,-201,-152,7,-12,12,7,-13,7,16,-100,-188,-239,-103,28,-436,-823,-622,-367,142,477,378,423,409,138,-214,-602,-1053,-1167,-330,416,191,-100,-198,-54,82,232,557,615,503,316,54,-52,-323,-612,-593,-593,-496,-365,-195,-98,-55,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 36 degrees + {{1,0,-1,-1,-2,-1,-1,-4,0,-1,-1,3,-5,4,-10,10,-9,16,-12,14,97,1718,2216,-1940,-2620,-1201,-1575,1384,3750,3452,3032,4232,4446,1820,633,-261,-2756,-2673,-732,-1543,-2668,-2469,-1697,-1046,-624,481,1033,774,1164,1476,1111,790,373,-302,-939,-1208,-1456,-1601,-1080,-431,-313,-124,191,310,409,484,465,451,281,79,-55,-219,-347,-458,-554,-630,-618,-574,-478,-268,-56,30,104,175,181,167,122,61,56,18,-89,-166,-238,-290,-324,-364,-332,-320,-386,-337,-242,-88,118,199,157,77,-31,-182,-256,-240,-265,-271,-184,-124,-78,-63,-129,-198,-178,-100,-21,61,67,25,5,-44,-88,-155,0,0,0,0,0,0,0,0,0,0,0,0},{23,-61,59,-73,50,-68,73,-134,3994,11387,-5701,-16336,-5001,-2375,8134,13398,7308,10292,22767,11820,-11376,-9885,-13795,-9574,4243,202,-7152,-4957,-1634,-760,101,-1251,-889,-942,395,3115,1549,214,790,1422,-121,-1354,-1057,-2180,-1940,-312,-411,-1279,-135,50,61,280,116,399,646,482,163,134,-190,-242,-205,-528,-893,-587,-411,-411,45,72,-198,62,103,-78,-99,-175,-202,-106,-144,-176,-117,-106,20,74,25,-23,38,-82,-173,-196,-186,20,-126,-693,-730,-483,-137,409,423,341,421,240,-65,-403,-838,-1159,-764,180,311,-78,-261,-219,-22,121,503,746,620,452,196,9,-147,-512,-644,-629,-594,-419,-234,-120,-82,-16,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 42 degrees + {{3,0,1,0,0,-1,1,1,-1,1,0,1,6,-3,8,-7,12,-6,14,-7,11,65,1446,2080,-1513,-2436,-1028,-1172,1033,3020,3086,2701,3567,4159,2343,1068,-291,-2636,-2505,-612,-1194,-2541,-2389,-1266,-475,-384,182,688,622,979,1371,1113,672,221,-406,-882,-896,-1039,-1182,-865,-457,-403,-256,-4,154,313,328,279,298,186,68,-1,-162,-287,-387,-487,-555,-557,-529,-421,-230,-65,-10,20,78,133,156,137,57,20,-2,-66,-141,-234,-269,-318,-353,-335,-331,-304,-218,-125,14,96,66,41,8,-111,-229,-217,-161,-191,-227,-202,-131,-62,-98,-194,-236,-159,-70,-5,69,65,29,-2,-41,-89,0,0,0,0,0,0,0,0,0,0,0,0},{-6,-24,37,-83,95,-141,133,803,10293,4574,-16785,-10503,-2381,3577,12615,8696,8526,20147,19659,-5358,-11979,-11695,-11914,1655,1954,-6417,-6261,-2796,-2077,-409,-506,-980,-723,-84,2857,2735,843,453,1101,637,-1401,-1416,-2087,-2161,-846,-552,-1252,-286,245,-67,324,264,410,563,627,268,157,-38,-367,-356,-331,-752,-843,-576,-509,-63,169,-132,18,205,29,-55,-117,-214,-160,-136,-266,-179,-133,-83,-32,63,75,85,9,-148,-131,-130,-57,57,-418,-832,-600,-361,199,493,306,343,338,95,-233,-653,-1035,-963,-171,363,-11,-329,-312,-112,44,282,734,783,596,388,88,-74,-325,-583,-637,-647,-509,-279,-121,-101,-39,-1,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 48 degrees + {{1,1,0,0,0,0,0,0,0,-1,-1,2,3,3,1,4,-6,9,-10,15,-8,9,64,1234,1818,-1169,-2151,-881,-813,691,2414,2780,2363,3099,4114,2588,735,-540,-2127,-1891,-356,-1008,-2335,-1890,-750,-509,-587,-30,520,597,893,1197,923,382,-136,-285,-261,-430,-831,-1025,-835,-572,-484,-377,-157,55,156,139,105,156,135,93,38,-115,-231,-306,-382,-471,-482,-449,-358,-230,-139,-104,-47,31,70,102,82,19,37,34,-25,-104,-207,-288,-362,-352,-316,-264,-190,-125,-47,8,3,-29,-42,-93,-187,-204,-142,-131,-207,-240,-190,-117,-96,-162,-198,-176,-130,-67,18,61,34,14,-15,-61,0,0,0,0,0,0,0,0,0,0,0,0},{-53,69,-98,78,-103,114,-187,4840,12132,-8101,-17910,-4399,430,9455,10297,7196,15002,24266,6202,-12694,-10787,-12587,-2423,3595,-4199,-7922,-4891,-2851,-1322,469,-1085,-1154,-571,2193,3866,1710,469,908,1259,-941,-1830,-2091,-2637,-1528,-497,-1169,-902,488,97,203,491,593,533,574,505,192,11,-353,-535,-506,-570,-852,-681,-588,-312,184,14,-49,219,151,3,-26,-155,-211,-142,-283,-301,-213,-121,-102,-91,38,140,190,14,-113,-98,-63,87,-64,-744,-793,-522,-165,424,387,245,299,225,10,-405,-883,-1019,-537,223,183,-368,-469,-254,5,129,533,848,725,550,270,16,-212,-494,-610,-624,-568,-384,-152,-92,-69,4,8,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 54 degrees + {{0,1,1,1,1,0,2,0,-1,1,0,2,3,4,4,1,2,-2,7,-3,9,-2,6,99,1082,1433,-883,-1747,-763,-577,432,1894,2529,2496,2799,3252,2264,657,-366,-1251,-1241,-299,-659,-1798,-1696,-814,-554,-637,-119,464,477,686,868,439,175,256,278,45,-359,-788,-960,-833,-625,-521,-469,-273,-87,-74,-46,8,108,131,131,89,-57,-125,-228,-312,-386,-395,-369,-369,-292,-226,-161,-83,-37,28,37,61,85,90,60,-23,-99,-225,-317,-355,-314,-224,-165,-105,-102,-77,-47,-63,-73,-113,-152,-192,-148,-95,-153,-247,-280,-177,-83,-100,-143,-163,-145,-101,-39,17,19,10,-4,-36,0,0,0,0,0,0,0,0,0,0,0,0},{-44,73,-125,147,-206,229,341,10268,6792,-18415,-12407,-505,4337,11109,7264,9534,22679,19134,-7375,-12546,-11160,-6701,3719,-866,-8041,-7880,-3614,-2591,137,29,-1662,-965,926,3651,3020,1375,374,1610,575,-1980,-2491,-2865,-2252,-977,-674,-1348,-139,434,288,582,683,760,601,586,239,195,-194,-663,-665,-580,-797,-888,-563,-455,9,127,-115,104,266,148,19,-10,-131,-125,-216,-400,-327,-248,-166,-170,-70,82,211,213,51,-22,-40,11,174,-280,-872,-706,-498,66,448,245,236,215,157,-73,-594,-950,-762,-128,313,-128,-629,-519,-132,68,288,757,830,681,477,204,-75,-402,-578,-592,-571,-438,-249,-97,-80,-13,44,36,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 60 degrees + {{0,0,1,1,1,1,1,0,1,2,1,2,2,2,2,3,0,0,4,4,-5,6,7,-3,186,935,953,-625,-1245,-720,-513,342,1816,2524,2015,1886,2565,2328,977,-89,-524,-425,25,-702,-1750,-1501,-836,-643,-613,-182,181,200,273,503,683,640,502,345,87,-380,-821,-901,-762,-615,-602,-593,-444,-289,-201,-122,-2,137,174,173,131,6,-101,-167,-230,-314,-355,-410,-414,-341,-257,-185,-142,-49,22,63,97,93,102,61,-42,-173,-255,-281,-285,-214,-149,-129,-132,-132,-98,-79,-90,-118,-151,-181,-172,-116,-140,-238,-283,-237,-120,-48,-77,-124,-144,-129,-95,-35,6,-8,-19,-37,0,0,0,0,0,0,0,0,0,0,0,0},{8,-8,-32,48,-88,31,2377,13633,-2602,-22111,-5477,1694,7155,9866,5725,15481,25980,7391,-13415,-11193,-8670,484,2989,-5177,-10035,-6609,-2590,-2034,312,-791,-1218,-335,2312,3513,2374,959,1006,2041,-764,-2415,-2993,-3133,-1866,-574,-1214,-1192,339,443,431,708,1072,910,744,400,24,120,-347,-807,-816,-801,-994,-767,-529,-270,179,-21,-103,193,305,144,59,24,-34,-120,-385,-466,-376,-282,-250,-190,-24,163,281,199,72,38,4,97,189,-486,-875,-655,-436,198,293,159,214,154,161,-207,-771,-846,-402,157,188,-488,-770,-431,-64,68,471,834,783,653,393,163,-186,-536,-592,-558,-487,-315,-149,-86,-60,38,58,45,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 66 degrees + {{1,2,2,2,2,3,3,3,4,3,5,5,4,5,3,5,3,8,1,10,2,0,12,12,10,278,784,491,-379,-783,-781,-204,773,1312,1544,1639,1780,2350,2462,1240,243,510,364,-547,-1189,-1374,-1272,-974,-724,-644,-471,-294,-19,486,907,946,695,456,286,9,-497,-790,-725,-685,-758,-794,-684,-522,-366,-239,-89,102,165,184,194,138,40,-51,-124,-234,-308,-391,-454,-408,-321,-248,-196,-114,-33,27,82,109,123,88,6,-111,-201,-221,-219,-183,-160,-169,-144,-123,-111,-113,-125,-122,-134,-178,-223,-206,-153,-166,-219,-235,-169,-58,-22,-68,-137,-154,-117,-63,-15,-28,-52,-54,0,0,0,0,0,0,0,0,0,0,0,0},{60,-99,90,-102,108,-204,5148,13996,-11411,-20953,-116,2879,8162,7693,7360,21341,22758,-2335,-14838,-9374,-3626,3697,127,-7938,-10454,-4859,-2620,-2116,548,-1031,-1070,812,2854,2888,2166,475,1621,1893,-1412,-2768,-3112,-2762,-1797,-853,-1359,-768,382,409,390,975,1390,1027,846,233,-76,59,-486,-905,-882,-1001,-1140,-710,-447,-115,125,-119,-10,317,354,141,134,69,-8,-170,-470,-530,-394,-304,-321,-184,35,230,315,198,101,98,37,183,152,-603,-824,-639,-361,199,129,135,176,159,181,-356,-840,-662,-112,342,24,-766,-826,-349,-55,105,597,821,746,605,361,148,-281,-581,-547,-523,-396,-195,-90,-88,-16,33,26,54,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 72 degrees + {{0,0,0,0,1,1,2,2,2,3,1,2,1,0,0,0,3,2,1,2,8,-2,6,4,8,33,377,566,90,-133,-338,-277,-112,-92,658,1437,1917,2002,2166,2505,1910,919,479,-54,-948,-1249,-1094,-1147,-1211,-969,-857,-812,-224,582,971,949,838,618,322,101,-175,-496,-674,-733,-833,-923,-842,-679,-498,-336,-173,-2,129,166,170,187,143,70,-56,-201,-317,-377,-387,-383,-360,-313,-232,-156,-110,-43,21,96,153,114,15,-76,-126,-186,-211,-180,-151,-153,-166,-132,-114,-136,-157,-171,-171,-207,-262,-277,-199,-106,-131,-179,-158,-83,-44,-75,-126,-142,-111,-86,-67,-68,-84,-70,0,0,0,0,0,0,0,0,0,0,0,0},{91,-162,178,-222,261,-327,7336,12836,-17025,-18452,3113,3403,7344,6677,10571,23734,18066,-7869,-14817,-6580,645,4073,-2406,-9340,-9744,-3868,-3344,-2108,571,-1016,-843,1472,3092,2585,1674,211,2099,1433,-1676,-2671,-2950,-2520,-1707,-1279,-1451,-437,327,239,423,1216,1443,1098,966,272,-121,-61,-596,-957,-904,-1138,-1251,-759,-383,-28,26,-144,71,453,418,194,174,53,-62,-240,-449,-551,-420,-339,-359,-171,88,251,267,205,194,152,67,246,83,-687,-778,-650,-298,142,-7,152,161,217,142,-524,-832,-454,102,374,-164,-898,-773,-323,-109,179,671,799,688,533,362,130,-334,-572,-521,-479,-307,-97,-74,-109,8,14,0,36,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 78 degrees + {{0,0,0,0,0,1,1,2,2,2,3,1,1,0,-1,-1,3,0,-2,6,2,10,4,-6,4,13,91,381,313,35,522,9,-1049,-748,-68,995,1857,2125,2220,2602,2883,1672,214,-67,-165,-885,-1287,-1115,-1180,-1406,-1339,-879,-264,444,1009,1026,827,643,403,131,-76,-283,-556,-766,-890,-888,-874,-794,-598,-389,-207,-78,34,93,148,218,215,119,-34,-177,-294,-358,-354,-329,-311,-317,-294,-226,-141,-61,-9,50,119,155,92,-30,-116,-162,-184,-183,-171,-153,-136,-118,-133,-160,-186,-214,-239,-253,-281,-291,-208,-95,-51,-64,-91,-101,-100,-110,-132,-123,-99,-98,-109,-111,-97,-73,0,0,0,0,0,0,0,0,0,0,0,0},{110,-198,237,-297,363,-403,8492,11887,-19821,-16698,5070,3616,5905,6685,13157,23778,14435,-10960,-14084,-3476,3411,3734,-4415,-10033,-8759,-3623,-3951,-1905,340,-1333,-568,1968,3072,2579,1374,-21,2349,1292,-1978,-2740,-2343,-2135,-1762,-1445,-1575,-509,269,158,362,1237,1418,1112,1037,389,11,-143,-683,-931,-914,-1217,-1321,-799,-379,6,-12,-194,102,525,475,256,175,-3,-132,-255,-422,-516,-417,-340,-342,-178,69,232,273,216,214,178,102,293,60,-739,-800,-677,-275,74,-92,123,156,283,138,-570,-767,-305,192,333,-307,-957,-711,-339,-169,170,642,775,644,511,367,122,-292,-513,-522,-426,-230,-77,-102,-150,-28,-40,-29,26,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 84 degrees + {{0,0,0,0,1,1,2,3,3,2,3,2,0,1,-1,1,3,-1,2,5,3,7,9,2,-10,15,3,132,407,678,452,-427,-976,-946,-145,725,1438,2194,2671,3085,2483,1373,636,-43,-314,-333,-808,-1341,-1285,-1296,-1537,-1158,-111,593,806,1056,998,579,290,144,-42,-298,-559,-734,-843,-896,-835,-727,-621,-400,-227,-135,-32,59,143,161,181,122,-6,-152,-299,-343,-331,-286,-285,-308,-304,-246,-134,-73,-15,52,101,128,113,41,-61,-128,-186,-234,-216,-138,-102,-127,-155,-198,-233,-256,-263,-287,-308,-265,-180,-76,15,41,-14,-97,-152,-174,-146,-123,-121,-114,-126,-118,-86,-67,0,0,0,0,0,0,0,0,0,0,0,0},{119,-214,253,-313,385,-478,8163,12298,-19794,-16991,5944,3694,4462,6799,14322,23017,12645,-11947,-13088,-1200,4795,3726,-5659,-10317,-8040,-3847,-4295,-1889,103,-1713,-766,2192,3373,2424,1433,110,2211,1369,-2066,-2880,-2133,-1649,-1449,-1618,-1721,-549,-10,-52,434,1164,1284,1057,1054,513,135,-31,-662,-958,-879,-1179,-1396,-854,-357,-5,-54,-263,99,548,505,308,169,-33,-162,-274,-403,-461,-361,-322,-354,-183,77,228,244,206,205,189,129,280,52,-730,-768,-676,-307,-1,-167,109,183,354,141,-565,-674,-212,207,248,-393,-958,-654,-343,-192,125,566,753,635,542,377,112,-196,-439,-523,-396,-181,-68,-128,-194,-99,-100,-44,44,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 90 degrees + {{0,1,1,1,1,2,2,4,4,4,3,2,3,0,0,3,2,1,6,1,6,6,11,8,6,-16,7,38,691,1106,-286,-1112,-755,-296,250,817,1303,1991,3232,2905,1719,1060,345,58,-152,-517,-646,-773,-1282,-1425,-1262,-1032,-246,677,1035,960,883,622,243,19,-168,-379,-565,-766,-831,-798,-788,-648,-488,-397,-260,-107,-26,35,89,92,136,115,-46,-200,-267,-291,-342,-344,-306,-265,-218,-186,-137,-44,45,73,78,78,85,86,3,-109,-208,-274,-261,-166,-87,-124,-189,-237,-259,-266,-280,-280,-278,-233,-160,-50,72,98,23,-97,-180,-197,-169,-148,-150,-130,-107,-74,-57,-79,0,0,0,0,0,0,0,0,0,0,0,0},{105,-184,200,-229,271,-423,6167,13975,-16417,-19660,5484,4005,3257,6360,13852,22270,12926,-10932,-12670,92,5317,4132,-5639,-10555,-8062,-4158,-4355,-2416,46,-1991,-1303,2015,3616,2614,1710,238,2104,1742,-2034,-3006,-2065,-1583,-1219,-1278,-1823,-886,-191,-250,252,1132,1241,875,972,673,243,85,-496,-884,-840,-1085,-1373,-929,-449,-75,-64,-314,44,522,509,298,190,-24,-170,-274,-375,-401,-351,-300,-310,-146,100,200,179,134,177,168,73,245,127,-623,-729,-657,-392,-86,-205,96,217,387,166,-544,-617,-188,162,185,-400,-939,-648,-348,-195,89,481,698,628,591,411,104,-109,-366,-518,-386,-186,-83,-159,-244,-165,-139,-73,50,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 96 degrees + {{0,0,0,1,1,1,1,2,2,2,1,1,0,0,0,0,-1,2,0,4,0,8,1,13,5,-4,-21,396,1158,164,-1084,-962,-502,322,946,1084,1519,2647,2674,1826,1163,630,339,-221,-362,-478,-773,-768,-609,-801,-1311,-886,-19,596,1107,1129,693,442,347,-94,-453,-528,-632,-776,-850,-746,-660,-613,-443,-241,-125,-90,-54,12,83,97,33,-53,-94,-174,-301,-393,-396,-352,-311,-238,-164,-74,-12,22,64,73,61,46,53,55,8,-104,-253,-314,-279,-213,-158,-143,-209,-298,-303,-258,-226,-229,-237,-196,-107,-10,55,63,-9,-130,-197,-202,-200,-201,-165,-123,-79,-38,-47,-89,0,0,0,0,0,0,0,0,0,0,0,0},{49,-76,41,-20,-11,-66,3135,14950,-9112,-23272,2719,5066,2020,5578,11876,21385,14899,-8296,-12777,484,5608,4549,-4383,-10594,-8740,-4617,-4101,-3562,-157,-1596,-2091,1283,3871,2899,2056,640,1805,2350,-1513,-3101,-2230,-1595,-1304,-1140,-1590,-1080,-527,-410,94,869,1220,858,815,740,333,225,-248,-743,-711,-927,-1322,-1045,-578,-219,-74,-302,-33,461,486,266,178,30,-113,-249,-371,-382,-282,-210,-263,-143,96,190,111,38,43,98,61,247,266,-494,-714,-625,-422,-115,-259,49,260,409,179,-543,-608,-192,119,143,-345,-895,-659,-319,-189,45,418,649,606,616,458,115,-56,-288,-487,-386,-232,-136,-194,-260,-205,-150,-97,35,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 102 degrees + {{-1,0,1,2,1,3,1,1,3,4,2,2,1,0,3,-1,2,-1,1,1,6,0,5,10,5,5,230,1279,474,-1426,-1124,-451,274,967,1191,1583,2632,2991,1573,348,369,423,6,-143,-742,-1005,-677,-590,-296,-147,-467,-777,-101,849,1123,951,695,443,121,-207,-614,-777,-723,-757,-802,-806,-602,-404,-317,-177,-28,40,36,60,8,-31,-32,-90,-187,-325,-391,-414,-421,-383,-302,-147,-44,28,101,117,107,63,24,-13,28,59,-21,-137,-286,-349,-326,-246,-179,-215,-286,-317,-247,-179,-155,-157,-164,-112,-59,-21,-19,-31,-70,-162,-191,-210,-213,-182,-142,-91,-60,-13,-25,-78,0,0,0,0,0,0,0,0,0,0,0,0},{-50,82,-172,226,-327,392,347,12728,1903,-24343,-4395,6941,863,4537,9115,18920,18291,-3342,-13089,-610,6068,4908,-2322,-9818,-9687,-5840,-3699,-4538,-1372,-705,-2439,1,3700,3430,2331,1278,1509,2958,-508,-2944,-2334,-1839,-1577,-1242,-1576,-1213,-570,-661,-229,657,1158,846,745,835,380,298,142,-549,-670,-724,-1179,-1206,-759,-391,-136,-248,-124,343,442,245,176,65,-94,-190,-267,-310,-280,-130,-189,-180,9,130,43,-63,-58,23,62,201,373,-264,-671,-601,-470,-128,-236,-29,256,375,177,-527,-614,-224,32,101,-240,-774,-671,-306,-175,-15,355,609,556,603,503,138,-23,-202,-452,-407,-300,-201,-215,-271,-222,-160,-108,9,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 108 degrees + {{-1,0,0,1,1,1,1,0,2,1,1,0,-1,1,0,0,2,-4,-2,-1,5,-11,17,-9,27,108,1310,1099,-1591,-1777,-642,326,1223,1377,1534,2598,3681,2065,128,-176,-433,-421,-81,-546,-1029,-1104,-995,-185,192,90,225,118,87,598,1008,875,610,429,-21,-543,-724,-809,-916,-877,-752,-626,-502,-364,-164,-37,55,195,139,-23,-28,-33,-169,-293,-320,-355,-451,-503,-453,-330,-187,-70,31,136,188,157,99,24,3,4,-11,-3,-52,-182,-333,-393,-373,-312,-241,-263,-312,-282,-166,-69,-58,-76,-89,-60,-62,-122,-142,-132,-146,-198,-231,-201,-154,-122,-108,-71,-27,-6,-21,-52,0,0,0,0,0,0,0,0,0,0,0,0},{-92,130,-203,212,-267,325,-468,6733,11391,-16986,-15190,6702,1471,2275,7361,14054,20408,4658,-11996,-3482,6344,5551,-278,-7863,-10037,-7715,-4180,-4410,-3391,-535,-1930,-1326,2807,3951,2591,2037,1381,3212,1257,-2652,-2431,-1753,-1963,-1711,-1644,-1553,-778,-632,-516,167,1097,1043,625,868,691,324,363,-184,-608,-631,-1007,-1241,-958,-610,-267,-210,-228,187,418,264,107,93,-14,-85,-133,-188,-266,-167,-127,-231,-160,5,30,-82,-123,-56,38,143,423,-17,-587,-564,-488,-167,-190,-104,201,334,183,-483,-663,-270,-55,20,-125,-614,-656,-294,-156,-74,262,555,496,542,533,196,-3,-133,-416,-440,-362,-269,-226,-305,-248,-155,-84,-17,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 114 degrees + {{0,1,1,1,3,1,0,2,1,2,2,1,3,3,1,4,-2,4,-9,14,-16,18,-19,36,29,1191,1835,-1438,-2548,-919,140,1343,1707,1736,2715,4180,2677,132,-383,-590,-837,-947,-1036,-1057,-1122,-1128,-591,-69,307,679,701,819,814,474,354,728,798,127,-329,-514,-875,-1086,-970,-773,-630,-488,-398,-235,24,171,121,56,168,171,-74,-310,-341,-304,-397,-492,-487,-428,-348,-260,-140,6,156,199,128,100,115,83,21,-10,-25,-70,-143,-234,-350,-442,-404,-313,-308,-315,-260,-147,-46,7,14,12,19,-43,-160,-251,-257,-223,-208,-229,-242,-164,-67,-23,-24,-26,1,20,10,-18,0,0,0,0,0,0,0,0,0,0,0,0},{-10,-12,22,-86,125,-195,203,1076,12285,-1482,-21537,-908,5040,-972,5940,10074,17361,13458,-6604,-7203,5179,6871,1479,-5530,-9083,-8894,-6243,-4193,-4490,-1806,-1031,-2232,1046,4304,3098,2471,1848,2637,3185,-1022,-2875,-1851,-1814,-2144,-2020,-2008,-1257,-776,-602,-189,633,1287,876,761,954,615,441,170,-454,-599,-820,-1209,-1097,-791,-519,-274,-285,20,346,303,131,142,145,21,-46,-105,-167,-229,-214,-297,-251,-61,3,-92,-138,-101,23,92,381,217,-485,-527,-446,-209,-145,-179,116,338,260,-416,-743,-339,-80,-68,-80,-426,-608,-294,-113,-97,141,474,452,465,539,280,58,-74,-361,-479,-397,-324,-225,-307,-302,-154,-45,-2,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 120 degrees + {{0,0,1,1,2,-1,2,0,0,2,0,1,5,1,7,-4,9,-11,13,-10,12,-13,17,-2,922,2510,-855,-3450,-1339,93,1322,1862,1932,2890,4811,3668,97,-909,-696,-844,-1168,-1400,-1844,-1778,-1207,-705,-105,121,380,893,1368,1431,1029,475,239,388,412,59,-556,-865,-870,-937,-942,-809,-546,-300,-67,72,-14,26,233,274,77,-109,-197,-280,-401,-508,-534,-483,-378,-300,-248,-165,-43,48,74,95,133,131,101,81,49,-9,-96,-180,-256,-325,-367,-374,-332,-354,-404,-332,-159,5,57,37,39,84,63,-96,-284,-378,-366,-299,-255,-273,-229,-92,7,61,66,53,51,26,12,-25,0,0,0,0,0,0,0,0,0,0,0,0},{53,-93,109,-146,154,-190,231,-347,5245,10729,-12981,-14470,5437,48,861,9125,12012,16286,4178,-8442,1260,8180,3811,-3284,-7847,-8276,-7869,-5862,-4740,-3593,-898,-1624,-1361,3014,4213,2843,2650,2116,3491,1771,-1988,-2253,-1848,-2372,-2290,-2296,-2044,-1223,-945,-338,275,1052,1217,908,1053,991,595,416,-139,-589,-651,-1049,-1230,-953,-763,-525,-350,-230,231,448,296,137,211,197,53,-97,-203,-278,-243,-248,-327,-210,-40,-59,-110,-106,-41,40,240,389,-278,-583,-424,-256,-62,-140,-15,239,376,-207,-792,-466,-88,-166,-135,-246,-542,-371,-115,-65,57,370,393,336,535,390,136,-8,-282,-518,-447,-344,-267,-285,-367,-205,-27,21,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 126 degrees + {{1,2,2,2,1,2,0,1,2,1,-1,6,0,7,-2,8,-5,6,-1,-2,14,-8,12,597,2982,154,-4370,-2125,149,1382,2106,2012,2928,5414,4920,406,-1426,-1094,-1057,-1253,-1508,-2130,-2264,-1831,-1294,-102,223,294,778,1163,1612,1640,990,501,589,189,-516,-620,-485,-640,-879,-929,-860,-559,-210,-71,-8,50,176,270,152,-13,-31,-146,-317,-403,-515,-587,-540,-398,-277,-149,-59,-73,-73,-8,37,61,119,129,95,54,-8,-77,-193,-302,-328,-313,-298,-259,-273,-401,-446,-293,-64,99,114,58,87,117,5,-226,-393,-429,-405,-355,-337,-273,-132,-22,53,115,172,183,116,23,-36,-85,0,0,0,0,0,0,0,0,0,0,0,0},{-13,31,-64,85,-139,182,-250,307,20,8754,4579,-17197,-5784,4749,-2700,4427,10700,12653,12122,-1523,-3951,6881,6841,-293,-6288,-7968,-7267,-7368,-6006,-4960,-2581,-580,-1577,169,3764,3602,3122,2909,2776,3369,233,-2086,-1560,-2061,-3012,-2652,-2405,-1780,-1340,-975,17,813,1251,1135,1152,1264,918,556,297,-359,-623,-796,-1178,-1161,-957,-850,-510,-272,10,398,458,337,294,245,53,-88,-157,-199,-271,-263,-308,-284,-122,-23,-86,-105,-72,6,94,342,43,-564,-453,-271,-48,-3,-39,85,382,144,-653,-635,-118,-145,-291,-218,-435,-431,-174,-57,45,289,410,246,439,540,273,49,-188,-439,-477,-359,-324,-288,-381,-290,-45,51,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 132 degrees + {{1,1,1,0,2,0,-1,1,1,-3,3,2,5,1,3,4,-4,16,-23,35,-32,55,306,3192,1448,-5043,-3328,169,1490,2426,2247,3003,5793,6067,999,-1824,-1529,-1245,-1423,-1798,-2294,-2602,-2221,-1617,-447,-13,332,842,1140,1622,1510,1164,997,959,287,-592,-899,-880,-699,-622,-687,-625,-303,-253,-293,20,241,288,208,126,72,-61,-222,-377,-447,-493,-539,-575,-487,-276,-113,-72,-71,5,50,-2,15,69,73,69,2,-83,-123,-168,-239,-305,-302,-254,-183,-149,-286,-452,-422,-208,20,124,103,95,145,74,-143,-362,-451,-449,-394,-357,-358,-209,-39,11,87,206,289,238,105,20,-55,-138,0,0,0,0,0,0,0,0,0,0,0,0},{-12,21,-20,1,4,-42,70,-115,97,1280,9929,-1585,-15927,-452,1374,-2195,7218,10651,12295,7772,-2534,1761,8453,3131,-3297,-7127,-7514,-6654,-7135,-6215,-4788,-1605,-632,-1234,1633,3973,3146,3221,3133,3344,2678,-854,-1862,-1296,-2336,-3137,-3059,-2628,-1509,-1163,-803,208,1132,1399,1209,1204,1249,844,555,159,-506,-697,-996,-1288,-1120,-901,-762,-477,-254,204,558,451,257,232,178,45,-116,-208,-259,-276,-249,-304,-252,-85,-29,-115,-136,-75,-9,159,248,-331,-537,-301,-129,31,31,31,241,409,-291,-751,-297,-60,-384,-414,-417,-478,-230,-136,-12,189,399,326,319,539,382,135,-87,-319,-479,-437,-388,-358,-374,-409,-187,21,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 138 degrees + {{3,0,1,0,0,-1,1,0,-3,2,2,2,4,-7,12,-18,29,-36,48,-53,96,94,3129,2879,-5279,-4897,11,1641,2756,2538,3176,6243,7141,1594,-2202,-1997,-1483,-1454,-1980,-2601,-3089,-2531,-1858,-642,29,24,625,1312,1769,1757,1307,651,831,694,-312,-1003,-1147,-1062,-943,-498,-162,-161,-139,-5,163,203,207,285,275,94,-88,-293,-521,-519,-501,-565,-545,-434,-351,-283,-141,-17,82,142,109,51,51,47,-19,-129,-213,-192,-148,-203,-270,-261,-211,-150,-68,-156,-409,-464,-304,-92,53,82,80,149,164,-38,-345,-483,-474,-397,-332,-373,-302,-98,24,68,152,270,285,180,86,21,-78,-193,0,0,0,0,0,0,0,0,0,0,0,0},{22,-29,41,-51,45,-54,40,-38,30,-81,2624,9307,-5468,-12607,1009,-1363,-30,8185,9921,11334,5576,-838,5610,7003,-536,-4549,-7232,-6792,-6379,-7067,-6169,-4310,-983,-576,-628,2226,3989,3390,3338,2815,3162,2017,-1015,-1459,-1685,-2781,-2886,-2813,-2594,-1665,-1121,-339,626,1192,1284,1193,1276,1242,797,461,-99,-612,-711,-1017,-1220,-1066,-922,-677,-363,-170,251,471,366,286,280,154,-9,-144,-208,-258,-274,-256,-284,-220,-79,-67,-146,-169,-98,19,254,52,-502,-422,-210,-24,108,69,100,427,194,-585,-571,-122,-277,-581,-484,-529,-352,-176,-129,130,373,431,304,441,482,276,21,-218,-391,-483,-440,-435,-399,-451,-368,-84,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 144 degrees + {{3,2,0,1,-1,1,0,-2,0,5,-1,8,-11,18,-25,35,-45,59,-64,112,-5,2888,4217,-5055,-6597,-414,1795,3165,2914,3389,6698,8096,2348,-2421,-2573,-1939,-1554,-2058,-2736,-3485,-3021,-2170,-784,135,-22,419,1204,2010,2057,1432,586,802,647,-472,-965,-1201,-1205,-939,-754,-644,-106,434,414,357,464,385,241,290,210,-111,-387,-604,-629,-556,-550,-589,-562,-407,-238,-164,-107,81,244,233,146,100,3,-103,-166,-225,-245,-207,-213,-246,-239,-195,-123,-16,-34,-315,-489,-398,-155,41,51,7,93,220,95,-258,-497,-498,-427,-317,-319,-338,-173,-10,93,172,238,262,170,114,97,-2,-128,-246,0,0,0,0,0,0,0,0,0,0,0,0},{-10,25,-34,44,-63,64,-87,88,-107,119,-154,3540,8083,-6944,-9805,198,-2318,1828,7918,9254,10515,5342,1671,6819,3855,-2550,-4640,-7324,-6368,-6082,-6803,-5841,-3697,-911,-383,251,2566,3626,3294,3543,2795,2546,1159,-896,-1129,-1945,-2943,-2782,-2624,-2224,-1393,-1051,-181,828,1237,1227,1165,1215,1063,669,402,-182,-649,-728,-993,-1111,-1001,-930,-656,-307,-55,281,358,303,333,287,103,-30,-146,-223,-276,-272,-246,-261,-191,-115,-116,-147,-128,-101,75,288,-173,-549,-327,-135,75,160,54,195,428,-88,-598,-364,-197,-539,-620,-535,-540,-256,-163,0,338,455,376,343,467,411,166,-120,-294,-428,-478,-469,-487,-487,-449,-218,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 150 degrees + {{3,-1,2,-3,1,0,-3,-3,5,-3,11,-16,18,-27,33,-45,49,-54,91,-15,2617,5241,-4448,-8187,-1107,1828,3558,3545,3701,7154,8766,3052,-2360,-2980,-2489,-1963,-2200,-2751,-3780,-3484,-2488,-1025,247,-83,413,1368,2030,2078,1562,807,772,604,-497,-1215,-1291,-1120,-1149,-1088,-724,-226,146,499,918,972,686,503,380,110,-159,-344,-603,-664,-648,-753,-781,-618,-409,-281,-128,-24,87,215,264,175,77,-3,-64,-118,-215,-260,-218,-207,-252,-265,-215,-134,-27,38,-213,-474,-441,-246,-12,69,6,9,148,173,-119,-425,-478,-473,-382,-290,-308,-226,-78,69,186,236,269,189,98,105,52,-64,-193,-335,0,0,0,0,0,0,0,0,0,0,0,0},{5,-8,20,-27,41,-58,66,-93,108,-137,164,-151,4028,6816,-6868,-8084,-1231,-2121,2733,7252,8936,10046,5967,3886,6091,687,-3288,-4442,-7246,-5893,-5763,-6489,-5307,-3120,-791,-257,684,2838,3416,2939,3258,2661,2395,778,-1081,-1266,-1998,-2637,-2610,-2631,-1913,-910,-632,37,683,996,1182,1162,1138,937,512,268,-222,-601,-725,-1006,-1090,-925,-754,-502,-305,-89,255,327,303,302,211,51,-53,-180,-253,-269,-225,-183,-207,-182,-150,-124,-116,-103,-60,184,168,-376,-519,-285,-96,154,148,8,281,330,-221,-476,-277,-384,-696,-582,-580,-490,-162,-75,212,457,402,289,356,453,312,30,-169,-272,-427,-498,-548,-561,-493,-336,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 156 degrees + {{-1,-1,-2,-2,-2,-5,-6,3,-6,9,-19,16,-29,28,-42,34,-39,60,5,2428,5878,-3628,-9415,-2045,1773,3690,4337,4367,7627,9118,3565,-2059,-3215,-2892,-2513,-2702,-2797,-3799,-3955,-2862,-1392,301,250,254,1324,2170,2268,1808,724,708,731,-483,-1178,-1431,-1609,-1423,-972,-672,-452,-43,440,782,1145,1198,842,527,282,-35,-275,-596,-788,-787,-850,-874,-801,-590,-286,-42,47,129,208,190,93,77,61,-14,-93,-162,-227,-240,-214,-239,-251,-226,-170,-98,39,-84,-457,-530,-335,-40,116,-1,-59,75,186,-7,-344,-449,-471,-444,-303,-316,-297,-128,37,177,213,246,217,121,128,102,-11,-140,-324,-482,0,0,0,0,0,0,0,0,0,0,0,0},{-5,6,-6,16,-20,30,-50,58,-86,101,-136,164,-117,4019,6156,-5974,-7728,-2356,-1648,2949,6852,8701,9987,6920,5063,4363,-1413,-3335,-4731,-6980,-5016,-5261,-6179,-4968,-2729,-515,11,766,2594,3206,2987,3027,2175,1995,778,-781,-1473,-2373,-2554,-2297,-2216,-1522,-797,-459,381,853,927,984,951,993,817,406,132,-346,-606,-669,-864,-898,-784,-723,-529,-271,-43,209,242,263,239,115,-5,-97,-203,-223,-201,-145,-135,-183,-170,-111,-76,-79,-99,-49,184,-26,-523,-537,-315,-9,245,90,39,350,221,-267,-393,-312,-566,-690,-573,-637,-326,-24,67,352,408,272,220,350,386,207,0,-134,-285,-433,-542,-654,-607,-425,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 162 degrees + {{0,-3,0,0,-3,-4,4,-4,12,-16,16,-27,25,-34,25,-33,52,12,2448,6100,-2975,-9908,-3119,1558,3733,4911,5336,8330,9215,3848,-1621,-3340,-3152,-2980,-3286,-3077,-3855,-4250,-3340,-1519,351,272,229,1342,2402,2397,1934,897,772,847,-393,-1395,-1790,-1752,-1516,-1211,-771,-250,40,355,729,980,997,941,904,642,191,-173,-616,-826,-733,-863,-1013,-897,-624,-357,-130,11,113,193,223,160,87,48,23,-40,-109,-169,-201,-217,-230,-221,-224,-203,-158,20,48,-373,-622,-432,-100,157,75,-75,29,195,79,-273,-436,-452,-472,-345,-322,-334,-155,17,162,192,194,226,198,187,158,66,-73,-283,-468,-531,0,0,0,0,0,0,0,0,0,0,0,0},{-3,-3,3,-3,12,-16,23,-40,44,-71,81,-115,141,-62,3804,5792,-4989,-7835,-3179,-1224,3240,6627,8214,9945,7947,5242,2510,-2500,-3639,-4769,-6192,-4401,-4754,-5586,-4638,-2633,-323,246,756,2319,2879,2816,2993,2089,1580,477,-801,-1458,-2178,-2397,-2344,-2061,-1164,-405,-117,446,803,987,1021,794,680,492,245,99,-302,-498,-487,-641,-825,-861,-740,-492,-273,-85,132,196,220,162,46,-27,-72,-174,-204,-167,-76,-60,-121,-112,-46,-30,-110,-206,-95,109,-263,-636,-499,-234,106,263,65,140,351,90,-288,-369,-422,-683,-634,-547,-518,-143,45,175,361,285,173,201,315,305,173,29,-108,-311,-509,-645,-681,-540,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 168 degrees + {{-3,0,-1,-3,-6,4,-4,10,-13,14,-27,24,-38,32,-48,68,-5,2649,6076,-2796,-9688,-3982,993,3812,5338,6216,9122,9322,4104,-1121,-3440,-3372,-3386,-3899,-3383,-4141,-4425,-3399,-2024,35,415,510,1524,2335,2439,2134,1311,1126,673,-715,-1480,-1804,-1900,-1835,-1433,-708,-170,78,431,702,898,951,789,753,705,416,33,-457,-742,-766,-843,-911,-822,-676,-471,-274,-143,39,187,253,180,137,90,4,-62,-98,-103,-119,-166,-200,-196,-211,-260,-243,-69,108,-213,-630,-538,-223,146,200,-16,19,197,110,-209,-415,-468,-540,-427,-324,-360,-184,22,136,171,160,188,214,254,243,134,-9,-200,-412,-530,-581,0,0,0,0,0,0,0,0,0,0,0,0},{-1,-3,-4,2,-3,9,-14,18,-36,36,-58,60,-90,115,-35,3409,5829,-4028,-8355,-3855,-634,3644,6257,7582,9836,8774,5058,801,-3187,-3650,-4599,-5263,-3749,-4594,-5257,-4131,-2274,-279,189,632,1985,2768,2925,2721,1657,1425,577,-886,-1691,-2094,-2085,-2030,-1833,-1105,-322,123,606,756,873,960,811,605,319,85,35,-141,-265,-417,-723,-880,-852,-755,-552,-309,-109,95,170,178,95,33,22,-48,-138,-137,-107,-27,-29,-91,-73,-52,-125,-249,-282,-80,19,-424,-656,-441,-112,233,221,37,204,278,-19,-329,-415,-554,-694,-497,-457,-372,-47,99,202,260,190,136,196,294,261,157,36,-157,-423,-606,-672,-619,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 174 degrees + {{0,0,-3,-3,3,-2,12,-13,17,-29,31,-47,47,-65,93,-17,3020,5957,-3258,-9053,-4186,259,3912,5779,6878,9599,9235,4533,-429,-3516,-3588,-3814,-4529,-3766,-4184,-4784,-3869,-2036,-90,223,520,1809,2513,2732,2647,1445,936,543,-561,-1483,-2047,-2156,-1918,-1464,-774,-232,-57,400,865,1047,911,667,557,444,315,205,-193,-543,-638,-732,-845,-848,-739,-530,-310,-128,44,101,161,157,133,75,-11,-93,-104,-59,-29,-72,-136,-129,-133,-215,-295,-236,16,-55,-523,-606,-356,-3,261,140,31,202,184,-111,-369,-451,-592,-579,-362,-376,-258,-3,123,183,166,143,160,238,293,231,109,-62,-293,-498,-594,-638,0,0,0,0,0,0,0,0,0,0,0,0},{0,0,-3,-3,3,-2,12,-13,17,-29,31,-47,47,-65,93,-17,3020,5957,-3258,-9053,-4186,259,3912,5779,6878,9599,9235,4533,-429,-3516,-3588,-3814,-4529,-3766,-4184,-4784,-3869,-2036,-90,223,520,1809,2513,2732,2647,1445,936,543,-561,-1483,-2047,-2156,-1918,-1464,-774,-232,-57,400,865,1047,911,667,557,444,315,205,-193,-543,-638,-732,-845,-848,-739,-530,-310,-128,44,101,161,157,133,75,-11,-93,-104,-59,-29,-72,-136,-129,-133,-215,-295,-236,16,-55,-523,-606,-356,-3,261,140,31,202,184,-111,-369,-451,-592,-579,-362,-376,-258,-3,123,183,166,143,160,238,293,231,109,-62,-293,-498,-594,-638,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 180 degrees +}; +inline constexpr std::int16_t pcm44100_m20[37][2][hrir::taps]={ + {{5,-8,19,-22,27,-46,46,-51,36,-44,45,13,3688,7158,-7481,-7205,1978,-4401,4622,10998,4979,3542,13675,9486,-8974,-3592,147,-10860,-6417,2107,-5741,-7291,89,1780,-60,738,4375,3486,1545,2411,769,-2287,-1589,-1469,-3444,-3779,-2357,-1131,-1542,-770,1178,931,937,1781,1529,1019,902,745,241,-551,-733,-634,-1193,-1165,-731,-970,-899,-304,-106,-35,185,519,471,361,398,240,3,-181,-301,-416,-537,-486,-295,-376,-379,-170,-148,-190,-28,98,126,120,142,68,-51,-133,-139,-97,-133,-98,-26,-57,-124,-55,-40,-132,-67,9,-147,-226,-221,-219,-139,-21,-13,-100,-74,-10,2,-58,-183,-257,-250,-279,-303,-256,-314,-427,0,0,0,0,0,0,0,0,0,0,0,0},{5,-8,19,-22,27,-46,46,-51,36,-44,45,13,3688,7158,-7481,-7205,1978,-4401,4622,10998,4979,3542,13675,9486,-8974,-3592,147,-10860,-6417,2107,-5741,-7291,89,1780,-60,738,4375,3486,1545,2411,769,-2287,-1589,-1469,-3444,-3779,-2357,-1131,-1542,-770,1178,931,937,1781,1529,1019,902,745,241,-551,-733,-634,-1193,-1165,-731,-970,-899,-304,-106,-35,185,519,471,361,398,240,3,-181,-301,-416,-537,-486,-295,-376,-379,-170,-148,-190,-28,98,126,120,142,68,-51,-133,-139,-97,-133,-98,-26,-57,-124,-55,-40,-132,-67,9,-147,-226,-221,-219,-139,-21,-13,-100,-74,-10,2,-58,-183,-257,-250,-279,-303,-256,-314,-427,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 0 degrees + {{-6,7,-8,15,-12,14,-23,12,-6,-16,18,-25,33,1957,6824,-3053,-8513,390,-3989,843,9884,6717,3680,9991,11650,-3375,-4689,284,-8049,-7879,902,-2931,-6847,-1907,845,301,5,2811,3359,1297,1925,1679,-996,-1386,-863,-2203,-3079,-2443,-1928,-1729,-828,420,505,618,1278,1421,1210,835,546,440,-96,-587,-446,-745,-1061,-831,-733,-821,-467,-189,-191,24,335,284,221,343,259,101,-19,-184,-309,-407,-447,-319,-347,-372,-278,-197,-167,-58,49,97,139,148,62,-51,-113,-125,-66,-74,-91,-38,-22,-109,-88,-30,-83,-133,-142,-253,-276,-164,-85,-26,-7,-38,-63,11,35,-50,-192,-315,-325,-280,-341,-338,-353,-436,0,0,0,0,0,0,0,0,0,0,0,0},{-9,20,-19,17,-27,14,-1,-34,43,-62,51,2304,8818,-4245,-11301,1862,-3773,2095,12687,6534,2505,12758,14088,-8171,-7263,1549,-9965,-9124,2386,-4133,-9093,-1038,1854,257,646,4235,4301,1989,2787,1585,-2511,-2431,-1405,-3590,-4529,-2791,-1097,-1498,-1100,1181,1356,1084,1975,1772,1080,922,807,414,-385,-844,-766,-1338,-1410,-805,-886,-1062,-467,-68,27,244,551,612,494,515,337,-42,-261,-345,-447,-608,-623,-339,-365,-367,-155,-97,-162,-44,124,143,117,87,43,-24,-100,-153,-142,-177,-152,-29,-14,-113,-62,-29,-105,-71,67,-31,-174,-184,-253,-240,-111,-31,-73,-77,-54,-39,-23,-100,-218,-235,-229,-246,-232,-244,-434,-464,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 5 degrees + {{-4,-3,5,-5,13,-15,16,-29,25,-28,12,-17,26,18,2576,5678,-4408,-6242,295,-3878,2155,8655,5693,3832,9913,9298,-3209,-3015,-893,-7657,-5834,411,-3546,-5597,-1398,498,90,380,2557,2407,962,1567,1257,-684,-956,-712,-1707,-2226,-1924,-1836,-1680,-750,196,77,286,957,1144,901,621,523,494,35,-333,-282,-633,-838,-650,-685,-750,-425,-313,-291,-34,200,131,149,304,237,122,31,-124,-259,-336,-365,-345,-375,-371,-302,-237,-164,-9,74,112,131,157,64,-56,-117,-142,-90,-111,-108,-49,-29,-74,-60,-40,-124,-191,-220,-285,-214,-84,-30,-31,-42,-39,-9,55,-3,-150,-267,-342,-352,-350,-348,-311,-330,0,0,0,0,0,0,0,0,0,0,0,0},{10,-3,-1,5,-32,57,-95,114,-143,142,1070,8992,641,-14210,-724,-1915,-790,13520,8936,1965,10778,17994,-5022,-11259,1634,-8268,-11261,1802,-2204,-10307,-3017,1744,1090,688,3594,4925,2339,3107,2668,-2248,-3648,-1980,-3034,-4373,-3464,-1702,-1309,-1128,1129,1609,902,2086,2214,1254,800,737,484,-263,-846,-739,-1234,-1681,-1022,-886,-1082,-487,-67,4,259,642,688,515,569,382,25,-199,-319,-480,-682,-738,-428,-339,-447,-201,-31,-121,-36,147,200,153,91,29,-51,-91,-153,-141,-185,-188,-87,-37,-118,-101,-1,-81,-83,94,102,-32,-92,-204,-296,-219,-106,-85,-59,-63,-92,-56,-28,-137,-219,-220,-196,-180,-188,-313,-539,-465,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 10 degrees + {{-3,-4,-1,2,-4,9,-12,12,-28,26,-38,26,-31,43,61,2928,4436,-4819,-4480,-42,-3382,2808,7477,4831,3947,9476,7679,-2626,-2418,-1476,-6601,-4574,-59,-3667,-4653,-1230,152,-66,526,2377,1608,357,1434,1253,-482,-602,-358,-1208,-1618,-1414,-1557,-1725,-998,-93,-220,-130,490,805,759,675,678,551,67,-109,-109,-549,-715,-521,-587,-698,-513,-394,-319,-107,93,47,81,233,252,134,7,-112,-189,-277,-329,-325,-429,-395,-256,-184,-124,-20,94,122,130,102,-8,-77,-159,-153,-120,-95,-69,-9,24,-72,-78,-94,-189,-266,-270,-245,-145,-19,-12,-58,-52,-3,55,39,-91,-246,-326,-367,-373,-345,-297,-259,0,0,0,0,0,0,0,0,0,0,0,0},{17,-24,33,-67,87,-119,123,-154,172,233,7530,6098,-14062,-5929,40,-3099,12491,12173,2497,7941,20320,629,-14665,-12,-5820,-12887,421,53,-11033,-5960,2017,2214,417,2921,5249,2504,3092,3906,-1475,-5069,-2781,-1957,-3661,-4193,-2648,-1194,-749,890,1608,785,1882,2537,1568,736,538,492,-151,-875,-673,-978,-1771,-1326,-838,-1031,-648,-84,42,325,651,729,502,513,426,124,-144,-316,-448,-644,-782,-536,-388,-513,-280,-31,-99,-53,165,211,204,169,71,-98,-152,-147,-111,-150,-231,-150,-75,-159,-163,-38,-64,-77,106,171,57,46,-77,-263,-270,-170,-166,-109,-35,-103,-118,-53,-70,-157,-213,-197,-147,-158,-194,-429,-601,-454,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 15 degrees + {{-1,-1,-5,0,1,-3,6,-9,9,-23,24,-36,32,-32,40,142,3040,3328,-4674,-3174,-375,-2810,3057,6332,4167,4060,8963,6559,-2365,-1990,-1405,-5700,-3643,-428,-3639,-3966,-1219,-57,-121,570,1774,857,314,1583,1150,-365,-109,117,-759,-1302,-1211,-1338,-1631,-1233,-655,-663,-326,310,664,814,767,686,540,155,31,-90,-459,-542,-406,-556,-686,-526,-430,-335,-182,-21,-4,110,217,169,98,-4,-83,-144,-266,-328,-326,-340,-310,-200,-133,-109,-9,49,83,64,3,-62,-111,-134,-111,-54,-47,-13,41,-14,-94,-107,-151,-278,-310,-249,-184,-49,6,-37,-59,-1,55,54,-22,-184,-300,-348,-357,-347,-300,-232,0,0,0,0,0,0,0,0,0,0,0,0},{-28,37,-69,69,-83,57,-74,78,-54,4945,10186,-9786,-12099,150,-3877,9438,15062,4624,5388,20160,7922,-15796,-3816,-3228,-13298,-1837,1845,-10943,-8690,1768,2902,998,1894,4983,3024,2786,4523,-549,-5794,-3581,-655,-2920,-4929,-3319,-1162,-489,627,1469,694,1663,2618,1773,700,356,486,-14,-809,-758,-805,-1691,-1457,-721,-960,-865,-174,70,315,665,684,465,555,528,133,-145,-302,-411,-577,-794,-634,-387,-508,-421,-127,-72,-48,146,181,195,233,151,-74,-195,-187,-120,-106,-219,-195,-136,-191,-260,-139,-67,-75,102,215,127,124,44,-168,-259,-215,-223,-178,-53,-88,-162,-134,-75,-93,-168,-241,-169,-130,-122,-236,-605,-637,-351,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 20 degrees + {{-1,2,-1,-4,1,-1,1,3,-4,5,-14,20,-30,33,-28,27,225,2952,2459,-4199,-2266,-668,-2248,2986,5273,3743,4170,8385,5478,-2097,-1331,-1255,-4861,-2933,-818,-3502,-3483,-1175,-115,-290,106,1090,747,708,1575,968,13,477,369,-706,-1152,-1072,-1221,-1660,-1605,-1114,-764,-200,356,629,668,687,666,521,202,70,-39,-352,-378,-348,-587,-674,-502,-413,-390,-228,-50,-19,80,165,109,19,-14,-72,-150,-244,-269,-244,-253,-215,-181,-158,-107,-39,-9,-14,-25,-33,-72,-88,-81,-25,10,-2,2,10,-44,-130,-158,-227,-317,-308,-207,-98,-11,-12,-51,-16,55,78,18,-113,-257,-321,-305,-328,-346,-264,0,0,0,0,0,0,0,0,0,0,0,0},{16,-31,18,-2,-42,53,-77,52,2304,11405,-2411,-16183,-2891,-3201,5382,16273,7765,4262,18044,14756,-13370,-8814,-1914,-12195,-4047,1912,-9773,-10059,425,2627,2061,1678,3897,3496,2783,4114,-11,-5094,-3797,-459,-2134,-4835,-3764,-1378,-469,228,1445,795,1242,2522,1870,837,183,345,172,-611,-899,-759,-1458,-1475,-675,-819,-933,-249,82,171,522,695,538,542,609,231,-75,-293,-441,-529,-709,-675,-414,-482,-476,-212,-80,-39,137,172,169,265,183,-42,-179,-155,-128,-92,-183,-203,-133,-187,-306,-252,-134,-83,80,271,193,149,178,-27,-214,-233,-227,-230,-80,-40,-155,-177,-119,-70,-87,-225,-240,-132,-87,-56,-392,-729,-557,-166,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 25 degrees + {{-1,-1,0,-2,-4,1,-2,1,0,-2,3,-11,13,-22,28,-26,17,277,2738,1860,-3569,-1722,-885,-1734,2658,4419,3558,4207,7542,4503,-1485,-732,-1121,-4026,-2543,-1157,-3219,-2969,-1206,-536,-643,-184,887,949,981,1491,1055,497,609,196,-677,-992,-1077,-1405,-1749,-1603,-1076,-562,-54,238,397,509,555,603,554,216,54,3,-214,-330,-372,-548,-606,-475,-409,-375,-257,-112,-53,15,63,71,10,-57,-77,-97,-171,-224,-232,-236,-204,-148,-133,-151,-112,-60,-59,-64,-56,-67,-64,-23,47,51,-3,-48,-38,-63,-139,-223,-306,-340,-267,-122,-51,-44,-48,-6,57,76,28,-74,-205,-283,-267,-280,-362,-372,0,0,0,0,0,0,0,0,0,0,0,0},{13,-51,77,-127,141,-193,215,439,9467,5816,-15614,-8762,-2582,1565,15209,10933,4777,14961,19963,-7157,-13434,-2523,-10446,-5985,823,-7390,-10774,-2077,2350,2439,1786,3308,3921,2354,3262,372,-3566,-3247,-1386,-1799,-3816,-3622,-1942,-806,-125,1164,1072,970,2140,1822,1074,288,127,168,-456,-947,-729,-1121,-1491,-805,-642,-806,-330,42,29,377,642,504,486,626,373,40,-175,-444,-570,-649,-678,-403,-453,-550,-318,-99,-23,81,188,157,240,202,-1,-180,-191,-154,-77,-75,-173,-175,-188,-282,-302,-227,-141,11,234,277,206,233,84,-144,-205,-213,-267,-162,-43,-91,-158,-158,-106,-64,-148,-262,-193,-119,-2,-92,-611,-734,-418,32,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 30 degrees + {{-1,-2,-2,-1,-3,-5,0,-4,-1,0,-3,-1,-8,8,-18,20,-22,3,302,2454,1524,-2934,-1485,-941,-1367,2214,3859,3474,4041,6497,3934,-703,-370,-874,-3325,-2394,-1204,-2792,-2972,-1591,-613,-692,-341,890,1196,1173,1563,1128,457,478,128,-630,-1057,-1260,-1365,-1509,-1275,-737,-509,-296,17,261,384,475,534,486,202,75,35,-160,-249,-342,-474,-494,-458,-433,-402,-278,-154,-108,-49,25,68,11,-26,-67,-98,-165,-236,-238,-202,-135,-113,-139,-159,-142,-102,-75,-70,-78,-61,-7,38,74,31,-30,-48,-27,-60,-194,-297,-331,-299,-184,-80,-64,-50,0,46,74,41,-64,-166,-218,-229,-242,-315,-406,0,0,0,0,0,0,0,0,0,0,0,0},{-60,82,-116,99,-124,142,-156,5415,11483,-9106,-15083,-3796,-1109,12056,13266,5934,12399,22485,1775,-15531,-4688,-8894,-8390,66,-4734,-10795,-5073,1408,2648,1969,2548,4624,2101,1983,953,-2129,-2441,-2082,-1912,-2939,-3103,-2136,-1264,-564,570,1166,872,1795,1678,1278,578,-42,169,-287,-966,-959,-764,-1273,-1055,-613,-612,-351,-6,-23,228,573,461,333,573,474,175,-83,-340,-481,-633,-710,-495,-363,-525,-393,-194,-64,52,183,168,188,201,59,-153,-235,-213,-122,-35,-79,-121,-189,-289,-321,-245,-204,-101,139,294,251,258,187,-18,-168,-224,-271,-231,-115,-97,-97,-127,-130,-84,-99,-216,-232,-173,-82,77,-263,-775,-657,-284,250,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 35 degrees + {{1,0,0,-1,0,-1,-4,1,-1,1,1,-1,0,-3,7,-11,20,-19,2,294,2175,1402,-2434,-1389,-879,-1156,1858,3507,3367,3630,5507,3752,-35,-70,-562,-2784,-2166,-1380,-2891,-2843,-1393,-632,-846,-300,1162,1477,1156,1261,933,486,409,-49,-766,-1121,-1032,-975,-1141,-994,-726,-704,-494,-51,155,225,364,461,406,165,135,76,-88,-153,-262,-429,-488,-455,-464,-402,-280,-197,-152,-67,19,33,19,-28,-103,-158,-197,-193,-161,-131,-126,-120,-150,-168,-154,-135,-97,-72,-53,-43,7,46,43,14,-9,-14,-32,-110,-252,-331,-315,-240,-118,-73,-77,-36,28,57,20,-48,-134,-178,-190,-212,-280,-364,0,0,0,0,0,0,0,0,0,0,0,0},{-3,9,-57,75,-117,95,1552,11895,1526,-17682,-8372,-2301,7286,14435,7308,9994,22684,11713,-13887,-7989,-7058,-11202,-913,-2167,-9984,-7651,-378,1979,2121,2446,4373,2130,1299,1962,-1260,-2146,-1856,-1968,-2525,-2809,-2034,-1660,-910,151,820,547,1572,1740,1131,961,230,18,-200,-662,-1111,-928,-1089,-990,-662,-596,-369,36,6,17,468,477,262,465,507,217,18,-192,-401,-534,-664,-630,-403,-433,-359,-244,-153,-7,175,165,103,187,132,-95,-239,-237,-175,-91,-59,-46,-113,-210,-324,-294,-239,-154,28,220,263,249,248,106,-35,-170,-300,-295,-191,-158,-124,-60,-85,-110,-71,-134,-217,-207,-155,22,46,-497,-814,-533,-138,454,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 40 degrees + {{1,0,-1,-1,-2,-1,-3,-4,1,-2,1,0,-2,1,-5,7,-10,16,-21,-2,261,1929,1379,-2091,-1360,-753,-1026,1627,3257,3116,3089,4729,3732,532,284,-206,-2569,-2478,-1477,-2417,-2475,-1361,-767,-781,128,1385,1174,755,1027,913,462,147,-318,-631,-625,-629,-791,-1044,-1016,-803,-761,-586,-203,22,143,247,376,364,180,174,151,9,-133,-240,-410,-501,-437,-421,-412,-340,-217,-164,-116,3,23,-50,-90,-110,-127,-156,-121,-99,-127,-136,-153,-180,-188,-145,-117,-108,-78,-47,-23,-13,15,41,38,29,-4,-61,-190,-303,-305,-240,-169,-130,-103,-80,-9,28,-5,-37,-90,-135,-173,-201,-239,-305,0,0,0,0,0,0,0,0,0,0,0,0},{70,-135,156,-197,240,-185,7300,10999,-12233,-15699,-3706,2742,13153,9373,7599,20208,20540,-6617,-12113,-5940,-12134,-3099,-608,-8050,-9213,-3127,973,1845,2336,3313,2670,945,2732,284,-2108,-1754,-1768,-1857,-2748,-2288,-1885,-1248,-272,593,264,800,1866,1167,1065,573,285,-25,-583,-928,-1013,-1108,-1184,-647,-468,-466,-107,106,-35,222,468,274,376,579,279,22,-94,-271,-455,-641,-637,-465,-432,-360,-194,-146,-101,80,155,79,127,124,-23,-190,-211,-215,-139,-84,-69,-49,-108,-203,-321,-308,-197,-37,130,190,230,286,189,48,-49,-198,-324,-272,-230,-222,-97,-30,-65,-69,-73,-140,-194,-188,-96,98,-99,-691,-746,-414,29,561,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 45 degrees + {{1,0,0,0,-1,-1,-1,-1,-2,1,-1,1,0,-1,4,-6,6,-7,17,-26,7,218,1731,1395,-1887,-1314,-603,-897,1528,2972,2725,2589,4205,3785,1170,598,-550,-2678,-2154,-1112,-1992,-2234,-1413,-675,-355,282,935,738,566,918,796,236,73,-27,-133,-267,-614,-954,-1058,-938,-854,-830,-635,-318,-69,95,204,290,330,242,243,223,22,-145,-224,-357,-459,-460,-459,-429,-358,-244,-176,-111,-54,-44,-56,-66,-46,-67,-101,-98,-91,-131,-191,-184,-171,-163,-146,-119,-94,-79,-40,-23,-12,23,72,81,30,-41,-137,-237,-262,-228,-196,-185,-157,-97,-39,-10,-19,-29,-50,-99,-157,-195,-211,-252,0,0,0,0,0,0,0,0,0,0,0,0},{3,-51,72,-116,89,1536,12668,1889,-19692,-9832,-111,8797,11917,6188,15067,25394,6573,-13481,-7713,-10531,-6588,222,-5439,-9438,-6560,-479,1241,2057,1963,2479,1130,2914,2399,-1590,-1513,-1538,-1359,-2407,-2597,-2169,-1948,-739,220,376,87,1403,1420,1080,905,425,364,-216,-705,-1094,-966,-1242,-1038,-549,-412,-243,-12,-26,47,438,276,245,578,517,156,-85,-230,-373,-555,-667,-564,-392,-381,-262,-127,-68,0,86,51,88,140,14,-150,-216,-206,-184,-102,-79,-47,-76,-131,-224,-289,-270,-142,39,151,177,232,251,132,38,-95,-253,-292,-259,-290,-222,-77,-39,-59,-57,-70,-124,-178,-164,-9,103,-328,-799,-645,-265,228,559,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 50 degrees + {{1,1,0,2,0,0,0,-1,0,-2,2,1,2,2,1,4,-6,9,-2,9,-20,16,175,1583,1361,-1749,-1248,-415,-722,1433,2599,2288,2295,3918,3946,1332,221,-581,-2171,-1717,-767,-1679,-2042,-1160,-503,-437,-49,574,556,321,664,750,466,431,299,-12,-429,-773,-942,-988,-968,-848,-838,-707,-332,-102,7,131,293,380,300,289,213,10,-125,-203,-350,-506,-514,-476,-423,-342,-247,-199,-163,-69,0,-22,-36,-24,-15,-59,-117,-142,-160,-161,-175,-205,-207,-148,-85,-69,-68,-45,-8,35,64,75,33,-30,-80,-158,-219,-232,-204,-182,-185,-131,-65,-47,-41,-27,-22,-84,-154,-187,-190,-215,0,0,0,0,0,0,0,0,0,0,0,0},{-102,121,-164,199,-283,6008,13317,-10623,-19659,-3327,4112,11704,7647,8758,23836,19617,-6816,-12349,-7915,-8609,-950,-2652,-8576,-8919,-3314,608,1556,1135,1276,1391,1783,4193,647,-1644,-1072,-688,-1602,-3103,-2287,-2208,-1709,-528,349,-62,467,1480,1123,1048,596,570,261,-207,-721,-959,-1046,-1232,-851,-606,-459,-152,35,-134,204,398,182,396,637,447,96,-176,-323,-464,-622,-632,-468,-347,-311,-206,-85,-11,80,67,-14,94,116,-59,-243,-248,-198,-124,-70,-29,-17,-99,-188,-242,-239,-209,-87,68,154,182,236,176,97,48,-121,-281,-278,-273,-308,-187,-62,-55,-72,-75,-57,-82,-135,-122,41,22,-500,-788,-547,-105,336,471,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 55 degrees + {{3,0,1,1,1,0,1,0,-1,1,-1,2,1,3,2,2,4,-4,10,-6,12,-14,17,165,1441,1250,-1622,-1133,-222,-521,1309,2181,2004,2352,3539,3239,1400,563,-386,-1700,-1315,-435,-1209,-1747,-1378,-878,-478,-106,213,107,158,910,1183,763,440,78,-186,-405,-787,-964,-962,-965,-859,-803,-664,-417,-187,23,211,335,367,315,277,206,-15,-177,-243,-411,-527,-526,-458,-389,-349,-259,-191,-124,-41,1,-20,0,12,-22,-79,-114,-130,-171,-211,-241,-230,-193,-118,-54,-46,-48,-12,31,42,35,16,-21,-44,-102,-184,-213,-186,-158,-161,-149,-111,-82,-64,-39,-39,-91,-148,-176,-187,-200,0,0,0,0,0,0,0,0,0,0,0,0},{-114,166,-239,277,250,11266,7896,-20562,-14065,1944,7274,10806,5307,16037,26852,7610,-13505,-9663,-7175,-3831,-127,-6455,-10026,-6801,-796,607,892,643,846,749,3078,3621,-202,-922,-455,-249,-2299,-3110,-2445,-2115,-1511,-510,60,-160,958,1193,1013,816,603,632,279,-107,-696,-791,-1051,-1115,-871,-742,-490,-162,-83,-69,322,206,190,584,643,337,17,-174,-358,-515,-644,-571,-401,-342,-307,-177,-44,33,92,8,10,115,54,-156,-282,-228,-177,-100,-41,19,-1,-123,-225,-274,-229,-163,-35,105,133,158,202,135,93,30,-145,-270,-277,-305,-293,-148,-66,-75,-110,-97,-42,-51,-91,-82,45,-138,-638,-717,-405,58,353,386,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 60 degrees + {{1,2,1,1,1,1,0,1,1,2,0,0,3,3,2,1,5,2,-3,7,3,8,-12,25,186,1298,1055,-1453,-1002,-29,-256,1120,2014,1966,1650,2662,3315,1933,805,-265,-1260,-574,75,-1314,-2231,-1621,-723,-472,-594,-278,198,735,1315,1185,514,125,24,-112,-445,-835,-969,-971,-928,-786,-778,-691,-412,-100,125,225,301,346,307,253,121,-105,-246,-285,-429,-526,-479,-416,-355,-320,-231,-162,-98,-31,-2,5,10,18,-9,-60,-132,-191,-234,-256,-220,-197,-152,-80,-37,-25,-15,10,6,5,2,-9,-26,-72,-140,-180,-144,-118,-135,-141,-137,-123,-92,-67,-78,-108,-133,-164,-190,-211,0,0,0,0,0,0,0,0,0,0,0,0},{-48,68,-104,50,2199,14890,-1381,-25126,-6222,5186,8528,8366,6983,23443,22584,-4213,-14160,-6902,-4838,-43,-2544,-9215,-9677,-4542,245,-1,291,644,442,452,3859,2766,-331,-443,494,-105,-2915,-2919,-2546,-2108,-1460,-592,-429,74,1062,884,851,661,792,718,392,-55,-581,-666,-933,-1018,-959,-811,-563,-306,-249,67,305,21,279,664,628,239,-12,-115,-328,-551,-611,-483,-405,-388,-307,-143,-23,55,39,-36,51,135,-49,-241,-260,-176,-140,-95,2,40,-4,-124,-278,-314,-235,-107,10,98,108,131,164,99,96,-3,-155,-218,-267,-347,-296,-124,-65,-99,-126,-107,-43,-36,-70,-53,-7,-293,-709,-629,-247,178,332,313,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 65 degrees + {{0,1,1,1,1,1,0,1,0,0,2,0,1,2,3,1,2,4,0,0,7,5,-4,4,28,250,1123,771,-1212,-861,209,123,1197,1418,912,1507,2855,3446,2158,898,171,-354,-218,-537,-1795,-2207,-1471,-912,-946,-754,123,785,936,1114,828,270,103,36,-159,-541,-906,-985,-899,-827,-772,-730,-598,-281,-13,107,201,273,318,234,138,8,-193,-289,-345,-405,-430,-411,-372,-347,-292,-203,-125,-82,-29,16,11,18,-1,-41,-105,-193,-250,-253,-196,-168,-173,-151,-84,-26,-14,-19,-19,-13,-6,-7,-11,-45,-105,-144,-124,-80,-99,-154,-166,-141,-112,-119,-124,-120,-137,-164,-201,-221,0,0,0,0,0,0,0,0,0,0,0,0},{52,-86,117,-241,5031,15774,-10896,-24690,725,6499,8246,6590,11563,27311,14053,-11399,-11770,-4864,-1305,1175,-5934,-10218,-8594,-2893,-80,-532,542,382,-406,1186,4143,1722,-245,63,1306,-184,-2908,-2892,-2563,-2024,-1539,-936,-707,293,804,704,697,727,959,763,551,20,-360,-621,-862,-874,-887,-849,-742,-518,-373,158,169,-86,363,693,574,201,66,-41,-283,-502,-525,-446,-423,-428,-306,-109,-37,23,-11,-50,93,98,-116,-247,-186,-108,-111,-50,47,50,-34,-150,-319,-326,-181,-73,5,69,106,162,128,44,61,19,-88,-163,-282,-379,-265,-102,-63,-109,-128,-96,-40,-26,-65,-63,-61,-404,-714,-539,-115,282,320,286,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 70 degrees + {{0,1,1,2,1,1,1,1,2,2,2,2,1,1,2,3,0,3,5,4,-2,5,5,0,12,52,346,855,478,-870,-578,795,286,-52,793,1283,1853,2897,3336,2372,1492,719,-480,-807,-882,-1804,-2263,-1741,-1131,-702,-133,536,779,716,796,628,208,55,-4,-311,-701,-876,-857,-806,-780,-691,-606,-441,-193,-25,96,177,232,232,122,-3,-116,-248,-298,-277,-324,-378,-367,-344,-299,-253,-165,-83,-36,-14,-31,-14,1,-36,-108,-165,-190,-209,-195,-172,-169,-177,-154,-82,-20,0,-13,-17,-4,10,5,-22,-74,-109,-102,-71,-89,-168,-186,-148,-116,-135,-154,-144,-149,-160,-189,-203,0,0,0,0,0,0,0,0,0,0,0,0},{137,-210,307,-418,7784,14629,-18249,-21705,5484,6740,7175,6230,16784,26928,5690,-14060,-9356,-2647,1990,369,-8645,-10197,-7268,-2342,-788,-492,554,-224,-839,2180,4157,774,-353,790,1922,-537,-2608,-2502,-2604,-2037,-1546,-1419,-962,345,535,466,718,887,899,803,790,201,-276,-502,-763,-775,-719,-869,-907,-769,-440,113,-28,-123,396,722,499,209,177,64,-210,-428,-443,-451,-396,-409,-316,-143,-60,-11,-82,-50,106,42,-154,-201,-99,-51,-68,27,97,28,-84,-219,-321,-272,-145,-77,-5,79,102,148,71,7,52,69,4,-132,-299,-370,-203,-82,-92,-124,-113,-76,-40,-30,-86,-76,-106,-461,-680,-464,-5,335,302,296,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 75 degrees + {{0,0,1,1,0,2,0,2,0,2,0,1,1,-1,1,0,0,-2,6,5,-3,-2,3,10,1,14,109,378,554,310,-68,-5,-121,-541,159,1261,1626,1938,2870,3674,2884,1284,106,-690,-1010,-1258,-2116,-2490,-1541,-479,-100,156,454,479,518,688,487,75,-69,-167,-442,-681,-753,-799,-745,-664,-554,-464,-346,-152,-32,77,147,148,70,-30,-103,-172,-219,-244,-263,-281,-313,-306,-287,-244,-183,-126,-69,-60,-64,-55,-48,-43,-88,-123,-141,-174,-188,-198,-197,-192,-165,-122,-58,0,15,12,12,17,7,-19,-49,-77,-83,-91,-134,-197,-194,-132,-109,-133,-165,-170,-158,-149,-156,-175,0,0,0,0,0,0,0,0,0,0,0,0},{190,-309,437,-481,9752,12984,-22831,-18584,8233,6672,5852,6854,20888,24175,-225,-14525,-7226,-338,4082,-859,-10667,-9522,-6128,-2644,-1436,-168,276,-1215,-566,2992,3804,352,-355,1185,2235,-605,-2479,-2145,-2154,-2060,-1875,-1686,-1113,13,323,392,675,945,848,828,913,386,-96,-391,-659,-686,-631,-840,-1007,-932,-566,-39,-243,-143,427,654,454,241,295,147,-148,-361,-385,-377,-382,-424,-350,-199,-108,-74,-158,-76,109,7,-165,-173,-36,-10,-6,89,95,-23,-136,-234,-340,-257,-143,-74,16,63,49,49,19,25,78,77,18,-95,-265,-313,-202,-118,-131,-141,-106,-93,-52,-50,-90,-100,-173,-512,-646,-373,54,325,277,294,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 80 degrees + {{0,0,0,1,1,1,1,1,3,1,0,1,1,1,2,0,-1,1,4,7,-2,3,-2,11,3,12,11,179,387,504,947,-155,-1405,-270,449,629,1442,1832,2312,3490,3603,1832,478,114,-770,-1683,-1966,-2171,-1743,-615,72,58,13,142,406,582,450,210,-116,-188,-206,-464,-684,-741,-685,-603,-513,-439,-377,-268,-134,-13,41,27,-8,-41,-91,-183,-191,-198,-235,-212,-215,-225,-223,-214,-212,-191,-121,-97,-92,-92,-71,-57,-93,-105,-130,-154,-193,-233,-216,-185,-139,-106,-71,-27,13,57,46,8,-30,-32,-34,-60,-80,-136,-194,-232,-192,-113,-95,-124,-169,-180,-148,-122,-128,-155,0,0,0,0,0,0,0,0,0,0,0,0},{228,-361,510,-543,10534,12176,-24800,-16877,9508,6625,4764,7506,23216,21347,-3635,-14076,-5314,1493,5121,-1635,-11872,-8897,-5279,-3222,-2125,144,-160,-2065,-348,3534,3692,1,-52,1533,2173,-641,-2190,-1903,-1811,-1710,-2126,-2067,-1221,-238,-63,302,752,880,808,854,974,493,142,-145,-603,-632,-588,-760,-1029,-1021,-673,-248,-409,-200,432,576,433,314,368,214,-103,-261,-302,-295,-336,-467,-389,-220,-129,-155,-223,-103,99,6,-164,-147,-13,46,54,117,99,-35,-137,-252,-348,-256,-120,-33,4,-5,-30,8,-5,30,107,115,66,-62,-220,-269,-192,-149,-168,-159,-116,-109,-63,-38,-75,-101,-206,-539,-618,-312,97,304,240,288,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 85 degrees + {{0,0,1,2,1,0,2,1,1,2,2,2,-1,3,0,1,-1,-1,8,-1,3,2,9,-1,2,12,-10,53,395,1003,466,-589,-762,-539,439,1040,930,1717,2807,2852,2489,2163,1213,342,-204,-1425,-2582,-1969,-924,-598,-165,82,-100,-171,213,481,316,99,-20,-150,-256,-321,-551,-692,-615,-513,-424,-419,-348,-267,-216,-98,-32,-55,-90,-95,-119,-184,-221,-207,-173,-151,-124,-119,-178,-195,-192,-200,-187,-148,-86,-77,-90,-104,-127,-113,-137,-182,-208,-216,-188,-151,-103,-65,-36,-15,10,50,46,9,-41,-63,-55,-57,-91,-160,-226,-251,-194,-108,-73,-96,-146,-164,-128,-82,-86,-139,0,0,0,0,0,0,0,0,0,0,0,0},{237,-370,521,-626,9986,12887,-24514,-17357,9898,6679,4111,7412,23927,19946,-5241,-13510,-3732,2889,5454,-1676,-12438,-8658,-4719,-3667,-2800,-63,-342,-2726,-410,3751,3792,-86,190,1937,2227,-800,-2107,-1475,-1599,-1609,-1963,-2163,-1615,-497,-252,36,680,924,752,803,1001,601,277,94,-428,-610,-573,-706,-990,-1057,-763,-411,-573,-271,377,542,401,314,429,261,-26,-189,-219,-247,-295,-461,-427,-245,-156,-200,-281,-135,60,-15,-149,-115,-11,30,72,164,140,-40,-156,-248,-312,-224,-137,-82,-62,-35,-52,-31,-57,9,152,193,136,-52,-208,-246,-173,-187,-239,-182,-123,-121,-78,-15,-38,-88,-227,-566,-614,-288,115,280,201,262,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 90 degrees + {{0,0,0,1,1,0,2,1,1,1,1,0,1,1,1,2,-2,2,3,-2,5,-1,18,-5,4,-12,8,56,721,1131,-485,-1138,4,289,123,785,1560,1926,2735,2438,1258,1368,1670,752,-290,-957,-2179,-2283,-660,248,-127,-255,-33,-84,-40,175,228,23,-105,-131,-321,-444,-432,-537,-604,-452,-319,-309,-328,-246,-194,-143,-76,-113,-160,-188,-182,-228,-249,-225,-150,-72,-97,-109,-120,-137,-166,-197,-186,-139,-85,-101,-129,-141,-169,-192,-196,-191,-195,-183,-145,-106,-57,-16,5,18,14,3,-3,-20,-50,-77,-97,-106,-107,-154,-233,-260,-201,-111,-58,-71,-113,-128,-99,-69,-68,-118,0,0,0,0,0,0,0,0,0,0,0,0},{197,-308,427,-608,8045,14797,-21563,-20120,9346,6918,3806,6599,22940,20530,-5264,-13288,-2658,3957,5507,-1062,-12292,-8996,-4394,-3870,-3444,-878,-329,-3017,-942,3687,4070,-4,430,2316,2446,-645,-2216,-1305,-1314,-1513,-1988,-2020,-1668,-934,-537,-78,458,813,828,775,931,676,400,255,-250,-480,-556,-694,-929,-1036,-850,-530,-644,-352,316,457,368,299,455,316,35,-124,-167,-210,-271,-421,-405,-263,-186,-211,-309,-187,15,-41,-156,-103,-11,14,67,192,169,-22,-137,-180,-274,-235,-179,-162,-110,-51,-51,-64,-86,8,184,252,194,5,-190,-256,-200,-228,-279,-209,-119,-121,-71,19,11,-69,-236,-567,-617,-281,84,247,180,236,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 95 degrees + {{0,0,0,1,1,1,0,0,2,1,0,-1,1,-1,-1,2,-4,3,-2,3,-5,5,8,7,-4,-19,-1,429,1147,90,-1185,-606,214,652,688,715,1713,3022,2298,1048,969,790,839,773,13,-999,-1638,-1594,-908,289,673,-27,-283,79,20,-170,-31,20,-138,-376,-468,-497,-477,-458,-513,-427,-248,-186,-230,-180,-108,-125,-142,-149,-167,-255,-307,-301,-258,-194,-176,-147,-108,-81,-75,-95,-131,-128,-95,-113,-141,-142,-144,-195,-256,-274,-239,-185,-159,-139,-105,-55,-6,24,26,18,17,-22,-63,-79,-90,-104,-116,-130,-150,-175,-221,-229,-189,-135,-71,-48,-65,-83,-81,-77,-88,-117,0,0,0,0,0,0,0,0,0,0,0,0},{100,-124,161,-319,4961,16606,-15073,-24503,7037,7797,3401,5549,20103,22634,-3127,-13786,-2317,4884,5595,-31,-11401,-9821,-4402,-3719,-3873,-2327,-386,-2799,-1745,3042,4442,560,311,2551,2939,-159,-2260,-1251,-1259,-1390,-1866,-2142,-1625,-963,-918,-415,344,688,746,792,929,684,426,427,-79,-385,-446,-633,-893,-1048,-882,-607,-637,-456,223,399,316,278,416,371,84,-86,-123,-207,-235,-361,-365,-233,-198,-214,-322,-248,-47,-60,-207,-142,14,36,37,175,207,44,-85,-145,-270,-270,-187,-180,-170,-108,-64,-41,-48,-3,153,264,268,95,-168,-312,-262,-250,-282,-226,-121,-102,-52,50,27,-46,-207,-541,-624,-314,33,188,153,230,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 100 degrees + {{3,3,3,5,3,4,4,3,4,4,5,5,6,3,6,4,5,4,4,9,0,9,12,15,1,-10,193,1186,619,-1376,-949,252,501,597,940,1628,2552,2729,1573,378,272,641,142,-135,-24,-540,-1283,-1131,-367,28,684,862,191,-133,27,-136,-316,-125,-230,-547,-742,-584,-470,-529,-466,-341,-198,-85,-3,-41,-77,-87,-89,-128,-212,-282,-365,-337,-269,-262,-262,-217,-126,-75,-60,-46,1,-3,-58,-95,-130,-152,-206,-266,-303,-291,-241,-179,-110,-69,-34,-8,15,39,38,36,19,-35,-97,-132,-120,-106,-125,-139,-161,-185,-187,-174,-162,-139,-71,-16,-13,-34,-63,-88,-111,-127,0,0,0,0,0,0,0,0,0,0,0,0},{-66,142,-216,217,1668,16151,-4891,-27887,1335,9584,2777,4516,15881,24391,2086,-14540,-3295,5847,5806,1226,-9752,-10775,-4893,-3455,-3830,-4051,-1121,-1969,-2541,1802,4553,1593,288,2278,3413,948,-2161,-1331,-1079,-1521,-1737,-2079,-1871,-1045,-882,-766,-98,613,754,648,928,821,399,429,169,-265,-362,-535,-804,-1052,-946,-621,-615,-574,120,398,263,193,337,404,145,-64,-102,-182,-208,-259,-320,-218,-193,-206,-320,-321,-137,-85,-216,-188,-40,38,53,158,237,100,-57,-141,-254,-282,-200,-191,-214,-148,-74,-16,-9,-14,116,232,291,169,-105,-338,-349,-281,-279,-219,-127,-77,-48,47,53,-28,-162,-493,-634,-369,-48,120,131,206,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 105 degrees + {{-1,-1,-1,-1,0,0,0,-2,-3,-1,-2,-2,-2,-2,0,-4,0,-7,2,-2,-3,-4,9,-11,14,44,982,1256,-1104,-1764,-81,802,728,703,1293,2722,3410,1719,200,172,207,-181,-376,-605,-764,-417,-470,-771,-317,383,622,1039,1085,239,-255,-219,-244,-400,-558,-743,-819,-780,-651,-540,-538,-348,-69,98,102,22,3,17,-10,-129,-260,-299,-325,-395,-435,-396,-331,-262,-223,-145,-19,41,57,44,-5,-81,-148,-203,-268,-305,-326,-306,-233,-168,-92,-35,-1,-16,-22,16,22,30,-11,-96,-148,-154,-133,-135,-162,-172,-156,-165,-190,-178,-169,-134,-67,-24,-13,-27,-68,-135,-169,-154,0,0,0,0,0,0,0,0,0,0,0,0},{-189,315,-443,555,-374,12033,6546,-25989,-8679,10938,3118,2982,11489,23696,9986,-13383,-6574,6580,6457,2539,-7384,-11438,-5885,-3451,-3315,-5128,-3095,-1135,-2577,-6,4176,2749,496,1962,3436,2229,-1436,-1602,-796,-1436,-1858,-2015,-1981,-1371,-958,-799,-450,142,781,691,769,886,542,376,310,-79,-280,-433,-689,-954,-1028,-709,-535,-649,-82,382,261,93,205,416,210,-36,-109,-117,-151,-195,-280,-212,-168,-221,-338,-377,-238,-116,-222,-258,-96,25,91,142,215,122,-25,-87,-237,-324,-238,-168,-191,-187,-98,-41,3,-4,77,193,231,198,-11,-294,-426,-341,-248,-201,-130,-87,-76,21,77,-12,-120,-412,-653,-455,-141,64,88,146,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 110 degrees + {{3,2,2,4,2,3,3,2,1,3,2,3,3,5,4,5,1,4,3,9,-4,18,-7,16,-2,680,1769,-419,-2345,-748,706,1027,888,1150,2471,3722,2596,521,-303,-192,-67,-625,-1086,-1024,-896,-703,-101,23,-253,325,1058,1299,1218,832,64,-363,-314,-558,-885,-965,-854,-843,-894,-716,-447,-237,-20,176,188,153,189,153,29,-103,-139,-274,-422,-479,-482,-442,-437,-363,-247,-108,-9,65,119,106,59,-74,-174,-202,-238,-280,-296,-250,-192,-126,-76,-40,-10,-6,-7,8,30,6,-65,-124,-131,-129,-139,-134,-110,-112,-146,-169,-176,-153,-137,-122,-64,-19,9,-10,-81,-155,-181,-140,0,0,0,0,0,0,0,0,0,0,0,0},{-140,189,-228,264,-439,5534,13933,-15514,-19786,7962,5918,919,7454,20079,17398,-7181,-11334,5227,8119,3648,-4349,-11369,-7176,-3863,-2958,-4757,-5510,-1773,-1649,-1417,2753,3809,959,1602,3367,3210,-233,-1702,-546,-1084,-1891,-2114,-2056,-1657,-1133,-1027,-575,-183,447,775,730,828,655,484,424,61,-182,-282,-549,-849,-986,-829,-521,-604,-366,272,306,110,72,330,279,29,-48,-36,-97,-143,-208,-228,-174,-224,-315,-391,-329,-179,-209,-272,-124,27,85,95,189,192,28,-67,-166,-322,-280,-132,-128,-175,-143,-73,2,26,58,147,193,195,63,-193,-395,-380,-242,-152,-125,-113,-88,-1,88,33,-78,-315,-628,-514,-207,-28,49,133,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 115 degrees + {{0,1,1,1,1,0,0,0,-1,1,0,-1,2,1,5,-1,1,-2,4,1,0,12,-6,6,320,1938,658,-2654,-1670,523,1141,1014,1167,2371,4086,3373,632,-411,-252,-272,-835,-1236,-1371,-1433,-947,-458,-140,230,337,387,1155,1602,1228,864,567,40,-610,-898,-1026,-1037,-1031,-1061,-959,-740,-416,-212,-51,159,323,354,278,199,140,33,-186,-385,-455,-458,-527,-578,-518,-391,-263,-151,-37,83,159,84,-11,-50,-114,-207,-245,-213,-199,-190,-185,-169,-130,-68,-27,-20,-3,-7,-22,-68,-125,-150,-153,-134,-108,-69,-47,-76,-157,-223,-199,-142,-123,-130,-114,-41,6,-32,-116,-174,-171,-130,0,0,0,0,0,0,0,0,0,0,0,0},{49,-125,202,-288,350,570,12895,446,-23982,-2493,9506,621,3085,14973,20618,3351,-12602,-513,9992,5172,-1311,-9839,-8850,-4288,-3487,-3472,-6454,-4252,-1301,-1463,786,3925,1951,1120,3108,3841,1479,-1675,-590,-341,-1676,-2227,-2162,-1979,-1352,-1168,-957,-377,114,639,715,799,733,535,572,297,-132,-206,-346,-688,-916,-860,-619,-563,-600,-4,330,161,11,181,351,147,0,9,-12,-94,-174,-254,-215,-215,-297,-419,-441,-282,-144,-210,-171,-36,33,65,156,224,70,-62,-78,-208,-302,-195,-121,-140,-142,-120,-64,14,52,119,178,170,78,-111,-323,-373,-247,-133,-112,-142,-129,-61,55,58,-46,-217,-574,-585,-293,-116,-11,91,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 120 degrees + {{1,1,2,1,1,1,1,0,2,0,1,2,3,4,5,1,4,-2,13,-14,28,-22,43,79,1716,1821,-2389,-2778,70,1274,1283,1084,2174,4387,4415,1232,-718,-740,-306,-558,-1457,-1831,-1804,-1317,-842,-217,76,133,656,1104,1206,1227,1238,948,769,320,-568,-1118,-1151,-1138,-1206,-1112,-920,-698,-501,-213,32,201,380,428,414,335,168,-62,-241,-306,-417,-535,-603,-582,-513,-415,-298,-178,3,70,52,45,14,-38,-101,-137,-147,-128,-136,-180,-202,-197,-152,-97,-38,-4,-10,-42,-95,-127,-158,-181,-152,-84,-13,22,12,-62,-178,-252,-224,-150,-118,-133,-135,-71,-35,-63,-103,-130,-125,-116,0,0,0,0,0,0,0,0,0,0,0,0},{89,-163,206,-233,287,-423,5698,11708,-14577,-16170,7573,4250,-755,8791,19362,12770,-6433,-7110,7814,8117,1098,-6537,-10251,-5100,-3899,-3454,-5021,-6475,-2999,-1121,-246,2673,3068,973,2515,3932,3131,-403,-1345,125,-780,-2164,-2354,-2152,-1798,-1259,-1160,-698,-240,358,689,755,841,620,539,591,132,-235,-253,-438,-734,-855,-745,-606,-680,-364,193,241,57,84,329,288,102,45,44,-71,-141,-242,-256,-240,-339,-433,-455,-326,-156,-143,-194,-99,5,49,72,181,164,14,-28,-107,-250,-257,-153,-126,-140,-130,-109,-12,48,95,171,173,98,-66,-249,-343,-227,-94,-101,-164,-176,-115,-13,69,-14,-145,-471,-620,-361,-198,-90,44,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 125 degrees + {{1,1,0,2,0,0,-1,1,0,0,-1,3,0,5,-3,10,-11,19,-19,26,-20,38,-11,1240,2783,-1495,-3926,-683,1275,1573,1270,1969,4367,5342,2152,-684,-1033,-691,-712,-1409,-1781,-2201,-1987,-1232,-406,9,134,456,902,1568,1282,816,872,1069,772,142,-373,-1005,-1232,-1247,-1198,-1123,-926,-667,-431,-126,95,226,369,547,489,220,53,-36,-170,-338,-466,-538,-607,-567,-477,-407,-285,-168,-77,-14,21,28,-16,-37,-31,-29,-80,-127,-153,-175,-192,-199,-153,-103,-44,-26,-62,-105,-157,-192,-183,-139,-89,-26,51,86,52,-72,-230,-290,-238,-166,-130,-145,-155,-119,-87,-65,-70,-76,-86,-109,0,0,0,0,0,0,0,0,0,0,0,0},{-49,67,-132,187,-265,320,262,10510,2722,-20048,-4257,8286,-647,2043,14325,17657,3667,-7881,1605,9453,3825,-2771,-9224,-7579,-3425,-4190,-4161,-6057,-5361,-2251,-694,1349,3217,1642,1592,3673,3928,1679,-1179,-439,52,-1418,-2440,-2358,-2107,-1642,-1309,-884,-471,-103,453,682,919,867,481,506,525,12,-253,-341,-527,-733,-807,-716,-693,-656,-127,246,157,62,248,419,250,51,28,-39,-143,-194,-317,-334,-370,-398,-410,-372,-254,-145,-150,-125,-47,-11,16,108,222,127,-28,-91,-177,-241,-194,-160,-173,-150,-94,-34,15,33,131,196,127,-29,-203,-313,-244,-80,-65,-180,-239,-176,-89,23,-5,-111,-349,-612,-438,-277,-199,-21,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 130 degrees + {{1,1,0,0,-1,-2,0,0,0,-2,3,-1,6,-6,11,-7,6,-3,1,13,2,10,689,3279,21,-4807,-1862,1158,1776,1593,1932,4368,6015,3071,-533,-1202,-881,-751,-1625,-2117,-2203,-2233,-1749,-977,-141,226,377,867,1559,1372,1080,751,573,794,444,-118,-427,-567,-1035,-1372,-1299,-972,-743,-570,-256,-93,123,384,431,342,285,259,80,-163,-252,-323,-457,-544,-549,-497,-384,-363,-335,-205,-79,-47,-58,-23,36,43,-11,-73,-110,-111,-136,-162,-185,-174,-129,-96,-77,-93,-147,-188,-180,-161,-149,-100,-35,40,97,107,34,-126,-275,-318,-247,-182,-163,-158,-169,-161,-96,-37,-37,-51,-58,-85,0,0,0,0,0,0,0,0,0,0,0,0},{-50,52,-78,61,-55,44,-129,2914,11175,-6994,-16763,3678,4137,-2005,6742,16479,12712,-1967,-3446,7421,6434,-371,-5283,-9007,-5113,-3254,-4731,-5095,-5968,-3945,-1809,-87,2580,2773,1121,2668,4218,3228,352,-969,167,-453,-2069,-2527,-2341,-1953,-1497,-1242,-623,-251,151,529,770,970,753,430,522,354,-86,-240,-430,-626,-765,-748,-679,-752,-512,65,228,177,254,434,341,103,-6,-27,-121,-222,-332,-380,-306,-330,-409,-423,-324,-171,-109,-142,-72,-27,15,74,172,178,-1,-78,-104,-177,-203,-173,-163,-163,-91,-46,-17,19,81,200,168,40,-145,-289,-260,-115,-50,-144,-239,-214,-141,-53,-24,-91,-214,-524,-519,-330,-272,-87,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 135 degrees + {{1,1,0,0,-1,-1,2,1,-3,3,2,3,-1,2,5,-6,16,-25,40,-33,73,244,3224,1834,-5048,-3444,877,1843,1926,2089,4413,6633,4009,-288,-1431,-1147,-729,-1616,-2381,-2431,-2618,-2028,-1292,-417,44,277,838,1642,1714,1121,729,664,662,-7,-199,-187,-353,-592,-941,-1099,-1062,-796,-550,-345,-83,147,186,228,326,308,200,53,-85,-179,-291,-385,-442,-450,-400,-394,-429,-336,-215,-159,-168,-109,0,46,28,-60,-83,-68,-79,-124,-143,-135,-129,-119,-131,-144,-149,-155,-154,-161,-156,-130,-87,-24,23,69,97,84,-11,-178,-308,-322,-254,-204,-180,-158,-165,-127,-55,-17,-6,-25,-35,-70,0,0,0,0,0,0,0,0,0,0,0,0},{41,-79,94,-130,156,-197,247,-245,5947,8020,-12895,-9887,5797,-167,12,10171,15726,7760,-3007,2397,8630,1713,-3062,-6066,-7732,-3549,-4019,-5355,-5466,-5092,-2781,-1503,634,3017,2322,1474,3515,3963,2210,-214,-454,175,-1233,-2438,-2542,-2214,-1713,-1452,-1034,-370,6,462,766,791,742,613,540,522,44,-233,-275,-481,-687,-767,-703,-705,-701,-248,247,306,288,334,369,172,-30,-100,-113,-198,-280,-338,-322,-303,-380,-429,-388,-251,-100,-97,-94,-11,33,42,50,124,69,-44,-65,-101,-174,-174,-132,-150,-128,-66,-39,14,83,159,186,81,-81,-245,-283,-183,-91,-89,-190,-240,-173,-111,-70,-121,-135,-352,-565,-398,-312,-160,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 140 degrees + {{1,1,-2,-1,-2,-1,0,-3,0,4,0,4,-9,17,-21,30,-38,48,-51,103,14,2710,3541,-4451,-5260,341,1858,2116,2335,4607,7240,4902,68,-1556,-1465,-918,-1548,-2674,-2469,-2768,-2582,-1744,-614,97,179,552,1554,2084,1329,940,625,496,212,-360,-695,-658,-542,-655,-733,-643,-588,-696,-254,186,100,47,189,304,219,60,-24,-143,-227,-239,-311,-399,-366,-373,-387,-371,-287,-192,-202,-167,-97,-16,-8,-69,-136,-109,-56,-71,-123,-127,-103,-95,-125,-168,-181,-178,-138,-130,-132,-121,-97,-75,-49,2,54,80,62,-1,-93,-212,-315,-325,-277,-237,-185,-140,-112,-57,-22,-2,8,-10,-47,-117,0,0,0,0,0,0,0,0,0,0,0,0},{-9,20,-51,60,-104,137,-193,223,270,7945,3308,-14274,-3828,3904,-1907,2934,11457,13814,4576,-784,6434,6056,-2203,-3670,-6241,-6341,-3032,-5091,-5492,-5346,-4042,-2013,-1048,1219,3017,2109,2199,3896,3187,1356,-291,-17,-424,-1993,-2435,-2370,-2118,-1648,-1259,-724,-58,316,714,872,785,692,462,453,355,-159,-384,-416,-474,-677,-824,-735,-586,-379,84,338,290,266,253,182,16,-103,-156,-153,-195,-268,-368,-360,-364,-389,-358,-312,-187,-69,-39,-20,-18,-19,-7,42,89,17,-55,-53,-88,-172,-151,-123,-137,-99,-36,4,60,116,165,111,-57,-224,-291,-214,-129,-101,-153,-225,-195,-139,-119,-167,-169,-182,-476,-487,-334,-254,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 145 degrees + {{0,-1,-1,-4,0,-2,-2,-5,5,-3,8,-15,17,-22,26,-34,36,-41,76,-24,1976,4779,-2987,-7025,-645,1915,2153,2567,4851,7965,5793,474,-1583,-1719,-1182,-1547,-3044,-2675,-2672,-2873,-2212,-1115,56,293,450,1393,2105,1572,1155,622,731,368,-580,-817,-1030,-959,-866,-665,-494,-321,-102,17,50,168,298,285,236,88,-56,-101,-253,-360,-310,-263,-312,-401,-431,-358,-277,-246,-175,-104,-55,-58,-36,-85,-157,-185,-148,-114,-117,-107,-107,-102,-120,-146,-203,-221,-141,-89,-102,-118,-82,-38,-55,-55,-23,21,43,41,-9,-89,-161,-251,-324,-335,-283,-212,-162,-116,-35,17,18,-4,-13,-35,-102,-197,0,0,0,0,0,0,0,0,0,0,0,0},{-13,17,-18,-3,6,-37,60,-102,93,1208,8566,-973,-12624,-666,1055,-1237,4828,11497,12047,3553,2507,7239,1939,-3713,-3436,-6314,-5290,-3420,-5650,-5270,-4929,-3200,-1494,-362,1731,2783,2117,2909,3728,2375,818,-289,-107,-1064,-2289,-2419,-2267,-1901,-1495,-1048,-296,268,522,875,940,805,678,385,244,-7,-329,-401,-511,-633,-749,-660,-500,-379,-137,252,250,155,208,192,67,-76,-92,-110,-191,-289,-356,-385,-339,-355,-364,-315,-207,-78,-30,-63,-54,-41,-26,-7,38,70,3,-34,-35,-109,-174,-122,-87,-99,-64,-15,34,101,115,86,-34,-188,-261,-214,-141,-141,-153,-176,-190,-166,-166,-185,-220,-133,-265,-520,-375,-291,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 150 degrees + {{0,-1,-2,-1,0,-2,-5,4,-3,10,-13,12,-14,12,-14,8,-1,11,35,1318,5332,-980,-8277,-2148,1992,2120,2729,5065,8787,6767,876,-1562,-1898,-1455,-1530,-3380,-3198,-2608,-2961,-2488,-1546,-205,297,454,1312,2260,1660,972,1044,1021,318,-645,-984,-1104,-1074,-1150,-1206,-814,13,252,233,386,446,426,389,283,71,-60,-170,-358,-461,-384,-360,-425,-434,-399,-363,-302,-232,-72,41,62,-14,-52,-66,-149,-232,-221,-169,-138,-149,-159,-141,-162,-188,-227,-186,-97,-48,-64,-77,-45,-3,-13,-44,-33,-9,6,2,-38,-83,-129,-210,-301,-338,-315,-246,-168,-115,-38,31,46,19,-19,-57,-111,-184,-242,0,0,0,0,0,0,0,0,0,0,0,0},{19,-28,38,-45,35,-46,33,-30,20,-45,2264,8049,-3764,-9953,-224,-683,246,5419,11308,10939,4139,4786,5548,-1500,-3327,-3229,-6477,-4563,-4213,-5569,-5015,-4411,-2342,-1106,295,2072,2648,2336,3232,3027,1853,518,-327,-516,-1674,-2199,-2330,-2217,-1734,-1140,-671,0,422,722,1016,966,816,566,313,120,-269,-510,-514,-559,-670,-703,-480,-267,-239,-136,153,206,236,197,127,46,-45,-128,-209,-286,-317,-356,-403,-353,-339,-279,-234,-149,-49,-24,-50,-74,-74,-27,8,52,67,10,-22,-30,-108,-146,-91,-84,-83,-51,1,55,81,64,-12,-146,-231,-213,-131,-128,-181,-187,-163,-158,-192,-210,-244,-192,-104,-370,-460,-294,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 155 degrees + {{-3,-3,-2,0,-1,-7,3,-2,6,-9,4,-3,-2,0,-17,29,-31,71,878,5307,1058,-8638,-4098,1921,2129,2809,5222,9492,7929,1360,-1472,-2094,-1741,-1490,-3557,-3823,-2842,-3064,-2646,-1779,-438,238,324,1328,2253,1769,1396,1103,780,484,-502,-1033,-1225,-1262,-1369,-1326,-921,-328,37,357,761,910,761,411,256,230,21,-186,-333,-511,-535,-511,-507,-536,-528,-378,-246,-218,-45,141,144,48,9,-23,-106,-200,-227,-210,-220,-225,-252,-244,-235,-219,-205,-165,-64,5,-14,-28,-7,16,14,-6,-33,-40,-27,-51,-97,-107,-87,-144,-261,-341,-339,-258,-165,-128,-68,21,67,47,-6,-66,-144,-206,-231,-258,0,0,0,0,0,0,0,0,0,0,0,0},{-8,21,-31,40,-57,57,-81,85,-108,122,-129,3183,6953,-4975,-7877,-1097,-946,1228,5515,11376,10418,5277,5278,2930,-3190,-2598,-3027,-6631,-4532,-4407,-5443,-4847,-3638,-1561,-731,745,2376,2649,2433,3096,2375,1420,319,-446,-1003,-1998,-2143,-2168,-2033,-1500,-842,-332,262,518,852,1102,906,698,469,244,76,-291,-581,-697,-639,-606,-608,-463,-321,-263,-74,167,238,312,235,106,-12,-75,-150,-249,-368,-382,-397,-395,-346,-305,-229,-188,-99,-33,-37,-65,-82,-66,-20,29,78,59,25,19,-24,-139,-153,-98,-102,-101,-61,11,70,59,-19,-125,-207,-187,-134,-129,-178,-200,-158,-139,-194,-244,-247,-256,-130,-161,-419,-359,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 160 degrees + {{-3,-2,0,-1,-7,3,-1,4,-3,-1,3,-8,10,-30,40,-39,70,632,4982,2665,-8037,-6066,1364,2294,2798,5395,9944,9092,2076,-1250,-2208,-2138,-1500,-3585,-4361,-3200,-3273,-2962,-1917,-583,267,298,960,2356,2325,1434,1034,857,514,-496,-969,-1288,-1611,-1428,-1169,-1021,-614,-174,260,774,1008,985,772,507,281,108,-57,-306,-577,-624,-550,-624,-707,-637,-442,-226,-139,-20,70,187,193,94,32,-44,-114,-196,-225,-287,-347,-378,-339,-275,-244,-205,-142,-39,50,39,22,37,50,37,19,7,-40,-81,-102,-127,-145,-109,-93,-174,-275,-312,-274,-192,-132,-76,-23,37,71,36,-48,-149,-220,-249,-261,-265,0,0,0,0,0,0,0,0,0,0,0,0},{4,-5,14,-20,31,-50,57,-84,100,-136,170,-117,3803,5840,-5107,-6962,-1973,-505,1560,5939,11313,10343,6178,4348,607,-3454,-1951,-3436,-6212,-4800,-4611,-4947,-4652,-2850,-992,-231,978,2636,2718,2166,2702,2115,1087,-55,-632,-1363,-1983,-2072,-2046,-1811,-1204,-529,-133,365,680,927,899,841,685,463,298,57,-371,-641,-648,-639,-679,-671,-577,-418,-294,17,300,310,279,213,180,51,-95,-237,-364,-416,-395,-418,-396,-330,-251,-212,-168,-104,-64,-31,-44,-32,-27,4,62,99,71,17,-1,-59,-149,-171,-158,-133,-97,-19,40,35,-23,-96,-171,-195,-141,-132,-162,-169,-143,-143,-182,-243,-249,-265,-249,-107,-247,-387,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 165 degrees + {{-4,0,0,-6,0,-1,3,-2,-4,2,-14,11,-30,32,-37,66,473,4654,3623,-6910,-7397,170,2454,2826,5554,10264,9992,2984,-851,-2140,-2544,-1675,-3599,-4761,-3586,-3513,-3349,-2257,-613,314,48,1036,2629,2344,1506,1137,926,571,-399,-1206,-1540,-1448,-1358,-1422,-1234,-526,-21,174,407,771,1083,949,768,600,265,-25,-234,-524,-708,-707,-707,-751,-711,-532,-303,-193,-1,179,227,184,154,152,60,-84,-210,-268,-353,-424,-455,-414,-340,-272,-205,-139,-40,71,85,47,49,75,64,38,21,-36,-93,-134,-167,-198,-159,-90,-113,-195,-256,-246,-211,-168,-107,-69,-17,44,48,-32,-140,-213,-261,-282,-302,-231,0,0,0,0,0,0,0,0,0,0,0,0},{-3,2,-1,6,-12,17,-35,39,-67,81,-120,158,-12,4115,5051,-4935,-6905,-2343,-108,2013,6423,10911,10716,6309,2776,-813,-3103,-1617,-4000,-5993,-4421,-4801,-4820,-3846,-2298,-639,249,1234,2532,2656,2281,2100,1582,1129,-246,-1122,-1485,-1804,-1924,-1896,-1631,-956,-279,93,336,576,945,985,790,683,539,212,-99,-352,-484,-553,-618,-833,-915,-696,-408,-223,11,261,405,400,281,172,36,-135,-312,-393,-396,-386,-424,-408,-343,-251,-224,-204,-127,-18,39,22,14,21,56,75,75,47,-1,-35,-96,-175,-198,-175,-124,-63,0,13,-26,-86,-149,-186,-166,-132,-142,-120,-93,-122,-179,-217,-238,-258,-318,-223,-112,-295,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 170 degrees + {{-1,2,-5,0,-1,4,0,-3,2,-14,13,-32,33,-46,76,350,4420,4117,-5843,-7790,-1250,2168,3027,5678,10510,10642,3892,-287,-1879,-2738,-1961,-3747,-5027,-3937,-3775,-3717,-2609,-977,147,532,1046,2357,2534,1804,1262,971,635,-582,-1263,-1345,-1497,-1735,-1525,-1096,-495,-91,65,446,705,868,891,829,723,532,244,-149,-534,-742,-761,-764,-800,-737,-625,-443,-222,29,208,281,307,264,190,77,-80,-230,-346,-392,-427,-483,-463,-393,-277,-204,-136,-47,62,127,83,42,59,90,61,32,-6,-87,-135,-170,-209,-206,-127,-62,-109,-175,-203,-194,-194,-157,-88,-49,2,22,-20,-117,-196,-228,-285,-329,-304,-134,0,0,0,0,0,0,0,0,0,0,0,0},{-3,0,0,3,1,-4,10,-23,24,-47,55,-82,118,136,4246,4602,-4962,-7150,-2381,429,2757,6341,10622,11080,5653,1354,-1445,-2662,-1823,-4201,-5704,-4322,-4286,-4650,-3550,-1600,-199,462,1263,2408,2484,2357,1941,1019,659,-152,-1093,-1670,-1738,-1755,-1723,-1426,-715,-185,21,361,697,929,986,817,567,388,270,98,-297,-486,-609,-810,-925,-867,-684,-489,-284,31,310,422,413,316,177,17,-134,-278,-361,-399,-407,-458,-442,-360,-295,-248,-182,-80,31,86,94,52,30,63,64,46,31,4,-83,-152,-192,-195,-164,-105,-40,-31,-53,-85,-140,-192,-181,-137,-122,-81,-29,-59,-164,-214,-213,-257,-320,-334,-139,-145,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 175 degrees + {{0,-3,0,0,3,0,-3,4,-17,17,-39,42,-61,93,237,4261,4430,-5157,-7573,-2220,1292,3143,5924,10597,11099,4845,384,-1628,-2651,-2090,-4013,-5327,-4189,-4085,-3939,-3268,-1493,411,599,1010,2294,2609,2116,1593,1031,397,-556,-907,-1361,-1906,-1836,-1509,-1127,-589,-179,40,389,800,1014,793,618,692,575,362,61,-380,-724,-804,-741,-831,-862,-694,-418,-279,-25,282,415,388,272,224,94,-104,-293,-375,-395,-432,-481,-469,-395,-297,-215,-153,-50,80,128,97,51,52,68,61,55,21,-51,-122,-172,-208,-197,-152,-80,-50,-78,-131,-155,-182,-189,-145,-94,-40,-5,-16,-101,-186,-207,-246,-315,-356,-233,-77,0,0,0,0,0,0,0,0,0,0,0,0},{0,-3,0,0,3,0,-3,4,-17,17,-39,42,-61,93,237,4261,4430,-5157,-7573,-2220,1292,3143,5924,10597,11099,4845,384,-1628,-2651,-2090,-4013,-5327,-4189,-4085,-3939,-3268,-1493,411,599,1010,2294,2609,2116,1593,1031,397,-556,-907,-1361,-1906,-1836,-1509,-1127,-589,-179,40,389,800,1014,793,618,692,575,362,61,-380,-724,-804,-741,-831,-862,-694,-418,-279,-25,282,415,388,272,224,94,-104,-293,-375,-395,-432,-481,-469,-395,-297,-215,-153,-50,80,128,97,51,52,68,61,55,21,-51,-122,-172,-208,-197,-152,-80,-50,-78,-131,-155,-182,-189,-145,-94,-40,-5,-16,-101,-186,-207,-246,-315,-356,-233,-77,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 180 degrees +}; +inline constexpr std::int16_t pcm44100_m10[37][2][hrir::taps]={ + {{6,-9,21,-31,35,-55,65,-84,81,-88,98,8,4587,6732,-8759,-4087,2448,-5277,6627,10260,2468,6955,16044,746,-11932,1720,-1530,-13711,-4322,1346,-7485,-5198,2168,1744,-413,1519,4593,2711,1892,3655,1260,-1483,96,-21,-2805,-3756,-2559,-3077,-3620,-1860,-1318,-1034,1002,1768,1524,1852,1949,1564,1019,500,267,-157,-917,-970,-1026,-1457,-1407,-1032,-966,-784,-287,38,85,445,771,710,590,489,371,24,-334,-387,-430,-694,-602,-412,-525,-505,-264,-80,-16,105,269,163,133,263,245,90,-27,-105,-317,-429,-441,-415,-370,-290,-144,-38,7,78,88,31,12,16,-13,-35,-69,-143,-174,-168,-146,-109,-62,-67,-41,5,8,59,0,0,0,0,0,0,0,0,0,0,0,0},{6,-9,21,-31,35,-55,65,-84,81,-88,98,8,4587,6732,-8759,-4087,2448,-5277,6627,10260,2468,6955,16044,746,-11932,1720,-1530,-13711,-4322,1346,-7485,-5198,2168,1744,-413,1519,4593,2711,1892,3655,1260,-1483,96,-21,-2805,-3756,-2559,-3077,-3620,-1860,-1318,-1034,1002,1768,1524,1852,1949,1564,1019,500,267,-157,-917,-970,-1026,-1457,-1407,-1032,-966,-784,-287,38,85,445,771,710,590,489,371,24,-334,-387,-430,-694,-602,-412,-525,-505,-264,-80,-16,105,269,163,133,263,245,90,-27,-105,-317,-429,-441,-415,-370,-290,-144,-38,7,78,88,31,12,16,-13,-35,-69,-143,-174,-168,-146,-109,-62,-67,-41,5,8,59,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 0 degrees + {{0,4,-6,15,-23,28,-46,59,-77,81,-91,108,75,4555,5317,-7917,-2566,1460,-4571,6395,8671,2499,6816,14047,556,-9551,1583,-1979,-11788,-3663,461,-6747,-4443,1409,1250,-367,1393,3982,2361,2074,3479,891,-1165,155,-335,-2555,-3054,-2055,-2819,-3092,-1353,-1050,-1178,442,1362,1228,1332,1466,1444,1051,559,325,-181,-780,-760,-956,-1411,-1284,-943,-887,-656,-206,59,68,378,652,573,438,417,340,13,-316,-336,-344,-606,-551,-401,-446,-418,-261,-145,-107,43,209,129,130,251,228,90,-4,-104,-284,-351,-339,-326,-307,-260,-169,-73,-28,25,22,-30,-56,-37,-23,-38,-45,-79,-99,-108,-99,-78,-69,-81,-63,-24,12,0,0,0,0,0,0,0,0,0,0,0,0},{-9,24,-33,35,-51,49,-54,30,-16,9,-9,3461,9006,-7315,-7900,3636,-5313,5083,12069,3094,5777,17403,4212,-14314,-183,820,-14437,-6659,2379,-6958,-7062,1975,2610,-394,843,4986,3246,1357,4036,2425,-1597,-223,490,-2517,-4230,-3148,-3404,-4386,-2448,-1192,-1158,785,2141,1887,2148,2375,1935,1177,491,191,-188,-995,-1055,-1007,-1481,-1484,-1046,-1018,-942,-431,12,84,394,810,755,632,575,462,104,-291,-396,-397,-717,-696,-475,-559,-522,-276,-70,-49,88,341,254,150,256,276,100,-45,-93,-313,-463,-514,-496,-440,-325,-149,-16,27,76,134,83,48,49,21,-6,-39,-133,-220,-235,-216,-164,-74,-53,-21,34,28,51,106,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 5 degrees + {{-5,2,0,-2,8,-15,20,-35,46,-68,74,-87,109,194,4625,3762,-7101,-1330,405,-3317,6121,7140,2690,6773,12266,-19,-7537,1405,-2524,-9971,-3023,-414,-6095,-3717,941,920,-305,1442,3485,2098,2108,3222,705,-1128,-9,-495,-2261,-2540,-1802,-2452,-2522,-1015,-813,-1079,88,901,951,1104,1281,1223,792,377,241,-226,-696,-683,-864,-1232,-1103,-790,-735,-523,-140,116,132,339,510,436,342,306,226,-29,-304,-330,-373,-559,-480,-391,-419,-351,-196,-126,-127,25,196,143,140,212,185,52,-36,-143,-271,-287,-282,-273,-275,-229,-157,-103,-66,-26,-29,-74,-71,-41,-31,-16,-9,-33,-80,-73,-67,-73,-75,-112,-76,-38,0,0,0,0,0,0,0,0,0,0,0,0},{19,-25,21,-27,12,6,-54,92,-116,106,2175,10414,-4118,-11903,3414,-4508,3336,13882,3642,4893,18138,7863,-15464,-2905,2558,-14387,-8631,2693,-6200,-8464,1328,3017,131,364,4634,3535,1446,4518,3167,-1347,-420,801,-2290,-4482,-3728,-4003,-5101,-2725,-891,-1397,426,2399,2368,2396,2472,2250,1536,681,152,-296,-1143,-1241,-1018,-1480,-1559,-1127,-1064,-982,-456,49,150,350,795,825,698,557,468,162,-278,-383,-372,-698,-806,-549,-543,-503,-264,-91,-27,59,320,337,210,314,303,123,-75,-136,-312,-486,-534,-564,-505,-377,-187,-22,47,107,179,133,80,75,39,9,-11,-103,-205,-237,-253,-222,-124,-77,-12,76,79,61,96,112,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 10 degrees + {{-1,-5,2,-2,0,4,-10,12,-24,31,-52,56,-67,79,303,4367,2751,-6083,-874,45,-2343,5272,6155,2764,6310,10838,65,-6062,1159,-2355,-8433,-2806,-954,-5446,-3373,466,747,-306,1258,3163,2058,1994,2639,653,-805,-110,-460,-1923,-2205,-1538,-2001,-2165,-1018,-790,-905,-42,508,789,1014,934,745,523,292,141,-219,-554,-528,-703,-1005,-905,-693,-600,-444,-127,122,156,303,382,339,243,166,93,-90,-300,-325,-362,-511,-432,-344,-377,-323,-170,-78,-57,28,129,111,138,188,118,-8,-73,-144,-247,-280,-269,-257,-243,-214,-160,-108,-85,-63,-61,-67,-71,-43,-29,-14,-3,-39,-62,-61,-51,-60,-86,-133,-125,0,0,0,0,0,0,0,0,0,0,0,0},{-1,-11,13,-43,74,-139,178,-222,238,932,10401,1039,-15103,949,-2481,412,15688,5359,3132,18307,12355,-15407,-6785,4388,-13692,-11183,2983,-4777,-10213,616,3579,55,302,3739,3619,2087,4660,3957,-854,-811,1111,-1712,-4700,-4664,-4567,-5214,-2881,-932,-1673,108,2762,2629,2393,2561,2435,1821,930,213,-276,-1119,-1468,-1142,-1530,-1698,-1243,-1072,-1035,-411,146,166,331,886,921,695,557,440,160,-287,-448,-404,-678,-835,-541,-538,-550,-277,-45,-3,40,298,375,225,340,352,147,-94,-183,-327,-504,-524,-577,-542,-423,-238,-79,-17,82,216,191,102,108,78,2,-11,-95,-192,-233,-244,-231,-168,-111,-63,81,140,128,117,73,67,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 15 degrees + {{-1,-2,-5,1,-2,1,2,-8,9,-18,21,-39,43,-47,50,375,3952,2145,-5151,-658,57,-1824,4379,5481,2647,5710,9726,427,-4914,1060,-1916,-7197,-2772,-1254,-4867,-3314,182,603,-427,1214,3012,1835,1589,2317,749,-496,-5,-316,-1665,-1915,-1233,-1816,-2085,-1081,-749,-713,54,402,447,555,593,542,312,190,162,-93,-379,-399,-564,-855,-761,-539,-505,-396,-86,115,103,246,315,235,134,70,-9,-196,-324,-264,-285,-442,-405,-308,-302,-259,-139,-48,-26,39,115,75,105,152,90,-46,-135,-175,-235,-268,-271,-246,-215,-162,-98,-86,-104,-76,-46,-50,-66,-50,-32,-19,-27,-54,-44,-22,-25,-58,-105,-155,0,0,0,0,0,0,0,0,0,0,0,0},{-32,44,-86,114,-170,188,-225,259,116,8638,6965,-15179,-4564,160,-2239,15071,8953,2018,16502,17108,-12393,-12020,4930,-10751,-14191,1326,-1983,-10906,-1799,4657,708,-1220,2925,4776,2175,4101,5015,148,-1550,1178,-691,-4968,-5792,-4667,-4672,-3288,-1575,-1636,126,2729,2686,2309,2629,2559,2039,1099,243,-192,-886,-1544,-1335,-1513,-1882,-1499,-1110,-943,-406,69,260,472,898,978,741,556,429,188,-319,-558,-424,-621,-887,-600,-469,-524,-353,-93,31,94,297,419,241,252,363,200,-83,-210,-338,-531,-540,-527,-525,-458,-294,-132,-51,13,158,197,112,119,126,54,-7,-91,-180,-210,-228,-259,-202,-137,-97,58,163,177,161,113,38,54,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 20 degrees + {{-3,0,-3,-5,1,-4,1,0,-5,8,-15,15,-29,32,-37,32,393,3474,1804,-4308,-513,159,-1606,3604,4926,2407,5073,8863,914,-3941,1061,-1402,-6253,-2803,-1333,-4536,-3269,40,446,-390,1107,2599,1573,1483,2133,770,-226,284,-129,-1475,-1723,-1253,-1792,-1985,-975,-619,-526,-28,58,134,290,411,378,260,160,215,59,-302,-398,-510,-639,-572,-443,-417,-352,-106,61,54,148,234,183,31,-49,-92,-203,-305,-242,-243,-383,-340,-248,-246,-192,-94,-47,-39,35,108,52,51,90,42,-101,-190,-207,-238,-240,-237,-209,-162,-109,-69,-77,-82,-69,-59,-58,-59,-54,-62,-60,-51,-24,-11,-10,-30,-75,-126,0,0,0,0,0,0,0,0,0,0,0,0},{40,-82,102,-123,111,-116,143,-128,5757,11400,-10839,-11359,803,-2705,12174,12087,2659,14350,19967,-6908,-15769,2627,-6968,-14955,-2154,-876,-9375,-3872,4088,1585,-1927,1777,5582,2573,3672,5152,1267,-1420,665,-70,-5015,-6499,-4281,-3930,-4008,-2251,-1435,237,2468,2459,2286,2610,2643,2204,1148,351,-79,-692,-1466,-1432,-1515,-1915,-1722,-1178,-988,-520,127,375,565,929,999,723,606,431,197,-287,-532,-442,-603,-898,-668,-445,-505,-354,-150,4,121,316,483,273,200,325,226,-34,-199,-295,-540,-577,-521,-494,-455,-324,-128,-36,-26,73,157,94,90,118,71,44,-4,-134,-171,-201,-263,-255,-175,-96,23,147,202,217,179,86,33,51,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 25 degrees + {{-1,-2,-1,-1,-4,1,-1,2,0,-1,7,-12,15,-22,26,-25,25,362,2974,1664,-3518,-429,245,-1525,2942,4400,2122,4480,8118,1523,-3046,1060,-916,-5519,-2741,-1430,-4307,-3041,-4,251,-555,922,2384,1466,1363,1968,897,175,523,-138,-1489,-1732,-1262,-1624,-1689,-827,-675,-778,-206,46,11,126,306,355,237,185,209,23,-248,-314,-381,-505,-426,-357,-405,-357,-144,9,11,93,139,80,-34,-78,-94,-188,-297,-254,-238,-297,-237,-180,-173,-152,-80,-63,-76,-1,70,36,8,26,-46,-148,-178,-196,-203,-192,-178,-173,-131,-70,-54,-67,-86,-73,-55,-56,-71,-83,-84,-55,-13,-4,-13,-18,-58,-105,0,0,0,0,0,0,0,0,0,0,0,0},{-38,31,-30,-16,36,-60,21,2703,12847,-2961,-16122,-2329,-1691,8668,13746,4138,12324,21815,-352,-17309,-1189,-4024,-13967,-5134,-1495,-8295,-4939,3584,825,-1528,2029,4688,2931,3914,4914,1852,-820,185,-281,-4905,-6146,-3652,-3865,-4582,-2328,-1269,-169,2192,2398,2063,2506,2666,2194,1177,578,29,-615,-1282,-1426,-1568,-1888,-1763,-1258,-1034,-714,86,484,647,909,951,726,583,426,252,-148,-492,-507,-571,-820,-690,-487,-522,-383,-179,-28,106,285,430,309,198,290,243,26,-151,-252,-491,-592,-584,-556,-470,-320,-123,-15,-2,32,97,38,17,53,41,55,58,-34,-117,-176,-245,-271,-208,-143,-25,105,165,231,241,153,49,30,38,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 30 degrees + {{-1,-1,-2,-2,-1,-6,0,-1,0,0,-2,4,-11,11,-18,18,-19,19,294,2477,1632,-2763,-413,264,-1455,2346,3832,1906,3915,7427,2215,-2241,1006,-563,-4763,-2686,-1645,-3792,-2703,-459,-67,-397,880,2053,1367,1336,1968,1235,327,230,-354,-1365,-1570,-1115,-1344,-1576,-1109,-895,-680,-234,-26,25,85,243,318,230,110,161,38,-181,-198,-296,-438,-414,-330,-397,-379,-146,-12,-31,9,44,-1,-57,-60,-93,-199,-286,-219,-184,-250,-175,-99,-144,-165,-122,-98,-97,-44,18,-26,-37,-26,-77,-146,-148,-133,-160,-152,-149,-147,-123,-87,-64,-77,-80,-71,-59,-76,-94,-73,-60,-33,-8,-8,-26,-64,-96,0,0,0,0,0,0,0,0,0,0,0,0},{-41,69,-135,173,-231,272,470,10877,5912,-15982,-8420,-1288,5705,13850,5896,10544,22255,6757,-15757,-5739,-2607,-11774,-6889,-3255,-7129,-6285,1506,928,-395,1927,3802,3486,3854,4614,2509,148,-945,-1093,-3947,-5344,-3437,-3734,-4825,-2541,-837,-555,1376,2436,2110,2256,2423,2155,1298,679,200,-481,-1112,-1406,-1577,-1886,-1708,-1185,-1089,-897,41,515,568,845,967,673,560,480,309,-24,-428,-520,-564,-710,-677,-459,-485,-444,-236,-79,72,233,347,302,177,262,267,119,-53,-192,-412,-590,-595,-613,-539,-355,-134,9,20,21,87,51,-26,-41,-29,30,117,45,-83,-138,-193,-240,-226,-158,-82,40,131,204,253,209,119,51,30,28,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 35 degrees + {{0,-1,-1,-2,-1,-3,-4,1,-1,2,1,-2,4,-7,10,-18,21,-15,15,222,1995,1656,-2019,-469,227,-1314,1765,3238,1827,3409,6712,2910,-1442,785,-235,-3910,-2721,-1647,-3327,-2827,-755,54,-233,636,1797,1509,1490,1937,1107,-16,-63,-236,-993,-1308,-1139,-1459,-1669,-1108,-777,-658,-278,-16,82,79,165,253,200,119,129,63,-109,-167,-266,-435,-440,-342,-347,-317,-159,-64,-92,-63,-7,-30,-77,-53,-49,-143,-232,-196,-181,-210,-154,-113,-145,-174,-137,-120,-119,-85,-53,-66,-60,-37,-62,-89,-87,-90,-119,-131,-151,-162,-130,-99,-87,-76,-78,-69,-57,-73,-72,-50,-32,-22,-17,-31,-75,-95,0,0,0,0,0,0,0,0,0,0,0,0},{78,-144,171,-201,250,-289,6393,12406,-9740,-14993,-2983,3341,12695,7516,8729,22031,13144,-11873,-9065,-2283,-10245,-6905,-4606,-7026,-7077,-1688,440,485,2566,3353,3344,3993,4923,2702,823,-1291,-2351,-3316,-4118,-3294,-3816,-4572,-2652,-836,-780,792,2158,2009,2239,2192,1959,1354,835,289,-318,-868,-1416,-1617,-1761,-1589,-1223,-1021,-939,-158,479,474,680,916,739,580,473,336,97,-319,-523,-540,-611,-626,-431,-419,-439,-303,-169,8,158,269,292,165,199,249,198,40,-98,-309,-548,-585,-638,-576,-414,-196,-26,11,3,58,106,7,-64,-84,-49,91,91,-27,-113,-178,-206,-200,-177,-113,-16,68,155,233,236,161,102,46,23,32,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 40 degrees + {{1,0,0,-1,-2,-1,-3,-3,0,-2,1,1,-3,1,-4,2,-11,19,-17,23,138,1545,1676,-1284,-579,145,-1077,1126,2695,1900,2900,5941,3563,-701,484,227,-2947,-2930,-1962,-2844,-2610,-858,125,-174,505,1857,1711,1179,1360,792,-19,90,-14,-841,-1471,-1338,-1351,-1456,-1061,-720,-582,-287,2,73,43,112,212,217,126,114,51,-117,-189,-281,-421,-455,-336,-272,-290,-217,-113,-120,-102,-38,1,-46,-42,-22,-107,-208,-221,-187,-220,-171,-120,-151,-151,-149,-143,-153,-123,-79,-84,-61,-28,-4,-28,-59,-87,-111,-129,-172,-177,-155,-114,-98,-80,-65,-47,-31,-45,-54,-44,-22,-23,-54,-86,-102,0,0,0,0,0,0,0,0,0,0,0,0},{-10,-30,63,-103,80,1735,13250,1632,-18241,-8091,1588,10220,9177,6479,20370,19515,-5719,-12211,-2012,-8323,-7450,-4437,-7112,-8009,-5082,82,-215,1961,4257,3850,3205,5318,4195,520,-1501,-2644,-2743,-3988,-3287,-3048,-4435,-3011,-836,-890,52,1921,1914,2046,2060,1872,1457,858,489,-257,-808,-1172,-1538,-1742,-1554,-1200,-927,-907,-403,318,389,558,868,790,544,492,373,185,-226,-487,-468,-573,-547,-404,-354,-431,-334,-187,-102,67,186,281,194,136,218,186,87,-29,-175,-424,-567,-607,-595,-447,-264,-124,-37,-28,37,111,42,-11,-60,-72,18,69,-1,-79,-146,-215,-187,-153,-125,-59,4,92,192,244,205,148,88,26,22,31,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 45 degrees + {{1,1,0,-1,-1,-2,-2,-2,-4,-2,-1,2,0,-7,5,-6,-3,0,10,-8,20,75,1133,1664,-574,-716,50,-829,536,2249,2008,2422,5126,4095,47,446,654,-2611,-3291,-1762,-2132,-2395,-971,159,123,648,1572,1134,619,1124,973,229,-5,-262,-974,-1414,-1199,-1180,-1301,-933,-602,-569,-274,-25,-10,43,139,190,182,117,65,-5,-127,-225,-314,-400,-417,-330,-282,-285,-214,-112,-111,-88,-13,0,-48,-58,-53,-98,-213,-233,-200,-204,-177,-150,-137,-161,-149,-144,-161,-138,-81,-61,-58,-3,17,-15,-54,-81,-117,-168,-191,-186,-158,-128,-85,-53,-28,-19,-37,-51,-62,-36,-31,-55,-82,-102,0,0,0,0,0,0,0,0,0,0,0,0},{-126,179,-247,301,-308,7913,12370,-12596,-16577,-911,7317,10295,4968,15943,24542,3540,-13381,-4431,-4859,-8014,-3982,-6740,-8637,-7732,-1488,-658,207,3927,4281,3680,5242,5368,1314,-1329,-3093,-2342,-3225,-4027,-2945,-3408,-3212,-1642,-846,-404,1377,1878,1789,1941,1772,1619,981,631,-64,-853,-1053,-1277,-1617,-1637,-1265,-916,-804,-656,103,381,432,765,797,554,458,419,226,-91,-394,-419,-527,-561,-394,-312,-384,-377,-233,-147,-22,138,231,227,112,157,182,81,-23,-122,-278,-486,-550,-566,-497,-343,-201,-109,-90,-26,86,93,16,-37,-53,-17,70,0,-103,-144,-210,-209,-162,-111,-78,-41,13,124,228,232,175,117,59,23,22,15,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 50 degrees + {{1,1,1,1,0,-1,-2,-2,-2,-1,-1,0,3,-3,-2,4,-7,3,4,8,-2,24,22,773,1604,72,-803,-106,-535,53,1846,2076,2016,4361,4573,1040,33,370,-1948,-2959,-1521,-1612,-2099,-866,412,219,73,732,856,776,1140,903,23,-393,-415,-730,-1190,-1147,-948,-1028,-880,-550,-474,-342,-104,26,65,99,157,134,46,20,-27,-171,-294,-309,-358,-401,-323,-241,-217,-175,-79,-80,-108,-54,-34,-71,-83,-85,-117,-180,-203,-203,-216,-202,-143,-120,-146,-136,-133,-143,-118,-71,-60,-58,1,20,-24,-75,-109,-130,-174,-187,-168,-128,-84,-58,-32,-41,-58,-57,-47,-39,-35,-31,-57,-83,0,0,0,0,0,0,0,0,0,0,0,0},{-52,88,-134,107,1518,13925,2782,-21381,-8749,5498,9663,5896,9066,25307,14947,-9731,-9060,-2282,-6830,-4088,-5652,-9130,-8617,-4736,-642,-1304,1825,4386,3611,4780,6775,2848,-612,-2553,-2820,-2280,-3987,-3404,-2913,-3079,-2177,-1247,-931,672,1865,1610,1731,1703,1727,1201,707,394,-504,-1172,-1264,-1344,-1522,-1384,-1102,-846,-779,-135,466,322,532,798,663,410,370,352,87,-296,-389,-401,-576,-487,-314,-317,-357,-265,-179,-119,98,248,252,120,69,146,107,12,-96,-219,-400,-489,-489,-480,-389,-267,-187,-141,-86,14,103,61,10,-22,-40,43,64,-55,-165,-226,-241,-195,-125,-65,-38,-17,48,160,234,214,149,77,32,35,32,10,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 55 degrees + {{1,1,2,2,1,0,1,-1,0,1,1,0,2,4,-2,0,3,-1,6,5,8,12,7,-5,504,1478,600,-830,-267,-265,-259,1433,2063,1953,3939,4514,1213,-167,642,-1114,-2620,-1429,-902,-1402,-924,-107,-317,-316,640,1001,680,646,469,-165,-393,-291,-571,-1005,-940,-757,-850,-739,-545,-456,-304,-98,-1,11,57,51,56,19,-42,-103,-231,-286,-282,-292,-312,-257,-180,-176,-141,-100,-117,-147,-106,-65,-82,-100,-103,-101,-163,-216,-211,-203,-175,-121,-101,-126,-123,-101,-113,-129,-86,-47,-56,-32,-24,-62,-109,-109,-109,-138,-141,-121,-86,-73,-81,-98,-82,-51,-31,-25,-29,-15,-21,-51,0,0,0,0,0,0,0,0,0,0,0,0},{84,-126,178,-301,5898,15363,-10272,-21918,771,8923,7678,4419,18602,25054,477,-12488,-3823,-3211,-4467,-3975,-9402,-8690,-7298,-2534,-833,-1340,3382,3898,3333,6304,5489,722,-1151,-2756,-2237,-2827,-3949,-2780,-2931,-2594,-1704,-1427,-416,1416,1670,1554,1600,1610,1472,915,717,132,-902,-1241,-1332,-1472,-1333,-1229,-1030,-866,-505,350,459,296,661,734,491,320,387,303,-65,-378,-367,-489,-575,-396,-309,-313,-300,-190,-124,-16,202,303,228,73,39,90,20,-27,-125,-314,-489,-499,-424,-392,-281,-210,-204,-171,-70,94,97,18,-3,-12,33,61,2,-117,-197,-271,-255,-174,-85,-24,-22,25,105,183,204,164,113,64,38,44,29,21,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 60 degrees + {{1,2,2,2,1,2,0,1,1,1,1,0,1,3,1,-1,1,2,4,-1,11,13,2,-3,-4,317,1290,950,-728,-428,-64,-386,1073,2352,2083,2635,3842,2173,274,583,-534,-1935,-874,-304,-1481,-1716,-686,-76,-35,287,506,206,156,306,38,-304,-310,-358,-728,-784,-580,-664,-720,-473,-307,-320,-194,-87,-67,-60,-57,-15,-55,-121,-152,-200,-209,-191,-179,-239,-237,-167,-158,-174,-166,-140,-158,-134,-91,-103,-116,-110,-129,-175,-198,-170,-146,-143,-110,-88,-87,-106,-116,-120,-129,-92,-88,-91,-92,-68,-58,-94,-76,-62,-78,-113,-118,-113,-132,-121,-94,-49,-36,-19,-2,0,11,-14,0,0,0,0,0,0,0,0,0,0,0,0},{158,-249,333,-67,11205,11204,-21505,-15708,8279,8751,4593,8375,26058,15955,-9524,-9064,-1277,-2432,-2623,-7805,-10219,-7537,-6069,-725,-2000,-295,4177,3066,3796,6341,3260,-133,-1262,-2271,-1503,-3533,-3332,-2482,-2911,-2106,-1796,-1556,241,1573,1432,1411,1323,1682,1365,766,671,-173,-981,-1169,-1485,-1472,-1247,-1125,-910,-778,-285,495,388,375,661,630,416,319,430,227,-234,-371,-387,-620,-512,-324,-290,-320,-232,-125,-92,85,297,318,176,45,41,2,-43,-52,-169,-388,-530,-483,-407,-302,-205,-198,-223,-142,-13,116,76,-19,-23,11,88,59,-71,-185,-240,-245,-221,-157,-38,-12,-22,43,147,187,159,111,80,68,70,65,26,20,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 65 degrees + {{1,1,1,1,1,1,1,0,1,-1,1,1,-1,0,3,-1,-1,3,0,1,5,13,-1,3,8,-6,187,1110,1098,-567,-510,80,-83,1079,1790,1450,2168,3833,2880,527,564,437,-857,-1004,-900,-1816,-1681,-300,9,-606,-514,23,23,63,322,109,-196,-163,-177,-465,-607,-521,-504,-515,-407,-347,-381,-309,-216,-186,-196,-155,-88,-91,-142,-113,-78,-92,-114,-161,-217,-222,-191,-194,-199,-164,-148,-186,-175,-136,-118,-134,-143,-136,-138,-130,-110,-107,-121,-100,-66,-90,-127,-139,-147,-158,-152,-119,-112,-101,-56,-41,-57,-52,-46,-86,-129,-147,-147,-119,-83,-60,-57,-30,15,32,31,5,0,0,0,0,0,0,0,0,0,0,0,0},{142,-230,253,1107,15436,3491,-27671,-6977,12117,6601,3135,15218,27473,4427,-12929,-4678,385,-734,-4012,-10541,-9360,-7282,-3866,-637,-2933,1415,3979,2328,4380,5484,1282,-470,-1190,-1133,-1472,-3391,-2521,-2787,-2612,-1788,-2119,-1470,653,1368,1130,1009,1350,1868,1135,755,625,-388,-919,-1084,-1561,-1452,-1071,-986,-905,-803,-34,469,232,439,656,580,359,407,449,77,-345,-348,-450,-627,-448,-315,-281,-282,-168,-111,-70,189,371,308,124,-6,12,-24,-46,-83,-243,-458,-529,-450,-382,-268,-180,-217,-197,-69,53,104,26,-41,-37,29,72,18,-112,-203,-248,-227,-175,-102,-6,-30,-56,19,137,189,147,79,60,69,106,97,47,11,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 70 degrees + {{0,0,0,0,0,1,1,1,1,0,0,0,-1,0,1,1,-1,1,0,1,5,2,3,3,17,-6,-2,147,914,1032,-327,-247,589,-177,-12,1528,1967,2047,3318,3195,1385,1144,802,-1063,-1684,-978,-1009,-1218,-910,-861,-1121,-791,-137,-21,6,312,312,22,-53,-33,-280,-470,-359,-317,-465,-483,-400,-466,-450,-370,-303,-269,-209,-108,-81,-69,-14,21,-48,-108,-148,-220,-230,-192,-167,-192,-203,-200,-217,-196,-171,-148,-132,-115,-97,-70,-77,-89,-76,-89,-106,-96,-111,-175,-197,-186,-175,-159,-114,-84,-83,-50,-42,-68,-63,-56,-91,-138,-134,-99,-67,-59,-65,-50,11,61,44,2,0,0,0,0,0,0,0,0,0,0,0,0},{69,-112,42,2808,17715,-4538,-29207,632,13210,4266,3602,21509,24146,-4862,-12286,-871,2087,-360,-5973,-11579,-9045,-6119,-2471,-1925,-2459,2585,3041,1944,4845,4350,-13,-755,-875,-273,-1530,-2756,-1879,-2769,-2508,-1833,-2097,-1267,546,968,730,753,1485,1805,960,879,576,-489,-845,-1008,-1455,-1296,-954,-913,-981,-809,81,331,110,461,659,493,339,493,428,-83,-374,-316,-503,-595,-385,-305,-309,-253,-119,-111,-27,263,373,262,60,-52,-26,-2,-10,-126,-333,-519,-523,-426,-357,-258,-199,-234,-165,-22,100,109,-21,-83,-68,-7,32,-8,-115,-198,-232,-205,-145,-56,-6,-96,-122,-20,113,175,130,73,45,86,136,107,59,8,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 75 degrees + {{-1,-1,-1,0,0,0,1,1,1,1,-1,0,-1,1,0,0,0,-2,2,3,1,-1,1,13,4,10,7,-2,129,736,962,482,63,-452,-452,493,1674,1985,1881,3103,3993,2255,409,-187,-877,-886,-436,-1030,-1931,-1819,-1189,-1081,-887,-364,-15,196,433,446,186,39,22,-54,-269,-329,-333,-468,-535,-499,-566,-584,-459,-347,-289,-225,-95,-19,16,42,23,-28,-116,-151,-175,-194,-185,-201,-222,-258,-243,-234,-214,-160,-130,-94,-74,-48,-47,-61,-55,-70,-101,-143,-149,-165,-211,-202,-180,-162,-143,-94,-77,-100,-78,-64,-56,-51,-63,-80,-82,-63,-58,-57,-58,-47,-17,31,33,-22,0,0,0,0,0,0,0,0,0,0,0,0},{-13,16,-159,4343,18471,-10638,-28397,5712,13079,2640,4887,25689,19219,-10944,-10104,2584,3144,-1034,-6796,-12540,-8642,-4399,-2561,-3039,-1717,3430,1966,1434,5297,3499,-921,-774,-473,-257,-1276,-1908,-1611,-2377,-2123,-2174,-2170,-821,337,248,393,732,1378,1594,987,935,509,-431,-718,-904,-1226,-1061,-905,-902,-999,-757,20,138,62,490,607,392,322,545,401,-132,-327,-299,-513,-550,-315,-294,-335,-233,-86,-91,44,305,323,185,21,-51,-24,17,21,-128,-375,-550,-527,-413,-317,-220,-219,-256,-137,27,144,124,-56,-138,-94,-21,25,-23,-101,-161,-175,-151,-137,-62,-49,-136,-137,-25,103,145,128,83,70,117,168,135,82,22,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 80 degrees + {{0,0,0,0,0,0,1,1,1,1,1,0,1,0,0,2,1,-2,4,4,0,-4,9,9,4,6,25,-22,10,228,982,1286,-98,-675,20,342,625,1367,2173,2687,3390,3306,1242,-392,219,530,-490,-1320,-1864,-2193,-1880,-1264,-1121,-957,-272,213,337,469,505,272,149,162,25,-266,-375,-347,-474,-608,-627,-612,-581,-481,-364,-299,-201,-58,45,35,18,63,-3,-78,-125,-150,-190,-222,-221,-282,-291,-235,-188,-173,-147,-89,-56,-41,-47,-41,-48,-84,-91,-125,-172,-185,-181,-187,-184,-170,-167,-152,-105,-79,-96,-84,-48,-33,-23,-14,-15,-19,-35,-46,-51,-51,-43,-35,-20,-44,0,0,0,0,0,0,0,0,0,0,0,0},{-56,85,-260,5073,18616,-13708,-27474,8241,12790,1928,5831,27507,15297,-14455,-7850,5652,3541,-1793,-6866,-13360,-8161,-3073,-3057,-3919,-1301,3945,1174,1005,5159,3139,-1202,-823,-118,-392,-1220,-1254,-1062,-2192,-1738,-1966,-2407,-855,422,-182,-260,655,1337,1295,925,1008,502,-419,-478,-673,-1065,-876,-796,-867,-1034,-696,-53,-66,-50,491,551,271,286,553,410,-103,-275,-256,-493,-511,-261,-286,-327,-218,-58,-91,63,320,272,124,-9,-48,-27,22,54,-115,-365,-557,-532,-393,-311,-199,-229,-258,-123,49,151,69,-84,-139,-87,-10,16,-24,-89,-107,-130,-145,-158,-106,-77,-163,-123,-11,83,127,114,93,78,142,202,163,112,29,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 85 degrees + {{0,0,0,0,1,1,1,1,1,1,1,0,1,2,0,2,0,-3,5,6,-5,2,9,15,-8,19,-2,-5,16,377,986,324,-148,243,368,395,330,779,2008,3207,2736,1665,1451,941,722,1139,396,-1361,-2093,-1901,-1906,-1834,-1430,-1006,-604,-120,243,389,455,493,379,248,102,-70,-263,-367,-396,-547,-661,-608,-563,-557,-494,-393,-272,-176,-58,9,70,93,64,10,-85,-111,-160,-222,-263,-268,-239,-246,-202,-175,-153,-106,-79,-54,-70,-71,-77,-70,-91,-119,-125,-181,-184,-169,-188,-211,-212,-163,-130,-92,-79,-92,-46,-6,23,33,32,13,-16,-40,-67,-82,-87,-87,-85,-76,0,0,0,0,0,0,0,0,0,0,0,0},{-35,43,-210,4646,18785,-13363,-27809,8584,12850,1880,5902,27387,13814,-16257,-6565,8329,3927,-2412,-6603,-13714,-8075,-2299,-3347,-4575,-1509,4180,829,536,4865,2840,-1233,-507,-21,-496,-999,-1173,-612,-1737,-1591,-1710,-2130,-1071,115,-224,-559,159,1101,1252,746,909,580,-337,-327,-394,-839,-765,-693,-773,-1008,-714,-87,-195,-274,387,524,200,206,536,422,-70,-208,-184,-454,-496,-215,-261,-313,-214,-47,-115,32,302,247,88,-47,-75,-48,28,74,-91,-335,-518,-521,-392,-314,-218,-220,-245,-143,-7,102,45,-104,-120,-63,13,34,-10,-79,-126,-143,-169,-167,-123,-112,-173,-119,21,77,98,102,83,79,143,227,183,134,46,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 90 degrees + {{1,0,2,1,1,1,1,1,2,2,2,1,2,2,2,2,1,0,4,4,-3,-1,18,8,7,-1,-12,1,214,864,440,-566,-184,819,960,450,438,1051,2185,2524,2076,1257,111,801,1889,1487,582,-528,-1631,-1960,-1635,-1672,-1730,-1248,-663,-390,-140,190,358,453,457,348,213,-12,-149,-248,-377,-459,-524,-569,-565,-519,-521,-501,-416,-300,-162,-33,82,90,58,51,3,-54,-162,-199,-203,-207,-206,-224,-213,-188,-149,-124,-115,-117,-115,-104,-89,-64,-76,-106,-105,-126,-170,-208,-222,-224,-208,-159,-130,-121,-89,-47,-17,15,52,69,57,25,-19,-61,-91,-107,-122,-127,-114,-101,0,0,0,0,0,0,0,0,0,0,0,0},{54,-109,26,3115,18684,-9263,-29417,6494,13599,2222,5112,25517,15035,-16349,-7060,10460,5102,-2790,-6319,-13507,-8419,-2106,-3383,-4740,-2533,4017,1195,-169,4385,2973,-1293,-407,456,-522,-848,-1104,-478,-1519,-1226,-1396,-2118,-904,11,-596,-684,14,577,1012,738,801,541,-255,-178,-195,-600,-561,-597,-731,-895,-695,-167,-251,-462,206,463,173,133,479,460,-57,-148,-91,-374,-478,-170,-203,-298,-214,-80,-115,6,253,211,64,-53,-101,-77,20,97,-27,-288,-481,-475,-366,-310,-232,-250,-292,-191,-36,68,31,-109,-111,-10,61,80,4,-104,-180,-189,-165,-167,-123,-101,-170,-128,27,103,81,84,79,78,139,226,206,134,54,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 95 degrees + {{1,0,0,0,1,1,1,1,0,1,0,0,2,0,2,2,0,2,0,2,-1,-1,14,4,23,-24,-21,97,803,799,-645,-618,425,683,905,924,958,1936,2198,1483,1055,1054,184,-592,1075,2034,1044,40,-732,-1377,-1529,-1350,-1419,-1339,-985,-559,-412,-236,186,291,298,335,280,103,-117,-213,-218,-305,-415,-468,-500,-463,-499,-568,-543,-412,-224,-106,-36,25,65,51,26,-33,-104,-100,-114,-151,-198,-207,-179,-197,-195,-170,-171,-177,-160,-122,-106,-83,-64,-71,-106,-145,-163,-222,-234,-204,-193,-170,-137,-88,-83,-48,16,36,62,69,47,-12,-49,-81,-122,-137,-141,-143,-145,-112,0,0,0,0,0,0,0,0,0,0,0,0},{190,-330,387,1066,17124,-1610,-30496,1111,14949,2911,3645,22073,18033,-13997,-9490,11448,7466,-2562,-6258,-12777,-9059,-2420,-3280,-4476,-3916,2903,2305,-741,3341,3290,-819,-625,661,28,-635,-1298,-238,-1312,-1405,-856,-1949,-1141,217,-519,-1158,-189,499,661,452,794,636,-317,-191,57,-420,-418,-401,-637,-843,-699,-176,-233,-575,-6,383,128,68,379,477,-8,-152,-21,-256,-436,-134,-118,-265,-222,-96,-124,-56,196,185,22,-77,-104,-89,15,112,43,-224,-431,-418,-304,-277,-298,-337,-359,-216,-31,38,15,-84,-76,26,86,88,-6,-108,-196,-220,-186,-150,-109,-77,-144,-145,6,115,115,75,67,78,134,220,204,126,43,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 100 degrees + {{1,1,0,2,1,1,1,0,-1,1,0,0,2,0,2,0,0,4,-2,4,-7,11,-1,20,-1,-6,-7,620,1179,-358,-1065,93,730,696,598,1253,2320,2442,1498,685,553,599,11,-833,-429,893,1479,946,115,-518,-960,-1030,-998,-1061,-1081,-967,-705,-415,-189,-22,86,166,211,123,-7,-131,-126,-108,-259,-338,-355,-430,-522,-544,-515,-455,-351,-257,-167,-60,26,25,-13,15,41,1,-66,-105,-138,-174,-179,-190,-238,-270,-225,-178,-179,-158,-121,-93,-66,-70,-131,-195,-179,-155,-177,-199,-196,-154,-98,-55,-41,-45,-8,50,66,37,-15,-53,-81,-91,-128,-158,-156,-147,-123,-99,0,0,0,0,0,0,0,0,0,0,0,0},{281,-459,621,-440,13194,7833,-28249,-8304,15887,4874,1588,17542,21463,-8728,-13228,10255,11041,-1097,-6337,-12077,-9797,-3079,-3224,-4065,-4842,747,3532,-435,1738,3384,-68,-612,571,266,-85,-1228,-392,-797,-1656,-905,-1430,-1182,44,-181,-1117,-695,179,748,244,312,749,-103,-396,95,-134,-282,-224,-459,-743,-763,-253,-93,-561,-305,270,119,12,237,475,112,-174,1,-105,-361,-155,-35,-203,-244,-142,-119,-137,113,184,15,-106,-110,-56,19,106,92,-123,-353,-385,-286,-302,-358,-373,-379,-272,-72,59,61,-30,-82,9,52,66,19,-87,-189,-231,-171,-147,-113,-52,-93,-147,-36,114,140,96,59,67,121,196,209,113,32,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 105 degrees + {{1,2,1,1,3,1,2,0,1,1,0,3,0,1,4,-2,7,0,4,0,2,2,12,12,0,-12,406,1371,158,-1355,-276,651,678,659,998,2131,3026,2045,535,344,499,5,-619,-885,-939,-422,694,1395,1178,451,-161,-462,-556,-725,-975,-1160,-1026,-612,-503,-439,-180,-52,-29,42,91,60,-13,-27,-38,-133,-272,-379,-442,-457,-450,-481,-480,-417,-276,-155,-82,-6,53,69,75,67,29,-28,-96,-132,-166,-236,-273,-278,-270,-214,-167,-156,-151,-103,-93,-136,-159,-165,-147,-129,-126,-152,-158,-106,-55,-27,-23,-18,-13,8,9,-19,-58,-93,-93,-99,-126,-155,-148,-110,-81,-66,0,0,0,0,0,0,0,0,0,0,0,0},{194,-286,375,-584,7074,14972,-18950,-19453,12868,8987,-183,11462,23342,-258,-15717,5780,14408,2035,-5731,-11529,-10733,-3706,-3264,-4056,-4918,-1772,3455,1026,337,2771,730,-387,671,316,104,-781,-422,-428,-1657,-1191,-1247,-1090,-59,-106,-888,-724,-302,500,486,-6,432,154,-373,-96,-39,-178,-77,-289,-585,-749,-382,3,-345,-511,34,131,-25,89,373,231,-168,-52,30,-249,-192,30,-125,-251,-206,-115,-188,-41,148,59,-81,-133,-65,16,120,150,-27,-261,-415,-376,-300,-331,-362,-425,-345,-112,101,131,-6,-138,-79,43,51,19,-58,-139,-204,-184,-145,-130,-46,-43,-133,-75,83,155,118,57,32,86,177,206,116,21,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 110 degrees + {{0,1,1,2,1,1,1,0,1,1,1,2,-1,3,1,1,3,2,3,2,3,0,17,3,3,188,1437,831,-1552,-789,699,669,522,951,2293,3307,2239,668,351,276,35,-613,-1114,-1073,-1064,-802,-130,877,1579,1419,854,327,-144,-460,-818,-1094,-1040,-1019,-861,-699,-557,-363,-247,-121,85,206,148,98,50,10,-105,-244,-321,-396,-444,-508,-561,-510,-416,-257,-90,-25,15,70,94,115,90,12,-42,-103,-187,-256,-275,-288,-289,-249,-187,-161,-173,-179,-167,-154,-137,-141,-131,-111,-93,-81,-85,-57,-46,-32,-16,-23,-37,-68,-87,-102,-97,-106,-118,-119,-127,-111,-94,-74,-62,-54,0,0,0,0,0,0,0,0,0,0,0,0},{-50,127,-218,213,1506,15382,-3487,-25966,2666,13659,859,4084,21521,10238,-14264,-1586,15630,6762,-3966,-10225,-12275,-4714,-2777,-4678,-4672,-3519,1693,2511,199,1586,1206,-135,846,608,85,-502,-435,124,-1402,-1592,-1123,-1221,-284,127,-741,-756,-361,93,480,51,195,156,-321,-195,-14,-280,-72,-76,-388,-634,-481,-12,-141,-497,-202,72,-52,-25,212,268,-103,-116,94,-92,-217,7,-65,-223,-241,-175,-211,-169,66,102,-14,-134,-114,10,146,189,29,-265,-453,-411,-282,-307,-383,-428,-358,-127,64,89,-27,-140,-120,-4,20,-3,-16,-71,-178,-222,-164,-115,-63,-14,-100,-116,27,136,124,42,6,38,145,206,134,6,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 115 degrees + {{1,1,1,1,1,0,1,0,-1,1,0,0,1,2,2,2,0,6,-2,11,-10,23,-11,32,51,1262,1584,-1376,-1565,610,863,462,740,2304,3889,2850,631,12,188,153,-807,-1425,-1132,-1204,-1072,-729,-250,414,1094,1752,1801,1177,378,-295,-680,-713,-1012,-1322,-1194,-953,-847,-697,-465,-227,38,240,251,163,217,155,30,-105,-209,-308,-467,-553,-596,-558,-419,-255,-167,-131,-25,88,124,114,89,53,-28,-84,-132,-228,-293,-297,-281,-253,-238,-220,-234,-220,-166,-128,-127,-134,-94,-62,-38,-24,-22,-30,-28,-22,-39,-69,-102,-127,-148,-161,-141,-131,-134,-102,-62,-54,-55,-39,-26,-30,0,0,0,0,0,0,0,0,0,0,0,0},{-168,284,-391,472,-570,8858,10429,-20329,-12537,13200,6353,-1462,13920,19259,-6376,-9191,12291,12437,-1127,-7822,-12522,-7787,-1801,-4737,-5213,-4141,-707,2653,1051,907,1284,-49,648,1339,217,-438,-563,321,-446,-1834,-1301,-1179,-759,128,-322,-854,-415,-60,361,126,61,240,-230,-425,-1,-213,-343,-27,-134,-398,-514,-110,26,-375,-359,22,-47,-133,26,249,45,-153,71,81,-190,-113,-13,-164,-250,-250,-213,-209,-25,104,48,-56,-90,-14,117,147,11,-199,-374,-413,-324,-302,-353,-340,-312,-218,-73,16,6,-69,-131,-64,9,22,5,-48,-136,-207,-173,-97,-55,-10,-40,-126,-43,93,119,57,14,26,103,187,169,42,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 120 degrees + {{3,2,2,2,1,0,1,-1,1,1,1,1,3,1,4,-2,11,-5,13,-7,19,-6,33,0,962,2206,-796,-2405,273,1129,481,574,2259,4349,3518,914,-78,-49,-82,-800,-1637,-1667,-1366,-1025,-888,-535,80,320,667,1534,2035,1645,898,55,-341,-574,-968,-1320,-1424,-1222,-1050,-950,-692,-203,-16,57,288,395,331,186,113,41,-138,-257,-456,-574,-516,-449,-418,-399,-272,-118,-9,23,89,125,70,25,-7,-21,-77,-192,-271,-310,-292,-278,-304,-298,-239,-182,-167,-137,-97,-63,-46,-28,0,20,21,2,-24,-50,-92,-129,-168,-188,-177,-185,-181,-142,-92,-48,-20,-12,-10,-3,-3,-15,0,0,0,0,0,0,0,0,0,0,0,0},{-4,-17,70,-136,115,1681,13438,-3467,-21894,2475,12451,-460,2878,20298,7372,-11513,3495,16142,4239,-6136,-9741,-10809,-3662,-2879,-5956,-4801,-2604,1387,1755,807,1514,383,-221,1543,1242,-409,-748,-18,424,-1192,-1641,-1230,-1060,-287,-68,-681,-531,-130,190,328,1,201,71,-521,-316,-3,-367,-290,-72,-151,-374,-267,84,-110,-439,-124,48,-154,-163,133,227,-79,-33,170,-64,-263,-58,-84,-235,-266,-202,-205,-118,91,129,39,-32,-51,-38,51,88,-40,-282,-440,-382,-248,-239,-296,-341,-336,-182,10,43,-36,-121,-73,35,37,-5,-51,-89,-142,-136,-90,-66,-13,6,-101,-116,38,123,89,51,52,70,145,193,113,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 125 degrees + {{1,2,1,0,0,-1,-1,1,-1,0,-2,3,0,3,-2,7,-5,7,-5,7,8,12,9,619,2582,152,-3126,-455,1437,627,410,2160,4862,4232,1101,-63,-127,-202,-834,-2086,-2105,-1533,-1379,-1065,-491,49,248,417,885,1248,1424,1586,1099,580,134,-638,-997,-1150,-1371,-1453,-1318,-1022,-667,-414,-97,107,334,414,278,239,200,73,-137,-261,-327,-364,-445,-493,-493,-442,-256,-133,-89,-5,45,43,17,57,67,8,-81,-168,-263,-323,-325,-348,-331,-290,-236,-192,-162,-111,-58,-12,-7,-9,23,43,33,10,-43,-122,-179,-213,-220,-215,-216,-196,-154,-97,-55,-35,-19,13,30,11,-12,-12,0,0,0,0,0,0,0,0,0,0,0,0},{91,-154,218,-266,323,-430,6315,10555,-14378,-13484,10349,6753,-3305,10451,18477,-2969,-6328,12926,11988,-3468,-7729,-9405,-7819,-2610,-4740,-5799,-3985,-831,1873,940,1275,1559,-258,233,1953,688,-812,-635,423,-104,-1450,-1325,-1255,-908,-166,-417,-703,-145,88,332,248,70,214,-217,-601,-176,-117,-395,-240,-128,-240,-333,-62,125,-244,-368,-26,-28,-170,-46,226,100,-80,83,46,-298,-241,-45,-191,-269,-209,-158,-144,41,170,73,-45,-142,-125,38,137,17,-222,-370,-368,-248,-222,-350,-403,-342,-217,-81,1,-13,-55,-66,-5,30,-9,-37,-63,-98,-112,-81,-83,-76,-23,-76,-148,-40,109,115,71,65,63,103,153,130,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 130 degrees + {{3,2,1,0,-1,1,0,0,-1,-1,3,1,3,-2,6,4,-4,9,-11,27,-10,45,325,2665,1318,-3496,-1539,1614,907,303,2068,5334,5000,1374,-63,-234,-372,-732,-2252,-2677,-1990,-1552,-1176,-898,-7,557,352,850,1277,881,834,1001,1054,881,221,-391,-920,-1091,-1200,-1470,-1477,-1014,-608,-429,-114,167,262,250,304,299,114,7,-9,-125,-220,-313,-404,-460,-476,-393,-258,-198,-137,-62,-48,-25,63,132,90,-11,-87,-193,-303,-319,-327,-340,-323,-267,-228,-176,-121,-81,-49,10,46,31,40,48,30,-33,-112,-195,-254,-273,-246,-207,-182,-150,-109,-65,-31,-19,-13,6,30,27,7,-16,0,0,0,0,0,0,0,0,0,0,0,0},{-45,64,-108,155,-235,274,281,9775,3338,-17783,-3605,11409,481,-1305,15870,12077,-6755,2201,15888,4080,-7412,-6853,-8355,-5796,-3278,-5680,-5298,-2843,436,1520,667,1804,1275,-426,943,1666,110,-834,-269,334,-676,-1313,-1141,-1365,-846,-221,-662,-508,113,312,427,184,182,99,-404,-464,-123,-276,-379,-184,-187,-372,-331,59,73,-323,-281,9,-36,-69,122,212,-54,-119,58,-127,-390,-208,-132,-247,-200,-85,-83,-74,88,47,-95,-111,-76,-14,46,33,-95,-241,-335,-356,-303,-336,-374,-347,-300,-185,-47,21,-16,-58,-44,19,23,-21,-46,-75,-100,-99,-97,-123,-113,-83,-114,-94,52,131,109,77,61,69,95,106,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 135 degrees + {{4,1,0,0,-1,-1,2,0,-2,3,2,0,3,-4,14,-12,17,-22,36,-29,75,130,2494,2493,-3405,-2842,1539,1279,235,1995,5843,5791,1610,12,-187,-719,-800,-2247,-3088,-2340,-1859,-1507,-1067,-110,491,368,969,1464,1041,722,492,414,763,554,141,-167,-597,-988,-1292,-1389,-1123,-882,-611,-346,-145,116,171,192,211,195,167,107,-81,-146,-150,-221,-323,-441,-373,-292,-323,-283,-191,-118,-75,-5,100,120,48,-42,-134,-255,-283,-296,-320,-312,-270,-212,-199,-166,-110,-61,-9,17,53,72,62,32,-46,-133,-216,-261,-274,-245,-207,-176,-148,-115,-65,-29,-23,-32,-22,7,27,18,-8,-21,0,0,0,0,0,0,0,0,0,0,0,0},{-38,29,-37,24,-15,-14,-45,2086,10411,-3556,-15598,3449,8155,-3319,3265,17233,6000,-5190,9265,13028,-3008,-7372,-5593,-7707,-4760,-4077,-6129,-4619,-1602,1146,926,762,2207,807,69,1424,993,-306,-551,58,-45,-1088,-1144,-1109,-1474,-721,-401,-785,-164,324,389,495,316,240,-5,-372,-288,-198,-439,-319,-160,-245,-446,-320,22,-97,-299,-67,102,3,50,184,84,-179,-102,6,-291,-409,-157,-137,-187,-86,-30,-128,-109,59,34,-48,-91,-93,-15,76,22,-178,-326,-363,-313,-283,-374,-399,-335,-224,-98,1,26,-19,-29,8,66,19,-37,-53,-82,-116,-126,-115,-146,-124,-78,-97,-17,134,167,98,56,61,70,92,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 140 degrees + {{1,0,-2,-2,-2,0,-1,-4,-3,4,-4,2,-10,13,-17,18,-27,35,-38,78,33,2180,3509,-2889,-4190,1181,1705,185,1914,6437,6607,1775,85,5,-1010,-1029,-2344,-3515,-2586,-1994,-1786,-1371,-401,660,416,686,1676,1378,758,599,296,208,41,28,26,-176,-442,-905,-1189,-929,-693,-770,-602,-294,-37,-20,-7,195,263,125,51,-35,-95,-82,-143,-231,-267,-269,-287,-356,-358,-225,-165,-151,-88,26,68,-18,-53,-67,-191,-257,-261,-275,-280,-231,-213,-225,-186,-109,-59,-51,-2,34,61,56,6,-71,-170,-246,-272,-257,-216,-172,-151,-153,-133,-85,-37,-32,-45,-44,-34,5,10,-23,-41,-38,0,0,0,0,0,0,0,0,0,0,0,0},{36,-66,69,-86,97,-124,142,-204,3980,8937,-7992,-11002,6526,3484,-3769,7468,15812,2429,-1026,12592,7168,-6756,-5383,-5075,-7455,-4176,-4823,-6198,-3625,-677,1379,358,1069,2317,641,746,1513,348,-486,-138,103,-491,-1401,-1033,-1186,-1531,-673,-582,-661,79,423,496,533,465,427,-13,-352,-232,-348,-470,-273,-242,-368,-442,-278,-141,-235,-154,143,119,-3,84,153,10,-203,-140,-133,-332,-268,-105,-161,-188,-113,-79,-120,2,90,-30,-107,-82,-34,-10,-8,-100,-210,-282,-338,-335,-350,-399,-363,-266,-154,-65,21,42,11,4,42,53,-21,-54,-78,-122,-139,-124,-131,-162,-122,-76,-50,70,161,119,61,66,69,60,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 145 degrees + {{0,-3,-2,-3,-1,-2,-3,-4,4,-4,5,-12,13,-17,15,-26,31,-31,56,10,1807,4281,-1986,-5434,482,2179,204,1731,7077,7556,1845,106,371,-1233,-1335,-2400,-4023,-3006,-2007,-1951,-1605,-612,646,414,617,1764,1466,849,739,405,230,-128,-426,-382,-466,-386,-400,-712,-650,-506,-529,-491,-443,-189,-111,-58,169,141,-45,10,9,-109,-140,-140,-112,-214,-264,-192,-250,-290,-204,-156,-163,-147,-46,-35,-94,-104,-110,-201,-218,-184,-217,-219,-209,-208,-238,-177,-72,-51,-26,6,9,8,-2,-34,-129,-203,-238,-266,-252,-194,-133,-111,-110,-116,-102,-56,-33,-62,-70,-56,-29,-3,-22,-64,-77,-55,0,0,0,0,0,0,0,0,0,0,0,0},{-17,34,-64,69,-96,113,-160,189,-111,5350,6606,-9795,-6390,6174,-152,-1964,9852,13446,1610,3324,11978,1324,-7095,-3368,-5355,-7109,-4245,-5199,-5656,-2773,49,974,1,1647,2323,604,1198,1487,23,-452,70,-87,-957,-1447,-1017,-1425,-1537,-653,-670,-493,307,545,571,622,684,532,-3,-305,-239,-427,-477,-289,-366,-495,-479,-182,-85,-275,-201,97,129,99,93,57,-66,-158,-86,-198,-331,-196,-115,-204,-152,-55,-73,-108,-14,14,-54,-52,-73,-94,-39,-43,-134,-222,-277,-348,-364,-340,-351,-295,-219,-120,-23,48,65,28,17,35,14,-49,-66,-88,-122,-138,-143,-143,-152,-98,-50,-5,100,133,101,73,67,48,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 150 degrees + {{-1,-1,-2,1,1,-2,-3,5,-3,8,-11,13,-14,13,-19,19,-7,27,23,1483,4759,-882,-6370,-537,2592,368,1505,7658,8665,1910,-72,883,-1295,-1742,-2450,-4442,-3573,-2096,-2054,-1845,-769,753,560,376,1742,1758,865,667,510,274,-46,-376,-707,-862,-632,-627,-792,-369,50,-198,-344,-263,-95,37,24,-42,-48,-98,-59,-60,-229,-192,-131,-163,-263,-259,-120,-118,-185,-89,-24,-129,-189,-107,-49,-136,-217,-181,-222,-242,-162,-157,-187,-182,-178,-212,-169,-30,36,34,19,0,-30,-85,-129,-158,-186,-246,-269,-229,-180,-125,-90,-70,-66,-53,-43,-51,-64,-70,-75,-65,-25,-23,-66,-96,-92,-60,0,0,0,0,0,0,0,0,0,0,0,0},{4,-9,20,-45,55,-86,107,-153,182,128,6069,4387,-9565,-3309,3969,-1621,320,10301,11621,2938,5971,8620,-2293,-5378,-2484,-5912,-6615,-4738,-5294,-4317,-2312,70,615,25,2219,2138,746,1351,1401,227,-422,-214,-248,-1195,-1486,-1116,-1726,-1427,-721,-707,-177,507,651,683,747,832,491,-60,-140,-182,-515,-525,-386,-437,-492,-424,-166,-160,-292,-192,-34,31,156,151,25,-122,-100,-25,-227,-325,-126,-56,-136,-142,-120,-152,-142,-16,-23,-68,-50,-51,-107,-105,-94,-154,-215,-277,-301,-314,-326,-320,-264,-172,-80,6,45,41,38,20,25,-20,-58,-75,-104,-121,-146,-136,-154,-142,-73,-22,26,89,113,86,71,52,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 155 degrees + {{-4,-3,-1,-1,-2,-5,4,-4,6,-10,8,-11,5,-12,3,6,9,28,1252,4988,196,-6869,-1768,2784,687,1292,8151,9793,2124,-410,1290,-1116,-2162,-2557,-4799,-4180,-2253,-2138,-2139,-977,838,799,408,1670,1808,933,737,515,193,-195,-446,-404,-799,-1004,-997,-1155,-650,52,159,22,0,396,444,-26,-125,-7,-125,-259,-267,-307,-289,-279,-284,-324,-286,-91,-81,-92,71,90,-49,-149,-72,-65,-209,-256,-229,-271,-283,-193,-210,-229,-163,-161,-192,-127,32,87,59,71,3,-102,-168,-170,-171,-222,-249,-267,-243,-178,-120,-102,-97,-57,-24,0,-12,-61,-89,-92,-77,-57,-49,-85,-126,-129,-103,-56,0,0,0,0,0,0,0,0,0,0,0,0},{5,-4,2,5,-27,34,-64,84,-123,145,404,6247,2782,-8297,-2147,1652,-1276,1792,9623,11136,5019,6037,4717,-3130,-3514,-2659,-6125,-6367,-5070,-4979,-3176,-1888,-486,479,550,2235,1971,1082,1337,1228,626,-264,-782,-538,-1025,-1572,-1477,-1853,-1408,-738,-508,124,551,703,865,868,800,469,-16,-159,-154,-457,-542,-498,-384,-376,-449,-345,-361,-341,-127,-7,-25,31,100,98,-68,-101,-22,-74,-130,-93,-162,-221,-165,-140,-185,-187,-82,-43,-42,-49,-118,-158,-121,-83,-115,-198,-243,-270,-283,-331,-306,-212,-135,-65,-27,17,51,50,19,-8,-49,-77,-88,-110,-126,-143,-143,-152,-124,-49,-18,19,66,80,84,67,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 160 degrees + {{-4,0,0,-3,-6,3,-5,5,-8,6,-9,0,-8,-7,11,1,27,1106,5072,1093,-6940,-2942,2602,1098,1189,8503,10903,2469,-689,1495,-873,-2439,-2717,-5045,-4828,-2516,-2144,-2392,-1304,828,1049,499,1726,1956,984,692,599,-32,-406,-210,-425,-920,-1029,-991,-1319,-1036,-294,-182,110,675,829,571,342,254,108,-216,-391,-389,-517,-511,-435,-399,-392,-354,-173,-43,-1,126,169,42,-43,-13,-13,-158,-268,-258,-298,-324,-260,-276,-320,-240,-131,-93,-68,14,82,97,78,-20,-124,-154,-153,-190,-249,-267,-269,-237,-192,-141,-111,-106,-83,-42,2,14,-19,-56,-66,-81,-87,-89,-99,-126,-159,-161,-112,-13,0,0,0,0,0,0,0,0,0,0,0,0},{-4,9,-11,11,-7,-9,11,-34,50,-80,94,660,6077,1945,-6942,-2443,295,-166,2095,8957,11845,6316,4222,2112,-2350,-2549,-3106,-6085,-6301,-5099,-4159,-2786,-1842,-319,172,957,2286,1766,1307,1451,1211,512,-166,-738,-946,-1237,-1370,-1749,-2013,-1320,-616,-211,229,562,709,944,1046,782,321,28,-68,-259,-424,-349,-337,-414,-543,-590,-510,-440,-381,-189,-10,70,59,-7,42,84,134,84,-76,-160,-159,-191,-222,-210,-196,-211,-200,-123,-64,-62,-94,-139,-113,-68,-65,-91,-164,-214,-273,-293,-290,-253,-179,-135,-82,-29,39,66,32,7,-32,-69,-90,-89,-91,-132,-139,-135,-129,-104,-57,-20,4,65,94,86,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 165 degrees + {{-3,1,-2,-6,2,-4,5,-9,7,-9,-1,-8,-5,5,1,23,1028,5094,1706,-6723,-3809,2115,1373,1281,8748,11882,2976,-892,1628,-704,-2652,-2864,-5226,-5389,-2898,-2178,-2585,-1589,733,1157,556,1845,2171,1221,709,209,50,-206,-414,-535,-1043,-1192,-1006,-1204,-1173,-682,-231,218,388,736,1079,862,556,320,29,-305,-570,-709,-705,-622,-554,-539,-477,-211,-22,-17,117,234,141,-8,23,131,-18,-203,-242,-322,-380,-327,-313,-379,-291,-140,-101,-53,52,111,42,-8,-36,-82,-94,-132,-180,-231,-261,-268,-258,-204,-166,-133,-117,-92,-48,-18,2,-19,-26,-25,-51,-87,-106,-114,-140,-163,-178,-154,-58,42,0,0,0,0,0,0,0,0,0,0,0,0},{4,-5,12,-13,16,-14,5,-9,-7,16,-32,42,864,5760,1729,-6081,-3335,72,703,1785,8909,12763,6330,2009,1107,-1309,-2355,-3437,-5910,-6259,-4880,-3334,-2553,-2212,-159,809,822,1951,2004,1436,1478,1123,380,-365,-615,-802,-1603,-1647,-1503,-1836,-1395,-506,-17,271,458,841,1079,905,674,368,67,-15,-103,-291,-333,-400,-497,-700,-755,-593,-511,-426,-182,31,129,120,122,174,158,125,64,-98,-255,-225,-155,-193,-288,-286,-234,-186,-120,-87,-93,-74,-64,-68,-61,-58,-86,-149,-201,-250,-289,-284,-226,-159,-119,-88,-33,29,57,27,-19,-64,-80,-73,-81,-91,-119,-136,-141,-126,-94,-61,-35,17,91,104,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 170 degrees + {{0,-1,-6,2,-4,5,-9,7,-12,1,-13,-1,0,4,13,1006,5124,2026,-6381,-4299,1515,1385,1449,8983,12643,3718,-931,1580,-481,-2826,-3111,-5302,-5832,-3381,-2242,-2685,-1921,608,1303,546,1784,2558,1335,523,598,160,-551,-531,-538,-1135,-1384,-1169,-1417,-1257,-347,-42,-86,251,749,1029,955,830,677,242,-155,-418,-680,-808,-774,-749,-726,-588,-338,-130,-57,120,237,166,94,116,177,88,-68,-183,-326,-408,-356,-301,-340,-311,-214,-163,-79,20,61,33,6,-26,-95,-105,-90,-130,-192,-233,-259,-272,-227,-177,-147,-131,-100,-57,-20,13,-10,-35,-33,-38,-56,-94,-119,-132,-157,-173,-165,-96,0,54,0,0,0,0,0,0,0,0,0,0,0,0},{-6,5,-6,10,-14,16,-16,8,-18,5,-6,1,4,991,5443,1848,-5859,-4059,483,1061,1561,9141,13177,5527,347,1081,-645,-2520,-3511,-5695,-6197,-4394,-2765,-2599,-2258,-92,1204,1120,1485,1957,1801,1341,885,285,-502,-735,-660,-1335,-1842,-1659,-1432,-1171,-616,-93,310,573,773,933,857,608,459,313,163,-34,-354,-538,-592,-635,-770,-804,-653,-490,-339,-102,124,195,184,237,266,184,26,-75,-203,-261,-203,-229,-295,-291,-216,-250,-244,-114,-42,-28,-38,-38,-57,-82,-55,-91,-135,-192,-257,-279,-272,-202,-148,-111,-91,-48,9,24,19,-29,-60,-74,-71,-63,-94,-113,-147,-142,-132,-113,-48,-8,46,88,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 175 degrees + {{0,-6,3,-4,7,-10,12,-15,6,-16,4,-6,7,0,1026,5227,2017,-6056,-4351,1001,1213,1538,9182,13071,4540,-573,1368,-416,-2712,-3401,-5462,-6033,-3890,-2437,-2688,-2142,252,1291,845,1763,2115,1480,1252,691,78,-527,-636,-683,-1182,-1452,-1612,-1621,-988,-329,-195,87,452,749,864,824,781,676,435,123,-229,-555,-688,-736,-758,-827,-778,-521,-297,-179,-1,190,227,187,209,234,127,-16,-113,-276,-370,-295,-249,-293,-314,-243,-206,-189,-74,11,22,-3,-36,-70,-91,-75,-108,-152,-206,-260,-273,-245,-183,-148,-124,-104,-64,-8,18,3,-34,-48,-57,-59,-70,-105,-130,-143,-153,-159,-112,-28,25,55,0,0,0,0,0,0,0,0,0,0,0,0},{0,-6,3,-4,7,-10,12,-15,6,-16,4,-6,7,0,1026,5227,2017,-6056,-4351,1001,1213,1538,9182,13071,4540,-573,1368,-416,-2712,-3401,-5462,-6033,-3890,-2437,-2688,-2142,252,1291,845,1763,2115,1480,1252,691,78,-527,-636,-683,-1182,-1452,-1612,-1621,-988,-329,-195,87,452,749,864,824,781,676,435,123,-229,-555,-688,-736,-758,-827,-778,-521,-297,-179,-1,190,227,187,209,234,127,-16,-113,-276,-370,-295,-249,-293,-314,-243,-206,-189,-74,11,22,-3,-36,-70,-91,-75,-108,-152,-206,-260,-273,-245,-183,-148,-124,-104,-64,-8,18,3,-34,-48,-57,-59,-70,-105,-130,-143,-153,-159,-112,-28,25,55,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 180 degrees +}; +inline constexpr std::int16_t pcm44100_p10[37][2][hrir::taps]={ + {{8,-10,21,-18,26,-27,18,-9,-10,27,-41,38,1898,8088,-528,-4303,777,-5855,2708,7238,3222,11158,10655,-3431,-4559,3601,-4772,-13166,-5593,-950,-5732,-3428,2126,267,870,3637,2542,1094,2453,2423,426,-147,659,-20,-1273,-694,-572,-1972,-2857,-1624,-424,-257,-301,-390,-502,-85,304,161,-128,17,259,131,-198,-166,-69,-454,-598,-581,-651,-369,25,-105,-224,-20,6,-116,36,146,-74,-267,-267,-209,-169,-183,-149,-147,-225,-187,-61,-1,-15,4,-49,-135,-101,30,-14,-86,-86,-196,-297,-260,-228,-192,-118,-138,-152,-18,126,177,136,-9,-107,-123,-139,-142,-115,-186,-242,-151,-80,-40,-18,-93,-160,-113,-67,-53,0,0,0,0,0,0,0,0,0,0,0,0},{8,-10,21,-18,26,-27,18,-9,-10,27,-41,38,1898,8088,-528,-4303,777,-5855,2708,7238,3222,11158,10655,-3431,-4559,3601,-4772,-13166,-5593,-950,-5732,-3428,2126,267,870,3637,2542,1094,2453,2423,426,-147,659,-20,-1273,-694,-572,-1972,-2857,-1624,-424,-257,-301,-390,-502,-85,304,161,-128,17,259,131,-198,-166,-69,-454,-598,-581,-651,-369,25,-105,-224,-20,6,-116,36,146,-74,-267,-267,-209,-169,-183,-149,-147,-225,-187,-61,-1,-15,4,-49,-135,-101,30,-14,-86,-86,-196,-297,-260,-228,-192,-118,-138,-152,-18,126,177,136,-9,-107,-123,-139,-142,-115,-186,-242,-151,-80,-40,-18,-93,-160,-113,-67,-53,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 0 degrees + {{-5,7,-10,17,-14,22,-25,19,-16,-5,15,-22,23,1889,7149,-518,-3414,595,-5275,2423,6185,3200,10325,9507,-2416,-3417,2856,-4646,-11380,-5062,-1570,-5185,-2855,1569,36,908,3053,2060,1304,2377,1943,287,67,774,122,-891,-619,-637,-1599,-2412,-1597,-647,-692,-462,-49,-200,-42,280,337,72,-149,-257,-227,-254,-286,-269,-510,-484,-443,-519,-264,22,-90,-200,-16,48,-62,-6,74,-20,-192,-231,-263,-243,-194,-171,-159,-211,-151,-36,10,8,32,-36,-167,-115,14,-43,-113,-117,-187,-263,-210,-206,-240,-186,-155,-130,-32,99,182,158,24,-82,-104,-121,-135,-124,-185,-214,-144,-101,-66,-27,-89,-163,-124,-76,0,0,0,0,0,0,0,0,0,0,0,0},{-5,13,-7,6,5,-27,42,-81,121,-163,178,894,8461,2319,-6244,874,-5714,638,8686,3189,10649,13056,-1958,-6854,3247,-2534,-13773,-8040,-898,-4842,-4904,1647,832,518,3589,3251,1252,2034,2899,1129,-8,462,216,-1324,-1043,-793,-2131,-2876,-1976,-683,57,95,-417,-959,-409,164,-107,-365,308,748,380,64,28,123,-282,-591,-644,-771,-557,-77,-103,-245,-96,-95,-194,-10,153,-4,-250,-257,-187,-123,-98,-105,-113,-237,-259,-130,-40,-46,-1,-32,-178,-173,35,49,-31,-69,-205,-323,-240,-161,-172,-109,-114,-145,-43,107,180,132,-17,-138,-150,-149,-157,-122,-194,-265,-187,-98,-35,42,-29,-166,-136,-71,-47,10,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 5 degrees + {{-3,-2,6,-9,17,-14,22,-26,29,-31,18,-11,20,-2,2132,6296,-935,-2468,34,-4445,2571,5023,3836,9627,7874,-1766,-2306,1752,-4668,-9528,-4723,-1983,-4399,-2249,973,92,1067,2371,1792,1589,2008,1344,421,339,786,170,-696,-585,-746,-1488,-1899,-1384,-924,-771,-275,128,-97,-103,141,269,110,-257,-536,-440,-359,-344,-378,-513,-366,-301,-425,-268,7,-59,-133,-19,12,-36,24,90,1,-141,-237,-301,-264,-231,-178,-159,-200,-139,-17,19,5,18,-31,-148,-147,-38,-58,-93,-117,-204,-247,-182,-194,-248,-202,-163,-116,-5,101,155,132,32,-56,-106,-145,-140,-107,-162,-194,-142,-100,-63,-33,-104,-169,-123,0,0,0,0,0,0,0,0,0,0,0,0},{6,11,-16,36,-62,85,-131,181,-225,265,280,8085,5263,-7290,-10,-5096,-1352,9817,3335,10348,15232,-848,-8412,2576,-1268,-13965,-9234,-1449,-4556,-5322,1216,730,243,3765,3452,1560,1925,2881,1580,511,588,291,-1127,-1391,-1410,-2074,-2764,-2338,-896,80,275,-120,-1013,-943,-400,-272,-118,463,799,605,399,242,334,-115,-539,-598,-792,-684,-192,-128,-316,-176,-138,-280,-164,107,64,-172,-194,-158,-90,11,4,-66,-259,-323,-242,-112,-32,16,-45,-221,-220,5,94,-16,-95,-190,-279,-190,-95,-120,-75,-85,-155,-67,90,151,134,-7,-155,-178,-167,-170,-125,-186,-299,-235,-131,-44,77,47,-103,-122,-78,-67,-4,37,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 10 degrees + {{0,-3,-2,4,-7,15,-13,20,-23,26,-34,28,-22,39,-11,2146,5540,-908,-2048,-175,-3642,2120,4530,4139,8496,6942,-929,-1973,1001,-3845,-8267,-4706,-1837,-3658,-2243,599,295,788,1754,1895,1560,1392,1313,779,368,713,301,-539,-578,-835,-1474,-1429,-1036,-1101,-722,16,-4,-381,-232,25,82,-29,-246,-477,-475,-428,-381,-384,-428,-305,-299,-399,-233,8,-61,-101,12,-16,-47,57,93,-12,-140,-229,-282,-239,-206,-169,-163,-194,-140,-46,-6,-19,-1,-45,-148,-138,-57,-48,-74,-118,-203,-243,-196,-189,-181,-150,-151,-117,-13,87,119,90,8,-60,-91,-135,-122,-98,-154,-177,-127,-96,-86,-56,-95,-138,0,0,0,0,0,0,0,0,0,0,0,0},{27,-39,62,-90,111,-154,190,-220,263,-126,6619,8832,-6916,-2422,-3615,-3802,9859,4672,9060,17341,2052,-10203,813,697,-13707,-11326,-1752,-3688,-6398,702,1419,-702,3592,4026,1621,1859,2996,1707,878,1001,698,-1009,-2111,-1580,-1637,-2923,-2757,-1172,-113,230,243,-813,-1656,-1080,-81,436,439,628,661,686,440,414,69,-408,-492,-778,-772,-249,-149,-426,-292,-166,-376,-313,40,100,-91,-174,-121,-56,93,103,20,-232,-426,-341,-141,-43,-11,-74,-245,-292,-71,66,-36,-59,-132,-242,-159,-29,-60,-60,-64,-145,-110,47,138,135,-16,-186,-218,-183,-175,-138,-174,-314,-288,-168,-65,68,89,-56,-110,-70,-61,-23,22,-36,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 15 degrees + {{-1,0,-2,-1,3,-4,13,-11,18,-20,22,-27,25,-20,39,-6,1985,4943,-719,-1856,-85,-3158,1634,4338,3974,7423,6509,-301,-1951,831,-2918,-7491,-4497,-1447,-3324,-2346,523,257,274,1560,1961,1138,1246,1547,784,342,870,397,-571,-608,-813,-1125,-1027,-994,-1045,-585,-126,-362,-670,-422,-111,-50,-126,-110,-196,-389,-497,-364,-302,-423,-367,-331,-314,-144,-32,-84,-66,2,-52,-93,6,82,11,-101,-175,-208,-183,-193,-178,-167,-198,-186,-109,-47,-29,-16,-51,-134,-141,-50,-45,-83,-106,-171,-229,-194,-151,-125,-109,-133,-133,-53,53,94,52,-25,-68,-76,-109,-120,-98,-134,-158,-121,-108,-94,-53,-78,0,0,0,0,0,0,0,0,0,0,0,0},{-32,60,-82,85,-107,104,-94,95,-116,4248,11487,-3827,-5758,-2465,-5191,8182,5850,8244,18249,5790,-9550,-2282,1561,-11584,-13350,-4051,-2090,-6053,-1397,2181,-538,2551,4186,2131,1602,2974,2103,955,1390,1247,-999,-2547,-1312,-1284,-2872,-3081,-1914,-423,246,232,-735,-2118,-1491,410,963,254,518,794,795,467,282,241,-185,-400,-643,-810,-356,-22,-445,-477,-255,-391,-412,-82,173,-1,-203,-133,-9,136,180,83,-209,-397,-312,-174,-108,-55,-47,-268,-411,-224,-10,14,4,-57,-178,-135,28,-5,-52,-47,-113,-147,-11,125,143,0,-196,-233,-218,-204,-155,-137,-273,-322,-211,-92,72,127,-24,-136,-93,-40,-5,22,-31,-80,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 20 degrees + {{-4,-1,0,-2,-1,4,-3,11,-9,14,-17,19,-22,21,-12,35,2,1708,4477,-471,-1714,108,-2887,1269,4123,3553,6587,6240,118,-1863,972,-2210,-6778,-4075,-1280,-3131,-2303,406,-56,-11,1592,1704,924,1265,1510,891,542,834,208,-456,-390,-585,-751,-881,-1202,-1080,-521,-470,-804,-938,-534,-152,-84,-30,64,12,-219,-460,-424,-292,-386,-415,-305,-237,-131,-71,-132,-123,-96,-115,-127,-16,118,96,-36,-115,-152,-171,-170,-165,-201,-258,-241,-144,-74,-47,-19,-64,-139,-133,-56,-42,-73,-84,-140,-182,-153,-142,-125,-107,-114,-134,-64,22,43,17,-61,-85,-91,-92,-92,-90,-109,-143,-119,-118,-95,-57,0,0,0,0,0,0,0,0,0,0,0,0},{22,-28,10,-2,-46,97,-147,152,1824,12027,1896,-8654,-3213,-5421,5792,6846,6987,19051,9771,-7728,-4312,890,-9469,-13535,-7281,-2765,-4253,-2619,1461,-103,2251,4204,2194,1738,2767,2316,1203,1493,1288,-1238,-2067,-801,-1369,-2317,-3099,-2855,-996,431,-63,-1415,-2191,-1057,616,888,472,607,860,778,412,191,245,-1,-264,-620,-772,-392,-67,-400,-529,-435,-461,-413,-86,250,93,-174,-158,11,113,121,16,-147,-277,-280,-248,-136,-20,-40,-276,-489,-391,-85,57,44,-23,-114,-96,11,6,-3,-7,-129,-174,-50,108,119,20,-157,-255,-255,-237,-176,-139,-240,-324,-246,-107,66,145,5,-128,-125,-84,-30,24,-11,-100,-120,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 25 degrees + {{-5,-2,-1,-1,-2,-1,3,-4,9,-9,12,-13,11,-12,10,-6,29,-12,1390,4041,-155,-1559,229,-2632,921,3786,3141,5873,5966,497,-1620,1085,-1589,-5912,-3771,-1240,-2869,-2262,131,-306,54,1440,1292,876,1281,1621,1015,436,681,417,-85,-258,-311,-592,-1276,-1470,-946,-699,-970,-1089,-955,-504,-118,24,94,193,168,-90,-407,-406,-268,-340,-363,-300,-260,-203,-160,-203,-261,-186,-122,-78,50,154,125,9,-47,-108,-144,-186,-201,-236,-293,-255,-190,-107,-60,-40,-57,-138,-141,-53,-30,-47,-66,-112,-137,-121,-138,-137,-98,-113,-125,-87,-46,-28,-26,-62,-110,-95,-71,-54,-54,-107,-144,-137,-124,-104,0,0,0,0,0,0,0,0,0,0,0,0},{30,-66,92,-150,211,-271,331,229,9771,8316,-8075,-6152,-5122,3290,7184,5696,18391,13574,-4504,-5090,210,-7892,-13010,-9482,-4940,-3426,-3156,1015,295,1263,4547,2849,1406,2554,2648,1484,1398,457,-741,-1124,-805,-961,-1782,-3052,-3358,-1605,69,-597,-2204,-1943,-129,534,513,830,1113,904,504,374,211,188,0,-195,-597,-727,-374,-128,-224,-491,-538,-594,-426,17,273,165,-97,-69,-10,-6,19,26,-49,-236,-247,-202,-136,-49,-59,-249,-473,-442,-147,35,86,53,-71,-118,-27,65,59,20,-106,-182,-87,53,132,63,-102,-250,-286,-234,-162,-111,-201,-307,-276,-131,53,168,82,-89,-143,-115,-47,17,-7,-95,-122,-76,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 30 degrees + {{-4,-1,-2,-1,0,-2,-1,2,-4,6,-8,9,-11,10,-6,-3,9,11,-5,1055,3598,255,-1435,304,-2312,532,3401,2793,5176,5654,942,-1317,1128,-949,-5042,-3578,-1240,-2582,-2239,-113,-277,-21,930,1178,1042,1208,1512,1023,589,856,733,95,-293,-403,-840,-1540,-1574,-1098,-997,-1139,-1131,-854,-368,-46,120,202,277,254,53,-292,-345,-221,-297,-389,-393,-360,-318,-262,-290,-318,-200,-66,-13,81,187,153,56,-16,-74,-143,-242,-247,-231,-286,-292,-207,-129,-79,-43,-68,-139,-130,-42,-36,-47,-35,-57,-99,-101,-102,-124,-133,-146,-154,-122,-96,-59,-40,-64,-94,-83,-39,-39,-54,-112,-149,-129,-116,0,0,0,0,0,0,0,0,0,0,0,0},{-75,103,-156,171,-206,245,-269,5825,12518,-3085,-9444,-6178,1340,7067,4304,16772,17047,-1392,-4588,354,-6744,-11889,-10450,-8201,-3567,-3065,-804,859,1316,3884,3373,2139,2298,2710,1899,928,-896,-32,225,-1169,-598,-1163,-2781,-3525,-2048,-669,-1648,-2589,-1368,274,312,432,1031,1504,1158,282,160,275,222,-105,-347,-521,-714,-550,-178,-62,-400,-587,-655,-417,10,219,251,105,-9,-97,-126,-73,6,-21,-224,-290,-231,-150,-105,-109,-176,-363,-442,-266,19,141,77,-88,-178,-90,28,92,42,-103,-204,-161,-30,116,122,-63,-258,-323,-258,-159,-119,-175,-268,-302,-226,-31,161,128,-40,-153,-169,-95,-8,-28,-120,-159,-108,-1,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 35 degrees + {{-1,-2,-2,-2,-1,0,-2,0,2,-3,5,-7,6,-6,7,-1,-9,15,4,-1,737,3141,701,-1310,320,-1913,78,3010,2500,4483,5349,1426,-944,1096,-344,-4192,-3437,-1277,-2176,-2092,-405,-393,-217,755,1211,816,1038,1735,1358,835,996,694,-216,-494,-510,-1149,-1783,-1642,-1221,-1056,-1086,-1055,-710,-233,52,198,266,387,368,114,-170,-243,-256,-395,-473,-461,-479,-442,-317,-301,-306,-178,-23,62,116,197,182,61,-27,-91,-170,-260,-244,-228,-278,-278,-218,-150,-104,-72,-86,-127,-107,-49,-33,-21,9,-7,-67,-92,-117,-155,-172,-176,-172,-154,-109,-65,-40,-55,-72,-55,-56,-63,-56,-90,-131,-118,0,0,0,0,0,0,0,0,0,0,0,0},{14,-32,10,20,-55,35,1973,12631,4692,-9939,-9006,-1143,7188,3239,13407,20448,2423,-4589,1087,-4462,-11189,-9999,-10414,-6079,-2653,-2048,-87,735,4225,3986,2253,2633,3667,2120,-490,-1262,185,797,-738,-301,-953,-2438,-2962,-2466,-1810,-2605,-2484,-840,76,158,619,1211,1625,1409,382,64,205,170,-53,-487,-562,-745,-703,-224,-98,-334,-464,-541,-413,-64,211,360,274,68,-56,-183,-183,-29,7,-177,-359,-311,-270,-186,-29,-34,-255,-393,-271,-34,163,169,-36,-224,-175,-27,53,61,-42,-206,-235,-111,97,192,22,-209,-319,-289,-166,-88,-123,-227,-297,-278,-115,124,170,26,-136,-175,-118,-35,-24,-93,-153,-163,-57,73,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 40 degrees + {{0,0,-3,0,0,0,1,1,0,1,-1,4,-4,4,2,3,3,-11,23,-7,11,469,2628,1143,-1130,288,-1473,-357,2581,2233,3810,5023,1959,-543,1000,191,-3338,-3238,-1183,-1755,-2196,-696,-306,-336,401,940,946,1399,2040,1612,722,562,380,-400,-717,-806,-1386,-1779,-1536,-1169,-982,-1009,-936,-523,-74,128,250,371,473,398,152,-120,-291,-335,-453,-570,-562,-541,-448,-321,-298,-252,-109,47,110,122,162,142,36,-56,-96,-161,-229,-235,-219,-237,-276,-238,-182,-138,-94,-87,-95,-80,-14,5,5,29,0,-62,-115,-138,-160,-167,-170,-187,-168,-116,-49,-22,-37,-59,-72,-71,-57,-37,-67,-105,0,0,0,0,0,0,0,0,0,0,0,0},{63,-130,191,-251,315,-107,8490,11889,-5576,-11994,-4999,6174,4242,7964,22255,8174,-4816,1334,-1569,-9934,-9172,-10588,-9433,-3099,-2952,-1375,-216,2870,4781,3297,2913,4079,3397,-1430,-1647,162,617,-33,-124,-631,-2150,-2495,-2678,-2799,-3451,-2325,-330,-235,-258,810,1630,1582,1372,735,185,123,63,-168,-425,-559,-874,-894,-347,-116,-328,-468,-364,-286,-113,123,441,430,188,32,-180,-259,-81,27,-170,-394,-438,-403,-264,-20,71,-83,-287,-273,-97,139,239,107,-180,-271,-137,-7,50,-33,-185,-286,-193,35,223,132,-134,-285,-297,-194,-65,-83,-178,-276,-312,-206,51,185,75,-72,-177,-153,-50,-17,-61,-118,-173,-138,5,91,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 45 degrees + {{0,0,0,-1,-1,-1,-1,0,1,-2,-1,0,-1,-2,1,8,-7,9,-14,17,-6,23,255,2073,1528,-867,167,-990,-713,2072,1988,3227,4657,2423,-63,869,637,-2319,-2921,-1378,-1498,-1982,-857,-604,-693,418,1256,1319,1692,1868,1089,380,310,-27,-752,-883,-945,-1369,-1508,-1331,-1108,-895,-862,-736,-362,22,220,280,402,482,319,60,-138,-314,-459,-561,-596,-558,-521,-442,-317,-247,-138,-32,33,76,66,84,81,30,-42,-102,-141,-196,-213,-231,-260,-271,-253,-205,-163,-108,-63,-47,-40,-10,-2,-3,9,-20,-87,-115,-122,-151,-164,-189,-208,-175,-99,-44,-29,-41,-73,-70,-61,-52,-38,-59,0,0,0,0,0,0,0,0,0,0,0,0},{-47,49,-43,27,-89,2809,13753,3976,-12683,-9679,2569,6518,3523,19246,16327,-3702,-321,2054,-7525,-9358,-8826,-11542,-5588,-2744,-2900,-1512,681,4697,3693,3417,5255,4248,-1473,-1397,428,-321,325,211,-224,-2024,-2097,-2721,-4003,-3923,-2065,-309,-450,-270,613,1749,1840,1425,910,264,181,155,-321,-557,-472,-834,-1149,-595,-241,-297,-467,-334,-207,-93,137,400,576,395,115,-153,-285,-129,19,-193,-452,-510,-469,-403,-69,106,25,-139,-222,-173,33,306,252,-91,-280,-222,-121,-17,-22,-181,-339,-272,-55,194,209,-10,-220,-303,-246,-77,-27,-137,-250,-326,-294,-67,154,115,-22,-145,-172,-91,-19,-33,-85,-165,-189,-79,35,45,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 50 degrees + {{1,1,2,1,0,1,0,0,2,1,-1,1,2,-1,1,2,10,-6,15,-16,14,7,31,102,1536,1772,-496,29,-538,-931,1476,1794,2708,4223,2841,488,913,1091,-1564,-2702,-1317,-1112,-2041,-1442,-645,-187,833,1435,1209,1103,1272,850,97,-260,-439,-769,-826,-868,-1106,-1236,-1188,-893,-695,-771,-590,-169,89,180,292,321,299,243,33,-237,-432,-489,-523,-533,-513,-482,-390,-239,-139,-102,-79,-24,14,1,28,72,30,-30,-75,-134,-191,-225,-226,-259,-262,-238,-208,-161,-96,-24,-28,-46,-20,-2,-24,-28,-16,-59,-94,-120,-163,-186,-179,-179,-168,-104,-53,-30,-43,-62,-52,-49,-59,-60,0,0,0,0,0,0,0,0,0,0,0,0},{-102,166,-232,274,-122,8367,13477,-6383,-14608,-3073,7044,3149,11284,22683,2514,-4025,4093,-2870,-9177,-7729,-10955,-9286,-2856,-3600,-2570,-1489,2296,4478,3359,5199,5324,549,-1447,383,-78,507,-74,-62,-1037,-2304,-2746,-4748,-4765,-2062,-210,-722,-283,661,1560,1969,1668,1222,385,37,207,-120,-559,-634,-808,-1163,-901,-487,-386,-481,-285,-170,-205,103,478,748,570,209,-58,-210,-242,-70,-129,-430,-563,-542,-482,-199,106,123,-67,-202,-167,-14,247,343,87,-229,-275,-198,-84,-32,-158,-352,-363,-179,104,253,126,-112,-259,-290,-156,3,-51,-181,-318,-367,-209,73,163,33,-111,-190,-130,-9,1,-55,-135,-211,-166,-20,40,8,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 55 degrees + {{0,0,0,1,0,0,0,-1,-1,0,0,-1,0,0,-2,2,2,9,-8,15,-19,13,19,17,26,1037,1826,-11,-127,-188,-952,846,1552,2285,3812,3258,1271,835,1048,-640,-2035,-1617,-1381,-1819,-1089,-101,328,587,538,661,821,743,296,-267,-508,-518,-532,-565,-762,-922,-874,-805,-737,-665,-621,-423,-138,52,87,76,180,230,103,-107,-281,-408,-431,-413,-451,-459,-390,-281,-203,-164,-148,-145,-69,-39,-42,7,44,29,-20,-86,-157,-181,-201,-220,-239,-241,-220,-196,-151,-88,-46,-29,-34,-38,-35,-28,3,-12,-65,-110,-140,-162,-157,-158,-184,-163,-102,-54,-40,-38,-38,-56,-74,-93,0,0,0,0,0,0,0,0,0,0,0,0},{-41,88,-141,124,1521,13666,7502,-14636,-11126,3847,6234,3788,20363,14667,-5617,1570,2943,-6783,-8010,-8193,-11561,-5895,-2874,-3671,-2426,-810,3519,3406,4635,5526,1885,124,934,-89,458,1038,-478,-577,-1669,-2823,-5210,-5894,-2646,-355,-726,-511,686,1474,1960,1878,1627,817,-27,25,-34,-309,-508,-871,-1182,-1149,-772,-544,-550,-363,-168,-229,-39,465,832,839,456,50,-145,-288,-210,-112,-275,-509,-636,-561,-336,29,210,22,-202,-207,-47,180,366,249,-93,-266,-267,-164,-30,-74,-307,-441,-315,-57,210,256,42,-175,-296,-241,-25,27,-102,-257,-376,-319,-70,143,102,-41,-171,-192,-52,43,16,-77,-192,-241,-110,33,37,18,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 60 degrees + {{0,0,0,0,0,1,0,-1,-2,-1,0,-2,-1,0,-2,0,0,4,4,-3,10,-17,20,19,1,-7,652,1700,476,-192,43,-805,204,1261,2080,3712,3477,1527,992,1371,-121,-1985,-1751,-682,-708,-639,-357,-451,-212,104,189,142,183,42,-281,-444,-290,-226,-504,-542,-430,-520,-645,-624,-564,-580,-390,-199,-179,-132,-36,57,53,14,-104,-230,-291,-312,-314,-371,-357,-288,-276,-246,-229,-200,-167,-113,-78,-74,-23,12,26,-29,-97,-132,-158,-178,-214,-218,-210,-199,-177,-159,-106,-51,-29,-45,-39,-22,-17,-20,-40,-70,-108,-122,-144,-153,-156,-164,-141,-102,-68,-44,-37,-69,-98,-106,0,0,0,0,0,0,0,0,0,0,0,0},{72,-97,112,-180,4883,16174,-1473,-18220,-4663,7733,3592,9532,22847,3176,-5198,5408,-364,-8154,-7191,-9178,-10007,-3953,-3731,-3488,-2459,797,3580,3582,4856,2729,1406,1297,868,886,1491,160,-328,-525,-2854,-5032,-6753,-4269,-1042,-672,-719,287,1480,1988,1963,1808,1601,450,-309,-157,-111,-275,-712,-1040,-1282,-1253,-773,-611,-516,-333,-210,-129,281,788,994,784,295,25,-279,-392,-168,-85,-365,-651,-634,-461,-149,187,174,-116,-264,-141,51,295,379,133,-205,-307,-227,-106,0,-161,-402,-446,-259,55,287,208,-49,-240,-300,-134,59,-1,-187,-335,-370,-210,44,125,25,-107,-208,-157,12,68,9,-95,-243,-226,-40,66,37,6,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 65 degrees + {{0,-1,0,0,0,0,0,0,-1,-1,-1,0,-2,0,-2,-1,0,-1,5,-2,5,2,-6,18,6,-7,1,374,1425,912,-139,146,-557,-305,1190,2060,3181,3467,2279,1087,768,226,-743,-528,111,-701,-1686,-1268,-688,-855,-811,-382,-96,11,51,25,-193,-172,-64,-100,-115,-223,-349,-438,-545,-637,-630,-528,-429,-365,-302,-191,-50,34,50,-26,-100,-158,-223,-242,-264,-281,-298,-324,-322,-277,-212,-198,-159,-117,-98,-45,4,23,-23,-84,-120,-145,-174,-192,-179,-175,-187,-181,-161,-113,-66,-29,-19,-39,-46,-46,-32,-35,-60,-92,-124,-140,-138,-143,-144,-129,-107,-94,-90,-86,-96,-98,0,0,0,0,0,0,0,0,0,0,0,0},{158,-253,331,-237,8927,15236,-9941,-17619,1840,8323,2488,16314,18436,-4607,-1061,6358,-2943,-8651,-6933,-9394,-7979,-3451,-4147,-3788,-2308,2393,3901,3732,2594,1527,2469,1142,1208,1941,1682,125,8,-1177,-4483,-7123,-6201,-2266,-1176,-1166,-144,1139,1866,2101,1970,1882,1416,214,-470,-282,-44,-402,-847,-1096,-1432,-1321,-833,-612,-478,-414,-195,131,533,950,1095,640,149,-33,-330,-403,-89,-92,-494,-725,-558,-325,-11,260,83,-211,-265,-79,107,331,333,27,-254,-314,-188,-31,-7,-261,-453,-396,-180,160,307,118,-136,-274,-246,-51,72,-60,-231,-357,-345,-121,103,87,-45,-170,-230,-104,56,78,-7,-130,-252,-166,25,69,32,-29,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 70 degrees + {{1,0,0,0,0,0,1,1,1,0,0,0,0,2,1,-2,2,1,1,4,-2,13,3,0,11,4,-2,18,212,1095,1148,96,258,-67,-419,575,1734,3308,3530,1853,921,1588,1991,1002,-446,-1257,-1572,-1884,-1864,-1701,-1588,-1111,-498,-80,189,314,224,-6,101,392,243,-41,-96,-142,-351,-672,-846,-787,-685,-643,-575,-404,-182,18,104,123,91,29,-68,-153,-160,-210,-309,-371,-378,-339,-282,-264,-243,-173,-121,-86,-43,9,22,-26,-84,-120,-129,-129,-137,-158,-165,-165,-168,-160,-124,-58,-24,-26,-51,-49,-29,-31,-26,-47,-84,-111,-129,-128,-128,-125,-141,-156,-141,-109,-83,-84,0,0,0,0,0,0,0,0,0,0,0,0},{173,-296,388,130,12338,12211,-15903,-14931,6814,7130,3426,20738,11393,-7703,2982,6285,-4684,-8985,-6544,-9195,-6524,-3326,-4369,-4406,-1738,3422,4311,2791,445,2402,2475,781,2271,2108,1454,857,555,-2735,-6410,-7252,-4503,-1999,-1798,-923,229,1606,1997,2052,2085,1914,1253,44,-461,-128,-153,-627,-789,-1180,-1655,-1315,-850,-587,-525,-485,-104,316,736,1044,1033,492,92,-84,-325,-286,-27,-176,-629,-681,-463,-247,89,267,22,-289,-256,-39,143,321,268,-54,-295,-271,-133,33,-57,-337,-453,-352,-67,226,280,27,-193,-283,-217,13,74,-89,-272,-356,-314,-66,124,46,-98,-232,-221,-50,87,70,-12,-144,-242,-97,71,75,7,-62,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 75 degrees + {{1,1,1,-1,-1,0,0,0,2,1,0,0,0,-1,1,0,-4,3,0,1,4,-3,20,-2,1,3,-6,31,37,82,731,1283,715,796,-23,-1137,391,1803,2519,2884,2670,2949,3277,2228,111,-1411,-1758,-2059,-2868,-2742,-2033,-1708,-1100,-303,191,409,475,453,401,515,556,229,36,49,-143,-538,-893,-1021,-985,-909,-802,-572,-294,-61,94,169,220,197,106,-6,-109,-180,-287,-387,-396,-367,-374,-364,-292,-214,-150,-111,-80,-43,-18,-9,-60,-89,-67,-73,-105,-147,-150,-134,-151,-176,-179,-126,-72,-39,-21,-35,-38,-44,-40,-23,-41,-81,-123,-132,-137,-142,-158,-178,-170,-148,-122,-94,0,0,0,0,0,0,0,0,0,0,0,0},{142,-262,330,677,14471,9048,-19303,-12047,9959,5713,5110,22362,5232,-8215,6035,6294,-6054,-9013,-5893,-9139,-5732,-3058,-4762,-4956,-934,4131,3852,1095,454,3290,1571,1191,2790,1931,1416,1440,760,-4184,-7697,-6204,-3035,-2581,-2191,-599,486,1547,1885,2156,2136,1903,1157,-14,-335,109,-296,-805,-780,-1306,-1760,-1347,-773,-581,-635,-511,-48,416,865,1076,869,396,118,-78,-308,-179,38,-284,-718,-631,-378,-192,137,245,-57,-336,-255,-24,146,331,203,-154,-323,-224,-51,49,-111,-380,-436,-314,-5,279,239,-49,-256,-303,-180,72,81,-148,-307,-362,-272,-34,99,-5,-151,-264,-219,-9,109,71,-40,-177,-218,-38,94,54,-21,-112,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 80 degrees + {{1,0,0,-1,-1,-1,-1,0,1,1,1,-1,0,-2,-1,-1,-2,-3,2,1,-1,3,-1,27,-5,-19,8,30,43,-20,3,647,1851,1307,489,-45,-1186,-682,750,3219,5152,4671,3151,1970,1165,-22,-1743,-3147,-3204,-2931,-2718,-2171,-1503,-687,-55,393,666,757,774,703,603,476,255,37,-57,-300,-741,-1159,-1274,-1127,-903,-696,-416,-141,25,176,251,299,256,138,-28,-197,-280,-346,-378,-398,-428,-420,-340,-228,-177,-136,-106,-87,-79,-73,-43,-25,-4,-31,-88,-123,-132,-122,-130,-158,-188,-183,-130,-69,-20,-6,-31,-57,-58,-39,-23,-57,-109,-133,-152,-166,-168,-162,-174,-182,-161,-130,0,0,0,0,0,0,0,0,0,0,0,0},{124,-237,289,958,15344,7269,-20867,-10226,11635,5012,6134,22314,1405,-8199,8271,6804,-7061,-8869,-5032,-9257,-5512,-2691,-5142,-5421,-202,4703,2534,-366,1546,3735,800,1766,2932,1538,1552,1922,356,-5391,-7541,-4786,-2746,-2977,-1910,-688,275,1499,1672,2108,2188,2013,1087,-92,-14,308,-417,-843,-798,-1462,-1821,-1274,-695,-617,-728,-495,-48,417,946,1031,758,353,191,-32,-272,-89,73,-338,-743,-570,-333,-136,170,197,-142,-359,-217,-23,136,354,167,-232,-331,-176,3,78,-116,-387,-439,-272,52,304,206,-113,-270,-284,-118,101,62,-180,-317,-350,-252,-1,88,-41,-191,-275,-191,36,145,68,-63,-188,-179,8,103,38,-44,-120,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 85 degrees + {{1,2,1,0,2,0,-1,1,2,1,4,2,2,1,-1,1,1,0,2,4,1,3,4,15,23,-24,1,52,15,-8,60,525,952,1400,1549,1197,-1030,-3249,-711,3912,6434,5057,2565,1943,1915,803,-1339,-3091,-3630,-3007,-2677,-2616,-1839,-1008,-365,180,770,986,867,872,764,610,324,53,-55,-133,-576,-1164,-1339,-1203,-978,-747,-516,-234,-17,128,241,312,334,215,38,-152,-266,-311,-362,-400,-423,-409,-339,-257,-195,-157,-123,-132,-147,-97,-40,16,34,6,-56,-108,-111,-121,-113,-116,-152,-181,-170,-92,-33,-8,-13,-41,-57,-58,-54,-64,-77,-108,-147,-178,-176,-155,-154,-171,-185,-154,0,0,0,0,0,0,0,0,0,0,0,0},{137,-263,329,763,15144,7386,-21123,-9929,12166,5181,6019,21556,50,-8577,9726,7947,-7465,-8894,-4091,-9212,-5906,-2422,-5333,-5849,138,5129,1165,-1332,2624,3548,765,2349,2634,1285,1657,2114,-144,-6210,-6853,-3433,-2864,-3133,-1536,-800,-135,1175,1580,1923,2114,2206,1049,-131,287,462,-469,-746,-855,-1561,-1889,-1221,-587,-699,-800,-495,-64,339,932,982,687,346,262,19,-241,-11,77,-388,-698,-518,-318,-133,160,149,-221,-388,-190,-10,109,346,147,-247,-349,-162,23,90,-87,-388,-454,-264,77,284,167,-124,-256,-249,-109,92,37,-200,-323,-361,-235,2,81,-73,-235,-277,-165,55,126,67,-56,-195,-189,0,100,23,-52,-129,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 90 degrees + {{1,1,0,0,0,0,-1,-1,1,0,1,1,0,2,-2,-1,-1,-1,2,-3,4,-1,6,7,4,14,-3,20,15,34,445,779,130,484,2019,1902,-605,-3392,-599,4569,5197,3698,2791,2258,1706,887,-1003,-2376,-2838,-3141,-2830,-2411,-1929,-1392,-727,48,656,880,872,922,879,664,343,70,-68,-166,-506,-1017,-1198,-1102,-989,-809,-543,-312,-98,68,171,268,287,202,48,-81,-207,-319,-351,-376,-386,-350,-309,-286,-225,-173,-182,-193,-149,-82,-46,-21,19,21,-37,-91,-122,-119,-97,-80,-115,-159,-150,-118,-75,-51,-34,-21,-65,-95,-94,-78,-65,-99,-147,-190,-181,-154,-160,-169,-166,-132,0,0,0,0,0,0,0,0,0,0,0,0},{180,-327,432,188,13797,9388,-20041,-11338,11739,6189,4876,20284,1089,-9532,10042,9931,-6922,-9379,-3252,-8658,-6763,-2412,-5268,-6234,-84,5264,469,-1857,2992,3282,1038,2696,2605,1001,1646,2172,-531,-6329,-6345,-2714,-2685,-2893,-1540,-930,-285,743,1279,1783,2025,2235,1128,-55,431,567,-337,-621,-885,-1567,-1908,-1233,-558,-719,-826,-536,-96,262,837,935,688,338,312,97,-190,15,100,-365,-656,-475,-313,-150,101,129,-248,-415,-199,-3,112,321,157,-214,-332,-156,23,90,-59,-352,-461,-287,46,272,192,-100,-231,-235,-107,77,33,-205,-334,-349,-224,5,71,-71,-226,-279,-176,45,146,84,-54,-198,-217,-24,113,38,-61,-129,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 95 degrees + {{1,1,0,0,0,0,0,-1,1,0,0,0,1,1,0,0,-2,1,4,-3,0,3,8,8,-8,24,26,-5,9,406,909,353,-143,615,1153,1031,-12,-766,1426,3276,2869,2524,2574,2246,1184,215,-532,-1383,-1984,-2407,-2690,-2295,-1696,-1497,-944,-176,331,594,755,918,800,573,401,149,-173,-301,-496,-756,-898,-947,-866,-759,-550,-344,-182,-15,94,155,158,126,44,-66,-174,-250,-308,-351,-312,-287,-270,-252,-242,-233,-237,-175,-95,-69,-72,-64,-30,-7,-32,-87,-116,-99,-67,-54,-83,-104,-102,-111,-113,-100,-64,-58,-79,-92,-90,-77,-87,-116,-162,-174,-163,-171,-160,-143,-109,-95,0,0,0,0,0,0,0,0,0,0,0,0},{208,-365,494,-386,11117,12529,-17015,-14320,10166,7926,3283,18148,4222,-10473,8597,12564,-4960,-10364,-2937,-7400,-7861,-2787,-4984,-6515,-907,4991,687,-2090,2676,3156,1381,2623,2741,1087,1343,2075,-478,-5988,-6234,-2574,-2354,-2523,-1583,-1039,-419,461,1006,1496,1903,2179,1232,70,423,662,-135,-527,-867,-1489,-1873,-1323,-608,-739,-800,-581,-143,181,718,888,701,335,296,199,-131,-12,116,-263,-634,-504,-326,-194,26,110,-227,-442,-241,-24,101,310,197,-160,-312,-152,6,69,-48,-332,-475,-332,12,253,220,-68,-217,-230,-118,61,27,-191,-334,-350,-242,-13,87,-56,-233,-318,-199,42,160,81,-96,-219,-222,-29,94,25,-69,-114,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 100 degrees + {{1,0,2,0,0,0,0,0,-1,-1,-1,-1,0,0,-2,3,-1,-1,2,-1,1,-2,11,0,0,12,30,5,280,1045,631,-262,246,727,240,-141,1001,2721,2490,1511,1517,1678,1581,1172,544,-27,-429,-594,-1061,-1659,-1746,-1821,-1749,-1223,-832,-544,-138,259,584,665,589,440,341,127,-220,-428,-463,-486,-621,-688,-689,-594,-468,-390,-237,-117,-43,-9,6,29,-47,-104,-124,-171,-236,-278,-267,-255,-210,-217,-277,-271,-190,-105,-95,-90,-100,-111,-84,-87,-75,-96,-84,-52,-59,-42,-44,-51,-77,-100,-120,-154,-142,-107,-72,-70,-80,-88,-131,-157,-172,-175,-169,-161,-125,-104,-89,-78,0,0,0,0,0,0,0,0,0,0,0,0},{170,-278,369,-524,7036,15354,-10690,-18099,6450,10207,2023,14362,8958,-9984,4783,14917,-873,-11183,-3846,-5212,-8754,-3849,-4379,-6613,-2298,4040,1643,-1940,1760,3165,1766,2253,2847,1441,1072,1854,-33,-5014,-6423,-2941,-2000,-2300,-1618,-1014,-553,159,854,1266,1636,2045,1408,250,336,735,139,-475,-756,-1333,-1764,-1456,-725,-726,-797,-612,-204,129,556,855,717,355,255,287,-6,-43,127,-124,-568,-576,-378,-239,-66,98,-165,-440,-314,-55,77,289,288,-70,-282,-165,18,49,-53,-321,-481,-345,-17,217,206,-18,-187,-218,-129,34,50,-145,-316,-355,-260,-19,101,-55,-255,-291,-187,7,130,54,-112,-198,-204,-64,62,34,-50,-100,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 105 degrees + {{0,0,0,0,1,1,1,0,-1,-1,-1,-1,0,0,0,1,-1,1,-2,3,2,-1,6,5,4,12,15,206,1106,948,-290,-20,578,128,-335,852,2902,2959,1929,1573,1105,570,280,-174,-328,-67,-88,-411,-519,-484,-826,-1191,-1170,-956,-864,-719,-426,-114,183,317,340,224,99,-16,-246,-364,-353,-321,-375,-417,-412,-404,-350,-334,-287,-264,-216,-156,-141,-153,-138,-85,-116,-116,-148,-211,-211,-199,-211,-250,-217,-149,-117,-97,-106,-122,-133,-147,-144,-157,-136,-86,-46,-27,-36,-14,-8,-18,-56,-109,-146,-184,-162,-119,-78,-62,-79,-116,-164,-178,-191,-187,-152,-113,-89,-86,-63,-57,0,0,0,0,0,0,0,0,0,0,0,0},{31,-31,0,-76,2703,15303,-1185,-19960,-220,11944,2548,8652,13200,-6272,-729,15125,5115,-10214,-6441,-2918,-8358,-5863,-3814,-6152,-3954,2221,2619,-1021,544,2885,2355,1845,2632,2014,884,1510,583,-3521,-6321,-3868,-1853,-2095,-1809,-997,-600,-100,695,1105,1405,1783,1557,529,244,676,442,-394,-686,-1070,-1618,-1556,-910,-695,-807,-668,-290,94,414,742,744,407,212,318,157,-17,78,1,-465,-637,-462,-311,-174,39,-76,-395,-384,-114,69,237,340,66,-218,-191,1,35,-62,-292,-450,-360,-92,147,178,19,-155,-193,-135,7,66,-90,-277,-327,-262,-87,33,-30,-179,-251,-216,-77,52,35,-63,-161,-226,-132,56,70,-48,-113,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 110 degrees + {{1,1,2,2,2,3,1,2,1,1,1,1,1,1,4,3,3,3,3,6,0,7,3,16,0,25,126,1092,1345,-235,-336,502,112,-452,936,3293,2861,1409,1665,1619,735,-107,-1047,-1254,-683,-386,-166,-101,17,228,-50,-289,-349,-636,-868,-774,-554,-429,-310,-81,12,-121,-198,-251,-243,-172,-207,-200,-155,-138,-157,-202,-215,-248,-323,-404,-373,-346,-331,-219,-165,-135,-113,-97,-102,-132,-157,-218,-231,-155,-69,-51,-72,-110,-134,-152,-186,-193,-197,-184,-135,-87,-53,-26,-1,26,11,-25,-76,-149,-158,-131,-126,-136,-112,-78,-97,-146,-189,-194,-190,-157,-119,-100,-73,-57,-37,-43,0,0,0,0,0,0,0,0,0,0,0,0},{-113,199,-315,386,-35,11008,8649,-16309,-9089,10734,5907,2572,13629,1385,-5348,11535,11175,-5800,-9698,-2383,-5961,-7956,-4321,-4961,-5161,-367,2735,511,-129,1939,2878,1919,2014,2470,1066,990,907,-1733,-5376,-4889,-2341,-1853,-1961,-1250,-578,-296,528,985,1226,1532,1590,896,257,463,616,-122,-700,-861,-1342,-1600,-1108,-699,-790,-730,-407,25,297,595,708,514,234,303,291,70,18,29,-311,-664,-560,-392,-278,-87,-29,-293,-403,-173,50,177,312,199,-86,-203,-72,7,-39,-213,-395,-384,-210,33,134,59,-116,-164,-123,-31,62,-15,-195,-299,-303,-199,-9,41,-113,-254,-275,-169,-4,42,-44,-150,-207,-164,1,64,-40,-121,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 115 degrees + {{0,0,1,1,1,1,0,-1,-1,-1,-1,1,-1,-1,2,0,1,0,6,-4,1,-1,21,-6,21,77,1038,1669,-54,-639,365,122,-533,1036,3664,3102,1298,1455,1255,435,191,-720,-1659,-1453,-971,-737,-490,186,645,429,544,687,200,-301,-525,-681,-770,-707,-575,-522,-506,-481,-502,-425,-204,-70,-69,-31,59,94,33,-33,-87,-220,-349,-480,-599,-508,-334,-251,-239,-213,-148,-82,-66,-139,-196,-169,-88,-41,0,-3,-63,-120,-176,-208,-227,-225,-210,-173,-121,-104,-82,-35,31,46,-22,-97,-132,-119,-102,-102,-120,-151,-134,-121,-156,-184,-185,-177,-159,-129,-118,-96,-56,-44,-47,-32,0,0,0,0,0,0,0,0,0,0,0,0},{-88,134,-181,195,-324,4465,13429,-5729,-15826,4108,10264,192,7913,10012,-4806,4286,14193,1923,-10516,-5054,-2649,-8288,-6302,-3973,-5107,-3165,1492,1866,78,1014,2638,2565,1494,2390,1711,572,760,-416,-3466,-5135,-3345,-2047,-1912,-1606,-743,-406,207,959,1108,1331,1517,1247,488,251,556,212,-565,-830,-1071,-1442,-1273,-772,-752,-741,-534,-100,173,405,651,608,376,276,382,184,-10,-8,-185,-588,-670,-466,-356,-244,-73,-170,-332,-220,28,138,232,268,61,-144,-137,-29,-9,-102,-311,-414,-321,-105,67,87,-43,-135,-108,-46,54,53,-117,-304,-311,-186,-48,12,-97,-254,-294,-198,-54,1,-30,-95,-149,-184,-102,14,-15,-92,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 120 degrees + {{0,3,2,2,2,1,-1,1,0,1,1,0,1,1,0,3,1,6,-1,6,-9,21,0,28,39,966,1986,191,-950,191,193,-641,1118,4129,3334,1226,1538,1338,-10,-434,-925,-1539,-1261,-1031,-1280,-1052,-203,321,480,936,1184,876,541,258,-142,-557,-809,-864,-861,-915,-929,-870,-732,-435,-203,-88,61,212,243,211,220,118,-51,-228,-456,-582,-555,-466,-368,-335,-330,-246,-135,-115,-164,-134,-42,-39,-20,39,48,1,-84,-154,-212,-230,-210,-206,-200,-158,-114,-111,-66,6,22,-38,-105,-126,-94,-53,-56,-105,-133,-131,-143,-181,-198,-162,-142,-142,-129,-108,-92,-72,-46,-45,-31,13,0,0,0,0,0,0,0,0,0,0,0,0},{54,-104,158,-239,292,209,10043,6725,-14031,-6466,10361,4014,-190,12128,3339,-2522,11365,9775,-6019,-9193,-1642,-5555,-8562,-4466,-4000,-4924,-1164,2415,703,503,2157,2736,1834,1688,2368,739,302,86,-1592,-4008,-4076,-2707,-2132,-1713,-1139,-528,-193,722,1158,1175,1389,1415,861,285,364,403,-299,-794,-935,-1169,-1304,-934,-692,-724,-589,-291,58,183,479,682,561,320,368,331,23,-97,-120,-438,-714,-587,-388,-366,-196,-77,-226,-250,-35,149,156,233,155,-46,-127,-53,6,-43,-205,-398,-395,-221,-34,55,15,-73,-67,-33,5,6,-69,-172,-220,-203,-155,-97,-105,-201,-254,-233,-132,-13,17,-53,-147,-197,-173,-52,-7,-50,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 125 degrees + {{0,0,1,0,-1,-1,-2,-1,-1,-1,-2,-2,0,-3,1,-4,5,-7,5,-10,13,-1,22,31,880,2254,506,-1235,-68,253,-688,1153,4612,3615,1148,1649,1527,-235,-839,-1199,-2104,-1693,-773,-968,-1185,-521,73,88,501,1262,1311,873,759,616,98,-373,-630,-936,-1214,-1248,-1198,-1097,-810,-476,-282,-59,199,321,319,328,342,176,-183,-395,-439,-467,-399,-414,-508,-463,-296,-240,-276,-220,-63,-3,-16,23,48,68,15,-61,-129,-205,-200,-177,-188,-201,-188,-169,-129,-48,-13,-29,-85,-142,-138,-100,-50,-38,-71,-119,-151,-145,-170,-190,-172,-140,-133,-136,-100,-82,-75,-59,-54,-34,3,38,0,0,0,0,0,0,0,0,0,0,0,0},{47,-70,82,-92,88,-167,3062,11559,-2488,-13469,2785,9270,-2066,4317,12347,-1066,3159,13106,2666,-9656,-5006,-1764,-8291,-6918,-3145,-4804,-4175,1199,1841,-116,1808,2683,2204,1495,2181,1549,24,68,-620,-2269,-3717,-3246,-2683,-1976,-1379,-873,-487,202,1119,1144,1201,1442,1178,536,311,426,-21,-678,-839,-949,-1151,-1121,-713,-640,-611,-420,-104,79,225,560,679,467,339,375,154,-131,-155,-271,-633,-696,-486,-367,-334,-110,-98,-236,-131,104,162,155,171,36,-73,-38,8,-44,-140,-294,-381,-315,-156,-21,52,15,-37,-56,-74,-21,34,-36,-168,-250,-261,-202,-128,-147,-220,-218,-142,-28,3,-57,-145,-195,-186,-103,-8,-15,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 130 degrees + {{1,2,1,0,-1,-1,-1,0,0,-1,-2,1,-2,3,-3,4,-5,5,-11,12,1,24,17,808,2502,860,-1466,-380,312,-722,1187,5129,3897,1032,1787,1837,-355,-1249,-1465,-2369,-2085,-1147,-1156,-1135,-240,326,-51,173,901,998,891,1050,922,473,220,-49,-498,-1012,-1351,-1467,-1349,-1023,-793,-591,-271,41,227,273,376,445,229,-78,-216,-320,-329,-278,-363,-503,-534,-418,-363,-345,-213,-83,-42,-18,15,79,49,-8,-39,-134,-195,-180,-123,-148,-189,-190,-188,-152,-73,5,-48,-136,-158,-144,-121,-99,-56,-69,-123,-150,-159,-151,-154,-137,-140,-158,-146,-108,-71,-71,-59,-44,-36,-21,-1,0,0,0,0,0,0,0,0,0,0,0,0,0},{-50,75,-113,140,-200,242,-171,6392,8742,-8587,-7989,7714,3716,-3734,10028,9293,-1880,8215,10439,-3619,-8736,-1866,-4297,-9030,-4490,-3313,-5701,-1943,2351,278,451,2824,2522,1724,1665,2163,462,-301,-149,-1065,-2577,-3213,-2899,-2543,-1703,-1180,-783,-356,703,1211,976,1231,1431,896,401,405,223,-433,-772,-783,-951,-1114,-897,-626,-583,-440,-251,9,108,277,541,580,381,322,257,-37,-217,-203,-419,-675,-615,-429,-369,-253,-53,-132,-183,-26,134,120,123,103,-22,-44,12,-24,-115,-208,-302,-332,-241,-100,3,18,-49,-52,-20,14,28,-27,-159,-268,-301,-274,-210,-150,-131,-143,-138,-106,-70,-82,-127,-163,-164,-124,-40,1,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 135 degrees + {{1,1,0,-1,-1,-1,0,0,-1,-2,1,-2,1,-2,5,-7,6,-9,3,3,21,20,721,2733,1252,-1687,-721,346,-710,1177,5674,4278,837,1860,2188,-337,-1594,-1759,-2696,-2455,-1250,-1261,-1562,-535,647,444,331,765,773,563,705,900,671,405,263,24,-513,-996,-1313,-1434,-1236,-926,-710,-529,-217,48,181,293,261,154,51,-114,-183,-169,-176,-277,-417,-501,-498,-429,-287,-179,-134,-80,-65,-11,35,15,-13,-70,-131,-190,-164,-100,-107,-170,-182,-154,-147,-76,-23,-60,-137,-159,-143,-137,-107,-96,-116,-142,-169,-168,-138,-109,-101,-119,-160,-167,-105,-53,-53,-62,-52,-32,-12,-23,-62,-105,0,0,0,0,0,0,0,0,0,0,0,0},{-3,-16,26,-55,76,-126,132,651,8414,4204,-10272,-1852,7484,-1792,-822,13451,5401,54,10549,5566,-6627,-5812,-1367,-6884,-7705,-2931,-4753,-5028,440,1594,-480,1626,3086,2229,1541,1810,1589,-229,-429,-273,-1314,-2711,-2830,-2589,-2269,-1622,-1005,-588,-129,932,1082,864,1257,1285,743,417,303,-52,-593,-719,-699,-941,-1063,-740,-532,-479,-269,-48,59,74,292,493,409,262,258,100,-152,-220,-223,-464,-623,-513,-423,-375,-151,-14,-135,-103,48,65,37,106,86,-20,-12,1,-90,-154,-194,-241,-249,-192,-128,-48,29,48,46,11,-31,-78,-172,-265,-300,-289,-232,-145,-80,-97,-131,-142,-135,-115,-110,-96,-92,-95,-83,-39,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 140 degrees + {{1,0,-1,-2,-2,0,1,-1,-2,1,-2,2,-6,5,-6,1,-4,0,2,13,30,653,2944,1661,-1891,-1102,372,-663,1213,6199,4667,666,1889,2492,-315,-1833,-1993,-3031,-2876,-1400,-1280,-1731,-757,455,480,642,1139,914,454,500,597,297,256,423,204,-275,-595,-886,-1127,-1102,-915,-762,-610,-356,-128,23,54,79,71,-95,-124,-66,-88,-117,-167,-328,-499,-433,-253,-203,-219,-129,-76,-77,-74,-45,-19,-59,-87,-154,-219,-174,-73,-84,-149,-154,-148,-116,-38,1,-84,-145,-134,-135,-141,-122,-107,-126,-176,-203,-186,-140,-76,-53,-112,-176,-147,-67,-20,-26,-56,-60,-41,-26,-40,-90,-140,-177,0,0,0,0,0,0,0,0,0,0,0,0},{19,-31,24,-24,10,-8,-10,-23,1870,8799,185,-8733,1993,4157,-4217,3733,13863,2742,2776,9825,1321,-6593,-3503,-2658,-8020,-5592,-3139,-5684,-2982,1225,389,-109,2466,2927,1947,1535,1693,869,-468,-302,-503,-1596,-2558,-2517,-2401,-2070,-1452,-754,-407,52,858,917,877,1154,1113,711,394,121,-250,-570,-566,-671,-964,-948,-569,-446,-324,-117,20,21,25,278,387,227,117,150,17,-168,-204,-240,-443,-504,-426,-423,-375,-108,9,-83,-55,2,-33,-12,114,102,-7,-35,-59,-107,-107,-158,-237,-259,-173,-53,45,100,84,21,-92,-190,-221,-239,-238,-232,-226,-191,-121,-86,-114,-137,-163,-141,-92,-48,-30,-58,-93,-86,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 145 degrees + {{0,-1,-1,-1,0,1,-1,-3,1,-2,4,-3,4,-4,1,-3,0,5,2,36,595,3156,2075,-2074,-1500,370,-606,1275,6779,5056,437,1943,2820,-343,-2084,-2161,-3309,-3318,-1598,-1261,-1904,-925,439,504,640,1162,1135,733,607,549,70,-144,65,78,-202,-497,-707,-780,-713,-564,-523,-582,-400,-119,-204,-194,12,-63,-236,-279,-184,-117,-80,-144,-367,-429,-199,-88,-146,-128,-62,-68,-151,-118,-31,-62,-129,-129,-187,-258,-199,-111,-99,-128,-129,-122,-105,-17,17,-59,-120,-121,-132,-157,-133,-100,-125,-187,-236,-235,-143,-40,-55,-149,-177,-100,-14,2,-19,-45,-59,-51,-61,-91,-113,-146,-195,-216,0,0,0,0,0,0,0,0,0,0,0,0},{-14,31,-48,49,-63,64,-81,86,-108,3046,8045,-2243,-6035,2796,737,-3715,7390,12625,1815,4469,7506,-830,-5357,-2643,-4287,-7556,-4245,-4262,-5039,-1355,764,-87,633,2766,2611,1778,1498,1426,206,-251,-81,-982,-1734,-2250,-2308,-2338,-1881,-1129,-568,-301,260,661,668,879,1097,987,610,288,41,-310,-494,-452,-656,-883,-764,-451,-335,-221,-107,-14,-52,-5,184,258,139,47,81,-55,-207,-172,-182,-374,-417,-357,-393,-339,-124,-25,-42,-44,-54,-93,0,114,81,10,-41,-106,-133,-103,-132,-190,-178,-84,28,104,90,-1,-132,-245,-263,-203,-156,-170,-221,-239,-196,-127,-103,-122,-137,-119,-75,-45,-29,-27,-41,-64,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 150 degrees + {{-1,-1,-1,0,0,1,-3,1,-1,3,-3,6,-6,-1,2,-5,13,-8,41,538,3365,2507,-2254,-1911,350,-550,1333,7399,5503,194,1950,3139,-340,-2349,-2341,-3564,-3732,-1866,-1205,-1991,-1103,432,467,787,1337,1051,634,802,855,130,-321,-161,-233,-658,-654,-668,-744,-480,-150,-82,-242,-169,-217,-268,-83,-83,-277,-406,-353,-314,-300,-248,-274,-316,-257,-112,-39,-2,30,17,-49,-119,-95,-64,-98,-139,-168,-217,-288,-263,-140,-126,-157,-138,-97,-66,-13,25,-23,-83,-99,-118,-149,-119,-84,-117,-188,-252,-248,-162,-78,-64,-134,-155,-51,46,34,-20,-47,-73,-84,-92,-111,-128,-153,-201,-228,-188,0,0,0,0,0,0,0,0,0,0,0,0},{12,-14,29,-47,54,-76,90,-120,145,-93,3900,6837,-2980,-3982,1682,-1080,-1995,9362,11217,1871,4575,5358,-1227,-4274,-2890,-5181,-6396,-4206,-4788,-3680,-845,217,29,1212,2614,2356,1798,1258,965,100,91,-212,-1183,-1758,-2084,-2121,-2256,-1718,-920,-347,-96,326,426,401,843,1106,885,389,164,65,-283,-392,-354,-581,-758,-592,-397,-313,-208,-179,-114,-135,-41,102,171,131,54,11,-137,-207,-128,-152,-303,-342,-335,-367,-288,-126,-70,-64,-71,-101,-91,36,100,26,-37,-75,-118,-107,-72,-80,-101,-103,-56,12,58,-1,-115,-208,-249,-213,-164,-156,-187,-230,-264,-233,-142,-96,-84,-83,-84,-70,-41,-2,7,-15,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 155 degrees + {{-3,-2,-1,0,0,-4,0,-2,3,-4,3,-5,-6,2,-12,18,-18,50,479,3576,2938,-2432,-2324,306,-503,1387,8033,5988,-49,1962,3427,-396,-2593,-2458,-3838,-4171,-2152,-1244,-2012,-1213,485,406,759,1582,1193,587,644,848,330,-162,-185,-372,-960,-1123,-1027,-867,-439,-47,246,205,5,47,71,-41,-94,-292,-568,-573,-414,-444,-518,-389,-261,-299,-159,55,108,81,37,30,-30,-49,-27,-72,-177,-203,-241,-343,-296,-181,-174,-209,-167,-97,-81,-26,28,-10,-67,-93,-106,-117,-76,-58,-121,-209,-263,-244,-190,-143,-131,-140,-100,-6,71,79,17,-69,-139,-165,-142,-122,-144,-179,-208,-220,-184,-128,0,0,0,0,0,0,0,0,0,0,0,0},{1,7,-6,18,-35,43,-66,87,-120,151,11,4355,5781,-2753,-3231,317,-1405,-435,10157,10294,1922,3716,4227,-859,-3857,-3448,-5105,-5639,-4725,-4350,-2609,-960,-32,379,1420,2354,2287,1740,878,639,460,93,-479,-1023,-1672,-2010,-2149,-2105,-1469,-778,-201,152,313,186,307,787,1044,710,263,60,40,-89,-239,-287,-478,-650,-579,-386,-326,-298,-247,-187,-172,-87,83,196,104,70,33,-142,-230,-131,-127,-278,-309,-317,-323,-231,-76,-66,-152,-145,-84,-43,9,57,36,-49,-94,-92,-56,-22,-29,-64,-112,-97,-37,23,-10,-108,-202,-235,-184,-160,-181,-214,-261,-276,-216,-119,-63,-42,-47,-68,-48,-3,40,39,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 160 degrees + {{-3,0,-1,-1,-4,-1,-2,3,-2,2,-3,-8,6,-16,23,-31,63,423,3756,3411,-2587,-2748,266,-473,1417,8647,6553,-272,1943,3727,-454,-2862,-2559,-3989,-4623,-2492,-1299,-2075,-1337,603,519,639,1694,1401,586,651,866,208,-195,-25,-249,-1084,-1422,-1340,-1191,-652,-68,225,207,418,513,307,248,143,-252,-620,-618,-628,-721,-491,-297,-461,-523,-182,108,109,48,75,96,17,23,74,-13,-135,-181,-259,-361,-337,-224,-220,-230,-177,-136,-117,-55,30,-11,-71,-71,-68,-70,-46,-23,-88,-181,-260,-288,-201,-128,-135,-165,-132,-11,130,171,63,-78,-181,-214,-194,-164,-165,-196,-215,-205,-157,-101,-81,0,0,0,0,0,0,0,0,0,0,0,0},{-1,3,3,-1,6,-23,25,-47,63,-93,115,157,4458,5155,-2357,-3415,-418,-1060,518,10409,9764,1548,2744,3987,-487,-3955,-3673,-4614,-5587,-4912,-3475,-2127,-1223,-28,686,1346,2202,2231,1467,660,681,544,-53,-565,-806,-1420,-2116,-2229,-1875,-1240,-684,-124,239,275,196,289,641,865,556,200,80,61,-18,-75,-203,-475,-705,-640,-423,-358,-344,-315,-219,-162,-71,111,205,109,71,32,-131,-225,-168,-172,-265,-296,-289,-297,-206,-52,-69,-177,-204,-139,-36,64,80,0,-83,-102,-84,-27,-2,-46,-107,-139,-117,-46,17,-8,-85,-164,-215,-220,-213,-209,-240,-284,-276,-202,-93,-24,-13,-51,-73,-31,26,67,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 165 degrees + {{-3,0,-1,-5,-1,-2,3,-2,2,-3,-12,9,-22,28,-42,70,391,3921,3860,-2702,-3179,232,-467,1446,9252,7128,-413,1915,3998,-570,-3134,-2651,-4125,-5002,-2882,-1370,-2095,-1527,618,738,705,1723,1546,626,592,939,279,-312,-189,-216,-989,-1518,-1570,-1360,-769,-417,-106,324,559,635,632,593,398,-48,-488,-667,-668,-652,-530,-497,-536,-527,-319,-86,3,86,79,34,46,114,156,72,-84,-132,-202,-349,-378,-254,-204,-252,-235,-183,-157,-107,-18,-8,-49,-47,-46,-49,-25,-5,-61,-177,-245,-242,-175,-125,-153,-191,-153,-21,121,179,101,-46,-170,-245,-255,-214,-187,-204,-236,-220,-161,-82,-38,-59,0,0,0,0,0,0,0,0,0,0,0,0},{-1,0,5,1,4,1,-15,15,-31,44,-65,81,281,4375,4904,-2220,-3827,-500,-697,994,10463,9346,925,2103,4161,-382,-4144,-3446,-4317,-5741,-4604,-2761,-1973,-1433,132,846,1142,2159,2169,1118,613,891,350,-176,-459,-668,-1217,-2071,-2176,-1795,-1138,-510,-62,169,247,313,396,498,583,578,248,29,104,6,-100,-259,-501,-762,-727,-469,-361,-360,-269,-129,-146,-47,179,235,99,57,1,-157,-211,-132,-180,-309,-303,-286,-290,-202,-73,-62,-129,-146,-109,-66,29,77,9,-93,-124,-87,-30,-11,-56,-138,-176,-129,-18,55,41,-45,-165,-238,-244,-223,-235,-265,-280,-257,-171,-60,5,-16,-62,-53,-4,48,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 170 degrees + {{0,0,-5,-1,-1,3,0,2,-1,-13,13,-24,33,-45,70,372,4041,4265,-2688,-3585,148,-447,1406,9753,7739,-401,1861,4244,-661,-3451,-2721,-4209,-5309,-3336,-1537,-2001,-1641,462,844,906,1817,1654,740,489,948,396,-356,-296,-293,-1039,-1618,-1639,-1426,-945,-575,-172,153,430,674,726,744,645,185,-305,-487,-423,-501,-600,-551,-599,-648,-473,-210,-76,-41,-11,24,33,109,227,165,-21,-55,-128,-319,-379,-245,-207,-269,-242,-228,-248,-159,-19,-16,-65,-38,-20,-38,-6,18,-73,-192,-198,-158,-128,-111,-135,-195,-188,-45,103,148,92,-16,-151,-252,-269,-244,-219,-224,-243,-225,-154,-67,-29,-34,-56,0,0,0,0,0,0,0,0,0,0,0,0},{-4,-1,-1,5,0,3,-1,-14,11,-24,34,-51,66,347,4253,4769,-2351,-4013,-276,-507,1235,10355,8880,308,1827,4363,-506,-4103,-3105,-4262,-5714,-4171,-2258,-1942,-1527,301,792,1025,2181,1972,879,649,901,342,-298,-450,-421,-1183,-1850,-2022,-1857,-1051,-340,-40,-10,243,443,498,564,581,438,198,80,-24,-167,-242,-330,-614,-819,-670,-486,-363,-238,-123,-86,-120,15,226,229,72,24,-20,-177,-241,-144,-171,-322,-354,-319,-301,-166,-24,-37,-105,-92,-62,-76,-31,29,10,-73,-125,-126,-76,-42,-78,-159,-195,-118,31,117,62,-58,-176,-240,-247,-235,-238,-268,-286,-246,-141,-38,-9,-25,-46,-38,-8,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 175 degrees + {{-1,-5,-1,-1,3,-1,1,0,-15,10,-25,31,-48,64,363,4139,4582,-2556,-3911,-30,-446,1339,10119,8357,-162,1780,4402,-639,-3829,-2848,-4265,-5544,-3769,-1871,-1930,-1585,348,782,1033,2041,1745,826,572,858,418,-348,-417,-305,-1097,-1780,-1769,-1669,-1063,-363,-111,-23,232,582,692,685,658,336,-70,-106,-142,-421,-470,-453,-607,-812,-639,-302,-239,-175,-39,-2,-71,58,234,209,69,-4,-74,-256,-298,-197,-230,-306,-306,-288,-270,-163,-27,-24,-80,-80,-50,-43,4,15,-56,-128,-158,-150,-101,-76,-123,-180,-180,-77,54,113,73,-30,-159,-247,-263,-247,-239,-257,-273,-237,-144,-43,-11,-40,-59,-43,0,0,0,0,0,0,0,0,0,0,0,0},{-1,-5,-1,-1,3,-1,1,0,-15,10,-25,31,-48,64,363,4139,4582,-2556,-3911,-30,-446,1339,10119,8357,-162,1780,4402,-639,-3829,-2848,-4265,-5544,-3769,-1871,-1930,-1585,348,782,1033,2041,1745,826,572,858,418,-348,-417,-305,-1097,-1780,-1769,-1669,-1063,-363,-111,-23,232,582,692,685,658,336,-70,-106,-142,-421,-470,-453,-607,-812,-639,-302,-239,-175,-39,-2,-71,58,234,209,69,-4,-74,-256,-298,-197,-230,-306,-306,-288,-270,-163,-27,-24,-80,-80,-50,-43,4,15,-56,-128,-158,-150,-101,-76,-123,-180,-180,-77,54,113,73,-30,-159,-247,-263,-247,-239,-257,-273,-237,-144,-43,-11,-40,-59,-43,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 180 degrees +}; +inline constexpr std::int16_t pcm44100_p20[37][2][hrir::taps]={ + {{-5,2,-6,10,1,3,11,-26,42,-72,106,-139,167,543,6671,4276,-2692,-1647,-5872,792,4988,5035,11773,7686,-2234,-1219,1989,-5035,-9992,-7086,-2924,-3516,-3122,223,17,1363,2937,2064,2242,2440,1079,37,54,202,613,189,65,-589,-1895,-2557,-1977,-997,-967,-509,800,978,808,1009,556,-210,-530,-710,-1033,-1193,-999,-460,-425,-575,-591,-454,-87,168,88,-33,75,112,84,133,239,119,-164,-303,-356,-426,-398,-315,-236,-276,-260,-160,-8,153,185,34,-144,-144,-66,-16,-7,-64,-203,-270,-194,-137,-117,-102,-172,-211,-120,20,87,29,-116,-191,-156,-108,-45,-45,-126,-138,-96,-9,109,102,-40,-126,-136,-183,0,0,0,0,0,0,0,0,0,0,0,0},{-5,2,-6,10,1,3,11,-26,42,-72,106,-139,167,543,6671,4276,-2692,-1647,-5872,792,4988,5035,11773,7686,-2234,-1219,1989,-5035,-9992,-7086,-2924,-3516,-3122,223,17,1363,2937,2064,2242,2440,1079,37,54,202,613,189,65,-589,-1895,-2557,-1977,-997,-967,-509,800,978,808,1009,556,-210,-530,-710,-1033,-1193,-999,-460,-425,-575,-591,-454,-87,168,88,-33,75,112,84,133,239,119,-164,-303,-356,-426,-398,-315,-236,-276,-260,-160,-8,153,185,34,-144,-144,-66,-16,-7,-64,-203,-270,-194,-137,-117,-102,-172,-211,-120,20,87,29,-116,-191,-156,-108,-45,-45,-126,-138,-96,-9,109,102,-40,-126,-136,-183,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 0 degrees + {{-3,-4,3,-7,13,-5,10,-3,-7,17,-41,67,-82,98,814,6267,3193,-2167,-1443,-5137,725,4586,5166,10333,6873,-1691,-642,1877,-4806,-9423,-6222,-2412,-3837,-2982,477,-85,1104,2759,1993,1993,2014,857,302,174,268,632,114,83,-523,-1742,-2316,-1838,-1096,-716,-7,726,725,632,722,371,-218,-569,-755,-809,-921,-975,-676,-515,-554,-619,-485,-103,188,69,-24,110,107,50,105,204,55,-199,-311,-335,-344,-320,-248,-205,-250,-218,-128,-23,99,154,24,-148,-175,-90,15,25,-51,-200,-284,-204,-129,-118,-126,-166,-170,-79,43,78,-9,-135,-186,-155,-130,-84,-63,-113,-97,-49,19,107,96,-22,-127,-155,0,0,0,0,0,0,0,0,0,0,0,0},{-4,1,-1,15,-19,38,-60,78,-111,147,-178,214,28,5754,6932,-2635,-1901,-6200,-1357,6378,4000,11873,10857,-2036,-2861,2676,-4069,-10601,-7903,-3794,-3588,-3311,23,-295,892,3442,2068,2120,2914,1723,115,-209,66,738,310,148,-288,-1933,-2816,-2205,-1288,-1269,-654,647,978,1015,1099,631,42,-429,-792,-1254,-1334,-870,-210,-321,-564,-506,-472,-98,196,47,-129,-8,51,94,168,251,141,-73,-229,-375,-466,-424,-313,-216,-280,-298,-168,-33,103,157,41,-129,-150,-77,-31,-36,-54,-154,-253,-217,-127,-91,-96,-164,-232,-170,0,127,84,-90,-197,-174,-134,-65,-6,-89,-168,-127,-49,77,104,-31,-133,-145,-163,-142,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 5 degrees + {{0,-3,-4,3,-7,14,-8,16,-14,12,-9,-3,24,-25,28,1255,5872,2023,-1597,-1606,-4674,1428,4205,5132,9695,5485,-1552,413,1272,-5337,-8447,-4925,-2557,-4036,-2085,410,-351,1362,2530,1734,1785,1609,773,452,228,449,473,14,183,-619,-1727,-2054,-1626,-1098,-361,621,620,206,437,473,133,-325,-662,-717,-711,-741,-766,-716,-641,-495,-594,-497,-81,151,30,-40,91,62,0,101,134,-35,-206,-288,-298,-266,-200,-142,-176,-241,-183,-107,-49,42,68,-43,-141,-156,-69,-3,3,-56,-199,-260,-210,-129,-105,-117,-147,-140,-52,51,70,-35,-163,-204,-187,-151,-84,-52,-86,-83,-26,39,108,81,-41,-127,0,0,0,0,0,0,0,0,0,0,0,0},{4,-9,30,-32,52,-68,79,-99,115,-118,140,-116,4095,9257,-1070,-2941,-5718,-4275,6762,4619,10542,13885,205,-5288,2436,-2108,-11300,-9326,-4041,-3529,-4186,43,178,-292,3498,2724,1673,3029,2500,470,-244,-286,712,657,150,93,-1613,-3095,-2686,-1841,-1548,-531,470,991,1153,1102,747,209,-367,-1020,-1539,-1298,-554,-112,-192,-456,-431,-396,-154,207,166,-224,-166,-17,24,136,271,218,-34,-235,-384,-454,-409,-269,-190,-252,-262,-119,-43,38,102,32,-143,-194,-156,-71,-18,-26,-117,-231,-204,-103,-65,-103,-172,-249,-171,16,155,146,-18,-198,-222,-159,-81,-15,-69,-155,-155,-69,69,122,-10,-149,-180,-180,-137,-29,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 10 degrees + {{-3,0,-3,-4,2,-5,12,-9,16,-19,18,-22,16,-3,7,1,1514,5288,1427,-1130,-1991,-3961,1932,3522,5294,8935,4201,-889,1058,424,-5322,-7060,-4272,-2954,-3552,-1518,-29,-293,1496,2104,1524,1594,1303,833,637,375,365,251,215,131,-774,-1524,-1692,-1420,-953,7,667,254,-128,196,277,-57,-497,-642,-608,-625,-575,-573,-594,-599,-549,-553,-442,-158,31,-28,-22,-13,-69,-13,90,89,-45,-187,-225,-202,-164,-115,-94,-140,-212,-192,-133,-69,-36,-36,-88,-132,-121,-83,-44,-27,-64,-172,-230,-172,-121,-86,-85,-128,-127,-62,30,38,-39,-173,-228,-186,-157,-86,-59,-87,-67,-13,58,101,71,-44,0,0,0,0,0,0,0,0,0,0,0,0},{-10,29,-26,39,-41,33,-33,16,14,-33,34,2211,10261,2207,-4135,-5291,-6477,5437,5493,9699,15696,3401,-6018,420,-291,-10448,-11256,-5559,-2528,-4254,-1562,1171,-423,2447,3192,1826,2686,2976,1143,-154,-437,393,990,216,427,-1070,-3026,-3415,-2787,-1442,-443,143,1031,1254,984,889,553,-437,-1546,-1765,-889,-265,-245,-94,-270,-291,-341,-220,164,277,-105,-267,-190,-111,71,228,288,27,-313,-406,-403,-353,-239,-189,-173,-195,-85,-54,17,90,29,-180,-314,-252,-129,-36,-23,-74,-187,-198,-112,-62,-92,-167,-243,-186,3,196,230,44,-205,-273,-197,-97,-22,-83,-174,-168,-105,38,140,32,-139,-204,-215,-166,-29,6,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 15 degrees + {{-4,0,-1,-1,-2,2,-4,12,-8,14,-16,19,-23,26,-17,28,-5,1603,4712,1228,-971,-2258,-3029,1886,3035,5487,7861,3466,-102,1179,-265,-4667,-5874,-4202,-2943,-2905,-1437,-352,-101,1338,1705,1457,1320,1208,1084,735,231,223,350,237,55,-647,-1160,-1315,-1325,-875,37,372,-106,-346,-7,232,-250,-698,-488,-442,-509,-472,-332,-387,-566,-566,-544,-451,-265,-102,-123,-84,-93,-166,-41,115,135,-12,-148,-136,-114,-89,-58,-75,-135,-185,-190,-174,-137,-103,-82,-106,-161,-148,-88,-40,-27,-83,-151,-161,-113,-98,-84,-73,-114,-131,-78,2,18,-58,-165,-213,-207,-168,-94,-63,-79,-40,15,50,94,59,0,0,0,0,0,0,0,0,0,0,0,0},{14,-3,7,7,-31,48,-88,143,-197,244,657,9342,6568,-4008,-5683,-7756,3023,5954,8423,17176,7263,-5607,-1210,108,-8909,-11749,-8185,-3294,-2710,-2418,336,139,2167,2993,1676,2676,3107,1694,207,-403,-27,1152,419,574,-197,-2861,-4286,-3393,-1379,-549,-45,813,1157,1019,1021,750,-483,-1922,-1760,-460,-185,-446,-62,16,-131,-420,-336,192,392,72,-234,-321,-247,-5,78,272,79,-311,-448,-380,-284,-189,-141,-123,-139,-72,-19,-5,91,61,-191,-383,-360,-227,-76,-47,-48,-133,-196,-164,-86,-60,-114,-181,-183,-32,196,308,118,-196,-306,-223,-136,-45,-63,-163,-208,-155,2,146,81,-110,-218,-234,-177,-36,29,-46,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 20 degrees + {{-4,-3,-2,-1,-2,-3,1,-3,10,-9,13,-16,16,-20,23,-19,34,-8,1550,4225,1188,-1022,-2167,-2303,1527,2858,5360,6823,3216,485,989,-474,-3781,-5199,-4144,-2615,-2474,-1564,-462,-48,1049,1545,1312,1182,1315,1136,621,61,230,469,327,199,-326,-813,-1340,-1508,-765,-36,-209,-484,-271,36,9,-473,-624,-306,-260,-386,-350,-183,-191,-465,-667,-618,-472,-332,-275,-238,-150,-162,-167,-18,154,154,28,-55,-63,-52,-50,-54,-70,-131,-188,-222,-222,-177,-132,-126,-166,-190,-151,-75,-27,-38,-67,-111,-107,-83,-83,-70,-79,-113,-126,-85,-37,-26,-86,-163,-192,-210,-181,-88,-34,-45,-40,-7,34,69,0,0,0,0,0,0,0,0,0,0,0,0},{22,-27,50,-77,98,-144,194,-243,309,-156,6699,10364,-1365,-6447,-8827,317,5664,7000,17119,11536,-3072,-2926,351,-7511,-11522,-9970,-5633,-2341,-2217,161,-118,1430,3760,1681,1865,3229,2460,411,-262,-186,1023,667,683,692,-2693,-5005,-3496,-1491,-867,-43,410,850,1064,1087,703,-666,-1716,-1243,-407,-306,-499,-112,249,-44,-526,-509,151,540,288,-197,-289,-284,-152,-29,126,58,-218,-471,-387,-250,-138,-67,-56,-74,-89,-39,-39,95,102,-127,-400,-424,-334,-165,-32,-34,-166,-246,-185,-104,-40,-47,-125,-157,-36,181,310,173,-125,-311,-280,-201,-56,-27,-144,-229,-211,-61,131,133,-68,-223,-260,-195,-49,47,-3,-67,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 25 degrees + {{-3,-2,-2,-1,0,-1,-2,2,-1,8,-7,14,-13,18,-17,20,-9,23,1,1405,3831,1173,-1055,-1866,-1921,1196,2773,4966,6061,3171,764,871,-328,-3072,-4720,-3908,-2260,-2266,-1666,-537,-115,911,1497,1158,1058,1363,1059,354,59,494,650,635,453,-320,-953,-1498,-1472,-805,-435,-649,-536,-104,24,-259,-544,-348,-72,-164,-327,-205,-6,-128,-493,-710,-667,-498,-420,-396,-330,-207,-158,-107,21,144,182,94,39,20,-21,-80,-89,-65,-122,-207,-243,-241,-209,-173,-165,-188,-175,-127,-70,-31,-8,-16,-76,-94,-65,-42,-44,-74,-125,-151,-116,-56,-43,-96,-156,-180,-170,-128,-58,-36,-64,-47,-13,11,0,0,0,0,0,0,0,0,0,0,0,0},{-26,51,-75,75,-102,106,-110,117,-155,3334,11760,3613,-6135,-10128,-2710,5266,4931,16138,15142,45,-2554,197,-6582,-10384,-10751,-8762,-2917,-2161,-845,914,866,2979,2643,2026,2305,2707,1423,-254,-564,981,1058,524,1294,-2417,-5032,-3511,-1888,-912,-227,30,558,1030,864,249,-843,-957,-349,-649,-635,-209,16,113,-154,-497,-631,-56,527,478,-27,-147,-295,-292,-72,20,2,-252,-420,-330,-264,-203,25,89,-12,-118,-127,-83,61,125,-24,-341,-467,-391,-228,-46,-34,-195,-334,-259,-99,-3,-2,-64,-129,-52,136,295,229,-46,-295,-334,-260,-109,5,-97,-234,-255,-128,90,166,4,-196,-292,-237,-85,53,43,-40,-89,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 30 degrees + {{-3,-3,-3,-3,-2,-2,-2,-3,1,-3,3,-9,10,-11,12,-17,17,-12,13,10,1197,3479,1176,-992,-1564,-1754,960,2610,4508,5519,3106,949,867,-103,-2506,-4258,-3609,-2020,-2143,-1749,-588,-65,933,1256,883,1045,1246,834,378,380,835,1015,649,90,-445,-1007,-1708,-1609,-860,-733,-859,-412,-7,-82,-404,-348,-56,5,-153,-220,-97,-42,-158,-491,-706,-678,-566,-515,-468,-359,-247,-147,-42,45,137,202,173,101,17,-82,-133,-98,-69,-121,-233,-290,-278,-246,-194,-171,-182,-172,-124,-66,-23,6,-9,-47,-69,-53,-48,-65,-100,-174,-180,-130,-73,-61,-98,-138,-155,-135,-119,-86,-63,-71,-59,-54,0,0,0,0,0,0,0,0,0,0,0,0},{14,-13,-8,14,-50,97,-152,187,721,9884,9110,-3281,-10980,-6557,4713,3459,12705,18596,3942,-2641,1540,-4731,-10801,-9480,-10800,-6087,-1622,-1790,83,1271,3271,2377,2020,2903,2431,1552,443,-443,99,1562,816,935,-2112,-4154,-3279,-2742,-925,-220,-312,200,1044,498,-616,-958,-48,505,-625,-898,-132,379,160,-459,-638,-640,-280,288,505,238,69,-250,-385,-56,-16,-52,-258,-344,-320,-306,-239,68,237,72,-141,-243,-139,50,138,-2,-260,-411,-401,-261,-76,-43,-182,-360,-348,-186,22,97,19,-130,-98,93,260,289,46,-264,-393,-292,-137,6,-47,-208,-276,-181,37,167,79,-125,-278,-288,-150,31,90,18,-81,-122,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 35 degrees + {{1,0,-2,0,-3,-1,1,-1,-1,4,-1,5,-3,11,-4,10,-9,14,-6,19,7,985,3156,1206,-842,-1308,-1660,765,2394,4079,5075,3089,1095,915,169,-2022,-3804,-3308,-1839,-2044,-1694,-456,-28,728,896,666,1048,1171,865,786,889,923,707,333,-19,-589,-1366,-1856,-1430,-904,-955,-803,-256,11,-113,-313,-163,92,34,-156,-185,-94,-35,-170,-487,-664,-686,-640,-571,-453,-351,-235,-98,8,92,158,224,190,72,-31,-100,-117,-103,-86,-134,-261,-327,-285,-215,-192,-159,-144,-143,-112,-53,-4,16,29,-15,-63,-77,-73,-78,-128,-168,-176,-139,-67,-30,-58,-120,-148,-131,-107,-75,-63,-75,-72,0,0,0,0,0,0,0,0,0,0,0,0},{35,-72,89,-131,171,-217,278,-277,5688,12348,2422,-9963,-10891,2471,3995,7709,19468,9406,-1885,1465,-1440,-9817,-9694,-10611,-8901,-3203,-2397,-654,491,2580,3893,2143,2265,2863,2641,319,-395,89,1280,1016,300,-1599,-3352,-2874,-2958,-1452,-397,-276,78,690,31,-1310,-1015,475,1000,-189,-805,-178,473,326,-393,-720,-869,-656,27,376,397,180,-110,-300,-91,-19,-32,-170,-269,-311,-396,-288,105,345,129,-190,-296,-187,-13,123,21,-182,-358,-388,-304,-105,-17,-106,-337,-429,-273,-32,144,87,-87,-138,19,206,308,147,-205,-418,-363,-188,3,24,-141,-286,-241,-38,148,137,-35,-225,-329,-216,-12,99,71,-37,-147,-105,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 40 degrees + {{1,0,-1,-2,-2,-2,-1,0,-2,-1,2,-3,2,-3,11,-6,5,-7,7,1,11,-2,786,2820,1249,-634,-1114,-1618,593,2143,3653,4753,3074,1157,1027,434,-1661,-3345,-2975,-1676,-1802,-1550,-498,-168,335,584,797,1116,1267,1377,1014,529,589,598,53,-378,-855,-1523,-1638,-1214,-1047,-996,-588,-99,-10,-122,-202,-42,65,-60,-126,-139,-78,-48,-216,-496,-637,-708,-701,-532,-389,-327,-192,-45,29,88,149,186,132,32,-43,-97,-127,-134,-122,-183,-286,-299,-265,-217,-163,-112,-113,-128,-94,-45,-4,25,21,-31,-82,-86,-99,-111,-130,-162,-165,-128,-49,-19,-47,-109,-152,-127,-96,-60,-64,-91,0,0,0,0,0,0,0,0,0,0,0,0},{-34,29,-44,29,-14,-12,-14,1559,11178,9197,-5560,-13895,-2848,5594,3864,16488,14894,541,834,1583,-7327,-9892,-9519,-11121,-5170,-2776,-2725,9,1483,3516,3028,3202,2383,2650,2153,-177,-520,1100,1426,-942,-1229,-2052,-2960,-2847,-1738,-730,-427,151,480,-536,-1997,-954,865,1029,216,-381,-56,410,336,-119,-594,-900,-1059,-531,143,438,190,-49,-110,-81,-44,13,67,-153,-371,-376,-287,-10,348,244,-170,-368,-239,-81,39,44,-67,-312,-438,-335,-125,11,-15,-231,-443,-350,-100,129,97,-56,-133,-52,121,274,235,-105,-414,-420,-250,-59,46,-36,-214,-287,-140,89,162,47,-147,-318,-274,-71,70,85,24,-111,-185,-61,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 45 degrees + {{1,2,1,0,-1,-2,-3,1,1,0,1,1,-3,3,-2,11,-5,3,-3,6,5,1,3,610,2475,1320,-400,-976,-1579,427,1859,3306,4521,3036,1209,1156,634,-1337,-2793,-2504,-1493,-1699,-1573,-732,-331,203,634,1107,1438,1442,1048,560,379,396,182,-329,-508,-931,-1375,-1305,-1157,-1070,-763,-358,-108,-34,-96,-205,-120,3,-15,-74,-105,-81,-133,-263,-482,-658,-683,-597,-450,-349,-268,-137,-58,5,74,102,119,109,14,-76,-112,-160,-164,-166,-202,-248,-274,-237,-178,-115,-84,-91,-92,-99,-66,-18,12,6,-47,-87,-110,-124,-122,-127,-144,-152,-111,-41,-10,-42,-103,-129,-113,-88,-74,-78,0,0,0,0,0,0,0,0,0,0,0,0},{-50,67,-110,142,-197,247,-234,6086,13286,2406,-12961,-10324,4752,3796,10223,18572,4940,-93,3418,-2984,-9411,-8973,-11142,-8256,-3115,-3776,-1658,-80,2659,3422,2902,3501,2918,2725,795,296,714,886,-1319,-1364,-1101,-2906,-2615,-2084,-1153,-419,141,278,-949,-2402,-1185,1010,1124,522,-47,87,523,335,72,-343,-801,-1163,-1044,-349,217,142,-37,-33,-60,10,28,222,148,-269,-429,-267,-60,212,260,-47,-327,-353,-225,-49,82,10,-262,-479,-376,-164,24,47,-110,-335,-382,-183,32,115,-12,-147,-140,-5,214,286,30,-348,-470,-331,-144,45,32,-139,-272,-222,6,149,94,-79,-264,-293,-134,24,70,44,-65,-198,-144,10,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 50 degrees + {{0,0,1,0,0,-1,-2,-2,0,-1,0,-1,0,-3,1,1,9,-6,1,1,3,3,-6,10,447,2130,1399,-153,-844,-1551,214,1588,3021,4346,2987,1211,1286,864,-834,-2100,-2212,-1634,-1841,-1574,-615,-298,317,1202,1255,903,986,777,246,9,67,-72,-370,-451,-871,-1111,-1002,-1019,-937,-588,-290,-132,-115,-241,-276,-124,25,53,-58,-161,-135,-184,-329,-465,-523,-576,-524,-373,-296,-253,-150,-74,-43,25,66,84,51,-30,-105,-160,-178,-173,-174,-198,-209,-213,-197,-148,-89,-55,-77,-103,-124,-86,-24,-1,-16,-77,-104,-119,-135,-135,-121,-121,-128,-97,-45,-14,-26,-74,-112,-117,-113,-94,0,0,0,0,0,0,0,0,0,0,0,0},{-1,-5,-10,34,-75,68,1029,10914,11328,-6021,-15764,-2160,6600,4430,17024,12253,-436,3083,1729,-6636,-8793,-9552,-11267,-4950,-3268,-3721,-1092,375,2868,3086,3561,2898,3716,2647,283,1342,1280,-1842,-2254,-76,-2456,-3016,-2102,-1704,-661,113,404,-1275,-2845,-1398,974,1080,785,481,162,453,501,341,-159,-655,-978,-1327,-917,-130,-4,-155,-73,-104,21,84,276,447,36,-315,-290,-133,107,253,28,-245,-395,-344,-185,37,90,-178,-475,-443,-209,-18,85,23,-159,-337,-267,-62,82,82,-102,-232,-149,66,270,194,-176,-452,-411,-245,-34,104,-19,-238,-288,-101,115,151,13,-198,-310,-188,-15,68,59,-25,-167,-210,-48,74,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 55 degrees + {{0,0,0,1,1,0,-1,-1,-1,0,1,1,-1,1,-2,3,4,4,0,0,5,3,1,-4,23,316,1798,1461,91,-699,-1559,-6,1367,2817,4208,2875,1261,1563,1321,-384,-1870,-2345,-1770,-1496,-1261,-370,238,581,662,544,660,583,195,-129,-167,45,6,-281,-448,-638,-653,-763,-972,-807,-505,-345,-258,-268,-343,-283,-47,79,-25,-141,-144,-198,-240,-214,-338,-449,-480,-412,-346,-309,-238,-187,-115,-58,-5,11,13,10,-82,-141,-151,-164,-176,-176,-135,-155,-178,-161,-119,-66,-67,-78,-116,-121,-82,-47,-20,-46,-82,-121,-137,-132,-113,-91,-105,-109,-96,-38,9,-5,-56,-108,-133,-134,0,0,0,0,0,0,0,0,0,0,0,0},{41,-76,102,-117,133,-203,3841,14156,5958,-13365,-12782,4920,5162,8812,18380,4189,103,4445,-1406,-7970,-8225,-10280,-9397,-3720,-4011,-2522,-1307,1080,2684,2892,3653,2983,3928,2133,1832,1634,-1373,-2298,-464,-1559,-3040,-2344,-2485,-1188,87,396,-1167,-3118,-1903,585,1233,904,879,610,385,424,560,253,-453,-812,-1271,-1328,-618,-228,-220,-210,-281,-169,76,335,617,402,-49,-174,-131,-14,186,134,-157,-389,-444,-306,-63,78,-78,-365,-465,-326,-102,73,139,24,-212,-297,-163,19,134,26,-230,-301,-123,136,260,58,-297,-444,-346,-141,69,100,-123,-300,-230,8,159,122,-53,-268,-296,-106,61,96,44,-95,-231,-159,36,112,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 60 degrees + {{-1,-1,-1,0,0,0,0,-2,-1,-2,-2,0,-1,-2,-1,-2,2,2,2,2,-7,14,-9,-2,3,29,203,1502,1493,328,-538,-1614,-241,1198,2703,4061,2881,1633,1877,1350,-585,-1770,-1876,-1460,-1069,-388,49,-407,-131,264,54,48,36,-150,-212,138,224,-32,-147,-144,-281,-430,-664,-925,-826,-576,-418,-392,-404,-332,-199,-77,-56,-89,-124,-168,-144,-109,-157,-266,-339,-391,-404,-357,-316,-289,-202,-118,-102,-77,-52,-42,-57,-87,-120,-147,-169,-158,-121,-105,-123,-144,-139,-111,-78,-72,-87,-114,-118,-95,-73,-55,-66,-105,-128,-116,-107,-97,-91,-96,-103,-73,-8,14,-8,-68,-118,-146,0,0,0,0,0,0,0,0,0,0,0,0},{52,-96,147,-193,240,-121,7443,14900,-1129,-17424,-6411,8380,4104,13781,14466,-464,2646,3580,-3730,-8390,-8009,-10054,-7294,-4025,-4166,-1911,-1071,1496,2352,3140,2953,3660,3684,2193,3225,-196,-2715,-593,-227,-2647,-3069,-2575,-2327,-603,505,-718,-3287,-2614,87,990,1069,1113,1191,779,240,432,636,19,-604,-1100,-1498,-1069,-506,-387,-280,-400,-491,-242,238,691,701,311,22,-2,17,83,119,-14,-295,-484,-475,-231,16,6,-230,-413,-428,-249,-8,155,189,-20,-256,-232,-62,89,139,-99,-347,-326,-69,174,202,-67,-364,-403,-255,-35,122,31,-231,-316,-141,82,167,83,-131,-312,-259,-39,93,117,22,-165,-241,-90,80,99,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 65 degrees + {{0,0,0,0,1,1,2,2,0,1,0,0,2,3,-1,2,2,2,4,6,2,-2,23,-20,6,12,35,133,1260,1485,564,-381,-1738,-491,1172,2799,4223,3111,1565,1333,1151,-37,-1141,-1378,-513,-306,-859,-818,-744,-645,-601,-462,-328,-266,-7,214,315,264,304,117,-15,-41,-286,-770,-1041,-831,-610,-519,-480,-380,-351,-312,-149,-83,-84,-55,-28,-53,-64,-58,-182,-306,-383,-405,-391,-362,-267,-204,-165,-151,-133,-108,-62,-39,-82,-115,-131,-131,-123,-94,-68,-95,-129,-136,-104,-86,-79,-76,-99,-118,-126,-104,-78,-62,-81,-104,-103,-100,-92,-81,-66,-62,-38,-13,-5,-23,-67,-113,0,0,0,0,0,0,0,0,0,0,0,0},{30,-63,108,-163,189,494,10858,13337,-7965,-17943,400,8749,4726,16594,8744,-1373,4510,2259,-5336,-8619,-7572,-9212,-6059,-4523,-3869,-2197,-581,1852,2139,3145,2675,3951,3429,3242,1966,-1876,-952,64,-829,-2698,-3238,-3015,-1859,2,-375,-2691,-3541,-805,617,916,1266,1452,1563,678,137,489,599,-120,-833,-1418,-1414,-850,-561,-382,-440,-689,-636,-187,487,812,681,336,188,153,145,78,34,-112,-393,-552,-484,-159,32,-86,-282,-427,-426,-164,106,236,167,-78,-243,-148,15,161,60,-253,-410,-275,-3,168,141,-166,-389,-339,-143,49,119,-47,-298,-294,-50,157,168,15,-212,-325,-182,27,106,113,-1,-185,-203,-31,80,77,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 70 degrees + {{0,0,0,-1,-1,2,1,1,0,-1,-1,0,0,4,0,-2,3,-2,2,5,4,1,5,15,-31,19,21,38,73,1077,1485,781,-327,-1949,-604,1625,3430,3952,2156,1147,1715,1733,472,-21,-383,-1005,-1072,-1145,-1418,-1564,-1314,-1062,-739,-276,29,210,462,722,564,348,230,158,-35,-454,-944,-1055,-838,-631,-550,-550,-509,-471,-290,-130,-52,32,74,43,15,31,-39,-195,-328,-421,-444,-426,-343,-268,-241,-213,-210,-156,-98,-54,-59,-79,-85,-107,-106,-97,-74,-69,-96,-116,-143,-114,-77,-67,-79,-124,-151,-151,-102,-55,-46,-85,-110,-104,-95,-65,-45,-40,-58,-55,-32,-17,-35,-78,0,0,0,0,0,0,0,0,0,0,0,0},{-8,-3,24,-65,40,1475,13306,10595,-13167,-16057,5727,7643,6310,16803,4008,-432,5532,1366,-6683,-8576,-6896,-8376,-5608,-4634,-3725,-2645,-203,1786,2430,2894,2690,4098,3495,3337,-178,-1597,549,375,-947,-3160,-3126,-2878,-1522,-337,-1925,-3900,-2320,216,300,1062,1622,1927,1528,557,270,530,455,-271,-1090,-1516,-1232,-807,-549,-454,-697,-910,-740,-18,605,773,662,437,352,266,171,58,0,-195,-476,-628,-472,-109,-11,-159,-313,-469,-398,-109,169,273,114,-125,-215,-74,65,150,-50,-387,-429,-215,29,135,65,-245,-415,-280,-70,86,81,-132,-345,-259,34,178,115,-74,-279,-319,-126,56,96,76,-55,-198,-172,-24,57,39,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 75 degrees + {{0,1,0,0,0,-1,1,1,1,0,0,0,0,0,1,-1,-2,1,-3,3,3,4,6,3,-1,-25,47,15,11,52,998,1503,967,-443,-1949,29,2091,2719,2835,2329,1959,2128,2657,1644,-414,-1406,-1121,-1524,-2256,-2040,-1853,-1764,-1090,-292,-80,125,730,1028,802,561,472,188,63,-163,-678,-1046,-995,-779,-706,-708,-678,-555,-376,-197,-59,59,137,154,121,89,13,-95,-273,-396,-451,-465,-405,-331,-292,-287,-255,-195,-127,-91,-63,-54,-58,-62,-62,-92,-124,-98,-56,-79,-137,-133,-89,-85,-98,-110,-142,-153,-109,-78,-71,-70,-87,-98,-84,-50,-47,-52,-55,-61,-60,-47,-42,-57,0,0,0,0,0,0,0,0,0,0,0,0},{-39,53,-53,34,-101,2414,14691,7923,-16470,-13410,9112,6437,7722,15552,1065,803,6269,909,-7775,-8194,-6257,-7854,-5488,-4454,-3843,-2931,46,1441,2597,2978,2760,4173,3847,1956,-1306,-235,822,668,-666,-3348,-3219,-2346,-1141,-1625,-3447,-3704,-1130,75,205,1374,1950,2191,1358,588,481,621,328,-508,-1184,-1379,-1190,-804,-468,-615,-943,-1034,-707,64,594,764,672,545,486,346,189,98,15,-246,-540,-649,-410,-101,-71,-177,-343,-483,-340,-44,194,276,114,-133,-182,-15,115,122,-129,-428,-414,-174,43,160,18,-313,-408,-221,1,105,66,-182,-342,-177,92,165,72,-95,-306,-293,-71,83,110,49,-98,-205,-123,22,58,15,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 80 degrees + {{0,0,1,0,0,-1,-1,0,1,1,1,1,0,-1,-1,2,-2,0,2,-2,3,3,13,0,-9,4,12,35,-4,-5,112,1020,1608,1277,-266,-1847,-647,1605,3241,3194,2695,3095,3270,2072,479,-660,-1928,-2182,-2247,-2613,-2266,-1875,-1451,-719,-110,304,721,1054,1117,835,460,291,126,-64,-452,-790,-973,-1021,-911,-807,-767,-610,-374,-252,-106,64,167,199,225,174,24,-101,-199,-334,-439,-458,-415,-397,-357,-314,-284,-221,-142,-103,-96,-61,-29,-6,-23,-103,-166,-118,-44,-48,-84,-113,-122,-116,-114,-109,-106,-108,-110,-111,-111,-75,-43,-49,-58,-64,-66,-63,-44,-50,-69,-71,-66,-59,0,0,0,0,0,0,0,0,0,0,0,0},{-48,70,-85,79,-172,2850,15190,6321,-17988,-11411,10804,5743,8180,14096,-344,1685,6988,916,-8434,-7694,-5703,-7707,-5522,-4220,-4028,-3201,152,1165,2428,3055,2972,4364,3708,564,-1340,669,749,860,-469,-3063,-3086,-2013,-1118,-2786,-4380,-3144,-658,-303,272,1621,2164,2209,1225,695,700,728,249,-649,-1161,-1254,-1237,-781,-437,-795,-1125,-1112,-642,35,507,747,702,594,566,396,222,166,42,-276,-571,-630,-373,-148,-139,-203,-383,-492,-304,2,196,256,109,-126,-169,12,146,109,-174,-447,-410,-169,44,165,-15,-372,-406,-183,32,108,47,-201,-332,-138,114,155,59,-117,-326,-285,-40,98,85,8,-136,-211,-96,60,56,-21,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 85 degrees + {{0,0,0,0,0,0,-1,-1,0,2,2,1,1,-1,-2,1,2,-2,2,-1,1,5,7,12,-18,7,27,14,-6,4,-17,323,1337,2587,1517,-2583,-3105,733,3503,3675,3578,3937,2767,1947,1514,-204,-2186,-2744,-2313,-2579,-2538,-1806,-1518,-1189,-206,478,618,929,1219,986,539,326,184,-60,-269,-553,-929,-1156,-1086,-889,-756,-575,-384,-291,-143,63,148,198,259,209,22,-122,-174,-275,-394,-419,-425,-442,-411,-340,-273,-232,-165,-111,-118,-93,-3,23,-50,-134,-152,-116,-65,-35,-46,-91,-140,-153,-129,-102,-76,-81,-128,-137,-121,-81,-25,2,-44,-96,-89,-68,-46,-55,-68,-85,-103,-87,0,0,0,0,0,0,0,0,0,0,0,0},{-41,62,-69,56,-140,2583,14997,6313,-18048,-10886,11271,5833,7494,13088,-651,2014,7696,1478,-8537,-7418,-5056,-7780,-5805,-4052,-4075,-3542,67,1086,2161,2965,3025,4651,3262,-228,-744,825,559,1150,-334,-2840,-2595,-1708,-1579,-3498,-4454,-2805,-921,-453,406,1609,2278,2154,1091,801,929,889,254,-643,-1065,-1217,-1273,-745,-501,-916,-1213,-1161,-604,-35,391,698,724,610,606,440,274,245,106,-256,-575,-600,-351,-201,-185,-244,-423,-482,-286,11,188,261,96,-126,-149,31,162,118,-176,-460,-406,-154,38,137,-44,-375,-399,-168,44,101,45,-206,-327,-118,141,164,58,-131,-332,-266,-26,80,50,-19,-147,-206,-81,68,51,-41,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 90 degrees + {{0,0,0,0,0,-1,0,-1,2,2,0,1,-1,-1,-2,-1,2,0,-2,-1,-1,7,0,10,-5,-7,30,26,-24,-8,-7,244,1579,2617,1400,-2603,-3422,650,3267,4361,4191,2888,2501,2710,1262,-908,-1704,-2319,-2747,-2423,-2007,-1910,-1591,-952,-368,224,591,868,952,906,719,394,106,1,-112,-523,-973,-1150,-1088,-918,-684,-485,-366,-301,-135,37,133,176,197,133,0,-104,-176,-247,-331,-383,-427,-465,-416,-328,-257,-208,-179,-131,-124,-78,-10,-22,-104,-138,-105,-100,-71,-36,-42,-90,-143,-151,-125,-74,-63,-100,-142,-136,-89,-62,-11,0,-45,-97,-102,-74,-54,-54,-85,-112,-111,-87,0,0,0,0,0,0,0,0,0,0,0,0},{-16,14,-3,-35,-13,1711,14030,7876,-16766,-11818,10596,6689,5885,12484,22,1653,8328,2656,-8007,-7585,-4286,-7741,-6410,-4097,-3964,-3892,-298,1140,1946,2792,2831,4628,3004,-293,-205,659,396,1277,-53,-2625,-2291,-1448,-1882,-3802,-4267,-2653,-1360,-611,424,1516,2186,2077,1063,791,1064,1165,363,-595,-896,-1179,-1295,-775,-575,-967,-1239,-1185,-633,-135,264,606,700,610,617,481,339,299,203,-177,-557,-571,-370,-240,-226,-290,-465,-504,-286,5,170,247,102,-123,-153,58,179,120,-161,-435,-398,-181,21,100,-64,-357,-385,-174,37,90,31,-209,-317,-104,158,176,52,-118,-310,-268,-51,47,9,-33,-132,-208,-99,53,42,-27,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 95 degrees + {{1,0,0,0,-1,-1,0,0,0,1,1,0,-1,-2,1,0,1,1,-1,-2,0,6,1,4,0,10,4,40,-16,-12,49,907,2103,1438,-105,-2130,-2187,1234,4129,4244,2855,2393,2773,2339,484,-1280,-1769,-1821,-2105,-2292,-1832,-1444,-1267,-868,-283,57,315,638,721,735,630,442,191,28,-175,-583,-980,-1124,-974,-769,-595,-429,-287,-208,-139,9,144,120,50,-1,-50,-102,-164,-221,-303,-371,-412,-435,-374,-288,-226,-196,-170,-144,-106,-72,-77,-92,-119,-115,-89,-75,-63,-50,-61,-115,-144,-118,-79,-63,-88,-125,-142,-108,-49,-21,-18,-37,-57,-83,-100,-80,-61,-80,-126,-125,-82,-59,0,0,0,0,0,0,0,0,0,0,0,0},{26,-54,93,-153,172,619,11979,10566,-13869,-13816,8551,8224,3918,11652,1909,646,8520,4513,-6659,-8240,-3609,-7199,-7273,-4464,-3782,-4118,-973,1208,1852,2607,2528,4244,2957,155,135,445,348,1191,269,-2221,-2231,-1483,-1924,-3529,-4077,-2785,-1642,-690,238,1320,1994,1963,1129,725,1096,1413,610,-474,-744,-1037,-1273,-888,-645,-966,-1209,-1182,-697,-249,148,499,632,602,615,519,400,368,299,-66,-489,-553,-397,-261,-245,-318,-486,-521,-319,-15,141,225,137,-82,-146,56,194,134,-116,-381,-385,-220,-13,73,-48,-320,-371,-171,18,72,15,-175,-287,-102,158,178,78,-63,-262,-286,-106,30,1,-36,-124,-203,-121,39,71,7,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 100 degrees + {{1,1,0,0,0,0,1,2,2,1,0,-1,0,0,1,2,3,1,0,1,4,3,6,2,1,14,17,2,28,29,679,1813,1250,67,-861,-1943,-352,3222,4479,2767,1705,2644,2463,849,-335,-1197,-1808,-1690,-1396,-1574,-1641,-1024,-561,-621,-331,79,74,162,499,550,392,353,315,24,-426,-708,-875,-989,-845,-588,-449,-354,-184,-79,-83,2,101,26,-106,-128,-141,-151,-149,-214,-307,-380,-374,-322,-294,-240,-190,-185,-155,-105,-99,-141,-145,-99,-103,-114,-86,-61,-58,-71,-95,-133,-113,-69,-50,-74,-112,-121,-114,-72,-26,-3,-22,-63,-76,-78,-79,-84,-100,-125,-132,-99,-57,-38,0,0,0,0,0,0,0,0,0,0,0,0},{60,-105,157,-223,281,-172,8655,13247,-8807,-15957,4776,9954,2440,9696,5005,-308,7594,6789,-4138,-9103,-3544,-5828,-8188,-5227,-3618,-4220,-1916,1114,1873,2413,2172,3696,3018,721,452,283,319,1026,616,-1691,-2298,-1671,-2003,-2961,-3651,-3070,-2012,-671,99,931,1679,1824,1246,701,1016,1467,926,-215,-609,-863,-1173,-1027,-739,-914,-1157,-1172,-787,-366,18,374,544,543,583,568,442,409,379,58,-388,-524,-440,-304,-268,-317,-484,-541,-381,-83,89,183,164,-21,-117,16,175,145,-47,-320,-394,-264,-68,45,-20,-256,-365,-211,-15,39,14,-132,-262,-137,114,188,107,-1,-219,-298,-162,-6,-11,-56,-134,-212,-129,34,93,19,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 105 degrees + {{0,0,0,0,0,1,1,1,1,0,-1,-1,-2,0,0,0,0,0,-2,4,1,3,-2,9,-2,12,12,6,35,639,1751,1147,-139,-458,-1199,-975,2168,4576,2974,1526,2380,2057,764,-25,-1030,-1615,-1287,-1246,-1447,-1020,-552,-559,-409,43,-91,-275,-21,20,18,181,289,246,90,-143,-537,-831,-794,-695,-664,-523,-313,-184,-55,10,25,25,-41,-111,-202,-254,-261,-232,-196,-269,-362,-327,-263,-238,-191,-188,-191,-159,-112,-108,-168,-174,-140,-122,-113,-111,-100,-85,-82,-111,-131,-108,-65,-50,-77,-93,-101,-108,-75,-48,-36,-26,-32,-65,-101,-83,-77,-119,-143,-138,-108,-73,-59,-55,0,0,0,0,0,0,0,0,0,0,0,0},{54,-88,119,-148,177,-290,4609,14137,-1530,-16640,-865,10882,2520,6178,8335,141,5226,8619,-262,-9249,-4764,-3801,-8490,-6569,-3537,-4081,-3073,675,2012,2239,1827,3084,3170,1185,798,327,159,849,936,-978,-2385,-1945,-2045,-2554,-3051,-3095,-2467,-863,127,598,1231,1569,1401,799,865,1333,1168,181,-421,-689,-1027,-1101,-836,-858,-1077,-1153,-868,-467,-110,244,455,475,507,617,501,411,410,203,-243,-474,-465,-364,-301,-293,-423,-546,-450,-175,21,124,181,59,-71,-14,141,152,27,-242,-401,-306,-106,15,9,-168,-326,-271,-72,29,13,-69,-226,-186,42,206,148,32,-146,-272,-188,-58,-47,-93,-123,-170,-122,27,86,20,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 110 degrees + {{0,0,0,0,1,2,2,0,1,0,-1,0,-2,0,1,-1,0,0,2,0,5,-4,8,-1,11,-1,15,25,569,1831,1241,-342,-505,-789,-886,1740,4218,2908,1593,2319,2064,624,-344,-1006,-1622,-1524,-1004,-1052,-1124,-508,88,150,104,198,140,-182,-200,-97,-291,-208,118,25,-307,-461,-605,-745,-665,-476,-438,-431,-232,-4,103,134,103,-11,-145,-230,-293,-342,-360,-319,-357,-402,-295,-209,-154,-150,-135,-135,-148,-114,-123,-161,-163,-125,-145,-159,-120,-98,-120,-146,-131,-134,-112,-53,-41,-58,-88,-97,-81,-65,-46,-42,-54,-51,-51,-69,-90,-108,-118,-133,-141,-116,-79,-66,-75,-88,0,0,0,0,0,0,0,0,0,0,0,0},{1,5,-24,45,-89,73,1179,11669,6568,-13604,-7636,9349,4715,1815,9811,3247,2152,8678,4420,-7235,-7199,-2299,-7224,-8337,-4061,-3503,-4147,-505,2151,2173,1482,2408,3351,1576,1021,731,-3,514,1126,-116,-2182,-2347,-2070,-2323,-2651,-2781,-2662,-1402,28,469,825,1195,1418,996,743,1075,1250,574,-143,-513,-850,-1090,-919,-829,-1018,-1096,-938,-558,-260,102,350,424,429,562,563,395,377,310,-53,-398,-482,-401,-351,-298,-346,-496,-510,-307,-58,38,147,122,-16,-36,95,148,60,-163,-373,-350,-151,-19,8,-87,-273,-301,-153,0,6,-29,-166,-237,-47,167,173,55,-67,-208,-225,-133,-109,-120,-93,-108,-126,-35,53,-3,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 115 degrees + {{-1,0,0,1,2,2,1,0,-1,-1,-2,-1,-2,0,-2,0,-2,2,-2,4,-5,2,6,9,-5,14,12,523,1918,1387,-456,-637,-616,-801,1587,4242,2984,1340,2104,2171,548,-379,-970,-2010,-1810,-953,-1145,-1161,-249,144,134,659,836,270,37,225,-88,-484,-384,-277,-354,-487,-622,-739,-703,-553,-431,-348,-301,-229,-108,81,266,251,77,-81,-181,-298,-395,-401,-427,-550,-518,-353,-226,-100,-88,-101,-83,-77,-95,-145,-137,-99,-111,-148,-179,-157,-110,-130,-188,-203,-166,-117,-62,-37,-49,-64,-81,-70,-63,-44,-36,-53,-62,-75,-79,-89,-108,-130,-141,-128,-108,-86,-77,-79,-102,-149,0,0,0,0,0,0,0,0,0,0,0,0},{-48,76,-109,138,-191,237,-230,6407,11724,-5728,-12602,4012,7820,-802,7195,8312,812,6131,8106,-2421,-8990,-3035,-4428,-9274,-5743,-2859,-4404,-2377,1785,2387,1216,1673,3355,2134,930,1304,276,-3,1002,689,-1523,-2592,-2194,-2192,-2513,-2450,-2374,-1940,-429,393,601,885,1249,1138,734,833,1183,870,129,-274,-633,-961,-968,-835,-942,-1025,-939,-637,-388,-80,265,402,389,463,546,408,316,347,133,-275,-453,-402,-365,-331,-290,-401,-497,-408,-156,-36,63,149,51,-35,53,138,66,-86,-281,-345,-220,-54,4,-26,-182,-289,-193,-39,13,-26,-106,-211,-132,96,157,88,15,-120,-242,-213,-111,-105,-71,-67,-128,-99,-10,-11,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 120 degrees + {{-1,-1,2,1,2,1,0,-1,-1,-2,0,-1,-1,-2,-1,0,2,0,3,-2,1,-2,14,4,2,13,475,2002,1611,-543,-835,-524,-687,1542,4324,3088,1293,2081,2092,271,-518,-851,-2029,-2125,-1219,-1104,-1250,-543,235,404,610,886,796,501,379,274,-66,-392,-395,-478,-863,-1009,-941,-869,-672,-411,-283,-236,-141,-37,48,213,326,215,10,-94,-188,-346,-400,-528,-666,-605,-475,-284,-170,-104,-59,-42,-37,-79,-87,-79,-48,-66,-124,-191,-180,-124,-153,-201,-238,-214,-146,-82,-45,-48,-58,-54,-54,-48,-34,-35,-45,-64,-78,-94,-111,-130,-132,-131,-129,-98,-74,-69,-85,-112,-155,-174,0,0,0,0,0,0,0,0,0,0,0,0},{-22,16,-19,5,4,-36,-2,1569,10764,4293,-11783,-3940,8364,722,1257,11325,3835,2196,8719,3651,-7452,-5960,-2160,-7876,-8083,-3222,-3617,-4066,326,2621,1186,998,2901,2841,949,1318,1163,-202,400,1101,-517,-2400,-2378,-2117,-2501,-2428,-1921,-1967,-1165,104,474,684,1035,1134,758,665,1008,1023,361,-94,-348,-736,-944,-888,-863,-941,-918,-699,-479,-258,108,376,380,367,467,376,253,290,246,-122,-379,-376,-349,-344,-297,-324,-434,-427,-264,-136,-50,104,98,-19,-3,97,63,-42,-177,-287,-266,-136,-32,-14,-93,-216,-201,-74,-19,-47,-85,-152,-162,-25,100,85,42,-56,-193,-231,-137,-80,-92,-82,-123,-160,-105,-28,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 125 degrees + {{0,1,1,1,1,1,-1,0,-1,-1,-1,-1,-2,0,-1,4,-1,3,-3,0,0,6,11,4,10,431,2082,1853,-581,-1036,-542,-636,1587,4531,3231,1224,2084,2161,203,-829,-1082,-2061,-2312,-1394,-1088,-1319,-701,164,284,608,1102,834,461,687,776,241,-100,-51,-361,-960,-1258,-1313,-1182,-883,-555,-372,-262,-108,41,163,254,310,206,54,-4,-86,-205,-351,-575,-673,-656,-531,-348,-275,-210,-105,-40,-67,-73,2,53,6,-34,-99,-182,-161,-146,-194,-239,-238,-223,-188,-114,-51,-57,-80,-53,-40,-44,-27,-5,-24,-61,-89,-112,-132,-133,-143,-159,-132,-89,-58,-49,-73,-124,-169,-169,-115,0,0,0,0,0,0,0,0,0,0,0,0},{25,-52,65,-90,111,-152,188,-182,5180,10311,-3817,-9821,3575,4764,-2856,7847,10133,815,5517,8008,-1943,-7995,-2930,-4520,-9116,-5279,-2700,-4468,-2027,2201,1502,485,2157,3113,1656,862,1682,572,-204,763,462,-1593,-2475,-2113,-2361,-2623,-1935,-1487,-1523,-554,295,543,852,1073,831,548,771,1001,596,64,-131,-444,-808,-894,-799,-847,-875,-734,-509,-374,-101,257,402,330,372,357,173,174,258,44,-272,-312,-304,-337,-296,-256,-353,-405,-315,-207,-163,-19,101,30,-41,29,57,-23,-90,-183,-247,-204,-109,-46,-15,-71,-147,-117,-60,-71,-73,-89,-150,-133,4,63,20,3,-80,-179,-165,-108,-123,-120,-120,-174,-159,-36,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 130 degrees + {{0,1,2,1,0,-1,-1,-1,0,0,0,-2,0,0,2,0,4,-2,0,-1,4,10,6,14,383,2171,2110,-585,-1247,-571,-608,1567,4781,3484,1215,2084,2241,111,-1043,-1104,-2212,-2774,-1659,-1034,-1287,-729,156,268,485,960,956,560,535,747,607,364,213,-27,-603,-1188,-1488,-1450,-1154,-801,-572,-417,-194,-7,201,410,433,205,-4,-26,-16,-97,-355,-512,-577,-622,-501,-412,-345,-271,-191,-172,-175,-59,102,125,75,50,-71,-164,-176,-149,-183,-272,-266,-225,-201,-134,-56,-58,-83,-79,-78,-55,-3,19,-12,-46,-77,-122,-147,-143,-152,-168,-159,-109,-53,-27,-50,-116,-167,-166,-113,-55,0,0,0,0,0,0,0,0,0,0,0,0},{5,-3,-13,22,-43,65,-106,113,616,8125,6206,-7861,-4350,5430,-850,-54,12401,5904,1100,7826,4660,-5431,-6025,-2496,-7090,-7850,-3335,-3472,-3945,389,1987,232,1358,2815,2460,1060,1233,1479,132,17,673,-367,-2152,-2178,-2147,-2643,-2361,-1396,-1224,-1052,-139,371,671,999,957,527,527,792,680,268,33,-207,-590,-823,-744,-748,-819,-720,-522,-393,-281,32,337,377,293,311,172,57,133,132,-118,-279,-251,-293,-307,-220,-239,-352,-339,-232,-215,-165,-4,69,-15,-53,7,-16,-46,-92,-183,-229,-185,-95,0,44,-38,-118,-96,-83,-96,-71,-103,-178,-123,14,27,14,11,-90,-184,-175,-160,-177,-142,-112,-121,-59,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 135 degrees + {{0,1,0,-1,-2,-2,-3,-2,-1,-2,-4,-2,-4,0,-2,1,-4,-5,-2,-6,12,-1,21,336,2240,2418,-585,-1490,-624,-578,1584,5014,3732,1212,2178,2374,16,-1322,-1247,-2159,-2982,-2111,-1366,-1279,-665,176,455,501,808,928,541,422,669,550,398,507,361,-284,-905,-1250,-1414,-1308,-983,-783,-684,-417,-102,151,370,498,373,60,-88,-56,-189,-350,-409,-524,-502,-420,-410,-356,-280,-264,-334,-298,-57,123,142,117,67,7,-118,-192,-167,-209,-258,-266,-261,-224,-135,-66,-59,-70,-102,-116,-97,-29,34,10,-53,-97,-118,-132,-139,-163,-188,-177,-133,-66,-30,-52,-108,-149,-145,-119,-75,-57,0,0,0,0,0,0,0,0,0,0,0,0},{-13,26,-38,32,-40,39,-48,42,-84,2289,9045,1454,-7650,1,2861,-3341,5607,12520,2291,3251,7772,1003,-6308,-4180,-3798,-7967,-5733,-2890,-4028,-2247,1449,563,378,2270,2631,1863,958,1441,1037,7,144,423,-1139,-2129,-1866,-2439,-2694,-1908,-1028,-1060,-637,106,444,792,1062,706,329,525,606,379,152,24,-278,-684,-754,-601,-682,-719,-542,-382,-354,-228,109,344,286,223,197,40,14,88,-11,-181,-218,-210,-278,-263,-173,-218,-303,-282,-243,-234,-137,-4,-2,-71,-62,-40,-55,-42,-83,-185,-215,-137,-29,70,62,-42,-101,-102,-116,-114,-75,-138,-182,-89,16,27,21,-30,-167,-226,-216,-198,-136,-59,-48,-65,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 140 degrees + {{3,0,0,-1,-2,0,0,0,0,-2,-2,-1,2,0,2,-1,-3,2,-7,13,-1,30,302,2339,2724,-581,-1729,-686,-565,1637,5333,3986,1154,2256,2596,-46,-1595,-1432,-2212,-3086,-2363,-1590,-1491,-843,241,653,674,879,895,556,345,463,420,357,479,416,-39,-560,-967,-1184,-1080,-897,-852,-869,-681,-280,60,307,430,350,169,66,-128,-347,-340,-380,-433,-439,-393,-307,-264,-256,-347,-375,-244,-87,35,132,126,76,7,-94,-129,-146,-198,-247,-275,-272,-224,-134,-46,-31,-84,-111,-115,-93,-39,11,2,-54,-100,-127,-117,-111,-139,-173,-174,-129,-68,-27,-63,-110,-121,-121,-111,-74,-34,-61,0,0,0,0,0,0,0,0,0,0,0,0},{10,-14,27,-43,50,-67,86,-115,142,-97,4090,8108,-1691,-5477,1212,-397,-1949,10010,9917,951,5032,6187,-1392,-5892,-3516,-5164,-7309,-4278,-3183,-3596,-707,893,-117,1274,2439,2322,1497,1041,1357,688,-41,214,1,-1524,-1770,-1937,-2610,-2508,-1529,-807,-875,-333,322,601,815,957,584,231,310,378,255,96,14,-355,-699,-609,-486,-607,-565,-389,-345,-353,-179,152,272,200,174,109,-21,-13,18,-81,-166,-173,-226,-277,-195,-125,-182,-240,-260,-263,-227,-112,-26,-69,-110,-93,-83,-43,2,-73,-200,-191,-60,62,110,30,-72,-97,-97,-130,-117,-78,-140,-150,-64,8,-7,-34,-103,-221,-239,-184,-124,-59,-14,-33,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 145 degrees + {{1,0,-2,-2,-1,-1,0,1,-2,-2,0,1,1,2,-1,-4,5,-11,16,-9,39,260,2436,3083,-603,-2019,-722,-561,1675,5689,4287,1070,2307,2840,-123,-1849,-1611,-2289,-3208,-2585,-1810,-1636,-915,96,635,896,1062,923,645,403,310,241,206,353,362,-84,-541,-760,-893,-829,-654,-608,-791,-809,-450,-83,180,338,302,132,-59,-161,-196,-363,-454,-396,-423,-408,-258,-169,-259,-343,-264,-179,-115,42,96,41,25,-28,-107,-138,-106,-136,-224,-280,-277,-238,-142,-23,-14,-76,-124,-123,-93,-25,18,-27,-97,-137,-139,-120,-100,-111,-157,-174,-122,-40,-17,-70,-122,-133,-119,-100,-69,-41,-37,-67,0,0,0,0,0,0,0,0,0,0,0,0},{3,4,-1,9,-24,35,-52,74,-108,133,183,5400,6399,-2910,-3763,399,-1978,1083,11855,7080,1087,5604,4498,-2628,-5349,-3592,-5754,-6210,-3686,-3280,-2646,-306,124,226,1749,2347,2105,1253,1102,1154,377,10,168,-447,-1353,-1657,-2176,-2518,-2220,-1299,-752,-591,-33,467,662,764,887,573,58,-55,239,276,77,-91,-403,-565,-483,-467,-508,-427,-346,-352,-378,-148,177,216,119,134,85,-55,-79,-32,-79,-167,-202,-246,-245,-140,-82,-143,-213,-267,-276,-219,-98,-42,-115,-166,-122,-63,-9,-5,-104,-176,-122,-7,80,88,5,-75,-92,-102,-139,-100,-66,-125,-144,-98,-69,-63,-54,-130,-209,-190,-139,-94,-34,-12,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 150 degrees + {{0,-1,-2,-1,-1,0,1,-3,-1,0,1,2,0,2,-8,8,-12,17,-17,49,208,2517,3507,-587,-2392,-775,-522,1679,6077,4638,991,2327,3136,-162,-2209,-1782,-2373,-3313,-2733,-2043,-1840,-978,96,618,899,1199,1069,697,511,360,125,46,243,212,-259,-658,-787,-841,-673,-375,-347,-540,-570,-385,-193,37,262,267,-40,-256,-192,-240,-288,-313,-466,-554,-385,-203,-226,-273,-160,-108,-200,-93,103,122,2,-81,-101,-164,-174,-93,-114,-204,-234,-264,-246,-132,-18,-15,-79,-116,-121,-89,-25,16,-32,-110,-177,-197,-143,-85,-90,-147,-167,-108,-25,10,-40,-120,-150,-127,-91,-57,-44,-47,-57,-59,0,0,0,0,0,0,0,0,0,0,0,0},{-3,7,-5,9,-11,-1,4,-17,27,-53,53,661,6005,4924,-3103,-3276,-598,-1897,3770,11910,5105,1456,5418,3325,-3268,-4977,-3795,-5651,-5356,-3499,-2910,-2081,-574,2,617,1888,2303,1847,1126,1067,891,212,103,-62,-560,-1100,-1773,-2334,-2360,-1832,-1173,-753,-287,221,483,597,821,883,432,-159,-219,116,234,148,-173,-459,-463,-376,-457,-465,-366,-349,-386,-360,-79,163,172,97,132,55,-134,-132,-53,-87,-184,-237,-247,-199,-86,-68,-138,-230,-271,-258,-204,-85,-50,-113,-173,-157,-87,-7,-14,-112,-145,-86,-4,67,86,14,-75,-107,-127,-125,-45,-50,-160,-211,-155,-88,-54,-46,-115,-166,-165,-146,-104,-44,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 155 degrees + {{-3,-2,-1,-2,-1,0,-3,-2,-2,0,2,-2,1,-11,10,-19,22,-30,57,158,2556,3979,-503,-2823,-870,-493,1660,6509,5049,897,2318,3441,-131,-2572,-2035,-2485,-3440,-2826,-2174,-2105,-1117,116,662,901,1290,1213,683,613,470,62,-12,211,90,-454,-875,-972,-890,-686,-366,-207,-209,-235,-185,-45,122,236,46,-235,-243,-261,-389,-338,-299,-442,-542,-467,-344,-244,-75,-36,-147,-143,8,133,102,2,-67,-162,-270,-209,-113,-159,-209,-215,-224,-214,-130,-24,-10,-66,-118,-138,-98,-12,16,-50,-128,-194,-235,-174,-83,-90,-167,-178,-92,2,40,-29,-123,-142,-104,-82,-73,-50,-56,-72,-60,-44,0,0,0,0,0,0,0,0,0,0,0,0},{0,-3,10,-7,15,-21,15,-17,14,-14,8,-19,1160,6154,3975,-3273,-3435,-927,-1165,5555,11298,3840,1574,5108,2576,-3683,-4733,-3782,-5266,-4907,-3223,-2447,-2087,-691,152,806,2037,2170,1645,998,932,750,203,-48,-113,-443,-1119,-1800,-2453,-2159,-1412,-1026,-761,-93,418,391,574,930,793,199,-184,-196,-23,185,151,-203,-491,-474,-380,-410,-436,-397,-333,-358,-286,-38,190,201,99,87,-38,-177,-156,-79,-94,-180,-235,-260,-178,-58,-60,-151,-257,-256,-209,-147,-65,-34,-89,-182,-185,-121,-41,-48,-101,-96,-53,-7,44,81,28,-65,-136,-146,-76,-11,-79,-215,-235,-146,-74,-27,-16,-83,-163,-187,-172,-129,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 160 degrees + {{-3,0,-1,-1,0,-2,-4,1,0,4,-2,5,-15,15,-21,27,-35,62,107,2534,4491,-279,-3306,-1020,-447,1545,6942,5587,811,2258,3764,-21,-2917,-2309,-2616,-3618,-2938,-2219,-2298,-1325,69,758,963,1232,1420,830,544,579,99,-131,206,186,-590,-1143,-1142,-1060,-838,-420,-210,-146,35,130,172,383,329,-56,-237,-282,-352,-446,-424,-393,-506,-583,-546,-408,-137,44,-53,-118,-59,50,147,118,20,-68,-152,-246,-289,-197,-153,-225,-237,-228,-195,-91,17,17,-77,-131,-121,-91,-29,17,-49,-145,-206,-221,-175,-104,-93,-157,-191,-124,2,84,32,-95,-145,-104,-61,-42,-42,-78,-98,-64,-22,-50,0,0,0,0,0,0,0,0,0,0,0,0},{-8,3,-4,9,-7,15,-23,19,-27,25,-35,38,-50,1563,6134,3307,-3718,-3503,-733,-467,6655,10541,2850,1523,4955,1999,-4016,-4426,-3545,-4986,-4623,-2731,-2316,-2250,-531,211,1026,2095,1973,1487,791,849,796,76,-264,63,-380,-1245,-1897,-2300,-1894,-1289,-791,-563,-63,382,367,587,944,667,46,-104,-30,-61,-43,22,-175,-550,-622,-450,-389,-387,-341,-314,-299,-186,59,217,174,95,10,-140,-225,-138,-63,-121,-200,-260,-280,-197,-54,-46,-160,-222,-210,-186,-125,-23,-1,-106,-194,-212,-171,-99,-55,-60,-93,-74,-17,55,77,8,-81,-143,-137,-84,-24,-74,-206,-227,-144,-47,8,-7,-106,-212,-234,-207,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 165 degrees + {{-1,-1,-1,0,-3,-3,1,0,5,-4,7,-18,14,-23,30,-40,61,66,2464,4996,82,-3815,-1267,-385,1360,7350,6257,760,2145,4079,117,-3227,-2618,-2776,-3795,-3102,-2259,-2433,-1524,-23,793,1156,1209,1368,1084,639,595,144,-265,141,275,-541,-1293,-1427,-1231,-968,-612,-278,-90,66,198,461,563,394,241,-50,-348,-404,-460,-532,-471,-577,-781,-699,-268,10,-46,-66,-34,-39,20,147,170,37,-61,-117,-248,-309,-210,-195,-266,-252,-244,-225,-98,58,59,-68,-131,-137,-112,-33,5,-52,-154,-213,-223,-168,-98,-101,-167,-205,-136,-20,60,53,-30,-104,-114,-77,-30,-15,-69,-137,-125,-50,-23,-68,0,0,0,0,0,0,0,0,0,0,0,0},{-1,-6,1,-2,7,-6,12,-20,15,-29,30,-40,47,-38,1848,6083,2665,-4235,-3210,-428,36,7359,9698,2007,1547,4898,1429,-4176,-3963,-3318,-4868,-4193,-2329,-2512,-2183,-382,269,1268,1992,1844,1259,602,969,791,-187,-266,153,-366,-1301,-1992,-1965,-1722,-1274,-507,-248,-118,174,406,634,839,597,143,-39,43,-1,-251,-254,-305,-611,-730,-565,-347,-248,-235,-214,-211,-121,119,251,126,27,-23,-184,-232,-118,-59,-163,-258,-298,-313,-193,-29,10,-93,-182,-206,-181,-82,21,3,-134,-213,-213,-178,-105,-76,-92,-107,-81,-11,81,93,-20,-133,-164,-117,-44,5,-69,-183,-191,-117,-33,3,-45,-168,-246,-237,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 170 degrees + {{-3,0,-1,-3,-5,1,-1,6,-5,7,-18,14,-25,30,-42,60,32,2367,5428,570,-4246,-1603,-314,1118,7661,7003,799,1979,4384,292,-3547,-2870,-2974,-4014,-3221,-2301,-2535,-1698,-156,739,1340,1397,1234,1082,886,689,212,-313,-59,321,-394,-1382,-1623,-1458,-1158,-674,-359,-198,63,323,362,494,728,523,80,-153,-300,-515,-522,-502,-769,-956,-629,-205,-129,-53,17,-18,-90,-33,158,177,75,6,-97,-268,-306,-184,-171,-273,-320,-297,-227,-80,67,41,-71,-113,-119,-117,-72,-24,-51,-127,-204,-234,-185,-90,-74,-158,-211,-153,-24,73,56,-44,-116,-101,-40,1,-8,-74,-157,-164,-84,-35,-53,-122,0,0,0,0,0,0,0,0,0,0,0,0},{0,-1,-5,2,-1,7,-5,11,-20,15,-26,31,-39,52,-13,2066,5983,1934,-4545,-2655,-272,446,7756,8758,1393,1677,4771,919,-4080,-3498,-3244,-4647,-3692,-2262,-2638,-1980,-335,421,1393,1865,1673,952,665,1131,545,-326,-212,162,-309,-1330,-1939,-1795,-1542,-1069,-401,-115,-45,44,351,668,780,620,265,-26,-11,-31,-350,-541,-631,-724,-686,-505,-313,-169,-68,-63,-141,-116,106,244,117,10,-45,-189,-255,-139,-77,-213,-325,-337,-299,-139,36,33,-74,-150,-173,-157,-75,26,-12,-125,-215,-231,-175,-103,-71,-129,-148,-93,15,110,61,-69,-164,-140,-64,10,25,-76,-149,-159,-105,-65,-43,-71,-178,-236,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 175 degrees + {{0,0,-4,-5,2,-3,6,-7,8,-20,15,-26,28,-42,54,9,2234,5765,1203,-4528,-2081,-258,809,7826,7842,1017,1810,4592,568,-3840,-3167,-3140,-4305,-3401,-2293,-2612,-1836,-271,597,1421,1687,1377,870,928,983,264,-300,-166,207,-294,-1348,-1819,-1662,-1335,-817,-394,-180,55,157,289,623,785,595,269,-23,-161,-279,-426,-624,-883,-822,-571,-402,-257,-81,54,1,-139,-97,116,217,129,23,-92,-223,-272,-184,-126,-244,-341,-345,-266,-80,53,49,-71,-142,-132,-125,-66,-15,-39,-127,-198,-235,-197,-88,-66,-135,-197,-133,10,90,41,-72,-135,-114,-45,24,32,-61,-165,-183,-110,-46,-44,-99,-187,0,0,0,0,0,0,0,0,0,0,0,0},{0,0,-4,-5,2,-3,6,-7,8,-20,15,-26,28,-42,54,9,2234,5765,1203,-4528,-2081,-258,809,7826,7842,1017,1810,4592,568,-3840,-3167,-3140,-4305,-3401,-2293,-2612,-1836,-271,597,1421,1687,1377,870,928,983,264,-300,-166,207,-294,-1348,-1819,-1662,-1335,-817,-394,-180,55,157,289,623,785,595,269,-23,-161,-279,-426,-624,-883,-822,-571,-402,-257,-81,54,1,-139,-97,116,217,129,23,-92,-223,-272,-184,-126,-244,-341,-345,-266,-80,53,49,-71,-142,-132,-125,-66,-15,-39,-127,-198,-235,-197,-88,-66,-135,-197,-133,10,90,41,-72,-135,-114,-45,24,32,-61,-165,-183,-110,-46,-44,-99,-187,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 180 degrees +}; +inline constexpr std::int16_t pcm44100_p30[31][2][hrir::taps]={ + {{5,6,-7,20,-39,55,-86,127,-163,207,93,5125,5683,-325,-3557,-7833,1643,5327,6140,12244,5368,-2342,1542,1864,-6291,-7851,-6563,-4757,-3265,-2425,-783,-732,1418,2826,1586,2088,2401,1556,1074,484,-603,-33,-310,-476,-275,-1016,-1580,-1681,-1244,-800,-212,-103,24,683,1268,1233,1059,907,37,-1098,-1612,-1562,-1192,-1252,-1445,-1205,-574,32,174,120,112,197,120,187,365,400,168,-141,-318,-402,-499,-483,-342,-299,-345,-312,-157,47,212,176,-2,-147,-140,-82,2,59,-23,-243,-341,-249,-151,-94,-139,-235,-257,-138,29,146,113,-44,-164,-173,-122,-66,-64,-138,-203,-180,-99,19,91,47,-49,-102,-62,3,33,-9,0,0,0,0,0,0,0,0,0,0,0,0},{5,6,-7,20,-39,55,-86,127,-163,207,93,5125,5683,-325,-3557,-7833,1643,5327,6140,12244,5368,-2342,1542,1864,-6291,-7851,-6563,-4757,-3265,-2425,-783,-732,1418,2826,1586,2088,2401,1556,1074,484,-603,-33,-310,-476,-275,-1016,-1580,-1681,-1244,-800,-212,-103,24,683,1268,1233,1059,907,37,-1098,-1612,-1562,-1192,-1252,-1445,-1205,-574,32,174,120,112,197,120,187,365,400,168,-141,-318,-402,-499,-483,-342,-299,-345,-312,-157,47,212,176,-2,-147,-140,-82,2,59,-23,-243,-341,-249,-151,-94,-139,-235,-257,-138,29,146,113,-44,-164,-173,-122,-66,-64,-138,-203,-180,-99,19,91,47,-49,-102,-62,3,33,-9,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 0 degrees + {{-3,15,-5,16,-8,4,7,-15,51,-59,93,775,5641,3564,-726,-4460,-5478,3075,3840,7762,10372,2664,-1023,2484,31,-5909,-6852,-6342,-3684,-2836,-2404,-877,-191,1627,2070,1733,2116,1956,1461,986,-117,-328,325,-368,-204,-323,-1122,-1616,-1549,-1077,-514,-125,-85,528,1123,802,691,883,398,-449,-1155,-1373,-1177,-939,-1066,-1145,-1018,-471,2,-50,-50,95,154,45,135,318,343,120,-147,-343,-438,-436,-369,-279,-239,-244,-166,-60,70,154,76,-69,-148,-103,-61,-10,32,-40,-204,-266,-229,-135,-77,-125,-218,-210,-100,30,126,74,-43,-133,-143,-93,-48,-73,-160,-211,-178,-65,63,89,19,-53,-70,-35,24,48,0,0,0,0,0,0,0,0,0,0,0,0},{17,-21,36,-63,80,-116,154,-194,241,-90,4963,7197,-51,-3757,-9276,473,6608,6570,13171,6856,-2866,205,2695,-6366,-9256,-7055,-4541,-3532,-3039,-281,-577,760,3239,2051,1859,2439,1884,1064,729,-397,-297,-415,-522,-312,-1204,-1710,-1612,-1095,-874,-273,48,-519,-105,1480,1709,1244,1191,328,-864,-1534,-1800,-1611,-1549,-1383,-1023,-710,-115,376,328,116,221,132,188,375,473,238,-139,-312,-426,-503,-451,-327,-350,-436,-390,-205,22,227,277,105,-175,-200,-92,15,64,-19,-258,-396,-285,-170,-103,-122,-232,-277,-150,76,218,145,-45,-196,-207,-164,-56,-11,-109,-201,-206,-104,21,103,53,-48,-100,-81,4,42,-4,-71,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 6 degrees + {{0,-4,13,-6,15,-12,6,-5,-3,21,-24,39,826,4904,3140,-521,-3879,-4487,2052,3647,7299,8871,2938,-261,2210,176,-4913,-6571,-5742,-3170,-2971,-2456,-754,-203,1178,1931,1668,1807,1833,1500,747,-200,105,402,-394,-213,-321,-1057,-1499,-1370,-879,-253,-160,-263,544,1111,521,179,532,308,-548,-1065,-1077,-981,-848,-796,-782,-910,-653,-197,-83,-154,-55,49,-39,49,208,246,64,-144,-307,-402,-395,-288,-179,-165,-168,-104,-56,14,89,27,-109,-169,-145,-102,-33,5,-47,-176,-240,-233,-166,-90,-102,-174,-196,-114,25,105,47,-63,-146,-165,-113,-54,-82,-164,-198,-155,-76,18,53,-5,-74,-85,-33,30,0,0,0,0,0,0,0,0,0,0,0,0},{-21,46,-76,85,-116,146,-174,204,-169,4244,8731,1050,-4022,-10399,-1260,7248,6787,14635,8373,-2969,-698,2577,-6047,-9911,-8281,-5141,-2526,-3474,-1015,189,708,2747,2245,2283,2254,1875,1312,966,-153,-326,-520,-645,-205,-1354,-1942,-1791,-1040,-617,-239,-248,-787,-249,1108,1815,1625,1157,539,-430,-1360,-2119,-2070,-1614,-1131,-920,-870,-126,420,499,206,191,157,153,285,459,394,-81,-412,-481,-471,-421,-329,-357,-466,-427,-229,-4,270,355,162,-161,-232,-130,-11,46,-19,-263,-447,-387,-238,-105,-103,-208,-275,-120,102,246,193,-18,-215,-284,-192,-29,40,-65,-210,-257,-166,27,133,58,-59,-115,-86,-7,52,15,-56,-142,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 12 degrees + {{-3,0,-4,10,-4,10,-10,3,-4,-5,18,-15,16,741,4165,2945,-217,-3249,-4131,1447,3494,6363,7952,3177,175,2163,485,-4286,-5876,-4925,-3123,-3014,-2272,-795,-428,897,1702,1456,1630,1766,1482,655,25,299,211,-359,-52,-292,-934,-1140,-1052,-713,-382,-488,-327,514,677,150,119,361,217,-434,-928,-880,-732,-634,-666,-635,-748,-694,-399,-188,-159,-187,-164,-114,18,57,80,69,-68,-237,-285,-283,-209,-80,-59,-125,-130,-85,-14,27,-15,-112,-194,-204,-130,-28,-1,-78,-178,-223,-205,-132,-75,-92,-144,-139,-89,4,67,19,-98,-177,-161,-115,-72,-65,-107,-153,-155,-111,-36,5,-22,-67,-69,-21,0,0,0,0,0,0,0,0,0,0,0,0},{38,-66,72,-91,108,-104,115,-132,3004,9678,3452,-3922,-11353,-3740,7249,6868,14940,11458,-2129,-2214,2834,-5683,-10421,-8954,-6825,-2486,-2321,-1674,-319,1079,3048,1829,2082,2741,1838,1173,1307,236,-311,-495,-756,-77,-1315,-2205,-1937,-1086,-587,-334,-608,-584,-128,535,1827,1803,1035,561,-15,-1064,-2532,-2530,-1162,-654,-1088,-1082,-188,576,653,178,173,166,137,283,374,389,54,-417,-572,-460,-430,-339,-328,-392,-420,-292,-10,332,410,232,-115,-280,-187,-31,67,-27,-269,-489,-475,-327,-135,-90,-172,-228,-143,75,307,306,24,-254,-309,-182,1,82,-46,-225,-286,-206,-13,143,98,-46,-145,-117,-18,78,60,-20,-123,-203,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 18 degrees + {{0,-3,-2,-2,8,-3,7,-6,0,2,-9,25,-23,20,573,3475,2860,182,-2818,-3913,1140,3028,5531,7314,3250,580,2222,659,-3642,-4864,-4370,-3230,-2822,-2093,-998,-633,669,1410,1306,1531,1765,1538,530,52,340,219,-174,31,-104,-548,-870,-1067,-875,-583,-701,-447,261,277,37,215,283,179,-235,-762,-722,-528,-527,-600,-588,-644,-637,-515,-325,-220,-269,-335,-251,-61,-21,32,79,9,-113,-157,-175,-126,-40,-48,-100,-147,-151,-67,0,-34,-133,-217,-220,-136,-60,-48,-84,-161,-195,-157,-80,-55,-82,-114,-123,-90,-29,7,-24,-97,-150,-157,-129,-71,-47,-89,-141,-156,-127,-66,-24,-25,-50,-63,0,0,0,0,0,0,0,0,0,0,0,0},{-39,34,-51,36,-10,-13,8,1572,9454,6533,-2451,-12225,-6635,6353,6701,14882,13451,692,-2577,1658,-4328,-10416,-9975,-8388,-3337,-2047,-1425,-59,275,2992,2756,1714,2101,2336,1418,975,717,-30,-445,-925,125,-1105,-2396,-2154,-1080,-548,-1231,-619,137,-301,212,1682,1744,1064,655,8,-1209,-2569,-2412,-834,-431,-1042,-1206,-303,535,681,278,126,165,173,254,312,391,99,-398,-626,-546,-446,-329,-288,-301,-384,-298,-54,318,462,334,-60,-332,-242,-67,58,-10,-247,-537,-566,-409,-177,-50,-133,-272,-223,32,330,389,114,-204,-289,-177,-7,81,-32,-229,-323,-254,-56,134,111,-23,-149,-164,-51,85,105,16,-101,-199,-167,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 24 degrees + {{0,-1,-2,-2,-1,5,-2,4,-4,-2,4,-14,29,-31,26,379,2828,2826,554,-2441,-3660,756,2512,4849,6676,3335,980,2172,824,-2829,-3930,-4001,-3229,-2572,-2014,-1232,-752,409,1176,1284,1486,1713,1262,396,341,399,255,141,290,20,-512,-923,-1185,-976,-867,-998,-502,189,80,-53,265,399,255,-180,-606,-582,-433,-474,-592,-572,-553,-582,-574,-471,-360,-352,-392,-307,-137,-12,68,98,78,-14,-97,-107,-54,-39,-80,-121,-156,-180,-127,-54,-76,-126,-193,-221,-188,-109,-42,-57,-119,-158,-114,-62,-39,-68,-130,-152,-119,-44,-8,-33,-82,-131,-154,-142,-83,-56,-85,-121,-135,-116,-75,-38,-43,-61,0,0,0,0,0,0,0,0,0,0,0,0},{-19,22,-56,107,-167,227,321,7939,9301,723,-11888,-10517,5092,5777,13937,15930,2958,-1782,1982,-3871,-10191,-9437,-10804,-5157,-1488,-2152,-84,1027,2384,2482,2632,2249,1396,1716,1465,573,44,116,-1100,31,-538,-2390,-2302,-1302,-1010,-1720,-375,411,-194,33,1199,1770,1234,711,-217,-1674,-2348,-1521,-784,-795,-667,-937,-517,225,540,396,217,204,131,197,318,484,118,-365,-655,-682,-525,-318,-162,-211,-341,-293,-70,292,500,361,-12,-294,-280,-127,34,31,-189,-558,-650,-448,-169,-17,-116,-310,-309,-47,278,410,212,-53,-201,-189,-49,94,15,-218,-357,-310,-111,97,141,13,-135,-185,-80,71,129,60,-74,-184,-169,-93,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 30 degrees + {{-3,0,0,-3,-1,-1,2,0,0,3,-4,6,-16,31,-34,30,220,2236,2744,890,-2009,-3435,336,2068,4190,6077,3475,1254,2042,1133,-2031,-3151,-3612,-3151,-2387,-1975,-1352,-867,273,1109,1053,1214,1599,1194,511,536,604,587,243,119,-69,-581,-1018,-1279,-1180,-1132,-1012,-335,105,-102,18,361,490,274,-197,-474,-480,-416,-471,-567,-527,-520,-628,-650,-556,-448,-355,-333,-272,-136,-29,105,120,60,46,-46,-96,-38,-19,-93,-181,-180,-182,-174,-121,-87,-103,-191,-223,-187,-98,-15,-14,-70,-140,-117,-66,-60,-84,-128,-151,-125,-68,-8,-28,-91,-130,-149,-135,-88,-53,-72,-105,-118,-104,-71,-62,-65,0,0,0,0,0,0,0,0,0,0,0,0},{57,-116,181,-236,309,-288,5323,10889,4702,-9252,-14561,2494,5774,10763,18074,6256,-1119,1936,-1357,-9952,-9763,-10619,-8291,-2532,-1947,-792,527,2784,3184,2104,2606,2051,1302,1004,1260,134,-53,-704,-107,-174,-2142,-2093,-1677,-2304,-1641,443,35,-151,231,592,1508,1587,833,-820,-2094,-1644,-697,-884,-1096,-515,-451,-572,-259,234,451,340,263,16,147,425,485,178,-247,-636,-793,-673,-351,-51,-142,-297,-249,-40,236,456,353,48,-242,-318,-216,5,90,-155,-541,-632,-455,-209,-48,-104,-284,-344,-162,123,375,331,94,-148,-224,-84,96,73,-159,-353,-377,-217,37,155,65,-112,-210,-106,59,132,72,-47,-167,-177,-105,-64,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 36 degrees + {{-3,-2,0,-1,-3,-1,0,0,-1,2,6,-8,8,-18,32,-37,35,104,1679,2613,1182,-1509,-3193,-165,1668,3574,5564,3583,1435,1964,1445,-1289,-2482,-3204,-3057,-2240,-1837,-1355,-796,14,576,858,1361,1549,1049,843,990,610,340,105,-65,-267,-678,-1111,-1337,-1214,-1146,-849,-245,15,-63,77,345,483,249,-218,-432,-389,-412,-462,-544,-583,-594,-668,-634,-533,-374,-296,-278,-207,-116,-60,34,112,75,39,-31,-97,-62,-47,-98,-177,-228,-222,-190,-144,-106,-112,-153,-172,-136,-62,-11,-15,-81,-130,-124,-98,-75,-80,-110,-147,-143,-97,-34,-25,-78,-116,-137,-123,-79,-52,-67,-100,-109,-104,-84,-67,0,0,0,0,0,0,0,0,0,0,0,0},{-80,116,-138,152,-220,2361,10425,8837,-4462,-16885,-2722,6826,7265,17410,10597,442,1599,947,-8104,-9950,-10224,-10373,-4148,-2983,-1678,433,1712,3349,3321,2954,1524,2013,1501,658,178,399,-608,-608,484,-1706,-2107,-2138,-3238,-1751,821,326,-251,77,349,1281,1570,765,-1102,-2143,-1106,-330,-684,-983,-642,-278,-503,-496,-68,296,293,275,19,111,431,452,332,-71,-589,-797,-753,-422,-81,-103,-239,-186,-8,186,374,315,114,-219,-327,-272,-95,66,-78,-405,-586,-475,-270,-72,-80,-261,-369,-277,11,317,388,169,-104,-230,-158,61,122,-70,-304,-391,-313,-65,148,113,-60,-209,-163,14,131,98,-17,-152,-200,-116,-51,-52,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 42 degrees + {{-1,-2,-1,0,0,-2,-1,0,-1,1,3,9,-8,11,-17,29,-32,37,28,1208,2399,1418,-944,-2972,-710,1340,3077,5075,3634,1617,1866,1730,-622,-1917,-2781,-2888,-1943,-1533,-1471,-1223,-294,590,940,1357,1550,1314,968,712,377,119,-162,-332,-394,-680,-1020,-1163,-1152,-1105,-605,-94,-74,-107,96,303,379,143,-225,-358,-354,-399,-528,-634,-611,-591,-588,-507,-393,-312,-261,-183,-179,-168,-125,4,91,64,-2,-85,-99,-84,-46,-96,-207,-260,-243,-184,-151,-106,-78,-83,-91,-110,-72,-41,-38,-74,-128,-133,-121,-87,-81,-119,-150,-146,-112,-44,-15,-55,-110,-128,-100,-69,-57,-83,-96,-105,-104,-71,0,0,0,0,0,0,0,0,0,0,0,0},{-31,72,-127,173,167,7472,11768,2425,-15580,-10531,6904,5703,13914,14083,3335,1592,2375,-4144,-10211,-9908,-10700,-6634,-3747,-3002,-805,869,3017,3061,3920,2687,1724,1750,1414,542,-404,-82,-524,234,-988,-1889,-2907,-3893,-1635,404,637,179,-105,7,1022,1507,504,-1132,-1769,-765,-378,-465,-504,-562,-407,-640,-546,-155,128,69,67,21,178,381,368,483,187,-436,-762,-685,-477,-239,-64,-103,-179,-67,133,327,316,154,-156,-360,-336,-183,4,-9,-210,-446,-503,-335,-91,-9,-203,-411,-368,-76,275,404,211,-70,-224,-197,-16,121,20,-217,-376,-356,-122,114,146,5,-161,-195,-60,92,117,40,-93,-198,-148,-45,-24,-71,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 48 degrees + {{0,-1,-2,-2,0,-2,0,-2,-1,-3,1,3,8,-8,10,-13,18,-18,22,0,826,2106,1615,-414,-2722,-1237,1038,2686,4632,3630,1760,1817,1927,-42,-1407,-2207,-2437,-1890,-1848,-1615,-999,-279,497,1177,1571,1270,917,784,444,16,-183,-388,-418,-255,-500,-799,-1022,-1075,-834,-367,-172,-243,-127,74,193,215,49,-208,-324,-379,-502,-589,-619,-537,-432,-435,-384,-327,-255,-188,-184,-232,-217,-113,-41,0,0,-59,-89,-84,-83,-96,-139,-198,-247,-231,-186,-121,-64,-32,-31,-76,-113,-100,-64,-50,-82,-125,-156,-134,-97,-100,-120,-142,-122,-109,-67,-32,-47,-79,-106,-94,-81,-71,-80,-86,-88,-90,0,0,0,0,0,0,0,0,0,0,0,0},{105,-164,223,-318,3028,11447,9393,-8319,-18063,1934,7644,8549,15920,6653,2252,3089,-191,-7667,-9932,-10888,-8924,-4093,-4501,-2195,-389,1511,2949,3801,3653,2014,2816,1747,869,238,-77,-778,61,15,-2086,-3461,-4115,-2016,-299,679,780,-119,-143,709,1212,195,-904,-1166,-625,-473,-414,-76,-319,-318,-711,-868,-251,80,-20,-207,-191,33,319,422,535,372,-154,-578,-640,-486,-306,-130,3,-98,-152,-10,185,334,241,-38,-371,-469,-291,-76,61,-45,-325,-488,-364,-102,12,-117,-377,-425,-196,133,385,301,-10,-229,-266,-109,79,82,-140,-336,-355,-192,63,174,75,-104,-210,-133,36,113,63,-45,-159,-167,-70,-28,-44,-102,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 54 degrees + {{3,-1,-1,-1,-1,0,0,1,-2,-1,-1,4,5,6,-5,10,-10,12,-7,9,3,549,1792,1732,57,-2464,-1702,759,2460,4269,3519,1879,1829,2071,573,-678,-1872,-2764,-1866,-1356,-1426,-935,-25,736,977,957,789,639,336,30,-149,-296,-324,-220,-41,-291,-602,-813,-896,-632,-343,-400,-352,-109,-14,46,67,-53,-232,-350,-461,-528,-506,-448,-346,-292,-345,-326,-246,-203,-224,-235,-247,-223,-165,-132,-75,-42,-65,-88,-93,-130,-134,-129,-163,-203,-208,-159,-72,-18,-16,-40,-82,-121,-118,-76,-71,-102,-127,-145,-140,-112,-89,-102,-123,-128,-120,-69,-27,-34,-67,-84,-93,-94,-70,-62,-63,-73,0,0,0,0,0,0,0,0,0,0,0,0},{82,-150,216,-68,6847,13114,3177,-17409,-10852,9387,6161,12664,12124,2806,3282,2620,-2925,-9207,-9658,-10557,-6821,-4409,-3566,-1749,-536,2277,2651,4239,2842,2366,3084,2039,790,-229,93,-161,56,-1366,-3689,-4596,-2742,-935,132,1000,250,-72,411,840,80,-927,-568,-208,-517,-521,43,79,-204,-477,-916,-710,-187,72,-178,-439,-316,-20,387,657,542,100,-341,-485,-440,-333,-164,26,8,-130,-139,-31,217,307,131,-277,-544,-448,-191,44,101,-149,-443,-393,-144,31,3,-256,-414,-325,-49,248,355,146,-170,-310,-253,-43,103,8,-258,-369,-253,-16,168,155,-17,-193,-195,-30,103,100,9,-125,-181,-114,-34,-30,-63,-106,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 60 degrees + {{1,1,0,-1,-2,-2,-1,-1,0,-2,-3,-1,3,1,2,-4,6,-11,7,0,0,9,372,1491,1771,442,-2252,-2069,536,2365,3985,3347,1996,2084,2482,750,-988,-1570,-2034,-1530,-1163,-977,-578,-245,160,449,427,246,109,-61,78,79,-268,-184,129,182,-133,-380,-700,-830,-608,-504,-512,-363,-187,-170,-103,-71,-163,-294,-394,-389,-347,-341,-273,-206,-243,-303,-234,-234,-287,-250,-248,-295,-286,-206,-173,-134,-73,-74,-109,-133,-133,-116,-115,-124,-151,-155,-116,-56,-32,-48,-63,-94,-125,-135,-108,-94,-94,-118,-141,-124,-106,-99,-119,-132,-117,-102,-70,-43,-35,-47,-81,-101,-83,-55,-61,-65,0,0,0,0,0,0,0,0,0,0,0,0},{-28,29,-68,1193,10264,12284,-5173,-20350,-592,10709,6114,14208,7451,2408,3540,1677,-5136,-9758,-9079,-9160,-6084,-5058,-2534,-1719,-139,2110,3144,3747,2080,3303,2971,1945,893,196,94,415,-263,-3629,-4859,-3482,-2038,-736,707,580,-123,445,678,-139,-947,-314,325,-294,-563,-85,380,27,-337,-558,-917,-683,-142,-99,-379,-512,-440,-40,539,728,397,-116,-307,-289,-303,-186,9,117,-24,-198,-205,20,240,213,-108,-478,-573,-359,-78,125,48,-271,-418,-244,-3,73,-45,-295,-401,-244,60,283,256,-29,-268,-353,-227,9,98,-83,-309,-324,-151,101,194,93,-115,-234,-134,61,140,76,-58,-178,-190,-93,-30,-24,-62,-85,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 66 degrees + {{1,2,1,1,0,-1,0,1,0,3,0,-1,0,4,1,5,1,6,-11,9,9,-3,16,301,1258,1764,732,-2207,-2355,471,2495,3872,3295,2434,2009,1690,868,-124,-981,-1633,-1005,-753,-1120,-1031,-682,-426,-153,-203,-331,27,282,322,98,-22,174,324,372,6,-442,-779,-800,-631,-573,-541,-461,-384,-289,-161,-223,-281,-255,-198,-189,-222,-180,-139,-172,-209,-243,-277,-300,-298,-280,-314,-329,-275,-244,-214,-138,-93,-109,-120,-106,-108,-91,-77,-66,-80,-115,-123,-92,-61,-66,-75,-100,-136,-138,-114,-90,-75,-84,-118,-137,-124,-112,-105,-103,-99,-97,-72,-38,-35,-39,-58,-74,-82,-70,-51,0,0,0,0,0,0,0,0,0,0,0,0},{-110,171,-301,2906,12630,9545,-12591,-17889,7294,9125,7089,13329,4692,2938,3376,824,-7080,-9479,-8093,-7979,-6264,-4868,-2229,-2117,586,1994,3313,3062,1991,3631,2969,1792,708,1026,736,215,-1685,-4492,-4497,-3193,-1649,-386,402,139,98,626,-48,-942,-552,639,379,-428,-378,430,572,-210,-448,-647,-873,-603,-259,-296,-488,-620,-455,63,521,589,256,-138,-166,-181,-154,-1,171,144,-131,-289,-192,75,194,30,-320,-575,-516,-280,-4,159,-26,-307,-372,-122,82,107,-81,-334,-364,-164,127,257,130,-184,-361,-353,-171,64,72,-160,-313,-261,-53,134,172,28,-179,-226,-64,120,145,50,-117,-227,-192,-77,-9,-23,-69,-75,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 72 degrees + {{0,1,0,2,1,-2,0,0,0,2,1,-3,-1,-1,1,0,5,0,4,-15,18,3,6,0,311,1155,1770,808,-2496,-2464,823,3128,4162,2605,1472,2192,2470,1164,181,-282,-1152,-1262,-1186,-1427,-1598,-1223,-923,-919,-404,155,248,369,654,408,62,377,641,237,-275,-518,-798,-792,-596,-652,-726,-623,-437,-327,-285,-258,-160,-72,-46,-53,-99,-84,-106,-169,-248,-312,-297,-343,-348,-323,-324,-332,-312,-242,-195,-165,-149,-100,-75,-81,-69,-68,-29,-22,-79,-156,-164,-100,-81,-81,-101,-119,-129,-135,-101,-70,-63,-95,-137,-148,-132,-87,-82,-104,-105,-97,-69,-37,-18,-31,-60,-79,-85,-61,0,0,0,0,0,0,0,0,0,0,0,0},{-136,223,-366,4419,13835,6173,-17246,-13167,11523,7072,7787,11629,3714,3392,3507,27,-8552,-8660,-7017,-7478,-6520,-4317,-2510,-2387,752,2128,3414,2206,2425,3749,2689,1543,971,1531,1006,32,-2805,-4443,-3799,-2981,-1730,-496,178,-233,246,227,-918,-853,370,988,161,-346,42,858,477,-385,-526,-723,-819,-586,-395,-418,-579,-677,-420,86,411,402,145,-40,-59,-110,25,197,304,87,-254,-307,-139,71,74,-140,-438,-586,-483,-246,38,167,-53,-325,-314,-31,141,114,-121,-350,-309,-78,133,198,-3,-305,-427,-331,-81,94,38,-205,-306,-208,1,146,130,-24,-201,-191,-7,144,131,-1,-150,-235,-174,-53,-5,-41,-90,-64,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 78 degrees + {{0,1,1,1,3,1,0,1,0,2,2,0,0,-3,2,4,0,7,4,0,-9,32,0,-6,-10,496,1196,1784,357,-3082,-1662,2242,3141,2518,2339,2585,2601,2626,1605,232,-748,-1308,-1614,-1958,-1828,-1863,-1941,-1242,-270,10,114,630,963,626,344,458,384,274,60,-324,-704,-782,-680,-754,-862,-772,-617,-495,-295,-175,-123,-45,59,107,28,-47,-79,-171,-256,-303,-321,-355,-376,-350,-332,-338,-322,-257,-242,-242,-182,-100,-47,-38,-44,-57,-30,-6,-70,-140,-153,-123,-118,-107,-97,-105,-107,-107,-101,-104,-78,-72,-100,-136,-129,-92,-79,-91,-102,-89,-75,-48,-25,-33,-37,-49,-73,-82,0,0,0,0,0,0,0,0,0,0,0,0},{-132,223,-346,5202,14226,3726,-19162,-9354,13143,5667,7646,10324,3675,3669,3929,-400,-9375,-7868,-6133,-7415,-6625,-3785,-2932,-2633,753,2015,3284,1924,2666,3885,2471,1096,1414,1832,641,-78,-2579,-4202,-3588,-2484,-1815,-1022,-122,-306,-58,-474,-1112,-393,802,1068,183,-162,477,1108,358,-473,-573,-752,-829,-581,-415,-503,-653,-685,-438,29,293,246,115,6,6,33,190,336,377,59,-299,-291,-119,24,-29,-235,-488,-590,-458,-224,60,159,-68,-297,-231,29,162,111,-142,-319,-251,-36,123,140,-101,-381,-442,-297,-19,120,20,-224,-294,-168,30,154,113,-52,-195,-143,31,129,106,-23,-153,-203,-138,-37,-26,-58,-89,-61,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 84 degrees + {{-1,-1,0,1,2,2,1,0,-1,-1,0,0,1,-2,-3,4,1,3,3,2,-4,23,13,-18,-34,143,835,1424,1603,-859,-2770,-537,2057,3458,3026,2433,2967,3333,2326,560,-492,-1277,-1848,-2149,-2270,-2377,-2096,-1238,-539,-88,334,782,881,844,723,320,50,206,265,-145,-547,-774,-818,-820,-834,-856,-778,-536,-285,-142,-76,-9,90,181,145,-8,-134,-181,-245,-326,-345,-350,-388,-385,-333,-304,-293,-287,-299,-268,-192,-99,-37,-22,-42,-49,-44,-64,-78,-87,-105,-144,-147,-129,-106,-87,-95,-96,-106,-125,-104,-74,-72,-95,-119,-119,-91,-67,-76,-86,-75,-68,-47,-27,-29,-44,-64,-73,0,0,0,0,0,0,0,0,0,0,0,0},{-127,213,-352,4974,14122,3257,-19045,-8049,13396,5006,6623,9763,4056,3891,4373,-6,-9524,-7468,-5464,-7504,-6773,-3475,-3147,-3067,633,1906,2813,1781,2995,3943,2251,966,1631,1602,445,164,-2269,-3655,-3238,-2410,-1822,-1278,-609,-608,-429,-894,-1080,-158,941,1078,320,187,714,1152,402,-450,-620,-808,-838,-509,-391,-586,-708,-711,-477,-84,159,157,69,23,67,151,313,411,398,89,-250,-290,-154,-38,-74,-274,-538,-592,-445,-209,41,132,-76,-263,-158,64,155,93,-126,-289,-226,-23,103,89,-157,-410,-436,-265,-2,107,11,-221,-278,-147,41,142,104,-45,-179,-129,26,119,89,-23,-143,-181,-112,-35,-49,-85,-95,-57,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 90 degrees + {{0,-1,0,2,2,2,1,0,-1,-1,1,2,0,0,-3,0,2,6,-1,1,10,15,15,-27,2,12,659,1411,2150,189,-3833,-1988,2713,3834,2871,2874,3111,2929,2524,946,-769,-1594,-1617,-2095,-2779,-2504,-1629,-1142,-797,79,623,673,818,1077,670,18,-50,139,230,-30,-423,-787,-937,-815,-776,-845,-758,-517,-290,-134,-15,51,121,189,129,-29,-163,-189,-260,-358,-358,-368,-385,-368,-297,-242,-299,-323,-294,-261,-186,-75,-29,-65,-59,-68,-105,-103,-39,-26,-112,-147,-131,-111,-104,-96,-89,-116,-123,-123,-106,-71,-60,-86,-119,-115,-73,-45,-63,-90,-84,-71,-50,-27,-34,-43,-58,-73,0,0,0,0,0,0,0,0,0,0,0,0},{-111,176,-332,3767,13515,4877,-17341,-9339,12717,5250,4794,9835,4606,4054,4729,1238,-8907,-7621,-4832,-7554,-7151,-3498,-2987,-3641,269,1801,2442,1518,2971,4236,2042,961,1780,1168,288,706,-1857,-3362,-2746,-2219,-1967,-1528,-868,-1006,-903,-958,-1033,-283,915,1132,457,456,853,1142,460,-319,-555,-866,-854,-408,-352,-627,-773,-762,-521,-245,50,94,3,4,136,223,332,450,419,134,-181,-257,-193,-105,-92,-280,-554,-595,-451,-221,-11,95,-67,-247,-144,80,156,83,-118,-268,-227,-47,76,58,-166,-405,-416,-258,-20,68,-13,-207,-259,-142,26,118,98,-32,-175,-142,11,116,81,-29,-137,-170,-105,-44,-70,-106,-105,-64,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 96 degrees + {{-1,0,0,2,2,2,0,-1,-1,-1,1,2,0,0,-3,4,-2,4,-1,-1,10,16,8,-14,-8,58,773,2128,2399,-1886,-4623,119,3748,3288,2963,3061,2573,2560,2333,226,-1238,-1292,-1648,-2521,-2530,-1784,-1535,-1087,-239,395,440,672,1074,852,235,-105,-82,9,162,-82,-557,-769,-815,-835,-799,-674,-553,-477,-318,-100,67,137,166,123,-9,-105,-150,-219,-318,-373,-403,-402,-338,-288,-242,-252,-309,-284,-253,-228,-154,-55,-61,-114,-122,-159,-146,-37,18,-64,-134,-117,-95,-80,-82,-105,-130,-135,-127,-124,-82,-60,-84,-113,-114,-63,-37,-49,-79,-93,-77,-62,-43,-35,-28,-42,-86,-121,0,0,0,0,0,0,0,0,0,0,0,0},{-49,63,-158,1943,11893,8056,-13701,-12356,10354,6724,2347,10007,5663,3856,5048,3058,-7256,-8332,-4196,-7285,-7773,-4070,-2516,-4094,-507,1731,2136,1435,2554,4362,2119,963,1776,1020,170,999,-1112,-3031,-2637,-1961,-1811,-1879,-1205,-1121,-1192,-1065,-1018,-437,640,1151,680,554,850,1159,581,-205,-381,-769,-875,-395,-278,-581,-803,-841,-593,-354,-61,33,-24,-21,169,270,310,413,433,215,-123,-223,-190,-125,-117,-257,-488,-582,-478,-258,-75,50,-45,-205,-172,52,168,92,-93,-254,-226,-91,40,54,-117,-340,-386,-276,-68,36,-11,-188,-244,-141,0,111,98,-27,-166,-131,6,99,78,-22,-120,-147,-104,-61,-80,-100,-108,-88,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 102 degrees + {{-1,0,2,2,1,1,0,-1,-1,0,2,2,-1,-1,0,5,0,-1,-2,8,6,11,2,2,-14,329,1860,2651,-320,-3911,-2014,2272,3690,3591,2852,2145,2529,2499,611,-916,-967,-1302,-2109,-2357,-1847,-1479,-1070,-429,152,512,607,796,910,467,-77,-220,-153,-3,-101,-415,-672,-707,-686,-770,-741,-494,-341,-365,-283,-74,161,252,133,-30,-131,-166,-187,-287,-390,-426,-437,-383,-255,-201,-248,-291,-235,-207,-206,-151,-113,-98,-115,-180,-261,-206,-57,13,-30,-107,-115,-78,-66,-58,-74,-111,-159,-161,-121,-96,-73,-80,-126,-126,-72,-28,-29,-65,-89,-90,-65,-47,-30,-23,-36,-88,-144,-137,0,0,0,0,0,0,0,0,0,0,0,0},{40,-87,105,345,8689,11259,-7604,-15038,5324,8937,272,8917,7900,3289,4992,5029,-4216,-9238,-3965,-6314,-8443,-5143,-2271,-4023,-1771,1581,1882,1473,2041,4218,2290,967,1757,1065,188,1016,-224,-2505,-2614,-1966,-1633,-1972,-1603,-1183,-1278,-1097,-1045,-577,271,979,924,620,727,1054,756,-17,-231,-550,-803,-475,-207,-463,-783,-889,-678,-451,-193,-18,-7,-29,157,292,265,331,394,298,-38,-193,-189,-109,-102,-206,-382,-528,-498,-305,-147,-26,-17,-133,-183,-21,142,102,-43,-211,-236,-146,-9,49,-20,-218,-338,-302,-138,9,12,-136,-244,-157,-15,94,92,-1,-118,-121,-9,74,59,1,-65,-116,-117,-71,-70,-99,-109,-92,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 108 degrees + {{1,2,2,2,1,0,1,-1,1,2,3,-1,2,1,2,4,3,-1,0,9,8,10,-6,16,195,1704,2634,-3,-3043,-2226,1138,3277,3783,3017,2131,2477,2394,657,-871,-1062,-1359,-1808,-1937,-1800,-1507,-1077,-279,329,468,568,874,977,487,-23,-156,-185,-199,-242,-529,-786,-725,-632,-626,-625,-511,-340,-238,-194,-134,24,246,232,27,-117,-206,-230,-275,-376,-496,-497,-388,-283,-239,-214,-202,-219,-167,-119,-94,-87,-112,-160,-238,-299,-253,-109,-20,-41,-97,-100,-63,-53,-46,-60,-75,-107,-151,-153,-110,-63,-77,-124,-135,-96,-39,-27,-47,-70,-86,-72,-44,-13,-8,-44,-102,-138,-122,-87,0,0,0,0,0,0,0,0,0,0,0,0},{70,-123,170,-243,4364,12157,587,-14674,-2223,9859,357,5390,10830,3655,3854,6423,175,-9024,-5126,-4458,-8686,-6583,-2644,-3456,-3168,948,1796,1505,1632,3743,2656,844,1698,1272,297,760,659,-1640,-2616,-1997,-1646,-2058,-1852,-1171,-1340,-1198,-875,-644,-133,620,1028,726,599,813,829,221,-85,-297,-650,-542,-214,-328,-711,-853,-731,-569,-349,-65,26,-6,107,271,213,219,305,310,62,-162,-190,-120,-62,-114,-254,-438,-482,-370,-234,-123,-21,-67,-164,-89,52,62,-1,-149,-248,-205,-59,35,46,-74,-252,-301,-213,-49,8,-78,-207,-178,-61,31,73,54,-42,-120,-67,29,52,23,-17,-84,-119,-86,-66,-103,-108,-76,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 114 degrees + {{3,2,2,1,0,1,0,1,2,2,1,0,1,4,2,2,0,1,7,0,12,-1,16,199,1742,2565,-91,-2641,-1964,658,3052,4000,2905,1815,2536,2636,602,-1048,-1184,-1486,-1984,-1935,-1626,-1421,-1046,-238,413,612,838,943,882,737,231,-245,-252,-55,-241,-777,-1011,-904,-800,-664,-540,-389,-276,-231,-136,-35,93,198,185,64,-40,-145,-272,-329,-395,-511,-576,-468,-318,-302,-250,-174,-126,-115,-96,-17,-11,-75,-181,-296,-344,-258,-131,-86,-96,-111,-112,-98,-45,-15,-52,-82,-83,-106,-128,-114,-90,-81,-105,-133,-122,-74,-45,-52,-76,-84,-70,-36,-3,-5,-54,-123,-140,-104,-66,-68,0,0,0,0,0,0,0,0,0,0,0,0},{-3,14,-37,20,857,9011,8190,-8914,-9511,6587,3190,622,11551,6847,2036,6085,4748,-5821,-7474,-3160,-7287,-8206,-3833,-2726,-4095,-568,1770,1458,1457,2937,3057,918,1454,1478,631,394,987,-273,-2268,-2162,-1658,-2162,-2225,-1178,-1162,-1414,-873,-451,-303,110,867,889,514,562,722,441,40,-104,-374,-523,-332,-231,-551,-761,-720,-637,-501,-189,55,49,43,196,195,88,163,260,152,-103,-176,-146,-77,-31,-86,-296,-446,-412,-312,-205,-76,-29,-127,-143,-47,-5,-25,-103,-225,-235,-118,9,65,26,-131,-231,-237,-145,-52,-35,-121,-176,-126,-54,37,82,38,-99,-124,-35,35,44,11,-48,-104,-97,-67,-89,-99,-68,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 120 degrees + {{3,0,0,-1,-2,0,-1,1,0,-2,0,-2,2,1,0,-3,-4,7,0,8,-11,15,253,1897,2519,-343,-2526,-1698,610,3044,4140,2836,1717,2530,2452,414,-1002,-1147,-1749,-2204,-1818,-1814,-1747,-888,-52,406,684,990,1073,1016,874,373,-102,-131,-41,-226,-639,-1076,-1192,-1086,-859,-633,-464,-222,-81,-109,-37,189,305,216,50,-50,-109,-199,-326,-458,-562,-580,-510,-465,-375,-268,-192,-115,-96,-10,44,37,-39,-179,-278,-316,-272,-175,-127,-153,-143,-151,-140,-77,-28,-31,-65,-88,-100,-99,-90,-71,-90,-117,-132,-125,-92,-71,-72,-106,-110,-75,-22,7,-21,-87,-136,-125,-95,-70,-66,-98,0,0,0,0,0,0,0,0,0,0,0,0},{-43,70,-104,128,-189,3561,10449,1105,-11168,-1329,5558,-1392,7259,11616,2551,3429,7149,277,-7925,-4539,-4532,-8520,-6009,-2608,-3812,-2745,1145,1484,1388,2177,2976,1464,1090,1592,967,405,623,713,-1054,-2090,-1900,-2052,-2569,-1611,-883,-1358,-1131,-432,-154,-110,394,908,607,341,497,528,184,-43,-145,-331,-428,-291,-363,-635,-637,-577,-570,-402,-15,115,46,69,151,29,-18,143,193,-8,-147,-147,-126,-47,24,-90,-350,-418,-347,-267,-164,-34,-79,-174,-146,-93,-93,-101,-154,-235,-195,-47,55,70,-22,-129,-189,-203,-136,-54,-33,-136,-178,-132,-21,55,58,-33,-135,-90,-14,21,12,-9,-54,-93,-80,-71,-83,-74,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 126 degrees + {{3,0,0,-1,1,0,1,1,-1,1,1,3,3,2,-1,-2,2,8,11,-6,13,332,2152,2484,-674,-2527,-1486,702,3294,4348,2686,1638,2647,2403,107,-1304,-1301,-1780,-2226,-1793,-1846,-1968,-1087,-157,562,835,979,1192,1098,932,544,92,-47,59,-61,-557,-1015,-1107,-1151,-1167,-897,-565,-348,-179,-13,101,203,330,330,165,-1,-135,-233,-255,-392,-621,-632,-557,-486,-407,-339,-191,-144,-110,4,104,93,-38,-138,-190,-230,-244,-196,-181,-175,-184,-213,-167,-91,-23,-35,-83,-86,-75,-80,-63,-42,-65,-107,-131,-119,-105,-72,-74,-120,-137,-84,-10,15,-28,-114,-143,-109,-65,-44,-70,-99,-112,0,0,0,0,0,0,0,0,0,0,0,0},{13,-30,51,-79,94,208,6170,8673,-4161,-8256,2444,855,725,12101,7741,1055,5536,5851,-3470,-7017,-3555,-6280,-7803,-4144,-2829,-3960,-922,1481,1251,1806,2327,2067,1101,1370,1324,707,308,722,194,-1137,-1941,-2192,-2466,-2243,-1056,-1034,-1306,-638,-125,-42,142,633,728,342,259,424,293,15,-47,-177,-336,-397,-307,-437,-527,-455,-473,-525,-261,88,130,34,10,12,-99,-31,136,97,-75,-121,-137,-126,-19,41,-123,-324,-347,-289,-240,-90,-22,-140,-229,-212,-140,-109,-103,-190,-230,-146,-3,90,68,-30,-111,-165,-157,-87,-29,-88,-168,-154,-88,-9,23,20,-61,-98,-67,-32,0,32,21,-55,-90,-68,-62,-82,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 132 degrees + {{-1,-2,-2,-1,-2,0,-1,-3,-1,-2,3,-1,2,-5,-3,-2,2,8,0,6,453,2466,2409,-1086,-2575,-1287,866,3666,4602,2491,1610,2828,2257,-218,-1499,-1527,-2106,-2419,-1672,-1614,-2073,-1293,-186,468,801,1084,1286,1075,936,694,102,-40,256,57,-538,-880,-938,-1053,-1146,-983,-779,-581,-323,-146,34,306,437,325,200,120,-40,-249,-340,-388,-520,-721,-702,-431,-349,-324,-279,-201,-104,-7,68,17,-23,-23,-79,-180,-188,-190,-202,-219,-256,-254,-222,-106,-21,-33,-83,-112,-109,-79,-24,-23,-64,-104,-119,-120,-105,-85,-113,-139,-131,-89,-22,1,-68,-139,-135,-103,-70,-49,-55,-86,-112,-112,0,0,0,0,0,0,0,0,0,0,0,0},{1,-9,8,-7,-3,-26,1083,7567,5788,-6152,-4877,1657,-1322,5537,12617,4087,1624,6580,3625,-5212,-5742,-3927,-6884,-6480,-3277,-3271,-3219,209,1255,1472,1842,1900,1693,1082,1383,1217,445,240,641,34,-1132,-2159,-2550,-2396,-1607,-994,-1198,-900,-300,-59,136,422,624,521,283,204,226,84,-10,-76,-239,-428,-392,-246,-313,-388,-387,-413,-443,-154,129,119,-35,-70,-90,-144,-3,115,35,-72,-116,-173,-129,13,40,-124,-270,-283,-247,-182,-49,-57,-195,-283,-239,-155,-97,-105,-192,-212,-125,19,106,89,3,-80,-127,-105,-65,-64,-112,-135,-122,-88,-34,24,27,-44,-84,-67,-14,38,65,19,-56,-84,-80,-89,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 138 degrees + {{-1,-1,-1,1,1,0,-2,-1,0,4,-1,4,-5,2,-4,5,5,9,9,610,2852,2308,-1581,-2634,-1064,1096,4118,4864,2302,1614,3066,2099,-622,-1682,-1752,-2399,-2594,-1791,-1545,-1966,-1247,-158,387,797,1084,1237,1119,941,666,190,-17,144,93,-403,-806,-874,-849,-930,-908,-701,-621,-540,-377,-100,223,432,424,261,119,1,-123,-272,-430,-684,-795,-547,-401,-336,-286,-273,-194,-142,-41,-19,-39,28,52,-23,-105,-136,-129,-186,-270,-299,-300,-236,-108,-30,-47,-65,-98,-107,-72,-34,-15,-57,-90,-107,-105,-82,-98,-124,-146,-143,-69,-2,-19,-99,-144,-129,-87,-47,-42,-55,-74,-88,-108,-111,0,0,0,0,0,0,0,0,0,0,0,0},{-19,18,-29,30,-42,47,-87,1985,7840,3463,-6157,-3423,-211,-325,9014,10817,2094,2584,6638,1763,-5725,-5034,-4368,-6594,-5478,-2994,-3373,-2323,589,1177,1563,1417,1799,1501,1033,1514,1049,105,183,803,-108,-1441,-2413,-2590,-1953,-1302,-1110,-1082,-560,-184,11,333,524,538,495,283,-11,11,21,-11,-192,-411,-424,-321,-177,-187,-315,-407,-421,-351,-73,132,59,-99,-110,-136,-153,-14,87,-19,-123,-156,-192,-123,7,14,-126,-237,-248,-228,-156,-44,-80,-222,-329,-286,-173,-82,-97,-207,-247,-141,26,122,121,30,-86,-144,-127,-83,-66,-100,-142,-158,-121,-45,31,31,-44,-95,-70,-11,51,60,-28,-127,-140,-102,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 144 degrees + {{-3,-2,-1,0,-2,-4,-1,-1,4,-3,4,-7,3,-7,5,-1,14,8,806,3285,2172,-2158,-2714,-807,1388,4634,5097,2085,1682,3302,1876,-1071,-1852,-1941,-2776,-2764,-1858,-1556,-1866,-1316,-80,569,801,1057,1213,1128,831,619,251,-54,86,19,-502,-882,-752,-655,-809,-749,-497,-443,-511,-485,-303,64,366,326,213,150,63,-96,-211,-476,-817,-783,-565,-308,-229,-308,-264,-153,-130,-167,-103,33,45,26,-12,-105,-92,-82,-194,-290,-312,-310,-254,-134,-42,-49,-99,-104,-78,-50,-19,-30,-77,-124,-127,-102,-83,-101,-139,-163,-144,-64,-1,-45,-128,-142,-115,-90,-56,-27,-45,-76,-96,-125,-114,-62,0,0,0,0,0,0,0,0,0,0,0,0},{10,-23,21,-28,37,-50,62,-65,2615,7566,2173,-5835,-3481,-1022,1744,10330,8850,1302,3207,6318,511,-5780,-4687,-4364,-6111,-4867,-2804,-3226,-1689,689,1211,1188,1231,1908,1190,1200,1618,670,-202,525,899,-566,-1729,-2443,-2271,-1632,-1229,-1073,-894,-389,-69,126,334,614,644,425,114,-106,-59,-45,-31,-284,-509,-421,-223,-151,-172,-282,-431,-432,-266,54,155,-7,-94,-70,-148,-170,-34,22,-57,-137,-204,-209,-114,26,2,-146,-218,-215,-188,-108,-8,-82,-257,-343,-271,-156,-84,-112,-218,-229,-106,43,128,119,34,-84,-176,-159,-67,-10,-58,-159,-209,-134,10,95,39,-67,-100,-45,16,39,-1,-91,-143,-125,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 150 degrees + {{-1,0,0,0,-4,1,-1,6,-2,4,-7,8,-9,9,-6,21,9,1045,3779,1985,-2809,-2793,-515,1756,5227,5279,1827,1833,3588,1569,-1620,-2027,-2077,-3124,-2972,-1933,-1623,-1686,-1231,-178,695,930,1137,1249,1078,828,552,164,-42,12,-119,-585,-980,-915,-662,-508,-538,-459,-271,-256,-390,-273,89,213,143,79,76,64,-36,-297,-603,-728,-702,-492,-348,-297,-180,-138,-184,-232,-124,40,30,-17,16,-36,-104,-112,-111,-178,-270,-306,-298,-225,-126,-58,-74,-96,-104,-91,-24,33,3,-82,-149,-156,-132,-111,-107,-142,-170,-142,-53,-1,-43,-111,-138,-120,-74,-36,-26,-42,-73,-105,-114,-77,-36,-31,0,0,0,0,0,0,0,0,0,0,0,0},{-1,8,-21,17,-27,34,-50,58,-12,2886,7206,1614,-5844,-3879,-757,3298,10300,7509,968,3471,5934,-205,-5641,-4380,-4104,-5724,-4388,-2675,-3021,-1336,755,969,737,1468,1735,1024,1536,1414,230,-47,868,552,-890,-1901,-2263,-1872,-1556,-1158,-970,-736,-287,27,190,283,715,748,245,-50,-69,-104,-42,-21,-357,-612,-501,-216,-164,-263,-356,-399,-333,-148,112,183,23,-70,-69,-164,-189,-86,-40,-91,-178,-257,-234,-115,10,-14,-135,-220,-215,-142,-40,6,-100,-263,-318,-252,-170,-100,-112,-191,-199,-103,12,94,96,2,-135,-201,-127,-7,21,-81,-192,-194,-83,55,97,15,-81,-91,-62,-35,-1,-23,-89,-133,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 156 degrees + {{-1,0,-2,-5,0,-1,6,-4,5,-11,8,-11,11,-14,29,8,1314,4301,1770,-3511,-2871,-199,2142,5863,5428,1544,2048,3880,1223,-2219,-2243,-2229,-3437,-3145,-2024,-1736,-1561,-1024,-243,739,1075,1137,1304,1141,841,504,139,-35,-150,-326,-688,-1040,-1075,-814,-496,-349,-284,-197,-205,-236,45,277,207,26,-51,-27,-43,-241,-435,-584,-689,-568,-443,-395,-277,-150,-157,-240,-172,61,116,27,-19,-51,-94,-159,-150,-136,-213,-269,-295,-279,-198,-89,-60,-93,-111,-119,-92,-32,45,43,-59,-163,-194,-152,-124,-144,-192,-213,-149,-42,1,-45,-97,-115,-102,-63,-35,-27,-51,-89,-117,-110,-52,7,-5,-65,0,0,0,0,0,0,0,0,0,0,0,0},{9,-3,8,-18,17,-24,29,-42,50,34,2916,6902,1307,-6035,-3967,-124,4008,9807,6705,772,3518,5574,-515,-5386,-4022,-3791,-5345,-4017,-2607,-2815,-1103,708,472,696,1607,1386,1250,1637,990,176,319,734,246,-1004,-1968,-1970,-1614,-1475,-1135,-834,-535,-174,30,110,390,798,660,112,-105,22,-4,-38,-114,-414,-641,-667,-409,-220,-312,-380,-325,-184,25,165,155,75,20,-91,-232,-220,-98,-66,-154,-252,-293,-234,-117,-9,-15,-131,-210,-186,-112,1,30,-91,-233,-278,-241,-167,-79,-97,-186,-200,-119,-19,54,48,-63,-169,-156,-53,29,5,-91,-156,-130,-29,56,67,-11,-94,-115,-93,-37,8,-4,-71,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 162 degrees + {{0,-3,-6,0,-1,6,-5,6,-14,10,-16,16,-22,33,11,1611,4840,1548,-4229,-2978,105,2575,6540,5547,1253,2313,4182,835,-2835,-2480,-2403,-3757,-3308,-2113,-1826,-1451,-803,-228,694,1272,1195,1245,1215,842,535,176,6,-213,-604,-957,-1118,-1091,-962,-584,-304,-211,-218,-169,-30,261,463,353,128,-10,-95,-304,-432,-494,-651,-693,-586,-419,-305,-225,-206,-252,-177,-4,136,136,87,19,-70,-191,-245,-182,-160,-219,-298,-330,-273,-157,-55,-29,-90,-139,-126,-82,-15,42,35,-52,-167,-189,-156,-121,-153,-250,-271,-175,-46,-2,-44,-92,-91,-63,-41,-24,-19,-44,-95,-148,-128,-42,30,18,-39,-79,0,0,0,0,0,0,0,0,0,0,0,0},{3,8,-4,6,-17,17,-22,27,-38,48,46,2777,6625,1132,-6108,-3789,364,4094,9220,6236,650,3416,5293,-540,-5049,-3647,-3457,-4978,-3802,-2549,-2599,-946,410,123,822,1436,1328,1489,1381,784,427,360,482,126,-1093,-1817,-1772,-1525,-1360,-1070,-656,-311,-145,-112,37,532,858,467,84,23,64,74,-86,-287,-500,-695,-805,-656,-363,-236,-285,-277,-68,131,243,197,72,2,-120,-236,-249,-141,-100,-221,-300,-295,-257,-155,-32,-20,-115,-179,-166,-102,-3,55,-38,-198,-266,-226,-138,-73,-110,-213,-237,-156,-46,21,-10,-115,-179,-125,-13,57,24,-80,-135,-88,-8,17,-6,-58,-100,-111,-87,-24,19,-1,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 168 degrees + {{-1,-5,2,-1,7,-4,6,-14,12,-19,22,-28,41,16,1932,5374,1329,-4915,-3107,380,3025,7247,5647,982,2628,4465,416,-3432,-2745,-2608,-4046,-3453,-2226,-1956,-1273,-566,-148,642,1330,1413,1172,1226,927,443,239,175,-193,-821,-1259,-1315,-1157,-1025,-612,-289,-276,-299,-153,111,422,583,494,315,70,-179,-295,-394,-562,-769,-803,-636,-421,-295,-275,-243,-107,12,-7,113,229,139,0,-103,-212,-255,-198,-169,-252,-323,-326,-289,-164,-14,6,-78,-136,-129,-77,-1,76,41,-108,-197,-159,-105,-109,-191,-275,-272,-174,-59,-25,-66,-91,-62,-45,-24,12,32,-20,-99,-142,-138,-71,26,45,-18,-73,-74,0,0,0,0,0,0,0,0,0,0,0,0},{0,1,9,-4,8,-17,15,-21,28,-36,47,38,2542,6293,1083,-5935,-3524,579,3857,8609,5953,636,3222,5035,-370,-4575,-3283,-3155,-4656,-3664,-2464,-2355,-939,1,5,837,1261,1469,1467,1144,877,568,213,348,38,-1031,-1626,-1721,-1420,-1225,-888,-440,-247,-244,-157,45,502,845,544,137,46,88,17,-151,-435,-706,-814,-764,-637,-516,-289,-132,-105,-20,120,276,264,72,-72,-111,-228,-264,-167,-131,-229,-318,-334,-303,-160,-13,-7,-111,-143,-130,-95,12,76,-8,-169,-225,-184,-127,-86,-139,-238,-263,-179,-69,2,-25,-131,-177,-101,26,87,51,-52,-114,-88,-41,-32,-36,-50,-84,-83,-40,-7,5,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 174 degrees + {{-5,2,0,7,-5,7,-16,13,-20,24,-33,45,25,2249,5869,1155,-5508,-3290,558,3468,7943,5772,756,2948,4745,-19,-4004,-3006,-2878,-4336,-3566,-2355,-2120,-1108,-318,-30,692,1250,1545,1280,1114,1005,480,140,335,-84,-947,-1477,-1587,-1270,-1101,-723,-310,-255,-351,-190,150,472,663,635,333,-31,-50,-62,-322,-569,-775,-862,-731,-511,-415,-370,-166,48,21,3,210,288,100,-80,-125,-203,-256,-181,-160,-270,-333,-345,-308,-166,-11,-2,-91,-126,-123,-86,-9,85,24,-136,-216,-177,-105,-94,-169,-284,-285,-174,-63,-24,-68,-115,-118,-67,9,64,53,-34,-100,-115,-112,-76,-11,-12,-51,-50,-42,-41,0,0,0,0,0,0,0,0,0,0,0,0},{-5,2,0,7,-5,7,-16,13,-20,24,-33,45,25,2249,5869,1155,-5508,-3290,558,3468,7943,5772,756,2948,4745,-19,-4004,-3006,-2878,-4336,-3566,-2355,-2120,-1108,-318,-30,692,1250,1545,1280,1114,1005,480,140,335,-84,-947,-1477,-1587,-1270,-1101,-723,-310,-255,-351,-190,150,472,663,635,333,-31,-50,-62,-322,-569,-775,-862,-731,-511,-415,-370,-166,48,21,3,210,288,100,-80,-125,-203,-256,-181,-160,-270,-333,-345,-308,-166,-11,-2,-91,-126,-123,-86,-9,85,24,-136,-216,-177,-105,-94,-169,-284,-285,-174,-63,-24,-68,-115,-118,-67,9,64,53,-34,-100,-115,-112,-76,-11,-12,-51,-50,-42,-41,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 180 degrees +}; +inline constexpr std::int16_t pcm44100_p40[29][2][hrir::taps]={ + {{3,-5,-3,4,8,-5,14,-40,45,-86,116,-157,213,-44,3991,5092,321,-8034,-13665,2199,10876,13927,13643,1537,-4033,847,2379,-3450,-5203,-6535,-4786,-3083,-3496,-1933,-1842,-358,1670,1892,2485,2446,2290,1971,951,406,127,-1598,-1089,-574,-2112,-1790,-948,-643,-355,64,390,451,305,413,837,1226,965,455,96,-366,-800,-1142,-1480,-1506,-1381,-1305,-1173,-788,-38,323,241,255,417,248,114,124,-8,-161,-217,-320,-428,-307,-213,-322,-413,-359,-310,-182,11,141,86,52,57,36,55,48,-48,-225,-275,-242,-203,-175,-173,-163,-164,-135,-56,-42,-62,-58,-73,-96,-69,-60,-72,-77,-70,-67,-101,-132,-124,-71,-44,-29,0,0,0,0,0,0,0,0,0,0,0,0},{3,-5,-3,4,8,-5,14,-40,45,-86,116,-157,213,-44,3991,5092,321,-8034,-13665,2199,10876,13927,13643,1537,-4033,847,2379,-3450,-5203,-6535,-4786,-3083,-3496,-1933,-1842,-358,1670,1892,2485,2446,2290,1971,951,406,127,-1598,-1089,-574,-2112,-1790,-948,-643,-355,64,390,451,305,413,837,1226,965,455,96,-366,-800,-1142,-1480,-1506,-1381,-1305,-1173,-788,-38,323,241,255,417,248,114,124,-8,-161,-217,-320,-428,-307,-213,-322,-413,-359,-310,-182,11,141,86,52,57,36,55,48,-48,-225,-275,-242,-203,-175,-173,-163,-164,-135,-56,-42,-62,-58,-73,-96,-69,-60,-72,-77,-70,-67,-101,-132,-124,-71,-44,-29,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 0 degrees + {{1,2,-3,-2,1,10,-7,19,-37,37,-73,93,-114,156,-68,2940,4647,949,-5929,-12730,-1352,8447,12209,14284,4585,-2968,-38,1902,-2105,-3530,-5410,-5175,-3326,-3048,-2156,-2226,-852,1167,1283,1992,2422,2091,2060,1654,849,278,-1502,-1231,-595,-1922,-1644,-936,-607,-266,9,139,333,290,289,978,1407,715,62,115,-215,-823,-1106,-1333,-1307,-1085,-951,-918,-916,-408,209,240,93,197,166,-1,-2,21,-123,-202,-247,-382,-377,-260,-188,-297,-382,-314,-179,-62,60,126,98,43,29,46,19,-43,-149,-222,-235,-184,-177,-194,-169,-151,-134,-102,-83,-75,-52,-32,-31,-66,-100,-88,-67,-68,-43,-71,-131,-151,-121,-81,0,0,0,0,0,0,0,0,0,0,0,0},{-6,-3,-4,18,-20,35,-67,69,-106,124,-156,185,-173,2891,6499,1693,-6252,-16402,-2198,12140,14264,17038,4113,-5402,-1081,2977,-2478,-5484,-7013,-5999,-2622,-3631,-2805,-1636,-689,1368,2000,2791,2606,2339,2290,1274,225,181,-1104,-1657,-727,-1801,-2052,-1211,-672,-381,-86,326,587,274,404,620,836,1495,1074,51,-304,-536,-1016,-1522,-1730,-1705,-1724,-1305,-737,-247,203,525,474,460,386,260,203,36,-138,-275,-390,-431,-310,-296,-323,-401,-431,-361,-183,9,172,162,87,51,9,59,70,-24,-242,-349,-310,-235,-175,-180,-186,-156,-117,-54,-28,-36,-38,-64,-89,-80,-96,-105,-76,-84,-103,-124,-119,-94,-61,-37,-12,-6,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 6 degrees + {{0,3,2,-3,-4,5,2,2,6,-20,18,-45,67,-83,111,99,3100,3800,510,-6400,-10674,150,7063,11501,12663,3371,-1790,896,1063,-1996,-3107,-5208,-4683,-2907,-2701,-2282,-2033,-453,840,1082,1929,2147,1972,1993,1593,966,-61,-1553,-797,-748,-1742,-1311,-776,-388,-219,-121,0,236,122,297,1056,1215,462,-116,-87,-185,-693,-1120,-1189,-1002,-916,-832,-747,-763,-431,22,198,48,-11,-24,-45,-38,-79,-111,-165,-271,-313,-263,-255,-234,-237,-320,-335,-178,-9,87,101,69,20,16,40,17,-62,-153,-196,-187,-173,-191,-201,-200,-166,-133,-94,-100,-66,-12,-2,-23,-80,-120,-100,-47,-47,-52,-72,-110,-134,-144,0,0,0,0,0,0,0,0,0,0,0,0},{-4,-9,25,-22,38,-57,42,-62,58,-48,32,-30,1567,7118,3706,-4169,-17428,-8252,12469,14881,18936,8672,-5633,-3854,3075,-1375,-5704,-6943,-7549,-2935,-2806,-3333,-2220,-929,1409,1807,2724,3087,2416,2347,1653,388,79,-758,-1707,-1050,-1764,-2115,-1432,-861,-398,23,223,643,454,189,240,476,1823,1561,207,-269,-441,-755,-1306,-1809,-2166,-2175,-1299,-607,-537,-40,698,777,620,461,257,271,148,-89,-311,-441,-472,-374,-298,-267,-396,-527,-440,-187,29,159,239,176,104,-5,16,86,22,-208,-418,-416,-306,-192,-180,-215,-155,-107,-67,-18,-3,2,-17,-57,-104,-121,-124,-95,-114,-136,-120,-91,-78,-71,-36,0,13,2,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 13 degrees + {{-4,1,1,2,-2,-3,5,0,0,4,-18,13,-34,50,-64,82,89,2534,3355,839,-5144,-9157,-963,5151,10134,11508,3982,-451,823,925,-1317,-2585,-4662,-4202,-2581,-2667,-2300,-1799,-673,365,894,1652,1946,1931,1900,1587,921,-129,-1145,-518,-621,-1340,-1052,-695,-536,-432,-235,-189,0,16,280,959,959,323,-44,-79,-86,-554,-1031,-998,-823,-791,-773,-663,-623,-478,-212,48,50,-92,-218,-177,-26,-84,-197,-156,-201,-243,-191,-213,-256,-262,-246,-247,-155,-24,50,73,62,18,-12,-6,-3,-45,-111,-169,-184,-197,-220,-205,-195,-176,-139,-78,-70,-45,0,-9,-37,-82,-123,-117,-60,-23,-32,-79,-123,-136,0,0,0,0,0,0,0,0,0,0,0,0},{-12,23,-16,28,-39,14,-29,7,28,-64,86,855,7103,5578,-2632,-18278,-12815,12115,16651,20207,11254,-4372,-5427,1675,-321,-6190,-7342,-8420,-3835,-2263,-3017,-2261,-1690,1293,2360,2612,2935,2804,2565,1660,471,48,-465,-1679,-1291,-1919,-2167,-1547,-1052,-549,113,488,727,660,-61,-176,387,1731,1738,440,-349,-405,-506,-1060,-1898,-2579,-2311,-1132,-649,-768,-141,801,1046,771,485,277,303,185,-64,-326,-452,-533,-450,-266,-223,-403,-558,-491,-237,25,209,302,227,156,56,33,65,32,-190,-423,-479,-398,-274,-229,-216,-173,-144,-80,21,46,44,32,-31,-94,-114,-130,-151,-177,-130,-75,-66,-95,-85,-39,2,18,5,18,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 19 degrees + {{-3,-3,0,1,2,-2,-2,6,-3,5,-3,-7,3,-16,31,-39,46,193,2399,2886,694,-4993,-7815,-911,4487,9658,10012,3713,202,936,802,-1081,-2417,-4209,-3514,-2416,-2623,-2118,-1624,-775,171,855,1572,1865,1689,1629,1558,962,-155,-760,-188,-541,-1135,-1021,-843,-702,-452,-423,-375,26,-44,267,960,751,161,133,137,-175,-614,-906,-885,-752,-730,-707,-682,-577,-378,-251,-88,-32,-115,-287,-231,-36,-108,-231,-158,-128,-205,-187,-192,-256,-245,-198,-140,-125,-78,50,81,49,-17,-48,-13,9,-32,-134,-186,-180,-195,-224,-212,-169,-150,-100,-51,-55,-34,-28,-19,-32,-78,-121,-110,-62,-39,-28,-85,-141,0,0,0,0,0,0,0,0,0,0,0,0},{8,5,0,6,-44,46,-94,148,-206,281,-103,5488,7683,1310,-15047,-20192,6637,17638,20793,16252,-1250,-6152,-119,593,-5349,-7369,-9579,-5677,-2039,-2957,-2057,-1758,142,2079,3133,3057,2398,2895,2191,700,-143,-189,-1215,-1414,-2069,-2276,-1586,-1398,-765,-35,491,930,1009,-348,-242,598,950,1653,966,-373,-594,-215,-718,-2012,-2617,-2137,-1135,-824,-998,-356,807,1199,768,492,357,356,289,-14,-354,-488,-524,-457,-307,-251,-345,-518,-512,-311,-57,156,331,296,196,82,33,111,67,-144,-398,-480,-450,-360,-277,-279,-254,-188,-100,9,75,80,54,-5,-69,-83,-131,-183,-186,-139,-67,-72,-101,-93,-58,-31,-2,7,7,29,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 26 degrees + {{-1,-2,-3,-1,1,1,-1,-1,1,0,1,0,-5,5,-16,25,-36,39,115,1843,2628,1124,-3625,-7083,-2112,3269,8198,9234,4412,858,939,939,-655,-1863,-3451,-3131,-2302,-2531,-1991,-1579,-1057,-11,806,1224,1369,1502,1734,1770,1124,126,-306,-96,-576,-1148,-1115,-984,-918,-648,-485,-322,-93,-197,320,927,617,232,359,231,-253,-607,-797,-841,-760,-708,-732,-682,-460,-321,-314,-240,-110,-111,-241,-199,-142,-152,-173,-133,-145,-216,-229,-197,-162,-184,-197,-149,-65,-22,6,22,-3,-17,-31,-30,-25,-75,-139,-175,-167,-188,-217,-202,-148,-97,-70,-56,-69,-53,-35,-23,-31,-74,-114,-112,-89,-74,-57,-82,0,0,0,0,0,0,0,0,0,0,0,0},{22,-19,35,-74,80,-133,180,-231,303,-340,3806,8515,4430,-11157,-24456,439,17831,20970,19798,2017,-5969,-1456,1629,-4784,-7722,-9806,-8094,-2631,-2681,-2072,-1688,108,1777,2699,3692,2641,2559,2306,1308,-112,-379,-972,-1141,-2066,-2764,-1514,-1438,-1163,-119,598,965,1042,-263,-9,711,541,1389,1007,-372,-825,-233,-592,-2124,-2459,-1552,-1084,-1111,-843,-305,561,1073,862,529,273,361,427,57,-348,-484,-600,-519,-283,-219,-308,-513,-463,-297,-107,112,331,334,198,94,29,109,120,-49,-337,-487,-469,-371,-296,-332,-350,-255,-125,20,75,71,88,29,-54,-87,-128,-144,-114,-103,-109,-108,-91,-88,-72,-61,-28,2,15,39,50,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 32 degrees + {{3,-1,-1,-2,1,2,2,0,0,2,1,2,2,-1,3,-8,13,-18,23,159,1695,2358,1064,-3390,-6419,-2080,3010,7632,8303,4150,1115,1064,876,-487,-1602,-2971,-2684,-2211,-2386,-1782,-1505,-995,-95,443,988,1437,1636,1850,1901,1109,83,-226,-259,-754,-1093,-1241,-1298,-855,-466,-516,-336,-133,-155,458,991,547,235,369,186,-318,-673,-781,-863,-787,-701,-646,-582,-418,-321,-339,-237,-113,-98,-193,-149,-149,-200,-152,-160,-233,-243,-212,-168,-146,-142,-143,-100,-21,-13,-33,-16,0,-15,-49,-70,-71,-81,-136,-154,-152,-183,-191,-176,-107,-65,-60,-62,-69,-54,-39,-31,-43,-75,-118,-116,-100,-93,-80,0,0,0,0,0,0,0,0,0,0,0,0},{-13,39,-68,49,-76,67,-54,37,-43,1143,7775,7586,-2978,-24237,-12509,15271,19490,22775,9315,-4368,-3298,1445,-1739,-7265,-9570,-10259,-4734,-3235,-2310,-1435,-941,1696,2716,3593,2836,2871,2590,1406,385,-148,-882,-1166,-1493,-2957,-2050,-1393,-1432,-527,464,1011,845,177,366,490,296,1184,1215,-183,-1026,-607,-618,-1807,-2177,-1259,-1116,-1320,-663,-57,236,573,779,757,377,215,354,179,-113,-315,-635,-710,-376,-162,-214,-425,-437,-343,-192,72,335,339,170,94,34,72,116,42,-197,-418,-455,-403,-306,-339,-386,-312,-184,-39,43,62,79,63,-43,-108,-121,-106,-52,-58,-107,-131,-104,-80,-99,-100,-56,-2,28,32,46,43,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 39 degrees + {{1,0,0,-2,-2,-1,1,0,0,-2,1,-2,2,1,-1,-2,-8,9,-10,6,190,1552,2122,1053,-3161,-5948,-2049,2792,7129,7527,3893,1318,1141,834,-334,-1335,-2527,-2330,-2114,-2161,-1526,-1572,-1282,-236,588,1124,1511,1774,1960,1729,704,-41,-243,-372,-819,-1396,-1392,-1036,-688,-516,-460,-231,-251,-20,811,879,294,233,348,48,-406,-708,-883,-910,-693,-572,-615,-570,-396,-313,-265,-203,-121,-66,-124,-120,-171,-265,-233,-225,-273,-251,-209,-166,-130,-70,-60,-83,-61,-22,-19,-35,-27,-58,-92,-106,-86,-86,-128,-145,-155,-160,-162,-131,-90,-78,-60,-64,-65,-76,-68,-50,-56,-80,-119,-130,-134,-111,0,0,0,0,0,0,0,0,0,0,0,0},{10,-11,-28,26,-75,125,-190,264,-167,5522,9205,3118,-18823,-22426,9178,19347,21553,15348,-656,-3697,542,810,-6292,-9057,-10630,-7344,-4050,-3704,-1623,-1193,866,2612,4193,3425,2549,2949,2076,535,-274,-400,-1196,-1324,-2760,-2595,-1527,-1633,-845,312,814,539,736,931,210,166,1056,1164,85,-947,-1241,-1207,-1477,-1559,-1161,-1163,-1108,-617,104,407,267,287,619,618,244,88,126,95,-137,-481,-709,-577,-250,-146,-272,-368,-383,-224,36,296,358,177,14,-20,19,104,62,-122,-335,-404,-378,-310,-310,-377,-325,-227,-125,-6,53,53,27,-68,-127,-115,-64,-45,-57,-92,-102,-76,-88,-126,-137,-94,-26,36,46,31,37,19,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 45 degrees + {{1,2,1,-1,0,-2,0,2,1,0,-3,0,-3,1,5,-4,-1,-9,11,-15,9,122,1207,1900,1378,-2223,-5600,-2711,1941,6198,7060,4104,1676,1167,917,-15,-839,-1943,-2013,-1826,-2093,-1874,-1623,-1030,-81,665,1184,1562,1584,1560,1310,457,27,-216,-724,-1019,-1083,-1205,-1027,-553,-336,-433,-355,-48,271,666,597,217,163,207,-48,-470,-794,-880,-755,-580,-556,-634,-509,-302,-246,-225,-160,-84,-33,-70,-159,-241,-337,-337,-269,-268,-267,-237,-135,-33,-14,-54,-87,-53,-13,-24,-64,-77,-102,-120,-111,-107,-106,-108,-112,-120,-127,-123,-119,-102,-73,-57,-66,-92,-99,-75,-61,-66,-92,-128,-153,-145,0,0,0,0,0,0,0,0,0,0,0,0},{34,-76,76,-116,134,-151,175,-247,1818,8483,8396,-6722,-27585,-6240,18716,19357,19568,6178,-2452,-1326,2474,-2023,-8979,-10535,-9021,-5135,-5192,-2889,-1876,-592,1969,3827,4454,2976,3328,2495,1279,169,-255,-1137,-1114,-2009,-3178,-2045,-1750,-1245,-168,500,335,968,1363,411,155,701,1100,487,-492,-1450,-1870,-1412,-1123,-1073,-1195,-955,-558,-82,407,431,148,216,507,368,85,53,116,-51,-259,-486,-606,-445,-171,-126,-315,-378,-239,-31,195,338,260,21,-68,-59,24,92,-6,-236,-398,-362,-283,-238,-299,-318,-264,-199,-71,51,37,-2,-76,-144,-115,-60,-38,-71,-93,-90,-54,-57,-100,-123,-120,-66,8,51,51,39,30,-16,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 51 degrees + {{1,1,1,1,0,-2,0,0,1,0,-1,-3,1,-3,7,5,-3,-2,-5,7,-11,7,168,1154,1758,1317,-2359,-5339,-2409,2073,6057,6405,3679,1709,1197,888,131,-591,-1518,-1860,-2088,-2065,-1432,-1132,-730,90,765,1062,1170,1203,1220,893,364,-180,-606,-533,-680,-1104,-1163,-640,-357,-449,-342,-143,11,294,539,294,101,123,19,-274,-543,-683,-757,-671,-564,-549,-510,-361,-252,-214,-158,-107,-56,-55,-130,-227,-326,-381,-333,-287,-316,-272,-136,-48,-36,-36,-31,-32,-41,-39,-57,-98,-102,-129,-151,-142,-111,-73,-65,-82,-112,-110,-108,-105,-93,-85,-72,-69,-85,-106,-102,-86,-84,-100,-148,-160,0,0,0,0,0,0,0,0,0,0,0,0},{3,-40,39,-91,143,-210,291,-348,4719,9929,4823,-18954,-24087,9853,20064,18976,13743,1018,-1575,975,2767,-5383,-10533,-10725,-6904,-4959,-4900,-2683,-2298,247,2560,4987,3798,3282,3798,2153,591,54,-326,-1522,-1451,-2652,-2811,-2229,-1701,-580,-2,3,803,1760,665,299,754,762,659,53,-1043,-2252,-1844,-989,-899,-1063,-939,-562,-166,224,404,394,138,161,183,131,119,104,-73,-186,-256,-435,-499,-300,-62,-184,-372,-317,-95,113,291,314,72,-100,-113,-79,35,56,-96,-348,-398,-305,-176,-183,-262,-259,-241,-152,-2,61,-23,-85,-153,-152,-84,-44,-71,-109,-100,-72,-61,-71,-79,-80,-78,-38,19,45,51,38,-5,-55,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 58 degrees + {{1,1,1,1,1,0,-1,-2,0,2,1,-1,-3,1,-2,9,2,-2,-2,-3,7,-9,15,146,1011,1605,1414,-2044,-5143,-2488,1855,5636,5903,3488,1860,1298,1028,434,-430,-1570,-1709,-1496,-1471,-1052,-842,-658,-206,381,644,756,875,888,505,-35,-5,-147,-387,-600,-905,-832,-561,-320,-282,-376,-231,76,267,184,81,70,-62,-228,-263,-334,-600,-722,-615,-459,-404,-396,-291,-226,-169,-83,-117,-139,-114,-185,-308,-335,-333,-386,-363,-264,-155,-108,-74,-20,8,12,-14,-51,-73,-96,-110,-136,-180,-169,-107,-59,-50,-51,-71,-89,-80,-93,-111,-104,-71,-46,-71,-110,-131,-116,-102,-97,-113,-139,0,0,0,0,0,0,0,0,0,0,0,0},{-50,48,-78,68,-62,37,-51,697,7555,10138,-3403,-27926,-10262,19676,18095,16861,7245,-486,-509,3663,1053,-8569,-10842,-9408,-5955,-5744,-3338,-3073,-2467,804,3510,4828,3213,4314,3619,1809,610,168,-1045,-1440,-1866,-3071,-2701,-2361,-1237,-506,-406,374,1587,1260,311,820,912,606,245,-520,-1858,-2296,-1317,-909,-766,-842,-607,-190,79,208,423,362,59,-30,-140,35,204,29,-257,-208,-219,-374,-361,-99,-33,-250,-354,-246,-20,239,331,177,-99,-205,-191,-67,69,-19,-253,-411,-329,-198,-90,-163,-222,-215,-187,-86,21,-9,-87,-147,-183,-142,-103,-82,-102,-126,-126,-96,-77,-64,-44,-21,-31,-17,12,30,25,-1,-56,-75,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 64 degrees + {{0,0,1,1,1,0,0,-1,-1,-1,2,0,-1,-2,1,-2,12,-4,3,-6,4,-3,9,-1,257,1092,1610,1077,-2900,-4908,-1512,2673,5695,5104,2941,1799,1425,875,43,-462,-961,-1085,-1143,-1145,-947,-1005,-944,-419,204,379,539,576,317,341,488,150,-187,-144,-436,-929,-674,-267,-432,-503,-336,-144,79,128,-60,-50,-52,-170,-199,-194,-338,-608,-608,-445,-363,-359,-314,-252,-191,-112,-147,-196,-178,-178,-241,-312,-325,-388,-382,-280,-212,-156,-98,-18,12,18,5,-35,-76,-119,-130,-151,-165,-163,-130,-74,-61,-45,-49,-65,-67,-89,-108,-98,-74,-68,-74,-95,-135,-148,-139,-118,-96,-94,0,0,0,0,0,0,0,0,0,0,0,0},{-61,73,-123,151,-192,230,-352,2108,9242,8878,-11720,-28530,2102,21375,16086,14203,4141,-512,411,5310,-1479,-10007,-9974,-8077,-6381,-5815,-2594,-3472,-1949,926,4137,3963,3069,4969,3368,1592,976,404,-1546,-1537,-1906,-3094,-3136,-2082,-932,-994,-366,978,1497,738,503,1124,825,421,-24,-1063,-2122,-1830,-1062,-933,-679,-563,-326,-73,144,258,368,196,33,-203,-299,26,221,-41,-282,-182,-226,-316,-200,32,-61,-255,-297,-182,30,253,298,78,-206,-259,-209,-37,48,-80,-347,-407,-216,-95,-81,-164,-153,-173,-144,-37,14,-74,-124,-144,-167,-159,-138,-107,-110,-144,-141,-106,-77,-39,3,16,-5,13,24,15,-6,-35,-67,-61,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 71 degrees + {{1,1,1,1,2,1,2,0,-1,0,1,2,0,1,-3,3,3,9,-5,7,-9,14,0,18,-25,378,1172,1643,548,-3654,-4390,-408,3323,5308,4375,2582,1574,1229,974,618,73,-445,-791,-1147,-1241,-1374,-1380,-1125,-563,-57,98,88,216,785,797,438,254,280,-93,-630,-575,-580,-697,-600,-379,-341,-177,74,-99,-281,-69,11,-193,-218,-167,-276,-443,-466,-396,-320,-283,-259,-226,-201,-177,-227,-240,-210,-202,-252,-332,-339,-311,-312,-295,-207,-106,-28,13,16,-6,-33,-60,-114,-158,-155,-131,-132,-137,-109,-72,-51,-46,-38,-50,-70,-79,-89,-86,-83,-77,-87,-127,-157,-156,-125,-93,-57,0,0,0,0,0,0,0,0,0,0,0,0},{-45,54,-103,148,-210,282,-439,3392,10351,6478,-18606,-24451,11017,19796,14070,11854,3061,-384,1677,5820,-4030,-10225,-8506,-7117,-7193,-5437,-2574,-3967,-1387,1474,4091,2852,3386,4949,3037,1785,1476,347,-1523,-1252,-2156,-3171,-3151,-1957,-1144,-1196,-134,1041,1140,452,722,1273,632,286,-297,-1362,-1947,-1331,-941,-951,-553,-320,-159,-49,218,290,207,21,-25,-328,-408,20,240,-95,-274,-150,-193,-236,-54,95,-90,-233,-208,-135,37,246,206,-57,-259,-258,-217,-31,19,-171,-393,-318,-138,-45,-70,-141,-115,-125,-94,-21,-22,-117,-127,-142,-157,-181,-158,-143,-152,-153,-141,-105,-67,-17,32,28,11,37,48,5,-37,-56,-64,-46,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 77 degrees + {{0,0,0,0,0,1,1,-2,-1,-2,-1,0,0,-1,-3,-2,0,4,3,-3,-2,-1,21,0,-16,43,760,1424,1539,-1350,-4779,-2461,1729,4203,4580,3211,1844,1687,1938,1260,518,-29,-485,-1165,-1518,-1469,-1655,-1499,-1114,-455,-251,-315,450,996,814,681,685,393,63,-103,-579,-988,-899,-600,-501,-441,-278,-127,-86,-211,-102,-6,-156,-242,-128,-88,-249,-431,-462,-334,-251,-260,-275,-239,-235,-265,-268,-221,-205,-253,-300,-300,-275,-307,-316,-257,-148,-43,-2,-11,-40,-49,-77,-111,-132,-145,-137,-129,-121,-116,-104,-75,-52,-47,-48,-54,-70,-98,-100,-88,-92,-106,-124,-144,-156,-132,-95,-59,0,0,0,0,0,0,0,0,0,0,0,0},{-32,34,-75,118,-183,257,-400,3958,10784,4619,-21524,-20513,14445,17759,12638,10867,3107,-205,2711,5548,-5508,-9737,-7328,-6705,-7493,-5170,-2936,-4253,-1315,1846,4057,2062,3538,4814,2615,1936,1943,209,-1377,-630,-2148,-3478,-2950,-1697,-1631,-1319,84,792,685,340,929,1122,494,299,-415,-1419,-1642,-953,-959,-922,-418,-210,-174,-30,260,245,110,-92,-116,-416,-419,6,226,-115,-281,-105,-143,-167,21,99,-107,-198,-162,-128,44,227,114,-170,-272,-236,-216,-24,-14,-232,-395,-248,-111,-47,-45,-113,-114,-106,-55,-26,-65,-123,-111,-155,-175,-175,-165,-182,-192,-168,-139,-96,-56,-19,19,21,22,42,48,15,-39,-71,-65,-37,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 84 degrees + {{1,1,1,0,2,1,1,0,1,1,1,1,2,0,0,0,1,1,8,-2,3,-3,34,-5,0,-48,459,1239,1718,62,-4154,-3682,670,3391,4133,3404,2558,2262,2341,1750,766,-12,-439,-980,-1722,-1656,-1618,-1830,-1513,-637,-562,-379,701,1030,900,959,897,338,328,225,-752,-1288,-954,-598,-635,-511,-363,-258,-92,31,-10,-117,-170,-188,-81,-39,-133,-367,-466,-352,-251,-262,-285,-235,-284,-312,-267,-209,-187,-245,-274,-263,-260,-264,-274,-263,-188,-78,-31,-46,-56,-74,-98,-91,-70,-109,-149,-127,-90,-90,-106,-89,-55,-55,-52,-48,-62,-87,-103,-92,-92,-104,-105,-119,-131,-114,-77,-54,0,0,0,0,0,0,0,0,0,0,0,0},{-26,29,-63,102,-161,231,-372,3809,10795,4048,-21674,-18317,14726,15869,11338,10813,3694,166,3416,5386,-6135,-9255,-6247,-6406,-7439,-4986,-3397,-4632,-1434,1734,3815,1835,3437,4582,2416,1930,2039,261,-996,-77,-1857,-3324,-2849,-1621,-1829,-1532,-10,429,198,242,973,892,397,379,-334,-1266,-1341,-681,-878,-874,-311,-141,-215,-92,272,209,36,-149,-217,-467,-401,-20,151,-101,-215,-83,-102,-86,69,99,-90,-182,-160,-102,45,176,56,-209,-306,-221,-172,-33,-37,-232,-368,-244,-100,-32,-35,-83,-100,-99,-39,-18,-72,-126,-97,-155,-185,-164,-157,-195,-211,-187,-138,-77,-44,-29,1,8,23,61,60,32,-12,-48,-60,-41,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 90 degrees + {{0,-1,0,0,0,0,1,-1,-1,-1,-3,-2,0,-1,-3,-2,1,-3,3,-6,5,-6,30,-4,-8,-47,329,1169,1786,609,-3752,-4428,-2,3245,4183,3761,3021,2461,2409,1775,649,-10,-623,-1123,-1653,-1784,-1778,-1897,-1473,-1054,-606,266,636,838,1299,1242,658,470,553,-76,-1012,-1285,-905,-733,-694,-605,-515,-282,44,219,70,-116,-144,-123,-120,-69,-114,-339,-464,-377,-288,-270,-261,-264,-322,-341,-260,-198,-181,-198,-265,-305,-227,-188,-232,-250,-208,-150,-120,-88,-105,-132,-86,-39,-56,-110,-133,-108,-82,-80,-82,-81,-85,-81,-74,-71,-73,-92,-111,-110,-93,-88,-99,-101,-96,-79,-72,-78,0,0,0,0,0,0,0,0,0,0,0,0},{-34,36,-72,106,-156,211,-360,2992,10320,5261,-19411,-19019,12464,14963,10485,11482,4492,538,3429,5760,-5510,-9213,-5716,-6083,-7264,-5014,-3459,-5056,-1843,1413,3408,1738,3312,4545,2344,1994,1859,226,-644,342,-1565,-2922,-2536,-1761,-1911,-1544,-289,-47,-120,203,847,664,376,451,-159,-986,-1167,-628,-743,-793,-289,-125,-241,-133,229,153,22,-156,-246,-468,-400,-85,72,-61,-168,-65,-89,-51,71,113,-61,-185,-178,-101,32,127,40,-186,-297,-233,-165,-36,-37,-199,-342,-267,-132,-31,-25,-91,-85,-93,-40,-11,-59,-122,-107,-141,-174,-168,-155,-185,-208,-189,-159,-95,-46,-31,-19,-8,15,67,81,42,-1,-31,-40,-34,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 96 degrees + {{0,1,1,1,1,1,1,1,0,0,0,0,2,0,-1,-2,3,1,1,-9,7,4,26,-8,-3,-43,434,1316,1986,198,-4543,-4386,568,3791,4654,4193,2963,2083,2186,1465,295,-225,-736,-1381,-1799,-1678,-1851,-1739,-1404,-1161,-74,585,603,994,1442,1142,657,686,221,-633,-1080,-1035,-932,-836,-694,-720,-514,-160,149,243,135,17,-28,-81,-188,-182,-156,-288,-498,-457,-280,-231,-272,-301,-332,-307,-219,-183,-163,-185,-281,-270,-180,-152,-195,-234,-223,-199,-160,-167,-178,-108,-14,-31,-95,-105,-84,-67,-75,-71,-62,-61,-88,-105,-92,-92,-94,-107,-108,-98,-85,-75,-82,-75,-65,-59,-72,-76,0,0,0,0,0,0,0,0,0,0,0,0},{-36,38,-71,92,-123,151,-259,1734,9105,7500,-14809,-20993,7666,14450,9677,12563,5764,911,3015,6307,-3588,-9310,-5634,-5736,-7001,-5332,-3248,-5224,-2657,835,2988,1715,2730,4739,2564,1979,1751,238,-601,620,-1030,-2497,-2252,-1738,-1820,-1711,-526,-480,-518,115,715,467,280,547,82,-644,-1031,-662,-625,-725,-277,-164,-252,-164,185,83,-12,-130,-213,-415,-440,-144,3,-26,-147,-60,-65,-65,42,120,-29,-172,-189,-135,-21,100,46,-147,-247,-221,-197,-58,-12,-158,-315,-286,-163,-77,-29,-102,-96,-87,-38,-4,-55,-115,-111,-129,-164,-165,-154,-169,-189,-186,-179,-126,-64,-41,-39,-27,10,68,88,51,0,-19,-11,-13,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 103 degrees + {{0,1,1,1,1,1,1,0,-1,0,1,0,1,1,-1,2,-1,5,-4,-5,-1,14,19,-10,-13,46,817,1941,1847,-2308,-5817,-2236,2679,4640,4947,3861,2381,2019,1692,517,-133,-622,-1242,-1667,-1785,-1757,-1603,-1386,-1559,-456,669,513,852,1464,1223,789,968,534,-566,-1105,-930,-853,-1006,-874,-803,-680,-328,13,118,174,287,226,76,-54,-192,-329,-291,-323,-503,-529,-325,-221,-304,-336,-306,-214,-161,-139,-186,-252,-206,-172,-145,-161,-199,-235,-253,-223,-245,-257,-157,-27,-32,-94,-101,-62,-38,-56,-61,-54,-47,-65,-85,-116,-119,-121,-128,-125,-114,-73,-67,-70,-59,-52,-57,-65,-50,-52,0,0,0,0,0,0,0,0,0,0,0,0},{-25,15,-36,30,-28,6,-16,357,6496,9782,-6839,-21911,-1105,13223,8814,13482,8473,1199,2282,6414,7,-8743,-6142,-5289,-6660,-5895,-3155,-4739,-3838,-137,2229,1984,1761,4448,3284,2086,1624,519,-622,418,-257,-1890,-2012,-1775,-1345,-1760,-1065,-739,-907,-209,502,376,131,535,440,-228,-845,-767,-482,-701,-355,-190,-261,-153,79,34,-61,-88,-153,-286,-445,-232,-34,-8,-138,-103,-70,-72,-41,94,27,-157,-185,-163,-97,28,76,-69,-194,-178,-190,-124,-17,-101,-252,-299,-204,-144,-80,-114,-116,-92,-55,0,-34,-101,-104,-124,-166,-152,-140,-144,-163,-175,-196,-160,-107,-73,-66,-41,2,61,87,46,-1,9,22,0,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 109 degrees + {{0,0,1,1,1,3,1,0,-1,0,1,2,0,0,0,3,-1,3,-6,-3,-2,17,2,5,-30,377,1627,2436,-428,-5364,-4334,1174,4428,5237,4286,2639,2158,2136,972,-206,-672,-1211,-1730,-1942,-1658,-1591,-1385,-1353,-941,403,700,750,1356,1379,944,938,763,-153,-949,-1108,-889,-888,-950,-985,-835,-393,-132,-4,81,228,364,319,105,-9,-149,-395,-448,-442,-492,-500,-413,-330,-331,-301,-209,-144,-114,-161,-212,-179,-136,-129,-151,-167,-229,-262,-268,-307,-277,-169,-85,-92,-116,-97,-56,-27,-40,-59,-51,-27,-38,-81,-107,-113,-127,-132,-143,-145,-115,-64,-38,-52,-63,-68,-51,-40,-41,-53,0,0,0,0,0,0,0,0,0,0,0,0},{-1,-16,8,-28,47,-83,119,-190,3544,9850,1018,-18697,-10016,9625,8475,12883,12068,2128,1287,5738,3360,-6641,-7006,-4960,-6277,-6317,-3650,-3842,-4629,-1201,1307,2127,1282,3546,3825,2417,1667,765,-301,-80,227,-1283,-1796,-1819,-1122,-1389,-1486,-1019,-1058,-569,220,314,80,422,662,167,-593,-826,-456,-613,-535,-244,-236,-132,-24,-24,-85,-38,-110,-166,-367,-291,-59,16,-119,-162,-115,-103,-89,32,74,-132,-190,-154,-138,-60,68,7,-133,-146,-136,-166,-80,-48,-160,-275,-248,-198,-133,-122,-139,-117,-84,-9,1,-60,-109,-123,-166,-135,-113,-122,-135,-157,-189,-179,-139,-110,-87,-51,-5,50,76,35,21,36,38,7,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 116 degrees + {{0,0,1,2,2,1,0,-1,0,1,2,0,0,0,3,2,2,-4,-2,-3,11,2,2,-11,236,1563,2646,-66,-5073,-4818,543,4483,5629,4457,2460,1959,2207,1313,48,-585,-1418,-2104,-2189,-1852,-1685,-1287,-1111,-1074,305,953,754,1295,1458,1079,983,830,6,-881,-1060,-862,-895,-981,-1019,-960,-518,-159,-80,-32,153,348,353,209,157,93,-156,-404,-570,-571,-488,-480,-530,-501,-351,-159,-79,-129,-170,-98,-66,-115,-133,-117,-167,-216,-233,-329,-358,-257,-143,-120,-145,-162,-125,-69,-26,-15,-57,-54,-26,-14,-48,-103,-127,-117,-100,-127,-160,-143,-84,-42,-36,-52,-83,-67,-26,-17,-50,-93,0,0,0,0,0,0,0,0,0,0,0,0},{10,-24,12,-28,30,-40,38,-79,744,6773,7871,-8978,-16905,454,7592,10333,15689,6143,-17,3819,5908,-1832,-7353,-5165,-5563,-6419,-4823,-3139,-4579,-2771,154,1685,1374,2092,3902,2911,1887,1089,348,-452,280,-411,-1568,-1755,-1196,-963,-1470,-1359,-1256,-873,-205,173,49,267,709,587,-124,-728,-565,-498,-670,-411,-272,-150,-87,-88,-157,-20,11,-78,-222,-297,-90,22,-62,-211,-203,-180,-124,-43,60,-71,-178,-147,-143,-133,-16,44,-34,-87,-114,-164,-129,-34,-63,-196,-274,-248,-187,-131,-187,-171,-112,-32,14,-21,-94,-125,-140,-127,-100,-93,-96,-134,-172,-183,-154,-149,-125,-76,-17,20,30,45,61,57,41,19,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 122 degrees + {{-1,0,2,0,1,0,-1,-1,0,1,0,-1,-2,2,2,0,-1,-4,-3,3,9,-3,-5,119,1362,2811,527,-4637,-5339,-312,4280,5951,4848,2528,1824,2198,1425,99,-388,-1108,-2064,-2453,-2216,-1914,-1556,-1022,-961,-135,1037,1092,1260,1396,1095,1105,922,211,-659,-1083,-972,-756,-854,-1111,-1057,-593,-224,-200,-108,86,263,343,210,160,204,40,-152,-395,-608,-607,-532,-552,-627,-545,-286,-84,-117,-125,-37,-3,-34,-92,-109,-164,-204,-265,-340,-311,-239,-191,-179,-165,-152,-140,-121,-68,-26,-25,-46,-38,-23,-42,-75,-119,-120,-110,-109,-143,-142,-88,-56,-51,-80,-81,-61,-42,-27,-44,-79,-109,0,0,0,0,0,0,0,0,0,0,0,0},{3,-2,-15,3,-16,21,-46,63,-107,2882,8743,1429,-14924,-9437,3778,7590,15516,12068,984,1201,5776,2946,-5261,-6060,-4889,-6027,-5680,-3580,-3756,-3912,-1051,852,1542,1246,3067,3424,2095,1335,972,-236,-121,299,-1157,-1676,-1381,-876,-1225,-1381,-1483,-1143,-427,-89,-9,130,607,790,336,-390,-643,-512,-625,-558,-412,-262,-129,-120,-183,-113,72,9,-80,-239,-146,4,12,-196,-285,-229,-177,-102,-7,-28,-146,-143,-145,-172,-115,16,19,-33,-97,-144,-153,-59,-20,-112,-244,-265,-230,-180,-192,-218,-152,-78,-15,-27,-73,-107,-115,-120,-101,-82,-73,-114,-153,-171,-158,-158,-162,-113,-52,-18,-9,40,78,77,55,23,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 129 degrees + {{1,1,1,1,-1,-2,-2,-1,2,0,-2,-2,0,3,-1,-2,-6,-3,-5,10,-5,3,64,1235,2959,880,-4464,-5676,-841,4223,6327,5194,2559,1735,2204,1542,19,-553,-1045,-1943,-2338,-2285,-2138,-1920,-1203,-841,-499,833,1451,1449,1470,1076,1072,905,358,-370,-1088,-1136,-735,-654,-1016,-1143,-675,-201,-223,-202,-23,188,295,182,139,191,117,-41,-207,-410,-546,-593,-632,-681,-643,-417,-268,-177,-47,4,32,5,-1,-49,-140,-226,-323,-323,-248,-194,-223,-244,-198,-164,-153,-134,-94,-61,-45,-32,-32,-26,-42,-85,-115,-110,-102,-132,-150,-126,-80,-36,-46,-98,-124,-81,-31,-22,-51,-98,-110,-93,0,0,0,0,0,0,0,0,0,0,0,0},{6,6,-7,-7,-8,3,-2,-4,-2,218,4493,8147,-3449,-14466,-5788,3295,11052,16798,7437,-462,2629,5812,492,-5785,-5176,-4956,-5832,-4844,-3288,-3973,-2779,-339,1027,1217,1548,3332,2649,1490,1445,659,-424,432,-201,-1409,-1480,-1160,-956,-1308,-1412,-1501,-767,-185,-221,-79,440,820,670,202,-352,-601,-598,-563,-509,-510,-266,-171,-145,-144,-67,31,67,-29,-189,-75,24,-46,-257,-279,-227,-159,-89,-31,-69,-120,-148,-179,-188,-88,21,16,-43,-103,-140,-110,-17,-18,-120,-242,-251,-209,-175,-212,-201,-149,-93,-44,-47,-78,-87,-67,-73,-82,-77,-70,-109,-141,-143,-146,-162,-141,-96,-70,-41,32,87,97,89,62,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 135 degrees + {{1,1,1,-1,-2,-2,0,1,0,-1,-1,0,2,0,0,-7,-1,-7,11,-8,9,99,1532,3240,297,-5248,-5578,-195,5001,6939,5102,2163,1719,2312,1364,-271,-804,-1311,-2169,-2390,-2178,-2068,-1953,-1302,-763,-684,470,1608,1810,1671,1068,1053,841,263,-340,-1048,-1250,-873,-525,-802,-1067,-710,-132,-90,-196,-62,99,184,108,104,160,129,-12,-220,-356,-363,-434,-645,-755,-699,-542,-320,-172,-116,-41,27,91,71,-5,-97,-259,-315,-248,-194,-223,-253,-221,-188,-218,-216,-141,-84,-51,-43,-50,-41,-14,-21,-65,-119,-128,-122,-137,-148,-129,-73,-27,-25,-69,-107,-102,-61,-29,-46,-89,-113,-102,-105,0,0,0,0,0,0,0,0,0,0,0,0},{9,3,2,-10,-4,-3,3,-10,14,-49,939,6206,5942,-7885,-12811,-3578,5415,15058,14418,3192,-419,4071,4939,-1937,-5748,-4571,-4983,-5487,-4049,-3354,-3686,-1686,66,1078,994,2197,3078,1724,1559,1361,76,40,416,-736,-1357,-1437,-1017,-1155,-1439,-1411,-1159,-477,-181,-220,76,729,805,476,139,-316,-661,-668,-456,-510,-539,-290,-171,-136,-157,-83,-2,80,-48,-136,-53,4,-91,-236,-243,-209,-149,-87,-28,-80,-155,-202,-219,-184,-55,5,-30,-73,-92,-124,-79,-8,-34,-134,-223,-236,-199,-175,-202,-200,-181,-119,-64,-61,-73,-49,-52,-65,-71,-77,-90,-121,-135,-141,-145,-144,-132,-124,-75,4,76,97,90,80,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 141 degrees + {{3,0,-1,-2,-2,1,1,-1,-2,-2,0,3,-1,0,-7,0,-11,9,-7,12,67,1504,3506,521,-5486,-5985,-390,5236,7518,5453,2032,1651,2474,1460,-420,-1040,-1460,-2298,-2518,-2271,-2095,-1905,-1321,-611,-593,-87,1258,1999,1907,1168,1075,867,247,-170,-950,-1494,-1114,-506,-670,-943,-665,-177,-36,-21,32,-1,71,83,44,101,118,-5,-227,-387,-338,-348,-544,-688,-787,-598,-258,-170,-195,-161,6,106,75,19,-99,-209,-192,-184,-244,-263,-234,-210,-223,-248,-234,-178,-109,-52,-39,-43,-35,-25,-20,-42,-89,-125,-157,-169,-170,-136,-81,-43,-48,-61,-65,-62,-56,-72,-83,-85,-82,-91,-135,-168,0,0,0,0,0,0,0,0,0,0,0,0},{0,10,0,-1,-12,-3,-4,1,-10,14,-28,1863,7099,3033,-10292,-11228,-1827,8858,16389,10779,916,268,4993,3480,-3492,-5219,-4116,-4940,-5057,-3516,-3419,-3037,-1076,242,927,1182,2598,2185,1495,1760,856,117,346,61,-880,-1416,-1319,-1059,-1401,-1470,-1200,-798,-421,-171,-81,330,752,669,421,154,-353,-737,-626,-399,-452,-497,-372,-229,-156,-180,-137,-61,21,-54,-55,-4,-19,-106,-160,-170,-192,-162,-67,-41,-137,-214,-237,-247,-187,-64,-42,-46,-50,-101,-131,-48,15,-30,-139,-217,-227,-171,-160,-207,-232,-204,-116,-68,-69,-66,-41,-39,-39,-61,-106,-133,-124,-122,-137,-130,-138,-152,-102,-28,42,80,78,77,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 148 degrees + {{1,-2,-2,-2,2,2,-1,-2,0,2,2,-1,1,-7,3,-10,10,-9,19,121,1952,3861,-329,-6612,-5848,653,6346,8228,5214,1471,1717,2725,1231,-824,-1343,-1851,-2588,-2628,-2331,-2219,-1869,-1152,-380,-286,-110,1075,1913,1958,1255,995,781,263,-113,-915,-1578,-1411,-760,-636,-765,-558,-158,104,165,178,104,29,-11,60,138,29,-158,-313,-359,-331,-385,-613,-820,-685,-306,-148,-219,-256,-133,28,56,-3,-79,-68,-33,-99,-209,-249,-240,-227,-246,-269,-275,-235,-170,-119,-64,-31,-25,-26,2,7,-33,-92,-133,-139,-169,-201,-172,-103,-66,-70,-67,-61,-30,-9,-50,-92,-103,-95,-90,-115,-151,-136,0,0,0,0,0,0,0,0,0,0,0,0},{-3,2,10,-1,1,-13,1,-8,4,-9,9,8,2095,6953,2088,-10421,-10992,-1041,10393,15614,9105,404,467,5111,2759,-3612,-4608,-3691,-4738,-4699,-3249,-3253,-2665,-1022,110,845,1479,2159,1569,1738,1639,790,387,266,-5,-893,-1397,-1300,-1222,-1498,-1476,-927,-544,-444,-205,177,437,523,639,525,129,-374,-601,-521,-354,-345,-476,-540,-396,-250,-240,-222,-207,-63,28,52,46,-4,-70,-45,-51,-161,-200,-114,-74,-165,-244,-299,-350,-233,-59,-37,-68,-78,-93,-80,9,26,-57,-151,-175,-172,-162,-179,-210,-218,-187,-125,-112,-111,-57,-3,-11,-45,-86,-136,-161,-135,-109,-95,-110,-142,-123,-58,2,33,39,47,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 154 degrees + {{-3,-2,-1,0,2,0,-3,0,1,4,-2,2,-10,4,-12,11,-13,25,92,1970,4252,-142,-7147,-6401,693,6834,8915,5605,1252,1581,2953,1341,-1043,-1565,-2066,-2842,-2748,-2434,-2332,-1946,-1152,-269,-19,-81,860,1861,2049,1304,888,740,217,-22,-618,-1549,-1639,-1013,-799,-798,-502,-135,74,271,406,208,39,65,162,102,-47,-176,-377,-408,-352,-412,-779,-931,-587,-201,-92,-191,-152,-45,13,-19,-98,-87,33,17,-141,-195,-166,-205,-292,-311,-276,-269,-251,-178,-114,-78,-37,-7,-1,10,28,-10,-87,-118,-139,-167,-182,-175,-157,-128,-82,-65,-70,-49,-8,-1,-42,-87,-110,-105,-112,-120,-105,-117,0,0,0,0,0,0,0,0,0,0,0,0},{-5,0,2,7,-1,1,-16,4,-13,9,-18,17,80,2757,6878,70,-11304,-9765,1242,11834,14307,7082,-300,1244,5157,1485,-3801,-3921,-3475,-4663,-4205,-2994,-3122,-2328,-909,141,1014,1531,1542,1480,1913,1436,861,385,253,-140,-1007,-1371,-1361,-1299,-1589,-1311,-668,-432,-393,-91,305,384,506,661,459,-41,-282,-307,-418,-368,-375,-490,-630,-584,-423,-297,-265,-244,-77,83,157,73,8,23,65,-27,-166,-192,-142,-131,-216,-313,-384,-365,-219,-87,-54,-51,-61,-69,-45,17,20,-63,-143,-158,-155,-156,-166,-178,-201,-184,-147,-136,-114,-48,6,-17,-69,-125,-154,-148,-121,-83,-68,-95,-110,-88,-39,1,13,16,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 161 degrees + {{-4,-3,1,2,-3,-3,-2,1,3,-4,-2,-12,3,-15,11,-20,26,165,2558,4642,-1283,-8488,-6153,2069,8241,9580,5090,636,1847,3226,937,-1596,-1862,-2450,-3228,-2830,-2501,-2492,-1936,-978,-54,226,111,874,1854,2067,1414,813,418,123,-126,-625,-1364,-1641,-1272,-970,-834,-559,-164,120,324,434,365,154,230,321,79,-128,-249,-357,-402,-461,-724,-961,-795,-456,-289,-251,-72,97,109,11,-127,-110,52,79,-104,-207,-149,-120,-227,-336,-365,-338,-304,-227,-151,-99,-86,-68,-18,18,47,30,-27,-91,-121,-132,-157,-181,-183,-181,-174,-135,-103,-102,-68,-25,-14,-25,-59,-93,-103,-114,-130,-116,-109,-130,0,0,0,0,0,0,0,0,0,0,0,0},{1,-4,-1,2,8,-3,3,-17,4,-15,12,-19,19,70,2546,6497,190,-10773,-9477,1431,11142,13213,6879,-176,1234,4771,1425,-3218,-3412,-3138,-4345,-3924,-2873,-2951,-2269,-1023,55,1025,1160,1119,1566,1884,1499,969,463,253,-237,-927,-1379,-1360,-1387,-1547,-1112,-633,-422,-252,56,153,317,619,647,303,-12,4,-44,-338,-455,-437,-584,-746,-759,-632,-413,-234,-165,-119,83,239,115,26,132,181,-19,-193,-212,-151,-201,-302,-367,-405,-363,-261,-125,-31,-9,-55,-87,-38,45,31,-51,-128,-153,-142,-118,-129,-168,-199,-188,-151,-144,-126,-80,-40,-40,-67,-114,-152,-140,-74,-43,-72,-93,-86,-79,-51,-20,-6,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 167 degrees + {{-3,2,3,-1,-3,0,1,6,-2,1,-13,5,-16,15,-22,30,121,2510,5156,-866,-9103,-6999,1997,8861,10380,5587,383,1690,3586,1064,-1907,-2143,-2593,-3555,-3030,-2524,-2633,-2074,-1030,48,470,262,810,1707,2088,1521,975,391,10,-208,-693,-1176,-1548,-1360,-1169,-940,-605,-240,35,247,403,352,394,452,344,69,-52,-129,-318,-425,-622,-874,-920,-699,-565,-442,-261,-49,158,160,30,-53,87,131,-20,-139,-160,-153,-175,-235,-307,-370,-390,-340,-239,-129,-73,-62,-62,-49,10,59,44,-18,-77,-112,-134,-131,-151,-171,-190,-180,-157,-156,-130,-69,-34,-32,-36,-46,-65,-69,-79,-120,-129,-110,-105,-101,0,0,0,0,0,0,0,0,0,0,0,0},{5,0,-3,1,5,8,-1,2,-14,9,-15,17,-23,28,129,2871,6101,-1002,-10756,-8144,2596,10899,12064,5858,-257,1730,4366,888,-2918,-2901,-2983,-4156,-3591,-2710,-2786,-2136,-999,136,975,809,997,1618,1893,1542,962,514,79,-315,-919,-1356,-1369,-1452,-1332,-1008,-646,-398,-52,168,79,283,699,671,222,28,82,51,-255,-524,-631,-698,-821,-810,-665,-460,-224,-76,-2,50,156,179,137,163,134,-37,-200,-245,-183,-232,-335,-396,-406,-354,-254,-114,-27,-27,-68,-69,-5,49,27,-53,-114,-129,-118,-113,-147,-164,-175,-176,-167,-168,-151,-94,-54,-50,-66,-97,-122,-101,-39,-57,-103,-96,-80,-82,-71,-41,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 174 degrees + {{0,3,-1,-5,-1,1,7,-4,2,-16,5,-17,13,-22,26,78,2374,5631,-187,-9569,-8062,1632,9440,11266,6237,243,1428,3934,1297,-2229,-2499,-2674,-3848,-3366,-2563,-2706,-2214,-1122,31,735,475,820,1567,2017,1618,1021,509,-5,-219,-822,-1220,-1407,-1415,-1237,-1041,-695,-326,21,166,203,273,606,651,277,57,33,17,-213,-491,-736,-851,-849,-756,-653,-504,-276,-66,116,107,36,106,201,143,20,-73,-181,-243,-212,-199,-302,-420,-418,-347,-245,-142,-74,-48,-56,-52,-8,41,20,-23,-70,-114,-133,-137,-142,-156,-175,-185,-189,-185,-152,-88,-53,-60,-56,-57,-74,-77,-62,-92,-115,-102,-109,-104,-73,0,0,0,0,0,0,0,0,0,0,0,0},{0,3,-1,-5,-1,1,7,-4,2,-16,5,-17,13,-22,26,78,2374,5631,-187,-9569,-8062,1632,9440,11266,6237,243,1428,3934,1297,-2229,-2499,-2674,-3848,-3366,-2563,-2706,-2214,-1122,31,735,475,820,1567,2017,1618,1021,509,-5,-219,-822,-1220,-1407,-1415,-1237,-1041,-695,-326,21,166,203,273,606,651,277,57,33,17,-213,-491,-736,-851,-849,-756,-653,-504,-276,-66,116,107,36,106,201,143,20,-73,-181,-243,-212,-199,-302,-420,-418,-347,-245,-142,-74,-48,-56,-52,-8,41,20,-23,-70,-114,-133,-137,-142,-156,-175,-185,-189,-185,-152,-88,-53,-60,-56,-57,-74,-77,-62,-92,-115,-102,-109,-104,-73,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 180 degrees +}; +inline constexpr std::int16_t pcm44100_p50[23][2][hrir::taps]={ + {{6,3,-28,36,-72,106,-153,207,-55,3561,4741,2370,-8236,-16173,2342,12509,15337,11784,-651,-2615,1849,1809,-3284,-4373,-6525,-4665,-2274,-3453,-2739,-1821,-132,714,1933,2744,1924,2097,2159,1087,120,-81,-368,-231,-1666,-2489,-1566,-1430,-790,168,278,65,673,811,622,170,-179,379,627,158,-162,89,-134,-577,-690,-907,-1243,-1497,-1325,-860,-515,-319,-25,162,84,203,233,183,204,107,-184,-298,-209,-219,-281,-322,-357,-451,-374,-248,-178,-187,-158,-77,33,173,222,142,-13,-65,-90,-107,-141,-240,-280,-229,-171,-132,-133,-123,-110,-124,-99,-64,-85,-84,-63,-60,-25,-24,-57,-65,-73,-84,-103,-132,-110,-63,-31,-45,0,0,0,0,0,0,0,0,0,0,0,0},{6,3,-28,36,-72,106,-153,207,-55,3561,4741,2370,-8236,-16173,2342,12509,15337,11784,-651,-2615,1849,1809,-3284,-4373,-6525,-4665,-2274,-3453,-2739,-1821,-132,714,1933,2744,1924,2097,2159,1087,120,-81,-368,-231,-1666,-2489,-1566,-1430,-790,168,278,65,673,811,622,170,-179,379,627,158,-162,89,-134,-577,-690,-907,-1243,-1497,-1325,-860,-515,-319,-25,162,84,203,233,183,204,107,-184,-298,-209,-219,-281,-322,-357,-451,-374,-248,-178,-187,-158,-77,33,173,222,142,-13,-65,-90,-107,-141,-240,-280,-229,-171,-132,-133,-123,-110,-124,-99,-64,-85,-84,-63,-60,-25,-24,-57,-65,-73,-84,-103,-132,-110,-63,-31,-45,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 0 degrees + {{16,-8,27,-39,41,-67,73,-88,115,-109,1575,4328,3099,-2292,-14387,-7618,6914,13230,16225,5951,-1932,-961,1456,-533,-2125,-4189,-5302,-3056,-3497,-2929,-2165,-1677,-51,1243,1942,1752,1894,1993,2301,1310,343,-216,-668,-1301,-2248,-1689,-1358,-793,-69,141,-61,255,615,499,369,-157,80,803,753,71,-177,-165,-586,-647,-664,-1091,-1381,-1247,-766,-513,-466,-179,224,99,-158,-82,73,124,151,16,-246,-243,-180,-260,-357,-341,-356,-394,-374,-259,-156,-113,-26,33,107,168,172,105,-23,-76,-122,-188,-224,-218,-195,-172,-127,-170,-207,-141,-65,-13,-15,-85,-154,-141,-66,35,46,-45,-121,-121,-74,-45,-67,-136,-152,-90,0,0,0,0,0,0,0,0,0,0,0,0},{21,-56,68,-108,145,-198,250,-212,3354,5668,3267,-7423,-19753,472,14968,16583,13880,-13,-3705,882,2445,-3656,-5156,-6820,-5699,-2082,-3140,-2901,-2190,-155,1026,1780,2956,2352,2156,2209,1288,-8,-303,-473,-75,-1382,-2848,-1973,-1508,-924,126,411,95,694,915,874,385,-340,178,503,271,103,1,-145,-361,-648,-973,-1294,-1594,-1732,-1212,-357,-147,-289,66,394,429,357,344,267,145,-101,-353,-392,-322,-208,-327,-453,-423,-303,-265,-197,-146,-116,-65,22,164,213,151,5,-106,-135,-125,-163,-263,-298,-225,-181,-133,-104,-108,-92,-111,-113,-103,-89,-40,-56,-86,-43,-20,-53,-84,-93,-111,-124,-100,-50,-34,-28,-30,-31,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 8 degrees + {{-3,13,-7,21,-30,31,-56,59,-73,101,-94,1495,3678,2782,-2101,-12222,-6642,5240,11430,14010,5814,-670,-227,1548,-372,-1844,-3560,-4611,-3180,-3251,-2573,-2139,-1709,-105,1015,1469,1555,1723,1882,2239,1291,379,-16,-417,-1201,-1885,-1425,-1223,-783,-289,-105,-100,186,352,294,230,-57,236,831,740,126,-241,-344,-436,-592,-829,-1071,-1165,-1022,-644,-361,-385,-321,13,94,-94,-220,-131,55,92,-6,-164,-233,-248,-259,-314,-413,-408,-311,-281,-239,-157,-62,-3,36,100,121,130,86,9,-82,-121,-152,-227,-235,-216,-187,-153,-148,-163,-132,-67,-39,-29,-80,-122,-117,-75,15,13,-51,-96,-110,-103,-75,-62,-102,-142,0,0,0,0,0,0,0,0,0,0,0,0},{-62,76,-127,154,-190,220,-260,2631,6459,4459,-5161,-22651,-4107,17043,17980,16110,1251,-4081,-102,2541,-3139,-6219,-7353,-6659,-2301,-2919,-2638,-2275,-657,1128,2043,2956,2337,2529,2326,1346,100,-383,-646,-100,-1056,-2946,-2354,-1706,-1033,-37,434,226,706,933,1001,794,-266,-332,166,607,377,-141,-173,-295,-507,-850,-1260,-1778,-2220,-1446,-170,-56,-464,33,487,616,618,399,260,217,-12,-413,-481,-325,-272,-442,-433,-361,-344,-289,-182,-95,-72,-30,28,142,236,215,9,-152,-191,-181,-181,-273,-315,-274,-228,-125,-71,-93,-96,-101,-104,-102,-75,-42,-66,-93,-43,-13,-48,-114,-155,-147,-108,-56,-30,-42,-7,10,-18,-17,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 16 degrees + {{-3,-2,8,-6,15,-25,21,-46,48,-58,77,-72,1301,3118,2569,-1605,-10303,-6235,3686,9580,12278,5975,367,380,1525,-245,-1451,-2935,-4105,-3073,-2907,-2377,-2126,-1660,-236,691,1148,1379,1588,1650,1994,1414,650,256,-203,-988,-1633,-1361,-1227,-923,-503,-206,-125,-108,92,352,254,33,364,818,667,183,-162,-438,-536,-631,-860,-995,-948,-841,-620,-371,-294,-293,-131,31,-49,-192,-217,-104,25,-49,-180,-246,-336,-335,-291,-333,-372,-292,-180,-127,-111,-59,-7,25,64,92,109,74,-13,-100,-125,-171,-232,-257,-223,-167,-129,-109,-130,-115,-80,-51,-35,-78,-123,-103,-55,-9,-12,-78,-114,-112,-108,-83,-67,-73,0,0,0,0,0,0,0,0,0,0,0,0},{44,-94,112,-104,102,-119,1519,6776,5784,-1654,-23329,-11609,17404,19728,18364,3843,-4540,-850,2763,-2161,-6971,-7905,-8205,-2824,-2689,-2731,-1805,-951,809,1988,3470,2359,2287,2689,1643,66,-362,-689,-216,-626,-2973,-2797,-1918,-1069,-150,272,218,878,1041,948,1212,-72,-943,34,926,235,-270,-58,-191,-469,-639,-1231,-1991,-2279,-1521,-318,-127,-399,18,592,748,630,453,367,293,10,-410,-511,-371,-290,-426,-465,-423,-353,-272,-148,-44,-66,-16,35,154,287,265,49,-152,-216,-235,-225,-251,-337,-329,-265,-143,-58,-80,-82,-117,-108,-51,-11,-48,-111,-91,-41,-1,-31,-142,-193,-135,-67,-54,-55,-40,29,38,-14,-24,-40,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 24 degrees + {{-1,-2,1,6,-4,12,-20,17,-36,37,-43,54,-47,1101,2648,2409,-1074,-8730,-6003,2401,8019,10884,5996,1178,853,1426,-65,-1073,-2395,-3588,-2827,-2593,-2251,-2027,-1588,-400,445,889,1067,1322,1568,2005,1606,896,490,14,-957,-1669,-1352,-1262,-1011,-592,-402,-370,-157,194,336,334,184,330,793,724,112,-288,-432,-537,-731,-900,-819,-746,-817,-652,-337,-214,-242,-170,-18,-11,-122,-230,-279,-123,-82,-254,-330,-355,-329,-271,-259,-267,-213,-127,-72,-57,-66,-32,14,63,91,62,11,-69,-119,-138,-199,-239,-225,-173,-124,-88,-87,-110,-93,-90,-68,-45,-67,-107,-107,-60,-32,-37,-102,-141,-110,-91,-75,-55,0,0,0,0,0,0,0,0,0,0,0,0},{-17,-13,60,-117,174,305,6125,6991,2433,-19882,-20994,13611,21693,20205,8301,-3933,-2132,2298,280,-7114,-8489,-9427,-4708,-2659,-2860,-1689,-1013,849,1581,3569,2894,2267,2559,1929,482,-483,-673,-444,-213,-2553,-3298,-2429,-1201,-145,187,109,740,1336,1004,1402,198,-1244,-121,1026,234,-531,-281,-76,-222,-481,-1308,-2229,-2016,-1235,-624,-368,-362,67,670,759,561,475,423,331,130,-358,-607,-491,-247,-287,-496,-543,-412,-238,-93,-8,-56,-54,29,162,265,288,120,-106,-220,-277,-240,-254,-343,-371,-304,-178,-84,-81,-127,-109,-87,-43,-6,-41,-83,-89,-68,-48,-43,-142,-170,-94,-76,-70,-58,-28,9,7,-19,-13,-6,0,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 32 degrees + {{1,-2,-2,0,4,-3,10,-17,15,-30,29,-38,43,-33,921,2267,2268,-612,-7511,-5818,1443,6794,9677,5857,1795,1164,1364,142,-767,-1950,-3073,-2510,-2372,-2088,-1858,-1497,-566,45,577,994,1345,1571,1996,1735,1025,513,-24,-1060,-1697,-1312,-1222,-1176,-861,-373,-291,-172,263,512,408,98,382,800,480,-81,-225,-366,-662,-804,-765,-705,-755,-759,-576,-340,-203,-161,-105,-9,-23,-162,-273,-312,-284,-266,-291,-306,-335,-345,-259,-160,-137,-138,-135,-82,-23,-21,-19,-3,31,40,-15,-76,-126,-159,-167,-168,-185,-190,-141,-78,-48,-81,-116,-107,-90,-56,-44,-86,-145,-136,-81,-49,-62,-114,-148,-128,-76,-40,0,0,0,0,0,0,0,0,0,0,0,0},{-106,187,-262,342,-363,4207,7840,5732,-12115,-28002,3817,23101,20770,13575,-1334,-2860,934,2390,-5237,-8929,-9930,-7016,-3430,-3733,-1569,-1333,582,1744,3405,3400,2282,2880,2049,717,-295,-599,-746,-3,-1804,-3498,-2940,-1725,-306,134,141,555,1360,1281,1392,318,-906,-130,537,459,-477,-786,-233,-34,-339,-1294,-2201,-1916,-851,-649,-682,-304,206,532,498,574,601,408,318,240,-261,-644,-504,-282,-265,-405,-536,-489,-278,-37,33,-65,-46,57,93,191,265,198,-44,-211,-261,-231,-223,-334,-376,-333,-215,-107,-108,-160,-99,-59,-75,-37,-40,-69,-48,-68,-98,-97,-119,-113,-76,-68,-73,-40,-12,-11,-39,-50,-9,10,17,-3,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 40 degrees + {{-1,2,1,-2,1,4,-1,9,-11,15,-24,26,-34,42,-25,808,1985,2148,-346,-6678,-5559,913,5969,8630,5568,2176,1375,1330,294,-549,-1588,-2526,-2193,-2159,-1836,-1694,-1629,-839,17,654,1011,1321,1527,1882,1596,901,430,-97,-1140,-1614,-1307,-1425,-1171,-584,-368,-393,105,498,454,394,102,192,586,420,-136,-319,-342,-628,-777,-697,-683,-699,-673,-519,-322,-158,-47,-34,-51,-90,-185,-324,-380,-374,-336,-301,-322,-312,-262,-174,-117,-110,-89,-90,-58,0,26,1,-45,-41,-40,-87,-144,-163,-149,-119,-110,-148,-154,-87,-33,-29,-76,-114,-90,-66,-62,-78,-122,-162,-149,-98,-58,-60,-101,-119,-109,-71,0,0,0,0,0,0,0,0,0,0,0,0},{96,-124,152,-183,1534,7458,7893,-2340,-27641,-11846,21199,21569,17157,4125,-2565,-653,3286,-1408,-9218,-9755,-8608,-4706,-4849,-2788,-1499,-336,1571,3223,4329,2420,2986,2715,1125,-182,-463,-872,-272,-840,-3186,-3590,-2321,-612,-170,27,519,1248,1620,1407,351,-517,74,258,320,-128,-1012,-692,-131,-242,-1261,-2064,-1688,-720,-581,-668,-280,209,520,276,255,583,627,367,153,-162,-471,-549,-365,-223,-350,-476,-485,-319,-79,44,18,-45,35,62,120,211,197,11,-210,-243,-223,-165,-260,-352,-332,-258,-138,-112,-154,-103,-64,-89,-75,-72,-76,-54,-65,-120,-115,-92,-89,-78,-66,-50,-24,2,-1,-52,-68,-48,-7,9,18,-4,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 48 degrees + {{-3,0,1,0,0,-1,3,-1,5,-8,13,-23,22,-30,39,-15,778,1796,2040,-408,-6273,-5108,896,5567,7693,5081,2329,1476,1273,426,-381,-1313,-2013,-1857,-2006,-1778,-1623,-1475,-707,138,685,895,1155,1284,1529,1374,804,317,-205,-1140,-1707,-1300,-1074,-945,-615,-424,-63,342,452,427,138,-146,182,554,205,-264,-252,-287,-627,-719,-623,-687,-677,-554,-415,-279,-119,-6,-21,-115,-159,-248,-391,-381,-365,-403,-376,-265,-191,-205,-175,-115,-78,-43,-24,-17,-8,5,-38,-95,-123,-131,-143,-156,-131,-99,-85,-97,-112,-109,-56,-6,-10,-70,-114,-96,-87,-94,-110,-144,-174,-161,-116,-65,-39,-60,-97,-117,0,0,0,0,0,0,0,0,0,0,0,0},{119,-209,314,-299,4808,8679,5613,-17050,-26753,9744,23821,18413,10404,1,-1284,1650,3457,-6412,-10775,-9526,-6009,-5058,-4740,-2266,-1866,727,2326,4744,3612,2781,3485,2091,251,-389,-674,-791,-373,-2214,-3705,-3332,-1282,-269,-322,215,1011,1774,1689,571,-238,57,292,340,29,-895,-992,-461,-399,-1097,-1860,-1651,-820,-444,-389,-244,36,504,358,15,206,638,535,168,-85,-325,-508,-465,-235,-257,-411,-467,-360,-149,31,93,5,-36,43,69,160,193,54,-207,-300,-242,-145,-143,-273,-312,-259,-185,-132,-106,-99,-70,-97,-96,-115,-110,-75,-105,-149,-122,-60,-62,-88,-71,-39,-25,-6,22,-7,-54,-75,-58,-10,14,2,-51,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 56 degrees + {{-4,-1,0,-1,1,-2,-1,1,0,1,-4,9,-21,16,-23,39,6,858,1708,1945,-996,-6307,-4248,1493,5594,6820,4406,2210,1466,1256,533,-265,-1138,-1627,-1766,-1868,-1390,-1297,-1246,-646,188,548,548,823,1047,1299,1144,704,222,-545,-1132,-1178,-1044,-1045,-837,-488,-292,174,446,176,-8,35,0,107,312,69,-199,-184,-297,-583,-662,-646,-678,-558,-404,-341,-262,-107,-20,-71,-181,-243,-300,-374,-401,-399,-381,-315,-217,-171,-174,-156,-99,-35,11,10,-32,-59,-63,-98,-154,-188,-168,-129,-115,-93,-75,-72,-85,-90,-66,-20,11,-18,-86,-138,-130,-108,-106,-125,-171,-186,-160,-106,-51,-25,-50,-97,0,0,0,0,0,0,0,0,0,0,0,0},{-61,77,-109,930,7104,9085,-1268,-27410,-13329,21110,20756,14961,5243,-507,-391,4272,927,-9706,-10641,-8250,-5232,-5729,-3339,-2789,-1808,1112,3441,4796,3023,3865,3457,1404,26,-266,-1022,-526,-1134,-3200,-3888,-2501,-683,-662,-172,648,1372,1859,1175,147,2,251,466,255,-620,-1067,-672,-653,-1091,-1631,-1590,-1093,-561,-200,-37,32,248,448,126,-42,296,564,269,13,-201,-443,-496,-274,-163,-335,-463,-391,-229,-41,113,102,-35,-41,28,89,180,113,-131,-352,-343,-225,-98,-165,-243,-235,-208,-156,-80,-81,-76,-70,-117,-148,-158,-105,-144,-197,-166,-81,-50,-85,-78,-33,-31,-30,12,22,-18,-50,-70,-50,-20,-11,-54,-76,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 64 degrees + {{-3,-2,-1,0,0,0,-3,2,-3,2,-3,4,-4,-12,6,0,12,97,1051,1749,1707,-2392,-6435,-2684,2731,5838,5809,3561,1898,1488,1279,546,-316,-1196,-1283,-1419,-1491,-1111,-1150,-1172,-725,88,247,223,656,961,1065,1054,439,-166,-190,-577,-1098,-1144,-826,-626,-471,-53,140,-48,-61,76,33,-17,60,123,24,-43,-102,-421,-637,-619,-599,-579,-429,-306,-313,-266,-150,-59,-137,-235,-283,-354,-404,-351,-284,-343,-328,-203,-137,-135,-110,-54,-14,7,-21,-89,-133,-143,-151,-170,-172,-144,-100,-80,-65,-63,-73,-77,-59,-27,-4,-10,-60,-123,-156,-136,-119,-126,-141,-168,-175,-148,-98,-39,-21,-44,0,0,0,0,0,0,0,0,0,0,0,0},{-163,267,-415,2423,8323,8440,-9457,-29069,-536,23266,18002,12323,3085,-771,635,5871,-2142,-10685,-9623,-7194,-5946,-5555,-2508,-3334,-1448,1139,4031,4038,3060,4530,3436,1125,168,-36,-1072,-747,-1916,-3621,-3868,-1715,-685,-999,96,994,1530,1487,795,202,137,535,547,-124,-962,-878,-580,-1199,-1548,-1560,-1256,-840,-313,1,120,208,389,339,-30,-51,333,437,93,-98,-322,-528,-368,-100,-172,-405,-452,-299,-153,37,143,97,-48,-36,8,115,170,-12,-273,-414,-339,-218,-128,-161,-169,-171,-171,-103,-45,-45,-40,-91,-142,-191,-158,-147,-224,-223,-141,-66,-87,-103,-49,-3,-27,-11,25,-3,-33,-32,-34,-32,-41,-48,-93,-67,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 72 degrees + {{0,-1,-1,0,1,1,0,-1,4,-3,6,-5,12,-19,12,-1,29,-42,402,1350,1937,636,-4740,-5564,-18,4273,5765,4589,2689,1588,1607,1127,280,-338,-906,-1007,-1372,-1247,-1068,-1251,-1269,-757,32,46,107,631,1074,825,578,669,311,-199,-645,-1031,-1081,-699,-378,-498,-464,-124,71,-5,2,54,57,19,28,164,52,-320,-594,-580,-523,-516,-465,-328,-293,-329,-287,-180,-86,-172,-298,-385,-336,-257,-243,-302,-370,-277,-151,-86,-74,-68,-53,-47,-34,-99,-174,-187,-150,-128,-145,-127,-100,-63,-57,-59,-50,-57,-55,-40,-22,-22,-44,-87,-142,-160,-140,-116,-104,-131,-166,-158,-122,-70,-24,-10,0,0,0,0,0,0,0,0,0,0,0,0},{-159,276,-430,3339,8999,7071,-14975,-26203,6651,21868,16152,10936,2378,-1024,1822,6164,-4151,-10483,-8360,-6625,-6707,-5199,-2491,-3607,-1157,1392,3909,3091,3333,4653,3235,1336,630,32,-791,-867,-2567,-3757,-3430,-1430,-1151,-925,310,935,1409,1208,576,121,418,808,425,-367,-906,-661,-775,-1483,-1649,-1393,-1117,-654,-97,22,174,294,467,241,-86,-66,296,375,38,-194,-407,-480,-262,-20,-184,-408,-410,-274,-112,72,146,76,-47,-22,23,126,103,-93,-330,-424,-339,-213,-145,-152,-125,-134,-119,-65,-8,-10,-26,-106,-159,-191,-155,-193,-262,-216,-135,-91,-120,-99,-30,-3,-14,22,27,-23,-39,-20,-10,-13,-28,-62,-110,-60,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 80 degrees + {{0,-1,-1,-1,0,1,-1,-3,3,-2,2,-5,3,-3,-3,14,10,-18,98,1021,1761,1621,-2665,-6266,-2080,3057,5224,4994,3357,1906,1494,1531,782,162,-373,-923,-1314,-1386,-1140,-1302,-1520,-1137,-346,-73,-87,440,788,543,1006,1237,558,13,-289,-807,-1160,-707,-533,-947,-862,-175,70,-23,37,56,91,164,115,32,33,-129,-471,-655,-515,-388,-431,-406,-307,-326,-381,-252,-141,-182,-283,-325,-281,-227,-203,-288,-352,-282,-156,-89,-70,-70,-96,-105,-106,-141,-191,-185,-136,-121,-125,-96,-65,-64,-76,-51,-30,-44,-63,-70,-41,-35,-49,-81,-137,-160,-147,-102,-88,-104,-130,-156,-139,-101,-34,-14,0,0,0,0,0,0,0,0,0,0,0,0},{-133,233,-372,3417,9176,6283,-16455,-23516,8096,19865,15280,10900,2382,-1027,2563,5816,-4644,-9816,-7347,-6290,-6951,-5194,-2885,-3774,-1218,1466,3735,2438,3165,4641,3008,1471,1240,351,-702,-808,-2508,-3866,-3109,-1340,-1601,-883,317,764,1113,964,431,71,615,910,363,-379,-686,-552,-910,-1526,-1611,-1321,-1069,-577,-26,-13,168,338,465,197,-97,-101,236,345,59,-244,-427,-412,-228,-40,-180,-350,-395,-280,-121,78,123,43,-26,-2,38,108,54,-133,-337,-416,-364,-222,-134,-156,-139,-120,-78,-41,10,10,-29,-100,-145,-186,-175,-221,-258,-216,-157,-131,-136,-101,-38,-9,-12,30,28,-26,-45,-23,4,8,-3,-57,-106,-51,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 88 degrees + {{0,-1,-1,0,0,1,1,-2,3,0,3,-3,-1,0,0,22,-1,-2,26,889,1737,1815,-1976,-6213,-2813,2552,4892,5079,3783,2186,1614,1596,881,283,-266,-777,-1365,-1580,-1325,-1415,-1533,-1262,-372,-125,-115,344,338,814,1500,1176,670,325,-312,-852,-752,-769,-1105,-1175,-746,-288,-120,18,77,157,176,259,271,6,-180,-80,-292,-669,-562,-370,-339,-385,-375,-375,-363,-265,-218,-245,-256,-207,-218,-231,-227,-270,-278,-215,-119,-97,-122,-115,-123,-152,-176,-191,-170,-137,-128,-122,-98,-58,-42,-50,-70,-49,-25,-45,-68,-75,-56,-52,-62,-81,-126,-148,-127,-89,-67,-65,-96,-149,-151,-102,-44,-22,0,0,0,0,0,0,0,0,0,0,0,0},{-116,206,-345,2758,8790,6818,-14558,-22664,5370,18016,15239,11791,2947,-891,2739,5633,-3956,-9229,-6662,-5937,-6766,-5336,-3386,-4000,-1564,1111,3436,2363,2806,4329,2995,1565,1442,829,-457,-747,-2124,-3431,-3028,-1590,-1614,-979,-61,602,976,588,234,166,626,871,454,-181,-533,-444,-809,-1436,-1554,-1324,-1029,-660,-82,-16,148,304,462,253,-125,-145,177,351,124,-201,-433,-385,-199,-62,-183,-325,-362,-276,-161,39,111,40,-13,21,40,86,45,-108,-324,-409,-360,-244,-135,-148,-151,-138,-61,-20,11,15,-9,-71,-113,-163,-182,-224,-243,-222,-174,-145,-148,-104,-51,-22,-16,29,29,-20,-31,-13,15,30,17,-27,-71,-42,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 96 degrees + {{0,-1,-1,-1,0,0,0,-1,3,-1,5,-6,-2,-8,7,19,0,-19,86,1021,1921,1670,-2859,-6368,-2023,3102,5022,4966,3765,2370,1812,1594,512,-146,-384,-920,-1490,-1628,-1567,-1650,-1493,-890,-251,-33,80,-124,527,1549,1359,939,781,240,-549,-593,-648,-1173,-1419,-992,-529,-458,-223,-60,152,343,303,224,228,111,-127,-234,-391,-537,-569,-422,-309,-356,-427,-415,-327,-286,-257,-239,-222,-201,-164,-225,-293,-222,-165,-126,-105,-132,-180,-200,-188,-216,-218,-165,-125,-142,-138,-108,-63,-38,-49,-51,-44,-41,-57,-59,-73,-86,-82,-70,-64,-87,-121,-144,-120,-68,-31,-43,-99,-149,-151,-94,-42,-40,0,0,0,0,0,0,0,0,0,0,0,0},{-91,152,-259,1508,7478,8442,-9298,-22743,-1194,15523,15680,13496,4418,-722,2263,5786,-1891,-8684,-6585,-5409,-6401,-5572,-3647,-4305,-2291,378,2852,2496,2413,4072,3013,1732,1513,1050,-256,-392,-1582,-2905,-2715,-1848,-1663,-1156,-465,236,845,356,-18,191,480,802,655,65,-386,-357,-506,-1237,-1465,-1347,-1106,-794,-238,-70,89,271,439,331,-88,-197,62,340,234,-91,-418,-406,-197,-58,-177,-336,-362,-264,-202,-35,75,60,-2,13,36,53,63,-54,-260,-389,-356,-267,-173,-151,-148,-159,-98,-37,2,6,10,-35,-85,-135,-162,-214,-250,-227,-190,-150,-155,-128,-72,-41,-38,2,17,-14,-23,4,24,33,27,3,-47,-49,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 104 degrees + {{0,-3,-2,0,1,-1,0,0,4,-2,5,-7,4,-16,22,-1,21,-48,357,1473,2294,426,-5267,-5638,474,4478,5296,4615,3223,2122,2104,1309,-30,-541,-968,-1339,-1729,-1668,-1645,-1799,-1310,-356,154,146,-199,134,1404,1527,1109,880,434,-192,-369,-487,-1102,-1509,-1240,-577,-475,-484,-329,-36,374,428,268,158,172,184,-3,-337,-495,-553,-521,-364,-374,-440,-431,-371,-322,-282,-215,-173,-217,-223,-214,-217,-183,-145,-81,-91,-131,-177,-225,-270,-285,-240,-158,-105,-135,-151,-120,-60,-35,-45,-54,-50,-33,-38,-60,-74,-88,-112,-91,-57,-53,-77,-116,-123,-93,-33,-16,-56,-114,-144,-117,-58,-29,-81,0,0,0,0,0,0,0,0,0,0,0,0},{-27,32,-44,320,5059,9413,-1702,-20324,-10063,10390,15656,15625,7198,-274,1270,5624,1257,-7258,-7145,-5053,-5731,-5837,-3849,-4214,-3301,-655,1876,2660,1925,3645,3330,1911,1563,1269,-198,-285,-704,-2263,-2424,-1829,-1597,-1475,-878,-130,575,193,-201,134,253,613,887,370,-233,-278,-151,-873,-1355,-1322,-1178,-967,-482,-184,12,220,356,380,7,-184,-42,270,297,69,-307,-440,-234,-44,-152,-331,-355,-300,-242,-97,14,39,26,6,6,19,75,17,-159,-321,-340,-292,-209,-172,-156,-170,-131,-73,-35,-14,17,-4,-56,-79,-131,-182,-245,-243,-202,-147,-137,-147,-111,-62,-54,-27,2,-7,-20,12,39,36,39,20,-42,-37,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 112 degrees + {{-3,0,-1,0,1,-1,-3,3,-1,3,-4,1,-8,0,11,3,-3,67,1044,2299,1822,-3385,-6970,-1982,3828,5573,5229,3720,2161,2113,1925,492,-354,-939,-1606,-2096,-1952,-1690,-1826,-1505,-667,97,435,117,-130,1234,1770,1103,962,508,-149,-241,-341,-995,-1490,-1372,-724,-428,-424,-455,-304,289,501,267,125,120,163,164,-72,-317,-508,-577,-425,-424,-497,-477,-444,-379,-265,-175,-168,-182,-231,-289,-218,-110,-57,-73,-111,-125,-180,-224,-310,-346,-246,-157,-148,-166,-143,-98,-62,-48,-44,-50,-58,-58,-56,-57,-58,-100,-131,-108,-73,-52,-58,-71,-93,-82,-47,-40,-58,-104,-139,-113,-58,-37,-71,-133,0,0,0,0,0,0,0,0,0,0,0,0},{30,-55,90,-155,2144,8004,5634,-12614,-17425,887,13440,17195,11604,1414,-2,4377,4344,-3792,-7644,-5348,-5001,-5759,-4426,-3751,-3967,-1934,461,2469,1830,2627,3562,2407,1735,1436,103,-537,-136,-1379,-1932,-1776,-1545,-1463,-1339,-603,252,108,-400,-48,205,338,821,723,64,-253,53,-316,-1180,-1315,-1118,-1029,-819,-436,-102,153,277,378,115,-155,-103,141,279,188,-108,-344,-293,-99,-103,-295,-344,-323,-285,-184,-55,-3,10,0,-5,-27,53,84,-36,-228,-300,-287,-242,-189,-194,-180,-145,-98,-80,-69,-10,13,-29,-37,-86,-151,-209,-237,-212,-150,-121,-151,-147,-89,-61,-54,-18,-7,-23,-3,42,54,40,7,-6,-7,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 120 degrees + {{-3,-2,-1,0,-2,-2,0,2,1,-1,-4,-2,-11,12,-7,15,-10,765,2304,2412,-2364,-7309,-3506,3349,5972,5763,4053,2129,1964,2050,708,-223,-684,-1522,-2260,-2364,-2130,-2048,-1637,-758,86,481,386,-41,1148,2005,1182,978,515,-194,-246,-286,-924,-1516,-1453,-796,-335,-412,-447,-342,174,529,291,101,41,81,98,-39,-125,-308,-463,-386,-454,-613,-565,-483,-467,-358,-151,-45,-156,-334,-260,-152,-117,-31,-32,-100,-175,-172,-244,-363,-321,-200,-172,-210,-195,-173,-102,-47,-43,-43,-62,-48,-63,-94,-88,-83,-108,-135,-116,-76,-61,-66,-71,-65,-35,-19,-44,-82,-126,-155,-127,-65,-35,-60,-124,-158,0,0,0,0,0,0,0,0,0,0,0,0},{12,-16,16,-23,253,4262,8669,-1119,-16857,-11037,6190,16273,16262,5984,-515,2086,5301,1314,-6113,-6395,-4576,-5225,-5065,-3704,-3815,-3113,-1055,1328,2109,1672,2986,2899,2217,1736,555,-626,-141,-606,-1317,-1304,-1686,-1417,-1413,-1089,-224,-63,-477,-277,77,282,589,748,440,-39,70,64,-713,-1243,-1072,-931,-965,-772,-396,32,187,280,188,-108,-136,5,219,244,71,-176,-242,-163,-107,-220,-332,-310,-294,-266,-176,-87,-33,-24,-32,-32,0,90,62,-88,-233,-264,-252,-220,-211,-195,-153,-110,-110,-134,-89,-6,-1,-24,-46,-125,-163,-189,-205,-176,-133,-130,-147,-123,-91,-78,-42,-17,-25,-27,18,52,23,4,35,40,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 128 degrees + {{-1,0,0,-1,-2,-1,2,1,2,-4,-1,-11,9,-8,19,-20,660,2416,2746,-2162,-7650,-4150,3331,6497,6292,4213,1988,1888,2101,664,-367,-702,-1515,-2238,-2381,-2292,-2362,-2049,-965,139,480,658,232,893,2216,1570,927,444,-173,-296,-477,-879,-1391,-1588,-1039,-251,-171,-422,-393,193,594,311,121,47,-20,-23,-74,-202,-263,-250,-264,-412,-585,-594,-612,-564,-389,-178,-64,-146,-239,-209,-153,-62,9,-53,-137,-156,-212,-315,-325,-235,-198,-229,-211,-181,-166,-139,-87,-48,-27,-9,-47,-87,-92,-90,-109,-152,-159,-125,-76,-51,-57,-78,-70,-13,15,-5,-61,-135,-167,-143,-97,-68,-60,-85,-135,-161,0,0,0,0,0,0,0,0,0,0,0,0},{-10,13,-18,23,-60,893,5925,7170,-6409,-16842,-6490,9974,17888,12898,2386,-147,3448,4792,-1105,-6534,-5153,-4408,-5118,-4387,-3405,-3542,-2445,-355,1617,1584,1786,2785,2624,2354,1175,-299,-455,-200,-733,-649,-1398,-1701,-1292,-1281,-681,-405,-695,-403,18,95,496,676,496,235,212,203,-338,-862,-905,-869,-901,-883,-714,-381,35,160,137,-37,-154,-107,76,295,212,-8,-137,-105,-122,-175,-263,-295,-295,-302,-288,-231,-141,-55,-41,-47,-38,30,98,42,-91,-217,-270,-235,-180,-191,-184,-151,-120,-142,-146,-90,-21,-13,-36,-79,-129,-139,-176,-185,-141,-105,-121,-146,-136,-111,-77,-27,-27,-34,-11,18,7,15,63,63,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 136 degrees + {{0,3,-2,-2,1,3,3,2,-5,1,-12,8,-7,18,-15,722,2764,2897,-2813,-8282,-3910,4186,7283,6609,3972,1713,1958,2117,433,-695,-934,-1691,-2432,-2379,-2229,-2443,-2111,-1086,-31,365,831,594,811,2230,1840,932,478,-129,-387,-643,-967,-1374,-1559,-1189,-393,-46,-267,-299,187,631,413,179,38,-77,-73,-94,-273,-343,-249,-239,-337,-510,-526,-594,-660,-470,-169,-100,-207,-176,-103,-55,-17,-7,-65,-145,-187,-281,-310,-231,-192,-239,-271,-206,-139,-149,-147,-106,-86,-39,6,-18,-76,-93,-91,-106,-143,-179,-168,-107,-43,-49,-79,-49,1,14,6,-33,-99,-146,-145,-122,-91,-79,-99,-119,-124,-102,0,0,0,0,0,0,0,0,0,0,0,0},{-8,-6,10,-14,19,-43,1529,6746,5084,-9288,-15826,-3226,12754,17385,9633,1026,497,3995,4015,-2577,-6050,-4282,-4327,-4850,-3891,-3124,-3270,-1966,98,1455,1226,1779,2568,2745,2118,394,-406,-331,-287,-88,-630,-1785,-1454,-1196,-1003,-700,-964,-780,-85,157,310,552,525,334,295,345,-19,-576,-625,-514,-723,-926,-870,-634,-412,-133,7,-22,-142,-133,-61,164,301,204,37,-42,-57,-119,-163,-240,-299,-343,-353,-332,-257,-159,-93,-64,-28,-24,43,100,51,-92,-216,-232,-182,-156,-190,-191,-159,-122,-132,-142,-101,-38,-32,-43,-82,-129,-149,-145,-112,-91,-105,-134,-158,-152,-102,-51,-27,-24,-10,-12,-16,21,61,60,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 144 degrees + {{1,-3,-3,0,2,1,1,-5,-1,-11,5,-12,18,-13,817,3168,3008,-3635,-9013,-3613,5145,8182,6926,3676,1469,2126,2176,109,-1074,-1233,-1936,-2615,-2443,-2252,-2501,-2053,-1001,27,252,684,924,789,1829,2115,1196,407,-71,-295,-853,-1183,-1269,-1584,-1433,-537,52,-187,-223,238,646,542,340,80,-206,-119,-36,-236,-386,-360,-393,-457,-445,-444,-611,-671,-441,-219,-126,-98,-167,-144,23,121,25,-137,-211,-252,-272,-230,-236,-288,-284,-228,-177,-187,-170,-120,-94,-83,-39,-25,-65,-72,-58,-70,-120,-165,-187,-185,-136,-95,-87,-76,-53,-18,14,12,-39,-97,-125,-126,-118,-101,-105,-129,-143,-126,-77,-42,0,0,0,0,0,0,0,0,0,0,0,0},{-16,3,-12,13,-20,24,-16,1968,6871,3516,-10555,-14795,-871,13980,15869,7698,749,776,4198,3313,-3219,-5260,-3706,-4202,-4567,-3463,-2916,-3098,-1602,227,1145,1005,1703,2562,2741,1527,110,-293,-390,266,252,-1177,-1759,-1220,-1099,-927,-1089,-1162,-538,32,421,551,316,302,417,416,163,-234,-428,-293,-239,-599,-1009,-934,-592,-491,-400,-226,-124,-94,-73,13,168,246,274,167,26,-71,-85,-129,-262,-366,-401,-386,-360,-278,-197,-119,-61,-26,-16,44,113,69,-85,-188,-195,-161,-170,-194,-187,-156,-111,-116,-137,-110,-46,-45,-69,-93,-131,-137,-87,-63,-90,-126,-145,-160,-139,-85,-46,-23,4,-5,-41,-17,31,52,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 152 degrees + {{-1,-3,1,4,2,1,-7,0,-9,6,-12,18,-4,1007,3705,2970,-4863,-9804,-2884,6474,9155,7102,3202,1213,2390,2246,-312,-1505,-1586,-2300,-2843,-2503,-2255,-2546,-2045,-858,223,397,723,1122,871,1315,1945,1416,536,79,-359,-979,-1242,-1264,-1570,-1540,-811,-44,18,-98,221,588,661,536,158,-184,-154,-17,-150,-339,-428,-549,-569,-513,-543,-689,-658,-429,-89,54,-144,-207,-16,150,129,12,-114,-247,-256,-189,-232,-332,-333,-277,-238,-197,-184,-152,-120,-78,-30,-14,-33,-72,-87,-62,-55,-89,-155,-203,-183,-132,-101,-104,-103,-86,-37,17,17,-36,-92,-119,-110,-80,-69,-98,-135,-143,-130,-85,-37,-64,0,0,0,0,0,0,0,0,0,0,0,0},{-1,-14,3,-12,13,-22,26,6,2158,6626,2574,-10861,-13721,516,13829,14287,6836,797,871,4201,2721,-3240,-4422,-3283,-4006,-4259,-3110,-2815,-2925,-1413,100,875,844,1664,2535,2410,1139,132,-361,27,859,-104,-1443,-1546,-1131,-1019,-1122,-1400,-1022,-357,158,642,549,115,154,531,457,-7,-248,-174,-62,-144,-516,-1011,-1055,-760,-568,-526,-459,-197,-9,29,69,143,183,320,316,95,-107,-144,-156,-268,-383,-452,-470,-390,-252,-202,-167,-111,-31,38,86,89,27,-74,-145,-170,-183,-200,-198,-162,-131,-126,-122,-119,-99,-63,-85,-98,-84,-113,-133,-96,-75,-85,-109,-139,-151,-131,-82,-40,-3,-5,-63,-54,1,20,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 160 degrees + {{-4,1,5,0,0,-8,-1,-9,7,-14,19,4,1260,4319,2798,-6314,-10576,-1887,8030,10133,7105,2593,1026,2750,2272,-846,-1976,-1926,-2692,-3106,-2591,-2327,-2552,-1921,-758,305,616,932,1378,1193,840,1326,1527,636,153,-225,-1099,-1373,-1176,-1498,-1646,-977,-226,6,46,290,513,651,622,191,-97,27,98,-193,-388,-430,-519,-617,-695,-751,-848,-738,-324,74,37,-124,-58,113,181,145,36,-147,-200,-131,-212,-366,-356,-309,-335,-305,-221,-179,-167,-86,-17,-43,-14,8,-39,-93,-91,-74,-107,-155,-182,-175,-139,-93,-92,-128,-125,-66,-5,-15,-62,-87,-114,-102,-63,-47,-74,-106,-134,-152,-101,-50,-74,-99,0,0,0,0,0,0,0,0,0,0,0,0},{3,-2,-12,2,-10,12,-22,25,19,2108,6177,2195,-10382,-12748,841,12813,12992,6620,1030,902,3988,2367,-2811,-3670,-2929,-3769,-3944,-2856,-2745,-2766,-1418,-108,648,750,1637,2320,2034,1021,74,-121,760,779,-485,-1317,-1427,-1071,-1064,-1408,-1480,-787,-185,287,585,419,151,223,493,407,11,-116,-41,-3,-173,-539,-876,-1118,-1031,-670,-490,-509,-300,-14,162,163,124,157,299,354,135,-145,-191,-183,-297,-411,-454,-451,-400,-298,-223,-161,-87,-4,32,69,79,22,-77,-134,-161,-173,-188,-183,-167,-146,-116,-88,-91,-119,-99,-90,-83,-77,-116,-154,-127,-76,-44,-68,-121,-150,-119,-65,-39,-29,-67,-86,-34,6,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 168 degrees + {{1,7,1,0,-8,0,-9,9,-15,22,13,1563,4976,2549,-7845,-11309,-784,9711,11098,6974,1961,896,3180,2286,-1470,-2515,-2275,-3062,-3355,-2689,-2465,-2565,-1760,-559,368,705,1242,1629,1547,792,569,1232,899,166,-277,-1091,-1385,-1119,-1409,-1693,-1142,-352,0,97,282,470,606,620,169,-46,244,248,-161,-398,-461,-439,-605,-877,-993,-1009,-652,-186,-77,-92,22,152,209,184,146,45,-17,-41,-161,-329,-359,-335,-362,-384,-359,-272,-209,-136,-42,-23,-25,15,29,-3,-71,-113,-106,-116,-173,-195,-167,-109,-75,-92,-130,-140,-72,-36,-62,-80,-101,-130,-101,-50,-35,-44,-72,-129,-154,-99,-43,-78,-115,-64,0,0,0,0,0,0,0,0,0,0,0,0},{8,-1,0,-10,0,-10,10,-20,22,20,1872,5606,2271,-9279,-11978,248,11338,11998,6762,1430,881,3603,2264,-2142,-3038,-2625,-3453,-3608,-2750,-2642,-2628,-1562,-350,478,736,1496,1961,1772,925,136,570,1054,363,-442,-1155,-1402,-1052,-1213,-1651,-1364,-529,-37,251,366,361,383,519,300,124,195,133,-43,-196,-340,-514,-711,-988,-1167,-902,-466,-357,-296,-58,178,209,164,168,225,214,104,-87,-219,-259,-320,-389,-421,-424,-391,-315,-215,-122,-62,-22,6,61,60,-5,-85,-113,-126,-144,-182,-205,-179,-115,-75,-84,-110,-131,-100,-74,-69,-79,-123,-160,-121,-52,-25,-44,-89,-136,-134,-75,-37,-74,-111,-71,-19,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 176 degrees +}; +inline constexpr std::int16_t pcm44100_p60[19][2][hrir::taps]={ + {{16,-28,24,-11,-17,31,549,3878,4380,3365,-10240,-11245,7885,11168,8701,3347,1360,2913,2769,-1090,-5608,-5508,-5370,-2927,-2680,-2736,-1296,-656,378,1081,2018,1686,1672,1403,1229,573,-184,210,148,13,-1031,-1847,-2064,-1499,-978,-426,221,579,548,262,530,725,549,266,-196,-528,-380,-199,-209,-157,-203,-411,-550,-658,-544,-684,-1159,-1319,-739,-20,194,213,109,-45,-79,-31,25,52,80,-28,-259,-429,-408,-185,-83,-139,-281,-423,-403,-311,-138,81,88,-34,-135,-114,33,126,11,-114,-135,-116,-55,-33,-68,-147,-235,-261,-209,-100,-52,-120,-155,-146,-98,-34,-1,-6,-40,-91,-64,12,26,-14,-86,-177,-191,-84,0,0,0,0,0,0,0,0,0,0,0,0},{16,-28,24,-11,-17,31,549,3878,4380,3365,-10240,-11245,7885,11168,8701,3347,1360,2913,2769,-1090,-5608,-5508,-5370,-2927,-2680,-2736,-1296,-656,378,1081,2018,1686,1672,1403,1229,573,-184,210,148,13,-1031,-1847,-2064,-1499,-978,-426,221,579,548,262,530,725,549,266,-196,-528,-380,-199,-209,-157,-203,-411,-550,-658,-544,-684,-1159,-1319,-739,-20,194,213,109,-45,-79,-31,25,52,80,-28,-259,-429,-408,-185,-83,-139,-281,-423,-403,-311,-138,81,88,-34,-135,-114,33,126,11,-114,-135,-116,-55,-33,-68,-147,-235,-261,-209,-100,-52,-120,-155,-146,-98,-34,-1,-6,-40,-91,-64,12,26,-14,-86,-177,-191,-84,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 0 degrees + {{-31,35,-52,52,-59,53,-57,919,3622,3985,1891,-10713,-8089,7796,10129,8094,2747,1332,2651,2631,-1331,-4630,-4781,-4695,-2545,-2691,-2604,-1516,-679,161,928,1887,1639,1681,1367,1215,471,-133,183,239,-24,-1032,-1659,-1834,-1330,-853,-436,39,478,413,144,383,620,574,247,-180,-421,-286,-112,-213,-142,-187,-618,-647,-467,-503,-817,-1065,-954,-560,-131,143,231,15,-229,-195,-59,-20,-8,21,-52,-223,-356,-364,-245,-115,-115,-268,-376,-360,-266,-126,65,90,-36,-104,-104,-14,62,-12,-111,-108,-89,-47,-8,-61,-141,-213,-243,-190,-111,-80,-126,-174,-160,-74,-9,-20,-37,-38,-52,-41,-5,2,-34,-74,-130,-165,0,0,0,0,0,0,0,0,0,0,0,0},{9,-34,74,-123,166,100,3892,4889,4915,-8419,-15512,6608,12987,9311,4343,1190,3131,3053,-423,-6229,-6457,-6095,-3540,-2661,-2971,-1117,-544,476,1201,2278,1799,1475,1450,1256,654,-345,326,235,69,-867,-1986,-2353,-1744,-1079,-546,292,724,614,348,603,840,678,385,-207,-693,-582,-305,-47,-108,-271,-363,-475,-564,-497,-706,-1346,-1595,-896,47,210,111,209,159,105,94,28,46,155,40,-336,-546,-424,-148,-73,-122,-249,-434,-441,-337,-106,91,92,-41,-207,-148,82,176,38,-120,-202,-145,-25,19,-40,-180,-279,-280,-220,-93,-34,-109,-132,-145,-130,-24,35,10,-39,-105,-85,5,50,5,-105,-186,-160,-69,-18,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 10 degrees + {{14,-31,34,-49,58,-73,86,-83,1151,3250,3616,690,-10308,-5845,7242,9348,7368,2375,1377,2588,2396,-1234,-3775,-4323,-4055,-2306,-2671,-2536,-1572,-702,-24,886,1781,1566,1626,1340,1103,412,5,213,265,-93,-965,-1555,-1717,-1176,-826,-549,-42,423,201,15,561,737,458,154,-176,-337,-236,-48,-188,-374,-387,-509,-480,-444,-606,-796,-829,-668,-420,-240,-23,162,37,-226,-307,-202,-103,-45,-4,-96,-254,-325,-297,-221,-144,-124,-202,-281,-288,-221,-106,38,63,-55,-111,-90,-37,-9,-53,-105,-84,-40,-1,1,-78,-149,-192,-212,-186,-119,-93,-129,-170,-155,-65,-5,-18,-40,-38,-49,-41,-16,-21,-39,-66,-114,0,0,0,0,0,0,0,0,0,0,0,0},{-80,148,-216,272,-254,3354,5437,6051,-4664,-19135,2659,15051,9834,5572,1442,3130,3225,821,-6344,-7483,-6805,-4545,-2770,-3361,-1003,-399,661,1295,2360,2237,1317,1301,1257,879,-524,206,390,194,-641,-1895,-2613,-2154,-1254,-693,222,760,746,422,679,987,814,519,-47,-741,-932,-477,-29,-142,-215,-305,-480,-559,-404,-548,-1410,-1887,-1096,90,179,37,328,307,198,171,101,87,169,45,-363,-564,-463,-212,-102,-70,-190,-449,-508,-316,-29,75,74,-46,-232,-152,79,160,90,-122,-285,-192,-48,48,26,-163,-314,-350,-263,-88,3,-66,-154,-201,-137,17,65,27,-56,-126,-98,-17,39,-13,-121,-158,-122,-64,-31,-20,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 20 degrees + {{0,9,-24,28,-42,52,-70,93,-69,1318,2918,3299,-437,-9820,-4041,6897,8743,6511,2037,1508,2533,2143,-1059,-3181,-3905,-3374,-2141,-2690,-2380,-1512,-732,-139,916,1647,1392,1519,1320,1039,408,132,228,241,-186,-995,-1500,-1529,-1094,-905,-538,-138,137,273,365,593,575,337,74,-115,-210,-252,-258,-342,-306,-295,-486,-488,-434,-569,-663,-627,-533,-459,-322,-47,131,12,-240,-380,-336,-161,-99,-90,-138,-237,-296,-254,-149,-131,-119,-128,-175,-223,-215,-107,-3,-2,-88,-132,-100,-61,-45,-74,-83,-47,0,13,-19,-80,-140,-183,-195,-171,-133,-114,-129,-157,-152,-65,-1,-10,-45,-66,-57,-38,-22,-35,-55,-76,0,0,0,0,0,0,0,0,0,0,0,0},{122,-179,229,-274,2050,5900,6550,804,-19915,-5447,16460,11038,6754,2210,3216,3099,2177,-4753,-8881,-7209,-5745,-3269,-3908,-1363,-242,558,1696,2239,2673,1484,1325,1041,1073,-393,-122,417,297,-175,-1681,-2664,-2546,-1583,-916,83,705,735,540,703,1101,988,692,191,-704,-1181,-600,-77,-368,-212,-152,-446,-508,-392,-507,-1252,-1829,-1373,-225,254,140,260,454,337,123,121,193,207,66,-317,-528,-514,-310,-119,-58,-156,-399,-526,-318,-15,94,116,-75,-238,-119,55,150,134,-135,-307,-225,-91,45,64,-122,-291,-362,-319,-138,44,10,-173,-255,-150,23,105,88,-42,-138,-126,-33,29,-24,-106,-113,-106,-77,-15,8,-20,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 30 degrees + {{8,0,3,-14,18,-32,42,-55,83,-19,1454,2670,3006,-1590,-9335,-2456,6829,8214,5543,1809,1696,2455,1880,-945,-2767,-3467,-2775,-2091,-2623,-2136,-1427,-743,-164,923,1428,1240,1476,1326,939,403,229,164,115,-332,-966,-1380,-1428,-1065,-927,-767,-113,532,354,329,523,413,287,149,-80,-466,-531,-165,-68,-347,-468,-403,-337,-398,-532,-530,-572,-552,-407,-278,-91,53,-63,-260,-365,-417,-317,-165,-64,-130,-243,-250,-177,-85,-63,-78,-111,-129,-170,-207,-146,-53,-53,-122,-159,-129,-57,-22,-44,-57,-30,-1,13,-10,-65,-122,-174,-188,-167,-136,-127,-132,-139,-114,-51,-19,-24,-47,-62,-58,-42,-32,-39,-53,0,0,0,0,0,0,0,0,0,0,0,0},{35,-82,126,342,5406,6692,5864,-14223,-16737,13269,14309,7418,3866,3164,3416,2684,-1482,-9193,-8241,-6587,-4085,-4561,-2620,-85,-68,1902,2373,3025,1840,1507,1172,1055,-120,-489,380,177,186,-1045,-2466,-3004,-1966,-1176,-285,647,665,528,695,1139,1193,851,460,-497,-1252,-802,-202,-456,-427,-157,-302,-436,-441,-465,-1050,-1611,-1433,-650,55,259,348,456,331,156,152,186,163,175,-145,-519,-580,-403,-169,-67,-132,-349,-500,-320,-60,32,168,-20,-229,-154,1,143,145,-99,-301,-270,-148,17,68,-83,-259,-371,-347,-190,19,41,-172,-255,-186,-39,97,123,7,-107,-147,-104,-19,-13,-55,-82,-126,-119,-22,32,-3,-59,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 40 degrees + {{4,3,6,-4,-2,4,-16,24,-28,53,103,1642,2527,2608,-3238,-8691,-387,7061,7517,4402,1712,1868,2365,1554,-994,-2515,-3064,-2242,-2079,-2456,-1861,-1301,-735,-126,998,1223,1115,1449,1284,758,346,170,29,10,-392,-951,-1299,-1281,-1330,-1003,-202,230,367,303,303,360,465,353,-137,-524,-491,-179,-16,-266,-489,-324,-182,-310,-473,-489,-469,-513,-496,-396,-280,-152,-38,-108,-287,-439,-492,-343,-139,-50,-129,-201,-179,-98,-28,-32,-71,-115,-135,-173,-213,-170,-99,-102,-164,-174,-118,-26,17,-22,-49,-30,-1,13,-12,-56,-114,-177,-191,-172,-139,-134,-125,-114,-94,-62,-46,-37,-44,-58,-70,-54,-37,-44,0,0,0,0,0,0,0,0,0,0,0,0},{-189,304,-403,3106,6861,7843,-3151,-22706,753,18338,8849,5273,3553,4043,2553,1934,-6755,-10095,-7018,-5205,-4557,-4605,-724,-458,1038,2517,3255,2697,1532,1615,1257,429,-888,89,173,182,-414,-1863,-3037,-2687,-1456,-657,365,654,480,599,993,1377,1090,683,-247,-1113,-784,-484,-523,-546,-331,-263,-378,-446,-478,-848,-1357,-1320,-822,-293,125,464,512,281,145,139,185,156,175,43,-369,-602,-536,-259,-88,-91,-257,-462,-371,-117,-1,129,44,-144,-184,-83,87,129,-17,-237,-310,-206,-36,34,-13,-200,-364,-372,-242,-37,35,-122,-243,-222,-113,56,127,47,-69,-143,-149,-82,-13,2,-49,-128,-159,-65,34,27,-50,-97,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 50 degrees + {{-5,9,-2,8,-14,12,-15,13,-11,20,-9,388,1870,2533,1695,-5528,-7186,2291,7345,6467,3228,1763,1958,2317,1043,-1283,-2393,-2597,-1814,-2117,-2188,-1632,-1150,-636,51,1042,1006,1043,1411,1113,425,235,99,-3,-60,-457,-911,-1454,-1422,-904,-420,-95,159,266,236,288,436,308,-182,-349,-264,-249,-204,-196,-297,-312,-163,-201,-430,-460,-332,-396,-537,-501,-397,-315,-188,-91,-221,-393,-441,-417,-296,-96,-18,-102,-148,-108,-53,-22,-33,-93,-163,-170,-182,-224,-196,-133,-127,-169,-155,-84,1,27,-13,-29,-16,-4,-1,-31,-66,-116,-173,-191,-166,-137,-127,-119,-110,-82,-58,-48,-46,-55,-62,-66,-55,-50,0,0,0,0,0,0,0,0,0,0,0,0},{-71,121,273,5583,7766,6075,-15083,-16935,14168,14457,5920,4311,4471,3204,2833,-809,-10228,-8940,-5882,-4601,-5633,-2782,-591,-558,2082,2863,3530,2182,1902,1575,1298,-359,-712,162,23,30,-1188,-2533,-3240,-2105,-988,-109,602,420,534,813,1229,1364,956,156,-982,-754,-404,-682,-649,-451,-332,-426,-451,-475,-711,-1117,-1195,-845,-437,-44,303,509,388,137,96,120,174,175,150,-160,-511,-587,-432,-165,-48,-123,-373,-419,-194,-51,69,90,-47,-144,-170,-5,83,47,-119,-299,-262,-100,-18,13,-66,-291,-388,-296,-115,-6,-47,-181,-249,-200,-22,118,91,-19,-128,-188,-129,-6,48,-19,-111,-159,-110,8,38,-14,-81,-94,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 60 degrees + {{-3,0,8,0,5,-12,15,-22,31,-34,61,-33,960,2098,2597,-733,-7768,-3609,5251,7137,4820,2326,1919,2090,2174,98,-1689,-2228,-2034,-1703,-2130,-1852,-1409,-899,-509,335,995,849,1011,1258,764,170,206,82,28,-112,-751,-1296,-1084,-802,-656,-343,-112,125,247,283,178,11,-17,-37,-113,-242,-355,-245,-92,-209,-305,-218,-277,-349,-274,-293,-488,-563,-467,-434,-370,-214,-204,-327,-351,-357,-344,-188,-4,8,-82,-110,-67,-41,-51,-93,-163,-194,-188,-221,-243,-172,-100,-121,-163,-123,-36,29,20,-13,-10,0,-10,-36,-52,-72,-122,-172,-172,-145,-136,-134,-112,-85,-60,-47,-65,-75,-56,-52,-58,-62,0,0,0,0,0,0,0,0,0,0,0,0},{132,-234,1702,6855,8532,844,-21047,-6405,18153,10333,4967,4302,4486,2695,3150,-4136,-11038,-7517,-5253,-5105,-5411,-1497,-1162,-144,2367,3276,3085,2107,2356,1703,963,-579,-250,-121,18,-315,-1854,-3090,-3053,-1580,-600,189,484,392,634,969,1409,1208,639,-443,-931,-387,-503,-694,-599,-379,-474,-569,-493,-586,-958,-1074,-875,-608,-82,239,269,372,334,110,9,108,203,165,33,-305,-554,-564,-302,-96,-38,-194,-400,-305,-126,13,71,15,-23,-159,-164,-6,68,13,-212,-301,-194,-67,-19,25,-142,-322,-327,-225,-77,-7,-78,-223,-260,-150,38,114,58,-72,-197,-207,-62,72,42,-78,-139,-124,-42,24,14,-44,-83,-89,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 70 degrees + {{-1,-3,8,0,9,-14,12,-16,17,-11,28,-19,350,1699,2438,1462,-5418,-6764,2262,6953,5650,2981,2130,2080,2333,1275,-1152,-1964,-1851,-1680,-1993,-1804,-1572,-1211,-667,-143,589,800,833,961,1019,429,109,178,203,-196,-674,-771,-880,-707,-623,-613,-377,30,211,112,-117,-127,168,157,-20,-172,-287,-276,-145,-140,-365,-331,-140,-164,-247,-276,-402,-526,-515,-538,-549,-411,-223,-206,-289,-325,-314,-185,0,47,-28,-78,-69,-67,-99,-137,-179,-210,-214,-231,-248,-175,-89,-90,-139,-141,-65,11,14,-13,-9,-2,-10,-21,-46,-79,-109,-133,-143,-146,-150,-138,-113,-86,-63,-57,-75,-90,-70,-47,-49,-77,0,0,0,0,0,0,0,0,0,0,0,0},{192,-328,2693,7486,8500,-3863,-21321,402,17665,8406,4805,4287,4008,2936,2889,-6134,-10548,-6469,-5089,-5771,-4703,-1134,-1610,252,2223,3299,2742,2124,2579,1997,761,-551,106,-118,-84,-704,-2256,-3453,-2819,-1124,-416,121,416,518,592,1015,1481,1056,233,-605,-560,-458,-580,-493,-499,-466,-589,-626,-574,-682,-1058,-947,-725,-368,216,299,171,298,347,98,-86,85,223,144,-61,-393,-576,-487,-207,-54,-68,-253,-345,-249,-114,39,51,9,-15,-174,-164,-39,64,-11,-254,-294,-176,-70,19,19,-188,-299,-277,-183,-75,2,-93,-252,-260,-119,43,89,38,-116,-229,-187,-25,82,17,-96,-119,-78,-12,17,-10,-62,-84,-88,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 80 degrees + {{-1,-5,5,0,8,-9,2,-6,2,9,3,13,131,1426,2331,2039,-3910,-7497,462,6555,5837,3268,2303,2274,2431,1732,-679,-1925,-1858,-1496,-2020,-1916,-1427,-1427,-900,-217,404,474,748,1037,952,551,293,258,-58,-236,-286,-643,-804,-524,-602,-707,-441,-105,-34,-164,-190,-11,181,182,48,-37,-96,-233,-300,-309,-379,-293,-72,-76,-232,-275,-301,-435,-544,-628,-716,-588,-224,-85,-248,-364,-268,-85,33,41,2,-43,-77,-100,-152,-201,-230,-232,-232,-238,-226,-162,-83,-67,-113,-132,-83,-19,-7,-22,-30,-20,-3,-4,-42,-99,-104,-100,-114,-142,-154,-136,-110,-87,-78,-71,-81,-98,-85,-59,-63,-96,0,0,0,0,0,0,0,0,0,0,0,0},{173,-297,2823,7678,8186,-5431,-20040,1902,16653,8147,4882,4041,3754,3311,2625,-6387,-9970,-5879,-5009,-6093,-4549,-1199,-1722,88,2096,3056,2437,2225,2589,2126,968,-304,131,100,75,-1063,-2560,-3488,-2676,-947,-430,-54,384,556,552,926,1368,965,103,-466,-343,-602,-623,-242,-394,-594,-641,-642,-614,-756,-1041,-932,-685,-168,334,277,136,296,344,107,-122,23,187,151,-72,-436,-571,-418,-169,-62,-73,-255,-323,-242,-114,26,43,46,-20,-186,-165,-59,43,-30,-243,-304,-200,-74,41,16,-180,-263,-262,-158,-63,-3,-93,-248,-263,-134,25,74,17,-135,-229,-175,-27,56,0,-69,-80,-57,3,17,-26,-83,-97,-73,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 90 degrees + {{-3,-4,6,-2,8,-7,2,-10,1,8,7,8,129,1432,2407,1982,-4120,-7395,746,6593,5579,3118,2422,2435,2588,1820,-729,-1927,-1919,-1672,-2022,-1998,-1512,-1314,-977,-282,482,407,570,1161,1157,448,407,236,-366,-33,-127,-740,-732,-507,-567,-593,-390,-261,-391,-355,15,129,83,127,147,137,-19,-187,-384,-530,-429,-178,-31,-98,-229,-245,-204,-357,-560,-735,-838,-616,-188,-62,-271,-363,-192,9,63,63,29,-45,-99,-136,-203,-273,-274,-250,-235,-231,-201,-134,-67,-54,-100,-113,-92,-40,-20,-43,-59,-39,-1,-15,-58,-79,-69,-77,-112,-136,-140,-123,-103,-92,-89,-83,-86,-99,-90,-84,-96,-101,0,0,0,0,0,0,0,0,0,0,0,0},{136,-246,2157,7311,8239,-3847,-18872,-876,15869,9027,5001,3795,3722,3615,2786,-5273,-9563,-5724,-4740,-6037,-4951,-1592,-1674,-378,1652,2933,2287,1976,2691,2141,1158,133,267,147,332,-871,-2758,-3534,-2465,-976,-730,-166,374,406,480,824,1107,864,274,-171,-235,-695,-642,-97,-253,-636,-685,-607,-606,-750,-1030,-962,-729,-153,323,294,187,263,318,156,-92,-67,127,167,-23,-385,-542,-415,-197,-66,-65,-234,-325,-265,-134,-5,38,63,19,-169,-176,-69,18,-31,-223,-308,-229,-85,31,31,-136,-229,-252,-159,-46,2,-78,-236,-267,-155,-2,66,12,-133,-223,-172,-45,33,8,-33,-48,-43,9,17,-37,-93,-104,-63,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 100 degrees + {{-4,-4,8,-3,8,-12,10,-21,16,-11,33,-34,347,1766,2672,1073,-6003,-6211,3133,6912,4776,2651,2506,2579,2702,1386,-1184,-2072,-1896,-1938,-2424,-1912,-1504,-1375,-713,-21,444,481,795,1225,1088,644,280,-252,25,110,-564,-712,-710,-628,-476,-421,-419,-440,-494,-255,111,161,55,116,295,146,-72,-168,-465,-627,-359,-138,-161,-132,-128,-195,-216,-313,-591,-871,-785,-452,-196,-188,-294,-279,-89,61,96,97,24,-65,-133,-190,-268,-306,-268,-246,-240,-227,-172,-83,-40,-64,-106,-101,-70,-31,-38,-79,-77,-52,-37,-38,-34,-20,-36,-81,-114,-120,-103,-97,-99,-105,-98,-86,-85,-90,-113,-112,-100,-95,0,0,0,0,0,0,0,0,0,0,0,0},{52,-108,1009,6106,8481,-70,-16614,-6826,13858,11086,5309,3618,3661,3948,3299,-3050,-9055,-6050,-4317,-5644,-5497,-2374,-1648,-1008,1005,2515,2491,1679,2422,2318,1360,366,490,401,375,-468,-2351,-3532,-2534,-1004,-1010,-506,311,328,277,621,843,744,500,187,-45,-698,-749,-27,-70,-595,-736,-556,-535,-685,-988,-1023,-821,-326,193,302,255,233,269,213,-18,-126,51,165,63,-260,-493,-439,-272,-103,-54,-216,-329,-299,-189,-52,36,56,56,-107,-192,-84,-7,-16,-199,-323,-266,-114,11,36,-84,-197,-236,-178,-52,9,-61,-217,-276,-183,-37,38,10,-107,-208,-198,-90,12,19,-10,-26,-38,-8,4,-33,-94,-107,-68,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 110 degrees + {{-4,3,5,2,4,-8,10,-21,26,-22,54,-39,973,2408,2750,-1950,-8112,-2128,6406,6413,3448,2347,2589,2747,2556,88,-1891,-1999,-1954,-2440,-2603,-1870,-1550,-1147,-382,485,542,574,1215,1316,928,534,-69,-114,290,-254,-733,-907,-761,-512,-490,-430,-455,-446,-278,0,82,76,135,317,269,-55,-129,-233,-527,-522,-248,-224,-308,-151,-24,-112,-273,-422,-701,-783,-530,-297,-288,-340,-251,-129,-16,90,145,80,-26,-101,-180,-275,-295,-243,-235,-262,-251,-189,-109,-50,-43,-93,-113,-73,-22,-28,-79,-98,-90,-85,-68,-20,10,4,-42,-88,-90,-68,-70,-95,-108,-105,-99,-84,-90,-114,-114,-106,-99,-86,0,0,0,0,0,0,0,0,0,0,0,0},{-53,81,38,3892,8100,4399,-11252,-13529,7876,13835,6618,3567,3306,4237,3870,-92,-7488,-7083,-3947,-4907,-5765,-3549,-1708,-1641,57,1853,2579,1707,1976,2292,1675,674,452,664,607,-111,-1741,-3042,-2688,-1296,-1114,-864,-44,286,191,287,485,610,688,534,193,-486,-843,-163,141,-417,-790,-577,-400,-555,-871,-1063,-933,-593,-77,204,270,239,231,240,90,-102,-48,129,166,-89,-411,-465,-339,-183,-93,-181,-323,-334,-264,-139,21,81,50,-44,-178,-111,-14,-16,-151,-323,-315,-165,-16,33,-40,-160,-212,-197,-87,-6,-50,-167,-259,-222,-96,-2,6,-64,-166,-220,-149,-22,25,2,-16,-34,-36,-16,-27,-74,-107,-85,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 120 degrees + {{-5,9,-2,8,-13,13,-19,18,-21,37,-35,397,2046,3153,675,-7059,-5947,4454,7580,4519,2433,2480,2668,2934,1207,-1661,-2181,-1899,-2338,-2965,-2302,-1828,-1616,-686,302,730,705,1136,1359,1190,781,12,-174,447,-18,-739,-925,-969,-701,-568,-556,-514,-412,-241,91,135,28,97,366,360,-29,-185,-239,-414,-415,-329,-384,-328,-236,-193,-60,-91,-375,-678,-674,-427,-282,-340,-417,-304,-158,-55,27,118,121,9,-118,-215,-269,-254,-208,-231,-275,-262,-202,-145,-78,-55,-98,-119,-83,-45,-29,-61,-109,-119,-113,-94,-54,-17,-5,-29,-68,-65,-24,-34,-95,-123,-113,-96,-91,-113,-139,-126,-96,-94,-100,-78,0,0,0,0,0,0,0,0,0,0,0,0},{-49,73,-125,1259,6112,7401,-2566,-15473,-3674,13607,10245,4184,2796,3982,4416,2615,-3781,-7921,-4653,-3796,-5387,-4856,-2279,-1821,-1189,795,2308,2019,1535,2195,1823,1132,551,611,770,438,-999,-2444,-2502,-1609,-1303,-1153,-499,82,195,78,59,341,692,828,576,-205,-728,-383,181,-141,-687,-664,-358,-381,-638,-953,-1052,-824,-435,-72,162,245,230,236,195,45,-96,28,219,130,-253,-453,-397,-276,-182,-160,-268,-366,-335,-227,-61,107,88,-21,-127,-150,-25,-10,-98,-248,-331,-240,-78,15,4,-95,-176,-197,-146,-49,-28,-104,-203,-243,-172,-46,-3,-41,-110,-184,-181,-84,4,16,-8,-28,-51,-37,-19,-46,-85,-84,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 130 degrees + {{5,0,7,-8,3,-8,1,4,-4,15,122,1713,3338,2059,-5687,-8006,2487,8305,5442,2660,2425,2634,3030,1813,-1420,-2415,-2009,-2304,-3063,-2641,-1942,-1873,-1136,26,820,795,1187,1598,1297,867,268,-270,336,311,-576,-1030,-1126,-749,-740,-744,-600,-457,-279,106,327,149,124,376,450,26,-259,-272,-418,-386,-274,-413,-449,-304,-202,-162,-165,-333,-603,-613,-319,-170,-286,-396,-320,-188,-93,-39,70,111,11,-126,-280,-294,-190,-140,-218,-287,-251,-198,-170,-114,-72,-88,-127,-103,-61,-55,-68,-94,-113,-122,-100,-73,-59,-46,-50,-73,-50,0,-5,-66,-115,-132,-105,-77,-114,-162,-150,-114,-90,-73,-70,-65,0,0,0,0,0,0,0,0,0,0,0,0},{40,-74,102,-77,2799,7067,4730,-8627,-13565,4780,13913,7043,2766,3004,4422,4091,745,-5942,-6467,-3398,-4124,-5306,-3730,-1786,-1946,-672,1315,2282,1461,1726,2043,1357,920,590,709,684,-66,-1688,-2190,-1625,-1448,-1375,-979,-258,154,-8,-210,-53,471,766,1008,331,-579,-489,108,53,-489,-621,-439,-315,-439,-625,-967,-1035,-756,-426,-124,122,222,255,231,201,33,-51,135,264,6,-339,-439,-383,-265,-204,-208,-318,-369,-302,-176,10,157,54,-92,-158,-110,-5,-22,-147,-272,-297,-170,-34,10,-18,-115,-178,-181,-105,-31,-46,-136,-210,-209,-117,-36,-42,-71,-109,-157,-126,-43,5,1,-21,-47,-63,-28,-17,-49,-62,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 140 degrees + {{4,3,-5,-4,1,-11,16,-27,44,6,1489,3524,2878,-4788,-9139,1119,8821,6177,2838,2442,2714,3116,2123,-1460,-2754,-2115,-2344,-3247,-2920,-1923,-1968,-1352,-127,739,781,1216,1711,1485,1087,450,-365,124,573,-467,-1113,-1107,-843,-884,-840,-663,-614,-383,54,394,331,277,464,523,160,-272,-430,-426,-294,-323,-461,-438,-374,-297,-191,-189,-472,-699,-512,-145,-90,-202,-263,-239,-168,-125,-69,19,66,-28,-215,-326,-247,-162,-164,-194,-206,-227,-234,-188,-114,-64,-83,-116,-111,-101,-74,-66,-92,-119,-98,-82,-92,-78,-61,-76,-96,-53,-3,-3,-45,-91,-121,-102,-77,-112,-137,-135,-136,-107,-60,-27,-36,-63,0,0,0,0,0,0,0,0,0,0,0,0},{3,3,-16,16,270,3928,6932,1571,-11942,-9253,9444,12200,4892,2262,3458,4374,3624,-941,-6447,-4917,-3006,-4293,-4921,-2856,-1774,-1912,-290,1606,1964,1197,1888,1663,1193,850,657,672,407,-595,-1681,-1504,-1506,-1458,-1247,-823,-59,14,-278,-388,57,516,949,981,-5,-543,-119,238,-250,-562,-463,-331,-395,-445,-584,-920,-1041,-810,-432,-161,63,218,283,240,198,75,34,166,201,-77,-380,-476,-395,-277,-206,-218,-310,-364,-275,-124,36,150,24,-147,-179,-91,2,-19,-163,-272,-259,-126,-30,-8,-43,-117,-168,-155,-84,-34,-51,-149,-209,-178,-104,-61,-51,-68,-110,-125,-78,-25,-3,-13,-38,-71,-61,-21,-16,-27,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 150 degrees + {{0,-4,-10,7,-22,24,-44,55,-46,1357,3770,3504,-4338,-10009,313,9402,6736,2935,2464,2837,3253,2298,-1656,-3227,-2268,-2449,-3434,-3159,-2011,-1991,-1406,-144,804,748,1088,1740,1563,1161,789,-141,-299,559,-155,-1258,-1246,-808,-907,-981,-671,-619,-606,-185,399,488,375,554,628,321,-186,-510,-494,-271,-316,-477,-511,-457,-299,-243,-334,-631,-763,-495,-130,6,-40,-137,-138,-73,-80,-118,-37,42,-116,-340,-354,-230,-184,-184,-175,-193,-229,-231,-217,-125,-40,-63,-133,-145,-126,-99,-70,-104,-132,-120,-99,-87,-80,-83,-98,-106,-87,-55,-31,-51,-104,-134,-104,-88,-117,-128,-131,-135,-119,-75,-31,-33,-57,-95,0,0,0,0,0,0,0,0,0,0,0,0},{-26,33,-40,37,-63,684,4433,6267,-995,-12866,-5328,11122,10354,3712,2279,3618,4149,3185,-1970,-5995,-3852,-2867,-4258,-4461,-2371,-1898,-1808,-59,1673,1556,1157,1798,1440,1222,799,716,491,61,-743,-1143,-1381,-1618,-1185,-1195,-661,-44,-180,-497,-431,163,670,1012,703,18,-276,11,68,-371,-466,-390,-378,-466,-430,-516,-818,-1088,-873,-422,-175,21,190,301,268,204,105,96,135,93,-153,-413,-490,-415,-257,-182,-201,-270,-345,-268,-126,15,122,32,-168,-207,-88,4,-16,-162,-255,-223,-112,-41,-33,-54,-95,-147,-139,-77,-33,-60,-152,-206,-161,-96,-71,-58,-81,-107,-91,-47,-12,-10,-29,-61,-89,-62,-22,-11,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 160 degrees + {{3,-15,13,-25,34,-49,65,-74,1276,4063,4112,-4026,-10893,-326,10133,7301,2960,2505,3054,3447,2405,-1961,-3793,-2464,-2561,-3699,-3399,-1993,-2057,-1492,28,981,841,1043,1653,1601,1157,914,273,-376,245,21,-1223,-1455,-859,-935,-981,-595,-532,-692,-437,174,601,588,581,628,456,-34,-471,-423,-295,-370,-444,-499,-526,-345,-244,-456,-827,-828,-457,-112,19,78,62,30,38,-16,-71,-4,-10,-238,-375,-327,-258,-238,-163,-125,-191,-252,-246,-199,-66,16,-36,-127,-166,-139,-67,-50,-102,-132,-138,-117,-73,-45,-58,-85,-105,-85,-63,-48,-64,-101,-124,-111,-86,-85,-96,-104,-101,-89,-50,-14,-17,-49,-84,-105,0,0,0,0,0,0,0,0,0,0,0,0},{13,-33,43,-54,63,-94,974,4483,5522,-2563,-12556,-2844,11268,9016,3191,2406,3511,3920,2841,-2320,-5264,-3198,-2744,-4115,-4075,-2159,-1968,-1716,62,1548,1206,1133,1659,1447,1211,807,714,187,-159,-437,-852,-1639,-1389,-1004,-1155,-535,-152,-395,-659,-334,333,802,817,608,256,-96,-119,-133,-295,-419,-448,-457,-490,-394,-426,-737,-1059,-881,-453,-158,-7,170,288,242,200,122,72,45,5,-203,-418,-478,-392,-254,-132,-141,-257,-348,-285,-127,3,84,20,-156,-218,-91,-3,-55,-149,-202,-182,-119,-72,-41,-58,-70,-115,-133,-82,-43,-60,-144,-193,-153,-86,-74,-80,-87,-92,-75,-36,-5,-8,-48,-85,-97,-64,-35,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 170 degrees + {{-18,18,-33,37,-55,67,-94,1160,4313,4776,-3505,-11756,-1275,10777,8013,3012,2490,3289,3685,2565,-2246,-4480,-2756,-2647,-3938,-3728,-2034,-2022,-1624,101,1263,973,1095,1584,1530,1186,868,580,-162,-88,-40,-1017,-1695,-1035,-963,-1057,-525,-332,-611,-649,-105,527,731,684,623,378,7,-298,-292,-279,-415,-483,-477,-507,-380,-336,-623,-936,-868,-506,-119,36,126,157,208,177,18,-28,40,-6,-279,-422,-407,-313,-232,-127,-148,-253,-279,-255,-176,-35,48,3,-128,-203,-128,-45,-64,-113,-144,-168,-142,-77,-35,-48,-74,-112,-117,-72,-41,-75,-136,-159,-125,-84,-86,-92,-88,-90,-76,-35,-9,-17,-52,-85,-104,-83,0,0,0,0,0,0,0,0,0,0,0,0},{-18,18,-33,37,-55,67,-94,1160,4313,4776,-3505,-11756,-1275,10777,8013,3012,2490,3289,3685,2565,-2246,-4480,-2756,-2647,-3938,-3728,-2034,-2022,-1624,101,1263,973,1095,1584,1530,1186,868,580,-162,-88,-40,-1017,-1695,-1035,-963,-1057,-525,-332,-611,-649,-105,527,731,684,623,378,7,-298,-292,-279,-415,-483,-477,-507,-380,-336,-623,-936,-868,-506,-119,36,126,157,208,177,18,-28,40,-6,-279,-422,-407,-313,-232,-127,-148,-253,-279,-255,-176,-35,48,3,-128,-203,-128,-45,-64,-113,-144,-168,-142,-77,-35,-48,-74,-112,-117,-72,-41,-75,-136,-159,-125,-84,-86,-92,-88,-90,-76,-35,-9,-17,-52,-85,-104,-83,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 180 degrees +}; +inline constexpr std::int16_t pcm44100_p70[13][2][hrir::taps]={ + {{-4,-5,-6,18,-6,15,-19,11,-7,-7,26,-59,81,255,3267,4223,4430,-7297,-12655,5572,11429,7082,3472,3241,3322,2148,-766,-5816,-6343,-5330,-3183,-3044,-2544,-536,56,845,1520,2423,1683,1231,1250,1128,225,-708,-233,-102,-221,-887,-1542,-2059,-1668,-989,-366,292,793,923,664,706,874,529,27,-353,-597,-641,-532,-582,-694,-409,-213,-23,-42,-212,-291,-461,-824,-1080,-816,-231,126,44,-108,-40,111,53,-98,-103,-74,-219,-356,-344,-204,-66,3,-103,-274,-332,-273,-180,-69,-24,-148,-250,-176,5,92,30,-106,-134,-84,-1,82,52,-71,-182,-231,-194,-105,-75,-154,-222,-227,-134,3,36,-17,-40,-31,-48,0,0,0,0,0,0,0,0,0,0,0,0},{-4,-5,-6,18,-6,15,-19,11,-7,-7,26,-59,81,255,3267,4223,4430,-7297,-12655,5572,11429,7082,3472,3241,3322,2148,-766,-5816,-6343,-5330,-3183,-3044,-2544,-536,56,845,1520,2423,1683,1231,1250,1128,225,-708,-233,-102,-221,-887,-1542,-2059,-1668,-989,-366,292,793,923,664,706,874,529,27,-353,-597,-641,-532,-582,-694,-409,-213,-23,-42,-212,-291,-461,-824,-1080,-816,-231,126,44,-108,-40,111,53,-98,-103,-74,-219,-356,-344,-204,-66,3,-103,-274,-332,-273,-180,-69,-24,-148,-250,-176,5,92,30,-106,-134,-84,-1,82,52,-71,-182,-231,-194,-105,-75,-154,-222,-227,-134,3,36,-17,-40,-31,-48,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 0 degrees + {{0,-4,-3,-6,13,-4,16,-20,13,-14,2,10,-33,45,322,2876,3709,3586,-6857,-10993,4660,10473,7133,3308,2806,3078,2183,-337,-4685,-5487,-4687,-2906,-2751,-2462,-961,-354,387,1206,2079,1596,1410,1378,1170,392,-533,-272,-105,-208,-846,-1425,-1814,-1526,-977,-395,158,539,737,584,619,805,551,135,-265,-565,-668,-511,-386,-667,-540,-208,-104,-133,-175,-212,-384,-673,-844,-679,-270,37,-20,-210,-224,-122,-59,-101,-97,-97,-196,-285,-272,-150,-120,-78,-85,-192,-265,-280,-198,-72,-28,-128,-242,-195,-43,65,21,-101,-113,-55,26,88,80,-30,-156,-209,-196,-131,-123,-175,-214,-218,-140,-20,46,17,-46,-55,0,0,0,0,0,0,0,0,0,0,0,0},{-3,-8,18,-3,17,-11,-4,11,-33,70,-107,148,74,3524,4808,5538,-6794,-15165,5483,12737,7070,3771,3858,3582,1958,-590,-6806,-7273,-5834,-3725,-3419,-2792,-159,372,1370,1911,2692,1940,1097,1033,1081,64,-963,-198,-40,-104,-879,-1660,-2303,-1894,-1086,-334,451,843,1115,806,749,1083,626,-95,-475,-562,-649,-719,-696,-648,-463,-192,105,-34,-166,-236,-503,-1033,-1328,-870,-121,102,-72,85,282,293,108,-85,-73,-54,-259,-474,-451,-199,17,21,-101,-255,-341,-299,-170,3,8,-185,-280,-169,16,114,39,-138,-173,-102,13,111,63,-98,-232,-268,-197,-76,-29,-124,-223,-227,-134,1,36,32,-1,-53,-74,-46,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 15 degrees + {{0,1,-2,-3,-5,13,-1,13,-16,12,-12,5,6,-23,36,304,2458,3255,3041,-6010,-9966,3467,9673,7055,3267,2578,2812,2212,249,-3666,-4706,-4132,-2690,-2526,-2391,-1285,-624,134,864,1795,1541,1420,1429,1201,505,-349,-250,-147,-234,-831,-1288,-1606,-1432,-962,-447,6,236,671,755,555,640,598,240,-298,-585,-602,-513,-461,-627,-484,-220,-203,-208,-32,-67,-350,-570,-572,-503,-400,-198,-101,-194,-284,-288,-263,-163,-49,-79,-216,-256,-222,-134,-81,-56,-85,-148,-184,-211,-192,-119,-76,-137,-225,-217,-101,2,-6,-67,-67,-6,55,94,69,-14,-114,-205,-208,-153,-140,-186,-203,-193,-142,-36,36,35,-12,0,0,0,0,0,0,0,0,0,0,0,0},{-8,14,8,2,7,-27,43,-78,125,-171,236,-180,3350,5370,6604,-4544,-17788,3313,14234,7078,4099,4547,4101,1645,13,-6939,-8444,-6175,-4150,-4107,-3290,-31,439,1786,2343,2970,2203,1208,1010,881,33,-1214,-309,-57,-3,-639,-1631,-2556,-2167,-1228,-461,534,914,1102,883,863,1243,756,-6,-481,-593,-626,-957,-802,-698,-628,-95,176,-91,-161,-82,-460,-1140,-1446,-936,-189,32,87,245,352,372,177,-10,-40,-42,-327,-582,-480,-179,0,4,-72,-241,-348,-302,-119,53,25,-186,-287,-164,1,97,33,-152,-228,-149,-6,108,101,-80,-261,-323,-238,-55,18,-91,-218,-242,-174,-24,114,88,-23,-100,-123,-59,14,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 30 degrees + {{-3,0,0,-3,-2,-6,9,-3,12,-17,12,-19,13,-11,0,9,372,2234,2969,2412,-6155,-8761,3475,9017,6541,3038,2534,2589,2199,450,-3033,-4057,-3534,-2424,-2444,-2199,-1365,-737,-27,678,1554,1371,1371,1418,1198,508,-200,-298,-250,-299,-818,-1194,-1484,-1286,-909,-614,-94,521,706,520,499,605,515,124,-322,-570,-658,-552,-392,-504,-511,-289,-131,-123,-43,-3,-212,-465,-479,-472,-511,-357,-169,-224,-366,-360,-315,-243,-83,-40,-188,-245,-172,-91,-44,-9,-63,-139,-152,-160,-214,-199,-126,-151,-227,-235,-142,-35,1,-14,-13,14,58,83,46,-29,-104,-188,-209,-170,-154,-187,-198,-166,-106,-28,8,-4,0,0,0,0,0,0,0,0,0,0,0,0},{-1,26,-19,37,-63,81,-114,148,-177,224,-276,2127,5707,7141,913,-18479,-4336,15449,8498,4186,4965,5148,1631,1099,-5409,-9681,-6765,-4757,-4312,-4511,-632,394,1422,2751,3236,2843,1348,1323,1036,168,-1461,-661,-136,-106,-360,-1334,-2465,-2610,-1520,-620,375,931,1110,873,856,1321,1032,186,-390,-539,-670,-1031,-842,-854,-882,-219,198,9,-168,-57,-346,-1029,-1346,-954,-503,-120,354,443,296,276,207,79,8,-22,-328,-608,-502,-220,-62,-13,-25,-230,-348,-271,-83,49,55,-111,-275,-218,-43,73,48,-140,-271,-206,-58,84,131,-39,-269,-343,-256,-89,30,-30,-184,-273,-243,-22,144,114,-26,-150,-158,-64,42,11,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 45 degrees + {{-6,0,-1,1,-3,-3,-3,9,-4,11,-19,18,-28,32,-39,44,-39,653,2237,2901,1138,-7586,-6568,5102,8423,5426,2648,2618,2405,2150,112,-2905,-3595,-2900,-2165,-2443,-1862,-1237,-731,-66,755,1359,1104,1335,1419,1082,322,-238,-404,-231,-313,-898,-1175,-1307,-1371,-882,46,164,221,600,499,371,520,349,-161,-494,-504,-372,-415,-596,-569,-293,-138,-203,-135,88,55,-213,-389,-444,-561,-622,-425,-240,-329,-390,-339,-324,-242,-36,-17,-165,-186,-106,-37,-17,0,-84,-181,-173,-171,-245,-237,-156,-155,-230,-225,-112,-16,16,10,9,22,54,55,10,-40,-107,-179,-200,-173,-168,-175,-150,-127,-88,-37,-5,0,0,0,0,0,0,0,0,0,0,0,0},{23,-10,27,-31,19,-15,-5,41,-77,124,221,4775,6900,6650,-11219,-16257,10543,13153,4578,4514,6136,3024,1312,-1258,-9516,-8644,-5235,-4397,-5419,-2451,152,353,2501,3064,3642,2113,1515,1423,956,-936,-1537,-341,-275,-214,-935,-2108,-2869,-2022,-985,32,866,1056,901,847,1174,1261,592,-170,-469,-715,-894,-755,-984,-1161,-455,6,-40,-55,6,-233,-802,-1171,-942,-609,-319,207,626,431,122,123,143,63,-30,-187,-517,-559,-343,-129,-16,-16,-155,-314,-296,-97,58,86,-31,-198,-263,-147,21,64,-80,-270,-258,-131,28,131,44,-208,-350,-282,-129,18,32,-143,-293,-259,-56,108,122,-3,-148,-179,-100,32,30,-105,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 60 degrees + {{-4,-4,0,0,-1,-4,-4,3,2,3,-1,-9,7,-19,31,-41,63,12,1343,2443,2763,-2410,-9044,-1352,7578,7028,3665,2516,2632,2341,1835,-1102,-3143,-3137,-2234,-2188,-2349,-1408,-984,-565,102,1089,1068,888,1441,1351,582,-32,-191,-336,-270,-426,-960,-1614,-1303,-442,-224,-121,113,339,405,329,381,250,-209,-326,-126,-187,-477,-585,-462,-396,-328,-161,-93,-9,108,20,-227,-350,-505,-721,-716,-434,-286,-402,-375,-278,-231,-107,45,-26,-140,-101,-25,-22,-47,-88,-180,-217,-181,-223,-285,-200,-114,-154,-216,-163,-50,8,7,11,18,25,33,21,-15,-62,-129,-179,-175,-147,-137,-139,-131,-111,-56,-14,0,0,0,0,0,0,0,0,0,0,0,0},{30,-22,37,-59,72,-92,110,-123,143,-179,1413,5988,7884,2628,-17445,-7979,15185,9472,3796,5286,5592,1878,1609,-4058,-10367,-7130,-4685,-4955,-5157,-1178,-91,666,2587,3437,3266,1837,2025,1591,544,-1282,-1028,-524,-400,-342,-1530,-2781,-2760,-1580,-517,463,1013,921,799,1013,1257,1056,201,-262,-560,-873,-693,-659,-1263,-1034,-159,-106,-258,-13,26,-485,-955,-983,-705,-363,32,390,522,284,73,42,92,10,-66,-315,-555,-477,-272,-78,-1,-34,-225,-336,-206,-5,108,91,-82,-252,-248,-78,27,2,-186,-309,-222,-65,72,99,-54,-270,-335,-213,-31,80,-38,-266,-305,-157,41,121,51,-98,-177,-164,-48,35,-50,-144,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 75 degrees + {{-1,-2,-1,0,1,-3,-3,1,8,-1,9,-13,16,-28,38,-37,66,-57,848,2226,2847,-383,-8272,-4251,6178,7484,4117,2562,2849,2409,2367,-11,-2767,-3044,-2383,-2186,-2457,-1684,-1066,-606,-197,712,1208,824,1037,1363,922,17,-96,-182,-240,-387,-1201,-1425,-819,-499,-341,-159,63,293,200,167,186,85,-86,-92,-39,-188,-347,-291,-402,-668,-531,-124,0,-26,67,75,-82,-216,-376,-724,-921,-663,-342,-326,-371,-311,-198,-14,129,25,-88,-56,-13,-39,-111,-157,-210,-223,-216,-247,-257,-177,-100,-116,-164,-145,-73,-5,-7,-13,5,13,16,11,-12,-59,-95,-132,-140,-117,-101,-121,-131,-94,-51,-38,0,0,0,0,0,0,0,0,0,0,0,0},{27,-18,33,-54,66,-93,119,-138,171,-228,1774,6280,8024,394,-17802,-4764,15115,8460,3850,5257,5054,1956,1643,-4798,-9984,-6331,-4525,-5421,-4857,-948,-464,633,2349,3313,3056,1767,2239,1913,561,-1219,-733,-416,-468,-561,-1853,-3087,-2748,-1342,-299,563,952,801,833,988,1212,924,23,-268,-521,-771,-611,-708,-1195,-864,-195,-237,-334,-14,-45,-591,-908,-861,-603,-138,248,360,351,236,122,9,-2,0,-58,-355,-554,-477,-241,-34,15,-54,-235,-322,-193,9,125,99,-81,-256,-238,-60,19,-43,-226,-315,-219,-42,77,70,-76,-263,-294,-170,8,94,-77,-291,-279,-132,46,113,15,-121,-178,-147,-50,-10,-70,-138,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 90 degrees + {{-1,-2,1,1,1,-2,-3,1,7,-1,7,-12,16,-28,37,-37,71,-59,951,2358,2886,-1121,-8643,-3169,6913,7112,3574,2533,3003,2583,2342,-174,-2788,-2987,-2321,-2454,-2705,-1655,-1106,-676,14,892,1088,864,1145,1166,768,266,-84,-224,-133,-872,-1286,-893,-771,-639,-399,-48,195,214,120,-37,-88,116,246,-6,-281,-245,-25,-118,-594,-780,-524,-206,-44,34,53,61,-7,-149,-350,-711,-957,-768,-386,-309,-400,-360,-103,134,133,42,-14,-20,-49,-97,-178,-239,-233,-240,-286,-285,-175,-101,-106,-135,-144,-107,-63,-20,-40,-49,-29,-7,-7,-24,-43,-70,-85,-95,-103,-99,-86,-95,-104,-96,-69,-74,0,0,0,0,0,0,0,0,0,0,0,0},{26,-15,30,-45,49,-64,74,-75,85,-112,1025,5611,7801,2131,-15361,-8113,13321,9909,3961,4684,5078,2614,1852,-3245,-9301,-6488,-4238,-5272,-5337,-1595,-474,-95,1842,3072,2921,1768,2246,2057,1051,-700,-747,-329,-178,-491,-2031,-3064,-2815,-1460,-411,416,810,711,835,865,1040,832,108,-153,-335,-576,-664,-660,-971,-849,-364,-285,-352,-104,-37,-523,-890,-854,-565,-129,238,338,279,211,201,37,-62,-27,-16,-279,-541,-524,-298,-32,37,-67,-217,-286,-232,-62,106,126,-38,-211,-238,-97,1,-41,-208,-322,-251,-81,58,78,-44,-223,-278,-166,-6,79,-35,-249,-287,-162,7,90,27,-105,-169,-154,-85,-40,-64,-116,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 105 degrees + {{-4,-3,1,0,-1,-3,-6,6,-1,5,-10,3,-7,-5,7,-7,26,124,1681,2889,2250,-5009,-8425,2152,8445,5417,2529,2851,2983,2725,1655,-1708,-3132,-2646,-2417,-2974,-2616,-1562,-1090,-491,498,1458,1059,888,1359,1194,398,1,125,-197,-823,-928,-862,-1110,-824,-559,-352,43,306,219,-76,-95,145,284,152,-81,-281,-174,-37,-335,-722,-660,-378,-275,-160,29,114,92,-13,-199,-511,-749,-752,-543,-441,-483,-434,-175,63,89,130,90,4,-54,-106,-199,-249,-214,-244,-313,-308,-213,-104,-68,-106,-164,-153,-87,-23,-24,-84,-81,-39,-33,-42,-52,-65,-74,-90,-85,-66,-59,-61,-61,-80,-106,-94,-90,0,0,0,0,0,0,0,0,0,0,0,0},{17,2,9,-10,-1,9,-26,53,-80,122,-1,3642,7056,5482,-8888,-14127,6929,12952,5073,3745,4998,3799,2274,-410,-7366,-7433,-4167,-4473,-5687,-3268,-636,-697,741,2383,3126,1806,1893,2281,1489,62,-578,-248,-153,-28,-1515,-2969,-2978,-1656,-758,-88,664,615,705,755,791,734,274,42,-38,-285,-646,-598,-676,-832,-637,-354,-297,-221,-20,-320,-757,-920,-682,-279,53,261,282,215,220,155,12,-46,-12,-139,-422,-542,-424,-153,3,-33,-171,-254,-252,-148,25,123,48,-123,-233,-159,-39,-26,-143,-282,-278,-150,1,69,15,-138,-244,-202,-73,37,39,-128,-267,-235,-63,51,52,-48,-162,-168,-121,-43,-42,-94,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 120 degrees + {{-5,0,0,-1,-5,-4,0,5,-2,1,-12,11,-29,32,-47,69,-56,1155,2864,3201,-2376,-9470,-1455,8469,6818,2882,2596,3211,2807,2335,-871,-3377,-2935,-2405,-3024,-3203,-1902,-1402,-999,172,1503,1454,1106,1458,1289,721,131,1,-217,-633,-808,-905,-1151,-1002,-807,-507,-100,159,228,48,-34,220,548,286,-147,-217,-51,-147,-469,-694,-628,-376,-331,-335,-142,100,111,-34,-130,-383,-672,-597,-335,-402,-594,-477,-209,-48,57,151,76,-7,-46,-121,-228,-229,-171,-229,-311,-298,-199,-112,-80,-88,-146,-179,-137,-50,-14,-73,-81,-68,-70,-64,-48,-55,-84,-102,-103,-65,-22,-12,-41,-82,-92,-87,-93,-106,0,0,0,0,0,0,0,0,0,0,0,0},{-4,23,-11,21,-33,38,-50,56,-59,70,-95,886,4950,6871,803,-13623,-6417,12090,9552,3427,3842,4842,3192,1944,-2899,-7753,-5279,-3569,-4860,-5083,-1959,-830,-594,1122,2621,2531,1466,2042,1949,959,-194,-197,-62,99,-590,-2198,-3007,-2162,-1005,-691,149,526,558,621,539,540,414,224,135,145,-333,-653,-411,-548,-865,-692,-272,-215,-152,-123,-432,-817,-872,-551,-207,23,161,232,215,231,176,49,-28,-51,-216,-465,-515,-354,-161,-58,-91,-189,-235,-198,-100,27,96,-5,-172,-233,-134,-43,-60,-171,-263,-224,-97,14,37,-44,-160,-226,-166,-31,41,-9,-149,-240,-187,-36,28,-8,-93,-171,-152,-76,-26,-51,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 135 degrees + {{-1,0,0,-4,-5,0,8,-4,6,-18,17,-34,36,-53,71,-82,993,3061,3716,-1627,-9947,-2614,8864,7447,2954,2638,3376,2898,2433,-852,-3785,-3212,-2504,-3251,-3493,-1994,-1458,-1204,0,1497,1585,1264,1700,1562,844,65,57,-157,-726,-942,-828,-1133,-1234,-866,-533,-263,15,249,11,-82,380,745,492,31,-178,-140,-141,-439,-859,-731,-395,-351,-295,-151,-28,12,-56,-254,-498,-521,-336,-219,-362,-441,-292,-194,-121,-29,82,44,-66,-141,-209,-209,-147,-142,-233,-294,-252,-160,-106,-72,-90,-165,-206,-142,-54,-54,-90,-83,-60,-76,-85,-56,-52,-81,-122,-122,-70,-11,3,-43,-91,-106,-74,-67,-99,-111,0,0,0,0,0,0,0,0,0,0,0,0},{-5,4,16,-7,15,-30,36,-53,69,-88,117,-157,1462,5120,5985,-2309,-13705,-1699,12601,7664,2785,3839,4579,3026,1581,-3775,-6891,-4170,-3377,-4825,-4455,-1555,-1091,-600,1171,2541,2066,1400,1991,1657,760,-46,-50,87,19,-1094,-2361,-2472,-1458,-1037,-575,179,368,512,403,255,302,419,315,294,139,-285,-442,-293,-580,-976,-680,-230,-166,-182,-157,-408,-786,-785,-506,-267,-88,64,148,238,310,158,33,47,-18,-318,-498,-459,-358,-229,-104,-65,-142,-206,-185,-102,22,71,-56,-224,-244,-107,-32,-53,-155,-225,-196,-87,14,4,-76,-167,-192,-114,-9,25,-44,-126,-166,-152,-82,-53,-52,-75,-114,-130,-70,-10,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 150 degrees + {{1,0,-5,-3,1,9,-5,8,-19,20,-37,44,-61,79,-99,1094,3505,4182,-2014,-10771,-2075,9873,7445,2750,2898,3648,2931,2275,-1529,-4424,-3369,-2673,-3610,-3780,-1882,-1355,-1208,192,1721,1549,1268,1824,1621,1023,152,-50,-160,-539,-1134,-1252,-1141,-1226,-928,-486,-282,4,206,-26,-99,344,780,678,204,-96,-35,-135,-599,-868,-677,-569,-471,-216,-78,-74,-81,-229,-463,-574,-436,-189,-154,-223,-207,-111,-28,-45,-70,-26,-75,-217,-300,-253,-158,-112,-133,-199,-244,-206,-155,-108,-45,-65,-183,-240,-146,-52,-51,-100,-113,-102,-85,-50,-35,-67,-107,-128,-111,-46,5,-17,-83,-119,-107,-67,-71,-90,-97,-106,0,0,0,0,0,0,0,0,0,0,0,0},{-8,-4,4,10,-7,8,-24,26,-49,59,-84,109,-143,1532,4723,5187,-3242,-12714,-334,11972,7030,2526,3635,4291,2991,1607,-3449,-5998,-3672,-3148,-4527,-4114,-1573,-1256,-750,953,2297,1786,1338,1911,1516,833,120,8,79,-228,-1316,-2143,-1774,-1260,-1151,-402,73,232,339,163,35,249,509,499,351,51,-56,-260,-421,-676,-907,-710,-308,-152,-170,-179,-297,-608,-764,-537,-309,-201,-30,64,194,259,124,42,70,-6,-342,-522,-468,-322,-221,-125,-65,-101,-184,-213,-131,-16,10,-92,-237,-239,-100,-30,-51,-141,-194,-183,-87,-18,-29,-82,-148,-162,-100,-15,4,-46,-107,-149,-143,-121,-105,-77,-71,-94,-96,-61,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 165 degrees + {{0,-5,-3,2,10,-4,8,-20,23,-40,51,-70,94,-118,1336,4118,4637,-2844,-11735,-882,11041,7131,2534,3276,3978,2972,1925,-2543,-5188,-3456,-2894,-4082,-3945,-1731,-1292,-983,540,2034,1640,1257,1875,1541,975,221,4,-86,-432,-1260,-1687,-1338,-1303,-1032,-301,-158,39,262,27,-90,282,662,669,318,3,8,-132,-554,-829,-771,-656,-404,-207,-114,-121,-146,-405,-693,-586,-326,-189,-123,-57,22,131,86,1,16,-19,-243,-426,-421,-275,-159,-107,-90,-142,-188,-204,-165,-58,-19,-83,-205,-228,-121,-45,-42,-116,-155,-142,-83,-42,-33,-58,-113,-149,-110,-14,21,-30,-104,-150,-131,-76,-76,-98,-97,-83,-78,0,0,0,0,0,0,0,0,0,0,0,0},{0,-5,-3,2,10,-4,8,-20,23,-40,51,-70,94,-118,1336,4118,4637,-2844,-11735,-882,11041,7131,2534,3276,3978,2972,1925,-2543,-5188,-3456,-2894,-4082,-3945,-1731,-1292,-983,540,2034,1640,1257,1875,1541,975,221,4,-86,-432,-1260,-1687,-1338,-1303,-1032,-301,-158,39,262,27,-90,282,662,669,318,3,8,-132,-554,-829,-771,-656,-404,-207,-114,-121,-146,-405,-693,-586,-326,-189,-123,-57,22,131,86,1,16,-19,-243,-426,-421,-275,-159,-107,-90,-142,-188,-204,-165,-58,-19,-83,-205,-228,-121,-45,-42,-116,-155,-142,-83,-42,-33,-58,-113,-149,-110,-14,21,-30,-104,-150,-131,-76,-76,-98,-97,-83,-78,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 180 degrees +}; +inline constexpr std::int16_t pcm44100_p80[7][2][hrir::taps]={ + {{16,-6,17,-23,19,-17,10,13,-24,46,313,3188,4578,4872,-6962,-11476,5790,10102,4320,3018,4901,3465,1859,-471,-5646,-6097,-4304,-3345,-4194,-2512,-329,51,1258,1929,2321,1451,1180,1065,875,-148,-652,-82,1,-161,-849,-1465,-2030,-1645,-1025,-552,-37,466,948,915,953,1080,560,-195,-704,-688,-349,-137,-513,-979,-725,-297,-239,-194,28,73,16,-128,-445,-789,-801,-398,-132,-398,-584,-276,85,117,68,44,-82,-130,-80,-85,-144,-80,-97,-224,-365,-374,-239,-103,-114,-275,-372,-239,-1,92,19,-98,-115,-39,68,146,101,-79,-195,-200,-150,-71,-71,-177,-254,-246,-145,-3,40,-12,-139,-229,-164,16,145,119,0,0,0,0,0,0,0,0,0,0,0,0},{16,-6,17,-23,19,-17,10,13,-24,46,313,3188,4578,4872,-6962,-11476,5790,10102,4320,3018,4901,3465,1859,-471,-5646,-6097,-4304,-3345,-4194,-2512,-329,51,1258,1929,2321,1451,1180,1065,875,-148,-652,-82,1,-161,-849,-1465,-2030,-1645,-1025,-552,-37,466,948,915,953,1080,560,-195,-704,-688,-349,-137,-513,-979,-725,-297,-239,-194,28,73,16,-128,-445,-789,-801,-398,-132,-398,-584,-276,85,117,68,44,-82,-130,-80,-85,-144,-80,-97,-224,-365,-374,-239,-103,-114,-275,-372,-239,-1,92,19,-98,-115,-39,68,146,101,-79,-195,-200,-150,-71,-71,-177,-254,-246,-145,-3,40,-12,-139,-229,-164,16,145,119,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 0 degrees + {{-6,18,-6,17,-20,23,-23,24,-5,4,12,422,2930,3995,3506,-7893,-10255,6376,10371,4730,2535,4131,3280,2214,-10,-4854,-5480,-3917,-3007,-3802,-2512,-594,-176,674,1622,2170,1359,1286,1153,950,87,-509,-152,-15,-207,-907,-1528,-1900,-1488,-928,-356,93,453,725,714,831,1037,554,-169,-602,-698,-466,-336,-543,-789,-622,-220,-147,-125,103,116,-18,-98,-238,-613,-862,-619,-219,-351,-643,-521,-132,149,159,19,-121,-100,2,39,-64,-134,-167,-237,-285,-335,-295,-136,-99,-208,-326,-259,-72,54,24,-81,-83,7,96,136,106,-25,-140,-192,-173,-115,-121,-185,-215,-192,-106,-7,16,-5,-22,-55,-77,-27,18,0,0,0,0,0,0,0,0,0,0,0,0},{8,5,-5,-6,19,-41,75,-102,150,-24,3017,5167,6682,-3595,-14263,2225,10804,4771,3382,5458,3967,1516,-35,-5799,-6829,-4688,-3828,-4350,-2999,-377,181,1486,2012,2582,1829,988,1202,1018,-317,-927,-91,-87,-106,-475,-1365,-2149,-1880,-1349,-747,2,657,1099,912,807,1034,634,-155,-520,-539,-239,30,-540,-1167,-778,-471,-467,-153,42,-15,9,-124,-479,-808,-772,-334,-60,-339,-518,-130,164,172,146,68,-156,-235,-108,-71,-44,-59,-236,-354,-353,-261,-116,-79,-100,-217,-361,-246,-48,32,-17,-107,-118,-43,70,174,124,-68,-199,-208,-147,-68,-86,-194,-261,-245,-192,-155,-72,-31,14,79,127,73,-46,-70,-63,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 30 degrees + {{-8,-3,13,-10,16,-27,32,-46,56,-63,78,-85,947,3007,3844,925,-10654,-6352,8933,9323,3915,2527,3828,2738,2330,-660,-4680,-4639,-3234,-2890,-3587,-2007,-744,-251,491,1615,1900,1153,1413,1239,803,-43,-328,-230,-71,-370,-1109,-1594,-1791,-1343,-746,-9,324,527,657,499,673,799,331,-286,-630,-560,-341,-390,-759,-807,-475,-128,-57,-15,167,104,17,-6,-196,-643,-933,-656,-315,-483,-725,-591,-193,154,226,12,-112,-29,66,45,-77,-159,-225,-242,-260,-352,-347,-179,-85,-185,-279,-215,-85,12,-11,-60,-46,14,72,95,60,-43,-131,-193,-171,-119,-128,-173,-181,-162,-97,-27,-21,-32,-23,-25,-67,-60,0,0,0,0,0,0,0,0,0,0,0,0},{-9,24,-48,57,-80,97,-110,137,-170,1490,5015,7251,3579,-13367,-7436,10180,7248,3405,5098,5239,1850,929,-3603,-7660,-5531,-4112,-4414,-3998,-1105,-38,1040,1755,2365,2677,1230,1201,1404,377,-1136,-561,-145,-208,-63,-949,-2185,-2294,-1682,-1010,-31,657,1027,844,611,891,858,202,-322,-500,-214,94,-292,-1135,-1104,-647,-607,-377,-2,81,15,-52,-385,-726,-696,-387,-228,-287,-299,-118,51,178,139,40,-6,-125,-206,-196,-129,-50,-170,-382,-389,-246,-25,24,-62,-245,-414,-328,-93,64,36,-133,-226,-100,92,176,143,-12,-218,-304,-237,-94,-1,-86,-343,-487,-373,-34,318,330,20,-259,-218,-12,153,121,-124,-335,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 60 degrees + {{-5,-7,11,-4,10,-14,12,-15,4,6,-13,29,257,2398,3466,2761,-7130,-10356,4793,10633,5487,2358,3459,3213,2524,1075,-3327,-4558,-3460,-2659,-3488,-2822,-1131,-671,15,1137,2025,1217,1276,1580,976,119,-258,-209,-235,-192,-828,-1532,-1858,-1408,-603,-173,66,533,633,411,550,639,261,-151,-386,-388,-357,-440,-595,-773,-660,-293,-47,-4,153,191,106,14,-83,-381,-832,-895,-529,-418,-667,-725,-394,53,241,121,-19,22,95,88,-51,-194,-254,-265,-285,-344,-338,-181,-93,-162,-258,-227,-110,-21,-18,-55,-23,2,22,52,52,-28,-122,-176,-177,-136,-101,-105,-116,-125,-97,-36,-38,-61,-54,-46,-78,-98,0,0,0,0,0,0,0,0,0,0,0,0},{-5,15,-40,51,-79,104,-138,177,-208,2144,5580,7779,838,-14895,-3692,10887,6070,3534,5401,4589,1582,589,-4676,-7400,-4980,-4066,-4543,-3725,-772,13,840,1634,2577,2381,1271,1585,1469,108,-1002,-417,-426,-160,-88,-1410,-2510,-2251,-1508,-674,220,882,907,523,634,902,657,43,-336,-377,-26,137,-435,-1169,-1036,-722,-693,-379,34,118,63,-115,-489,-698,-491,-267,-368,-350,-97,8,-37,62,153,196,-36,-254,-311,-202,36,-60,-359,-429,-261,-88,-29,-36,-120,-289,-361,-237,-41,25,-36,-189,-208,-53,106,174,95,-104,-276,-326,-183,17,14,-262,-478,-390,-96,264,314,-12,-299,-229,2,164,84,-129,-291,-325,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 90 degrees + {{-5,-3,15,-7,15,-21,25,-32,32,-32,38,-35,538,2749,3762,1673,-9279,-8160,7513,9938,4128,2289,3820,3180,2577,252,-3981,-4345,-3026,-2899,-3758,-2512,-1173,-791,84,1501,2151,1245,1387,1553,938,-118,-343,-224,-217,-222,-1059,-1845,-1765,-897,-467,-375,231,622,373,363,652,564,44,-151,-128,-338,-520,-372,-478,-865,-719,-232,-70,7,114,127,157,83,-131,-527,-816,-732,-474,-513,-720,-644,-202,133,110,68,102,92,79,36,-107,-220,-243,-280,-389,-390,-235,-106,-112,-191,-222,-161,-79,-29,-60,-71,-33,-5,14,30,3,-81,-134,-159,-141,-98,-75,-85,-100,-93,-58,-38,-48,-57,-70,-98,-106,-70,0,0,0,0,0,0,0,0,0,0,0,0},{-6,22,-41,46,-62,70,-77,87,-112,1003,4598,6853,3737,-11721,-8300,9298,7975,3239,4502,5224,2451,1236,-2692,-7003,-5296,-3775,-4393,-4349,-1550,-382,128,1185,2290,2555,1403,1673,1751,710,-755,-509,-287,-390,-117,-1118,-2399,-2294,-1460,-818,-144,721,897,523,658,791,572,44,-238,-298,-41,184,-190,-888,-1005,-781,-800,-519,-61,139,84,-58,-343,-607,-528,-269,-312,-434,-230,-1,-29,31,144,165,21,-200,-293,-189,-28,-49,-265,-391,-308,-174,-26,-15,-75,-207,-337,-291,-107,10,-16,-132,-214,-117,39,129,121,-8,-188,-283,-212,-61,25,-50,-260,-376,-271,-49,136,154,-43,-205,-159,13,132,92,-97,-235,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 120 degrees + {{-9,12,1,5,-5,-3,11,-21,39,-58,92,13,2173,3848,3740,-5254,-11419,3118,11043,5361,2110,3728,3925,2651,1294,-3282,-4983,-3457,-2817,-3957,-3333,-1242,-1135,-448,1201,2360,1696,1502,1707,1119,225,-319,-368,-341,-59,-815,-1817,-1909,-1072,-604,-569,86,513,267,339,679,673,316,28,-139,-311,-434,-273,-299,-832,-899,-430,-203,-168,25,173,100,11,-19,-372,-789,-644,-326,-498,-724,-514,-112,14,41,129,51,12,34,-20,-129,-112,-115,-301,-439,-361,-192,-106,-103,-168,-249,-214,-110,-20,-23,-80,-87,-65,13,61,13,-78,-137,-160,-147,-93,-56,-77,-98,-104,-66,-19,-15,-31,-65,-122,-143,-77,-7,0,0,0,0,0,0,0,0,0,0,0,0},{13,-6,12,-25,35,-57,81,-108,147,-158,1975,4781,6035,-1576,-13034,-799,10924,5710,2661,4627,4589,2274,882,-3951,-6330,-4177,-3392,-4595,-3703,-1020,-788,-14,1333,2507,2001,1449,1884,1543,320,-706,-306,-283,-213,-595,-1717,-2316,-1695,-873,-677,-119,661,603,575,772,677,288,-100,-208,-176,-49,60,-242,-912,-872,-707,-712,-401,-1,180,57,-116,-323,-570,-553,-276,-271,-512,-337,-34,-30,-8,185,215,-99,-272,-240,-137,-7,-43,-272,-383,-258,-126,-131,-130,-101,-184,-314,-251,-80,-17,-35,-118,-173,-104,39,100,33,-70,-169,-225,-149,-24,4,-105,-208,-187,-93,-31,-44,-122,-231,-170,-6,71,57,8,-43,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 150 degrees + {{8,5,3,2,-13,23,-39,62,-85,124,-87,2087,4289,4777,-3686,-12164,1617,11097,5365,2254,4159,4313,2517,1093,-3618,-5633,-3730,-3082,-4320,-3531,-1141,-1009,-395,1241,2486,1816,1571,1875,1324,220,-473,-308,-352,-109,-788,-1870,-2071,-1247,-655,-641,-56,467,354,492,767,666,295,33,-126,-280,-332,-52,-175,-903,-888,-561,-497,-312,12,182,88,-64,-210,-482,-613,-405,-319,-558,-520,-189,-46,-45,82,158,-8,-117,-107,-141,-138,-84,-140,-272,-300,-220,-203,-162,-136,-175,-274,-264,-91,-5,-7,-75,-123,-97,-12,69,24,-74,-157,-206,-152,-54,-10,-75,-139,-141,-72,-5,-16,-41,-100,-163,-172,-128,-76,-38,0,0,0,0,0,0,0,0,0,0,0,0},{8,5,3,2,-13,23,-39,62,-85,124,-87,2087,4289,4777,-3686,-12164,1617,11097,5365,2254,4159,4313,2517,1093,-3618,-5633,-3730,-3082,-4320,-3531,-1141,-1009,-395,1241,2486,1816,1571,1875,1324,220,-473,-308,-352,-109,-788,-1870,-2071,-1247,-655,-641,-56,467,354,492,767,666,295,33,-126,-280,-332,-52,-175,-903,-888,-561,-497,-312,12,182,88,-64,-210,-482,-613,-405,-319,-558,-520,-189,-46,-45,82,158,-8,-117,-107,-141,-138,-84,-140,-272,-300,-220,-203,-162,-136,-175,-274,-264,-91,-5,-7,-75,-123,-97,-12,69,24,-74,-157,-206,-152,-54,-10,-75,-139,-141,-72,-5,-16,-41,-100,-163,-172,-128,-76,-38,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 180 degrees +}; +inline constexpr std::int16_t pcm44100_p90[1][2][hrir::taps]={ + {{5,-16,26,-41,63,-81,119,-73,2020,4378,5862,-903,-11453,-1186,9080,4800,2577,4817,4371,2144,575,-3634,-5593,-3944,-3191,-4101,-3272,-1131,-482,514,1269,2172,1956,1147,1256,990,-222,-780,134,460,257,-481,-1587,-2274,-1906,-1100,-432,-2,355,547,419,651,931,678,145,-284,-374,-347,-98,-141,-816,-1128,-690,-358,-272,105,75,-125,-120,-96,-275,-592,-607,-361,-364,-647,-563,-77,190,92,42,0,-123,-222,-170,-55,59,53,-195,-453,-387,-120,23,-107,-440,-607,-424,-74,136,51,-75,-11,93,170,173,79,-115,-263,-269,-222,-146,-100,-138,-198,-199,-118,6,70,29,-59,-127,-124,-20,69,38,-69,-132,-141,0,0,0,0,0,0,0,0,0,0,0,0},{5,-16,26,-41,63,-81,119,-73,2020,4378,5862,-903,-11453,-1186,9080,4800,2577,4817,4371,2144,575,-3634,-5593,-3944,-3191,-4101,-3272,-1131,-482,514,1269,2172,1956,1147,1256,990,-222,-780,134,460,257,-481,-1587,-2274,-1906,-1100,-432,-2,355,547,419,651,931,678,145,-284,-374,-347,-98,-141,-816,-1128,-690,-358,-272,105,75,-125,-120,-96,-275,-592,-607,-361,-364,-647,-563,-77,190,92,42,0,-123,-222,-170,-55,59,53,-195,-453,-387,-120,23,-107,-440,-607,-424,-74,136,51,-75,-11,93,170,173,79,-115,-263,-269,-222,-146,-100,-138,-198,-199,-118,6,70,29,-59,-127,-124,-20,69,38,-69,-132,-141,0,0,0,0,0,0,0,0,0,0,0,0}}, // azimuth 0 degrees +}; +inline constexpr Row rows44100[elevationCount]={ + {-40,29,az_m40,pcm44100_m40}, + {-30,31,az_m30,pcm44100_m30}, + {-20,37,az_m20,pcm44100_m20}, + {-10,37,az_m10,pcm44100_m10}, + {0,37,az_p0,hrir::normal44100}, + {10,37,az_p10,pcm44100_p10}, + {20,37,az_p20,pcm44100_p20}, + {30,31,az_p30,pcm44100_p30}, + {40,29,az_p40,pcm44100_p40}, + {50,23,az_p50,pcm44100_p50}, + {60,19,az_p60,pcm44100_p60}, + {70,13,az_p70,pcm44100_p70}, + {80,7,az_p80,pcm44100_p80}, + {90,1,az_p90,pcm44100_p90}, +}; +inline constexpr std::int16_t pcm48000_m40[29][2][hrir::taps]={ + {{-10,9,-5,10,-1,-2,11,-34,42,-50,40,-41,28,-28,1455,6385,1490,-8468,-3448,676,-1811,4073,9321,7324,3168,4624,10219,5243,-3917,-4195,-4340,-8209,-4733,414,-3786,-6622,-3582,-1276,-720,-570,619,1593,1175,960,2585,2621,383,161,532,294,-238,-1068,-1074,-1052,-1366,-1013,-535,-913,-847,-27,216,90,279,495,633,586,65,-74,-171,-615,-319,223,217,182,281,194,34,-271,-534,-633,-1038,-1238,-808,-386,-120,205,349,461,533,332,270,168,-169,-432,-605,-613,-418,-176,-25,72,59,22,63,-26,-116,-108,-73,-70,-177,-256,-201,-119,-104,-93,-156,-265,-271,-211,-176,-172,-87,16,46,58,91,106,72,-1,-70,-92,-131,-161,-202,-224,-216,-267,-253,-163,-64,-4},{-10,9,-5,10,-1,-2,11,-34,42,-50,40,-41,28,-28,1455,6385,1490,-8468,-3448,676,-1811,4073,9321,7324,3168,4624,10219,5243,-3917,-4195,-4340,-8209,-4733,414,-3786,-6622,-3582,-1276,-720,-570,619,1593,1175,960,2585,2621,383,161,532,294,-238,-1068,-1074,-1052,-1366,-1013,-535,-913,-847,-27,216,90,279,495,633,586,65,-74,-171,-615,-319,223,217,182,281,194,34,-271,-534,-633,-1038,-1238,-808,-386,-120,205,349,461,533,332,270,168,-169,-432,-605,-613,-418,-176,-25,72,59,22,63,-26,-116,-108,-73,-70,-177,-256,-201,-119,-104,-93,-156,-265,-271,-211,-176,-172,-87,16,46,58,91,106,72,-1,-70,-92,-131,-161,-202,-224,-216,-267,-253,-163,-64,-4}}, // azimuth 0 degrees + {{0,-4,3,3,-1,14,-11,17,-21,14,-6,-11,25,-42,53,281,3898,4649,-4338,-6541,-1445,-2605,414,7547,8033,5202,4105,7339,7829,1207,-2453,-2603,-6287,-7116,-1634,-795,-4496,-4987,-3334,-1561,-638,-45,911,1052,607,1556,2816,1731,549,674,621,1,-676,-938,-1170,-1451,-1322,-831,-777,-850,-506,-148,149,408,489,320,294,78,-89,460,635,359,393,337,0,-244,-328,-331,-579,-1039,-1070,-880,-736,-351,58,151,270,490,507,452,199,-122,-313,-586,-659,-435,-211,-105,-39,35,132,142,-11,-69,-80,-95,-50,-121,-287,-358,-280,-215,-206,-180,-142,-125,-83,-27,-40,-56,-71,-68,-23,48,58,-13,-50,-75,-109,-114,-63,-52,-93,-64,-95,-235,-253,-200,-168,-36},{3,-2,7,6,-13,23,-46,40,-39,16,-9,-26,30,858,6355,3689,-8627,-5674,761,-2173,3067,9981,8867,4040,3766,10864,7581,-4088,-5524,-4334,-8400,-5619,959,-2977,-7489,-4385,-1431,-1085,-1290,117,1628,1512,1226,2695,3222,943,364,668,192,-231,-1147,-1508,-1407,-1505,-1160,-540,-811,-900,16,436,251,292,480,576,580,39,-268,-191,-626,-514,170,275,159,231,135,24,-183,-520,-681,-1087,-1317,-819,-257,-7,227,382,462,618,493,327,169,-236,-512,-664,-702,-501,-262,-121,-12,24,11,90,55,-27,8,47,43,-70,-195,-201,-145,-145,-154,-217,-349,-362,-293,-215,-184,-121,-18,8,37,92,126,103,71,17,-16,-75,-165,-206,-307,-325,-328,-298,-195,-112,37,28}}, // azimuth 6 degrees + {{-2,-1,-5,2,0,1,8,-7,13,-23,16,-13,-1,12,-23,28,428,3876,3697,-4440,-5418,-1269,-2266,1214,6738,6673,4803,4216,6983,6789,949,-1849,-2400,-5752,-6332,-1950,-1136,-4235,-4857,-2881,-884,-391,-159,769,1158,1039,1752,2226,1129,591,898,512,-333,-872,-1036,-1196,-1325,-1204,-858,-737,-659,-377,-47,273,418,346,264,376,171,164,653,595,382,375,119,-218,-394,-445,-444,-692,-1035,-956,-764,-569,-175,99,175,294,347,318,284,66,-152,-332,-561,-553,-319,-140,-62,2,75,147,63,-74,-94,-157,-171,-128,-221,-343,-340,-236,-186,-179,-137,-136,-128,-42,14,-25,-55,-38,-16,19,46,15,-62,-105,-152,-188,-144,-74,-55,-72,-40,-107,-183,-162,-157,-39},{4,-1,16,-22,30,-44,29,-15,-17,38,-86,98,371,5819,5982,-7781,-8340,494,-2003,1738,10221,10241,5326,3203,10808,9962,-3787,-6773,-4225,-8573,-6514,1343,-2146,-8267,-5259,-1501,-1605,-2520,-411,2506,2317,1063,2379,3839,1753,734,974,-30,-615,-1149,-1520,-1790,-2030,-1435,-568,-714,-880,115,669,412,356,500,628,690,163,-380,-291,-584,-709,21,294,59,107,45,-21,-81,-429,-641,-1050,-1392,-905,-205,141,342,467,496,583,533,423,263,-197,-563,-745,-834,-622,-269,-135,-105,-22,20,145,168,47,52,121,152,71,-94,-180,-144,-131,-155,-256,-421,-448,-383,-281,-187,-117,-18,20,25,81,133,145,112,58,40,-3,-115,-195,-286,-398,-390,-347,-221,-106,-17,146,53}}, // azimuth 13 degrees + {{0,0,-1,-4,2,1,2,9,-8,14,-17,9,-5,-6,21,-23,32,294,3142,3593,-3218,-4995,-1363,-1603,815,5081,5720,4808,4005,6015,6292,1706,-1126,-1996,-4797,-5877,-2372,-1082,-3847,-4628,-2656,-667,-296,-304,607,1281,1394,1749,1856,1045,659,745,219,-591,-1073,-1097,-1020,-1164,-1248,-851,-511,-444,-269,25,326,457,401,395,474,249,262,555,391,288,267,10,-297,-516,-518,-547,-860,-1105,-898,-593,-334,39,237,278,327,264,199,139,-50,-224,-428,-613,-499,-236,-67,-20,-5,64,100,13,-77,-108,-182,-197,-164,-234,-318,-292,-196,-180,-183,-143,-135,-98,-12,13,-33,-47,-11,26,39,20,-45,-91,-132,-201,-218,-162,-87,-80,-25,14,-33,-83,-131,-36},{-3,22,-28,35,-42,18,4,-40,64,-114,127,184,5601,7388,-7218,-10390,-247,-1694,1388,10509,11079,6464,3631,10760,10717,-3129,-7002,-5540,-9153,-5667,1537,-2661,-8707,-5543,-2196,-2773,-3345,-172,3823,3159,918,2181,4247,2555,1049,896,-84,-915,-1610,-1660,-1864,-2400,-1825,-722,-749,-882,280,894,517,407,665,838,840,329,-312,-368,-698,-956,-289,190,16,20,20,-78,-135,-376,-562,-1023,-1401,-940,-186,305,537,592,497,480,470,437,324,-156,-577,-772,-885,-715,-371,-195,-160,-44,75,239,303,148,89,137,185,153,26,-106,-148,-150,-152,-255,-484,-511,-460,-382,-232,-85,67,66,28,63,113,130,129,91,59,30,-83,-163,-268,-418,-466,-361,-237,-103,-4,101,220,59}}, // azimuth 19 degrees + {{-4,0,0,-2,-3,3,1,2,8,-5,10,-15,14,-10,5,13,-15,24,358,3015,2956,-3138,-4262,-1105,-1091,868,4118,5143,4567,3825,5551,5491,1693,-727,-1929,-4603,-5281,-1912,-1159,-3902,-4248,-2096,-394,-290,-218,650,1304,1519,1736,1690,921,476,435,-45,-761,-1114,-968,-923,-1206,-1186,-624,-317,-328,-171,136,434,560,577,542,349,80,219,391,212,166,105,-91,-345,-547,-595,-744,-1015,-1047,-704,-364,-64,257,375,384,352,230,93,-69,-247,-371,-533,-625,-452,-161,21,16,-30,18,67,10,-76,-136,-182,-168,-154,-219,-268,-223,-184,-221,-211,-144,-116,-66,-15,-15,-21,-12,10,21,19,-28,-82,-129,-174,-212,-222,-133,-72,-9,60,53,-23,-113,-34},{26,-24,22,-13,-19,47,-80,94,-128,125,-87,3787,9212,-2992,-13007,-2872,-595,-217,9342,11768,8286,4025,8578,13322,676,-7687,-6394,-9605,-6522,1618,-1822,-9003,-6826,-3060,-3389,-3673,-369,3880,3742,1562,2253,4181,3000,1393,921,-108,-737,-1638,-2137,-2085,-2352,-1942,-978,-913,-1072,110,898,613,568,855,982,930,616,-82,-433,-694,-1140,-793,-66,-7,12,108,-21,-115,-343,-466,-847,-1362,-1067,-355,219,569,665,544,439,377,352,365,27,-433,-724,-905,-803,-457,-203,-189,-135,20,209,368,282,152,133,156,176,131,16,-90,-137,-158,-250,-483,-569,-502,-447,-299,-115,74,140,85,62,57,62,109,109,42,35,-37,-125,-194,-358,-473,-444,-289,-147,-19,98,178,183,38}}, // azimuth 26 degrees + {{1,-2,0,0,0,-2,2,2,2,7,-5,10,-9,10,-3,1,16,-14,23,223,2397,2871,-2183,-3875,-953,-724,113,3029,4665,4328,3516,4750,5027,2188,-175,-1623,-4052,-4668,-1799,-1152,-3532,-3780,-1773,-230,-258,-281,592,1312,1452,1363,1355,975,491,215,-242,-712,-858,-795,-926,-1178,-1003,-440,-237,-339,-210,239,680,703,563,441,199,10,71,104,41,26,-87,-223,-407,-535,-562,-726,-894,-837,-527,-185,107,348,438,420,283,91,-48,-200,-379,-528,-619,-572,-337,-62,46,-42,-89,5,52,3,-72,-124,-163,-170,-148,-174,-200,-187,-197,-252,-219,-126,-89,-64,-51,-19,2,-23,-38,-13,-9,-65,-116,-156,-205,-236,-158,-37,18,44,80,32,-70,-25},{-11,4,2,-43,63,-89,84,-105,75,-101,2649,9735,367,-13999,-5884,5,-393,8546,12302,8663,3744,8637,15738,2711,-7840,-7345,-10777,-6608,1908,-1477,-9162,-8394,-4354,-3269,-2726,-401,3084,3761,2385,3109,4433,2950,1323,751,-220,-575,-1568,-2613,-2661,-2354,-1761,-1091,-957,-1165,-19,868,707,792,878,1007,1055,808,89,-470,-747,-1294,-1201,-327,24,-18,131,116,-22,-290,-449,-741,-1266,-1073,-446,103,451,540,536,439,337,318,382,182,-255,-652,-953,-887,-543,-237,-154,-116,6,144,321,309,168,131,171,175,173,148,22,-74,-129,-247,-501,-630,-587,-515,-303,-105,65,174,123,74,40,14,49,44,-4,15,4,-70,-152,-290,-430,-469,-358,-172,-61,59,141,151,160,39}}, // azimuth 32 degrees + {{-1,2,0,0,0,0,-1,2,1,3,5,1,10,-9,12,-4,6,5,-3,13,286,2304,2299,-2222,-3111,-571,-781,4,2825,4294,3879,3320,4365,4297,1947,1,-1593,-3763,-3886,-1541,-1496,-3209,-2827,-1181,-247,-356,-125,726,1226,1142,925,1070,967,571,171,-352,-641,-623,-673,-941,-1089,-870,-477,-276,-231,-10,423,730,659,425,199,-6,-92,-61,-61,-80,-122,-204,-264,-384,-429,-461,-621,-712,-625,-366,-75,175,327,360,299,117,-48,-147,-269,-429,-546,-554,-416,-171,-15,-42,-119,-87,-10,-3,-26,-60,-137,-193,-164,-138,-146,-155,-161,-192,-220,-153,-88,-80,-69,-74,-65,-53,-67,-50,-16,-40,-104,-146,-178,-205,-169,-63,23,32,68,79,0,-9},{-23,41,-69,66,-57,17,1,-66,63,744,8213,6585,-11453,-11542,-581,-494,5805,12547,9350,3882,7463,17524,8062,-6609,-8044,-11435,-8661,1391,376,-8343,-10146,-6022,-3199,-1695,-889,1310,3340,2906,3598,5021,3419,1290,785,9,-494,-1378,-2553,-3098,-2850,-1821,-1075,-919,-1162,-192,787,721,873,871,889,982,985,458,-311,-757,-1260,-1437,-750,-47,-50,75,276,158,-165,-424,-617,-1042,-1086,-666,-133,276,393,432,442,362,283,441,392,-13,-397,-843,-999,-734,-376,-159,-126,-27,65,206,331,219,117,175,211,196,225,132,3,-57,-148,-398,-643,-645,-587,-393,-159,20,179,183,102,28,-13,-18,33,2,-19,22,-14,-99,-219,-338,-448,-437,-262,-72,16,126,154,110,168,49}}, // azimuth 39 degrees + {{1,1,1,-1,1,0,0,-1,3,1,5,7,4,8,-6,12,-7,9,3,7,-1,376,2170,1653,-2120,-2254,-462,-948,144,2701,3852,3466,3089,3866,3624,1901,231,-1721,-3572,-3178,-1351,-1501,-2519,-2043,-915,-267,-202,85,594,847,723,709,1105,1017,547,107,-342,-529,-511,-599,-932,-1164,-872,-295,-37,-39,112,393,483,369,271,59,-171,-209,-151,-82,-95,-161,-186,-246,-323,-306,-361,-520,-586,-484,-257,-31,135,216,216,109,-56,-108,-125,-241,-381,-434,-383,-259,-117,-76,-152,-189,-110,-41,-28,-43,-125,-189,-171,-129,-111,-118,-123,-125,-132,-116,-87,-91,-106,-119,-136,-122,-94,-76,-54,-32,-60,-108,-134,-160,-159,-117,-29,34,59,100,70,8},{35,-48,28,6,-56,80,-142,157,-31,5660,10146,-6221,-15552,-3476,385,4275,11551,8945,4593,7078,18066,13062,-4813,-9041,-12002,-9684,1382,880,-8043,-11122,-6971,-3044,-1241,-614,-75,2147,3193,3718,5130,4087,1872,810,-62,-273,-1191,-2566,-3307,-3400,-2171,-1018,-679,-1165,-429,964,842,794,779,812,962,925,681,-67,-702,-1159,-1497,-1192,-339,21,12,209,276,90,-226,-570,-911,-985,-761,-356,53,228,284,341,403,360,415,477,221,-148,-633,-937,-784,-491,-281,-226,-124,9,99,210,214,146,188,303,281,249,222,103,8,-100,-303,-557,-667,-624,-460,-235,-56,123,200,140,63,-10,-77,-39,17,-8,17,48,-34,-207,-312,-378,-453,-343,-141,1,116,188,146,99,106,28}}, // azimuth 45 degrees + {{0,-1,-1,-1,-1,-1,-1,0,-2,1,1,3,2,0,2,-5,11,-7,4,-1,1,-13,339,1748,1314,-1453,-1652,-657,-929,191,2179,3180,3053,2811,3355,3242,2000,300,-1694,-3014,-2427,-1073,-1217,-1827,-1443,-648,-141,-157,-108,204,516,613,689,973,850,383,26,-202,-325,-468,-731,-971,-884,-468,-76,-35,-131,-74,103,229,173,58,-88,-181,-202,-206,-98,-20,-73,-141,-181,-218,-271,-381,-479,-485,-402,-241,-86,17,46,23,-37,-96,-68,-65,-151,-231,-259,-235,-212,-212,-222,-245,-210,-137,-113,-121,-150,-176,-156,-121,-99,-99,-86,-57,-61,-67,-82,-104,-123,-155,-173,-188,-172,-133,-99,-45,-30,-69,-93,-107,-131,-150,-133,-42,24,68,98,23},{17,-59,80,-97,71,-74,24,-59,1723,10243,4027,-15215,-10756,149,2337,9131,9582,5994,5475,14559,19523,1780,-9220,-11414,-12063,-970,2615,-5778,-11458,-8777,-3811,-1956,-525,-163,894,2251,3006,4996,4711,2594,1670,371,-359,-711,-1976,-3140,-3790,-2815,-1527,-800,-921,-848,672,998,849,855,718,906,913,868,261,-500,-1049,-1389,-1375,-906,-187,-44,8,293,311,78,-311,-769,-958,-859,-527,-130,31,104,176,380,517,442,426,342,127,-339,-824,-830,-555,-327,-335,-308,-99,13,94,159,138,126,262,357,342,331,227,116,-47,-253,-438,-602,-668,-555,-324,-163,6,160,182,98,20,-56,-96,-20,7,10,42,35,-120,-307,-345,-404,-401,-241,-98,29,181,214,139,73,10,-4}}, // azimuth 51 degrees + {{3,2,1,2,2,0,3,4,2,2,4,3,6,3,6,4,3,9,-5,7,-7,5,1,510,1525,664,-1147,-1072,-797,-698,509,1878,2692,2761,2813,3007,2511,1563,97,-1640,-2372,-1603,-778,-984,-1133,-751,-348,-261,-312,-86,142,288,399,560,710,541,286,67,-147,-321,-500,-638,-662,-472,-204,-134,-216,-249,-162,-31,15,20,-15,-130,-208,-238,-152,24,71,4,-74,-144,-226,-334,-424,-445,-391,-324,-245,-136,-55,-4,-7,-67,-70,-27,-26,-76,-136,-166,-203,-239,-246,-255,-242,-213,-191,-182,-176,-163,-151,-118,-72,-53,-54,-51,-47,-44,-48,-62,-92,-139,-172,-193,-181,-146,-113,-77,-34,-20,-42,-59,-100,-134,-155,-111,-35,12,69,23},{-41,24,7,-72,95,-164,177,-128,5496,11209,-5988,-17576,-4370,1983,5652,9786,7294,5258,9240,20901,12318,-6852,-11111,-12928,-4998,3606,-2473,-10223,-10826,-5683,-2631,-1077,88,251,1480,1722,3555,5422,3531,1963,982,240,78,-1428,-2682,-3615,-3388,-2083,-1413,-1012,-1134,116,1101,833,1008,874,891,858,897,666,-163,-868,-1380,-1401,-1161,-639,-204,-232,45,463,371,13,-502,-842,-822,-720,-327,-53,-29,23,174,516,565,433,380,258,-33,-579,-824,-616,-380,-327,-387,-255,-89,-16,59,117,118,159,293,357,418,395,281,117,-167,-393,-517,-622,-635,-442,-247,-114,46,167,165,69,6,-82,-57,-3,-34,30,53,-25,-204,-329,-331,-383,-326,-178,-83,62,201,207,139,43,-40,-17}}, // azimuth 58 degrees + {{4,1,1,2,3,2,2,3,3,2,2,3,1,6,3,4,2,6,2,-7,3,0,9,17,532,1142,338,-682,-717,-809,-502,519,1488,2288,2599,2436,2160,1903,1498,333,-1226,-1665,-869,-312,-261,-304,-504,-534,-397,-304,-277,-254,-62,107,249,447,501,287,-48,-226,-197,-158,-261,-340,-284,-235,-263,-323,-353,-341,-234,-101,-62,-125,-245,-264,-180,-43,118,151,64,-49,-171,-271,-355,-409,-403,-373,-328,-263,-142,-15,3,-39,-86,-97,-52,-41,-61,-87,-133,-181,-217,-234,-246,-256,-240,-228,-224,-199,-175,-145,-92,-49,-58,-97,-81,-31,-10,-12,-42,-91,-145,-179,-160,-136,-135,-125,-78,-22,-16,-34,-78,-139,-172,-169,-119,-66,-30,-3},{-58,78,-87,31,-12,-68,64,874,9892,7003,-15525,-13897,1018,3216,7973,8699,5489,6069,16410,20846,1220,-11585,-12629,-8357,2757,1381,-7797,-12093,-8478,-3023,-1962,-337,43,419,1449,1999,4384,4151,2430,1648,490,794,104,-1860,-3384,-3804,-2347,-1715,-1593,-1616,-807,939,992,970,1073,1013,1001,809,839,257,-521,-1203,-1529,-1327,-1037,-439,-278,-404,138,551,426,-63,-682,-744,-664,-550,-201,-97,-106,1,339,629,532,347,247,111,-298,-703,-653,-388,-254,-346,-393,-247,-113,-47,8,69,107,240,345,387,436,371,295,60,-277,-460,-558,-629,-578,-358,-182,-80,51,150,148,92,-11,-78,-21,-46,-45,40,-11,-124,-217,-258,-312,-362,-276,-173,-48,122,183,150,91,-2,-52,-12}}, // azimuth 64 degrees + {{3,2,1,2,3,3,2,3,3,3,2,1,0,2,4,3,2,0,5,-2,3,3,0,-2,83,631,801,0,-454,-545,-682,-196,746,1572,1865,1878,1915,1766,1728,1462,338,-834,-766,50,234,-10,-323,-621,-618,-544,-506,-546,-483,-274,-110,181,414,343,57,-127,25,233,184,-77,-257,-297,-343,-394,-437,-452,-408,-312,-219,-191,-228,-260,-223,-128,28,193,220,85,-90,-221,-297,-344,-381,-385,-357,-304,-193,-63,-19,-58,-106,-144,-137,-104,-93,-71,-43,-65,-138,-195,-212,-224,-245,-261,-262,-244,-215,-187,-154,-113,-91,-104,-100,-48,9,25,5,-36,-91,-126,-141,-148,-148,-134,-105,-60,-28,-45,-75,-136,-178,-195,-185,-132,-98,-22},{-54,91,-125,96,-94,34,-67,2285,12128,1709,-19777,-9164,3150,3780,8835,7171,4845,8939,20560,16599,-5765,-13565,-11133,-2404,4696,-2040,-10131,-12124,-6250,-1970,-1828,-238,-395,578,1510,2387,4241,3230,2063,1008,782,1374,-247,-2012,-3578,-3471,-1951,-1596,-1707,-1944,-419,1080,922,1014,1072,1224,1008,746,679,26,-695,-1364,-1509,-1284,-953,-358,-402,-386,247,517,434,-145,-707,-639,-588,-405,-153,-165,-123,108,521,686,441,223,99,-104,-487,-669,-434,-211,-204,-358,-398,-279,-160,-45,9,46,144,322,429,422,365,310,234,-22,-293,-460,-556,-607,-542,-324,-158,-42,81,155,147,89,-26,-55,6,-73,-41,36,-79,-169,-189,-209,-295,-329,-254,-175,-12,159,178,119,25,-75,-52,0}}, // azimuth 71 degrees + {{0,0,1,1,1,2,3,1,2,1,-1,-1,-1,0,1,-1,0,1,-1,3,2,2,-4,-2,-1,122,529,520,-70,-308,-343,-278,257,712,827,891,1285,1813,1914,1879,1655,872,176,238,379,-39,-380,-467,-625,-794,-837,-749,-743,-668,-431,-167,140,221,94,143,377,576,554,264,-115,-340,-408,-495,-581,-530,-475,-498,-461,-349,-246,-237,-243,-175,-60,115,234,193,67,-70,-191,-291,-325,-318,-334,-314,-258,-196,-113,-88,-134,-194,-226,-224,-185,-87,20,69,14,-87,-158,-208,-246,-271,-289,-290,-274,-253,-213,-174,-150,-126,-97,-45,12,33,32,16,-18,-54,-121,-161,-155,-134,-115,-108,-86,-87,-93,-124,-163,-202,-213,-198,-174,-38},{-38,92,-158,168,-195,176,-195,4167,13104,-4717,-21148,-3771,4179,4361,8362,5543,5582,12707,22291,10071,-11525,-13906,-6761,3194,3633,-5370,-11611,-11018,-3790,-1940,-2008,-317,-850,439,1562,3106,3867,2453,1551,408,1336,1601,-362,-2162,-3672,-2591,-1510,-1708,-1974,-1862,-91,798,738,927,1069,1266,949,751,440,-138,-639,-1336,-1434,-1212,-904,-462,-595,-293,380,522,342,-260,-545,-421,-463,-368,-243,-242,-131,213,619,595,244,104,43,-201,-522,-544,-238,-91,-208,-361,-403,-366,-210,-21,15,26,158,368,482,426,330,311,170,-110,-323,-462,-483,-542,-549,-332,-147,-2,122,153,131,71,-18,-33,-12,-64,-37,-16,-124,-176,-123,-173,-318,-312,-235,-129,49,172,158,54,-62,-117,-44,4}}, // azimuth 77 degrees + {{1,1,0,3,2,3,4,1,1,1,0,-2,0,1,1,1,2,4,0,2,7,4,2,-5,0,1,169,472,318,-131,-108,198,129,-193,-81,444,926,1523,2125,2209,2086,2060,1496,469,-56,-165,-435,-632,-580,-677,-1028,-1094,-816,-665,-575,-362,-112,38,112,350,706,822,659,426,81,-314,-489,-529,-646,-705,-593,-504,-514,-470,-340,-234,-189,-155,-77,31,127,173,147,92,-21,-181,-281,-297,-284,-285,-278,-262,-245,-199,-160,-201,-281,-312,-234,-82,58,146,123,0,-125,-200,-238,-274,-303,-306,-288,-260,-241,-218,-174,-137,-91,-42,11,48,40,42,17,-42,-108,-143,-145,-134,-120,-122,-125,-116,-97,-117,-142,-192,-208,-196,-196,-45},{-33,93,-173,207,-254,258,-269,4912,13221,-7384,-21168,-1444,4721,4146,7369,5143,6505,14603,22196,6261,-14302,-13159,-2945,5682,2291,-6990,-11990,-9714,-2787,-2462,-2163,-752,-1350,527,1717,3197,3581,2232,1167,285,1710,1506,-439,-2081,-3234,-2083,-1398,-1623,-2153,-1853,15,606,443,624,1024,1216,913,805,358,-161,-544,-1168,-1278,-1200,-944,-601,-704,-205,431,548,318,-342,-491,-275,-316,-337,-318,-324,-172,268,628,469,119,57,43,-182,-444,-418,-183,-128,-258,-333,-356,-420,-279,-19,37,25,122,343,507,433,357,325,108,-144,-355,-470,-425,-494,-538,-361,-165,1,139,183,126,41,-18,-14,-1,-56,-78,-77,-141,-157,-72,-149,-365,-345,-190,-57,97,158,105,-8,-99,-117,-75,-12}}, // azimuth 84 degrees + {{1,1,1,3,3,3,3,2,2,0,0,-1,-2,1,2,2,4,4,2,2,4,6,2,-3,-11,-4,18,195,376,312,378,288,-360,-744,-481,206,1032,1487,1746,2285,2809,2777,2040,747,-332,-539,-418,-596,-890,-905,-858,-1060,-1000,-568,-369,-395,-295,-118,111,506,850,895,727,484,176,-204,-548,-684,-666,-708,-741,-633,-480,-404,-379,-282,-152,-118,-103,-48,38,143,202,177,38,-98,-171,-226,-234,-270,-324,-317,-308,-293,-263,-255,-277,-303,-226,-76,59,152,128,17,-110,-178,-207,-262,-286,-282,-270,-249,-255,-244,-184,-135,-94,-49,7,46,51,51,8,-60,-119,-131,-134,-142,-132,-127,-119,-112,-97,-119,-134,-162,-173,-182,-210,-51},{-44,111,-192,234,-284,295,-321,4716,13310,-7559,-21268,-607,5440,3217,6075,5158,7303,15426,21490,4029,-15804,-11673,570,6853,970,-8105,-11610,-8367,-2531,-2946,-2508,-1344,-1863,400,1944,3071,3153,2257,1187,365,1797,1459,-465,-2126,-2557,-1348,-1389,-1784,-2108,-1716,-224,306,161,272,817,1088,943,836,376,-11,-367,-988,-1095,-1099,-1011,-785,-778,-167,448,548,309,-288,-456,-219,-177,-308,-382,-442,-262,301,620,353,25,60,94,-121,-324,-296,-162,-195,-313,-317,-330,-412,-292,-58,-28,-15,141,373,517,430,396,359,102,-151,-375,-474,-413,-448,-478,-369,-200,-8,134,187,121,40,13,1,33,-42,-127,-107,-151,-171,-61,-107,-353,-348,-137,-7,107,166,87,-56,-139,-134,-70,-9}}, // azimuth 90 degrees + {{0,0,0,1,2,2,2,1,-1,-1,0,-2,-3,-2,1,2,-1,2,4,5,0,-2,0,-5,-4,-11,4,14,296,952,731,-453,-1002,-736,-131,546,985,1346,1783,2436,3088,2850,1633,548,-4,-477,-737,-792,-1025,-1256,-1072,-632,-551,-636,-308,33,-46,-230,-64,431,820,879,736,493,102,-270,-483,-683,-799,-750,-684,-648,-558,-389,-266,-242,-206,-153,-116,-66,39,152,152,102,42,-30,-66,-107,-180,-281,-381,-413,-368,-327,-321,-308,-267,-227,-163,-81,-11,19,-17,-49,-61,-85,-154,-227,-233,-214,-216,-247,-271,-259,-208,-142,-83,-57,-22,27,42,26,-40,-99,-143,-162,-156,-145,-131,-118,-93,-92,-86,-103,-100,-126,-151,-188,-244,-61},{-71,147,-218,229,-232,200,-211,3197,13384,-3948,-21970,-2600,6281,2224,5130,5208,7275,14874,21104,5301,-15566,-11405,1717,7121,1112,-8153,-11093,-7944,-2837,-3080,-2926,-1658,-2277,-25,1795,2774,3169,2344,1349,603,1807,1562,-415,-2019,-2327,-1108,-1060,-1780,-2259,-1727,-348,34,-158,108,650,888,920,894,528,123,-201,-766,-1034,-1059,-976,-864,-923,-261,500,616,330,-250,-436,-223,-193,-352,-429,-457,-258,283,595,358,25,29,79,-79,-233,-213,-155,-264,-366,-308,-318,-427,-335,-98,-59,-48,170,425,510,408,394,376,152,-117,-380,-505,-462,-437,-410,-330,-216,-52,83,157,129,78,60,8,13,-60,-138,-109,-172,-205,-82,-68,-287,-325,-142,-28,88,163,75,-63,-129,-119,-52,-5}}, // azimuth 96 degrees + {{3,2,2,2,3,4,3,3,3,2,2,1,0,1,2,1,2,3,5,7,2,2,-4,1,-4,2,3,141,767,875,-175,-931,-808,-218,484,877,1044,1300,2158,3059,2624,1464,889,597,143,-231,-712,-1242,-1281,-1063,-948,-717,-303,-79,-95,118,370,106,-188,73,587,866,699,319,-46,-355,-508,-584,-683,-748,-708,-580,-482,-388,-255,-186,-196,-183,-62,58,76,48,24,47,64,48,-15,-128,-217,-305,-362,-383,-393,-345,-288,-254,-223,-183,-126,-118,-145,-146,-111,-44,-17,-43,-100,-135,-128,-134,-174,-241,-277,-253,-185,-134,-99,-65,-24,28,37,-2,-77,-137,-174,-173,-162,-146,-116,-82,-46,-51,-46,-68,-63,-97,-138,-180,-253,-66},{-101,160,-188,135,-75,-36,105,1226,12201,2172,-21356,-7219,7029,1778,3801,5114,6736,13594,20402,8710,-13654,-12315,1649,7150,2083,-7512,-10802,-7924,-3281,-2990,-3499,-1773,-2469,-930,1521,2392,3160,2652,1572,739,1844,2013,-234,-1997,-2219,-1109,-907,-1625,-2172,-1941,-678,-12,-325,-205,455,773,861,892,738,339,-84,-571,-929,-1011,-971,-864,-977,-473,450,733,444,-208,-501,-278,-218,-387,-497,-483,-217,274,567,385,53,28,69,-49,-143,-150,-155,-316,-436,-315,-306,-450,-396,-137,-28,-53,150,440,503,398,371,379,240,-48,-350,-532,-525,-416,-359,-298,-233,-104,45,107,125,92,90,50,-5,-76,-154,-138,-184,-215,-86,-39,-203,-286,-190,-64,56,129,84,-16,-60,-84,-64,-9}}, // azimuth 103 degrees + {{3,2,2,2,3,4,2,3,2,2,3,2,1,4,1,0,1,1,4,1,9,-2,4,0,-1,9,159,972,1009,-642,-1432,-731,123,813,1102,1116,1226,2097,3104,2522,989,78,-57,147,208,-226,-852,-1184,-1238,-965,-550,-411,-286,163,562,561,496,369,-5,-155,133,494,472,73,-256,-380,-453,-545,-615,-622,-591,-540,-427,-301,-267,-205,-72,-34,-13,61,60,-28,-89,-27,49,14,-103,-218,-272,-304,-312,-322,-338,-292,-251,-228,-186,-173,-176,-206,-236,-211,-154,-87,-45,-27,-31,-27,-30,-79,-144,-212,-259,-261,-198,-124,-93,-87,-48,6,11,-29,-109,-173,-216,-206,-186,-146,-72,-29,-3,-21,-23,-34,-36,-82,-131,-185,-257,-66},{-72,64,-27,-87,184,-313,412,-298,8115,9761,-15623,-15181,5855,3034,1411,5021,5821,11429,18719,13499,-8264,-14109,-249,7092,3436,-5980,-10537,-8279,-4157,-2621,-4002,-2315,-1888,-1863,634,2002,3139,3008,1953,1021,1508,2490,567,-1832,-2443,-1485,-838,-1548,-2082,-1918,-1072,-259,-312,-336,193,607,862,913,839,597,128,-388,-851,-966,-933,-910,-1013,-652,244,651,545,8,-451,-317,-227,-419,-567,-567,-251,268,542,397,83,55,136,5,-129,-175,-202,-335,-472,-380,-314,-410,-414,-200,-4,-29,74,365,493,423,353,361,291,32,-277,-508,-567,-440,-369,-303,-247,-167,9,52,96,101,93,112,6,-91,-186,-211,-202,-205,-92,-20,-114,-237,-263,-158,2,101,115,35,-17,-45,-78,-20}}, // azimuth 109 degrees + {{4,3,2,4,3,2,4,2,4,4,3,3,3,3,1,0,-1,4,-3,7,0,-3,8,-4,15,89,984,1450,-474,-1924,-1225,-103,980,1518,1470,1388,2051,3357,2963,838,-544,-577,-392,-458,-447,-585,-901,-973,-759,-495,-367,-155,158,376,683,957,820,389,10,-152,-134,-78,-18,-18,-168,-395,-556,-560,-534,-516,-459,-438,-366,-218,-127,-114,-79,26,107,61,-54,-119,-116,-76,-64,-127,-230,-276,-263,-231,-238,-317,-315,-232,-220,-242,-217,-158,-135,-193,-257,-253,-196,-118,-68,-39,-9,24,8,-47,-103,-186,-241,-248,-207,-142,-84,-54,-51,-57,-54,-59,-114,-177,-228,-222,-185,-128,-59,-12,19,0,1,-15,-35,-78,-115,-174,-251,-64},{23,-78,134,-205,221,-225,202,-220,3151,12435,-4488,-20272,-466,5991,-499,3754,5725,9027,16203,16597,-617,-14070,-3891,6667,4739,-3945,-10086,-8727,-5128,-2678,-3913,-3453,-1368,-1787,-249,1441,2646,3432,2494,1416,1194,2425,1550,-1227,-2482,-2099,-1138,-1377,-2068,-1988,-1297,-409,-274,-430,87,576,789,911,858,755,332,-180,-646,-996,-935,-824,-1010,-870,-38,554,587,197,-318,-326,-214,-413,-591,-622,-355,223,556,467,190,66,159,71,-133,-203,-272,-382,-440,-396,-333,-362,-370,-225,-21,13,30,261,465,461,380,342,289,110,-170,-426,-565,-495,-397,-343,-246,-174,-12,39,45,123,120,150,60,-109,-208,-242,-212,-177,-101,-19,-36,-165,-279,-235,-52,77,111,62,24,21,-49,-21}}, // azimuth 116 degrees + {{3,3,3,4,2,2,2,3,3,4,4,3,6,4,2,-7,5,-4,4,1,-11,8,-15,25,68,1118,1898,-496,-2488,-1540,-183,1046,1744,1784,1745,2433,4061,3545,629,-1125,-1115,-952,-1031,-1086,-1389,-1478,-958,-484,-163,61,128,347,681,847,962,986,774,480,67,-285,-436,-537,-450,-234,-199,-403,-578,-568,-500,-439,-335,-134,-31,-105,-119,-54,35,129,92,-85,-218,-213,-140,-104,-193,-327,-338,-269,-207,-201,-303,-370,-314,-235,-172,-142,-117,-75,-82,-165,-264,-319,-284,-164,-78,-38,-4,14,-2,-23,-71,-165,-216,-229,-197,-128,-48,-10,-69,-144,-150,-115,-121,-152,-201,-209,-167,-111,-63,-31,9,11,24,-3,-39,-79,-113,-165,-237,-62},{62,-84,66,-26,-73,157,-258,352,-178,7673,8743,-14313,-13411,5709,1786,-316,5264,7327,12207,16866,9066,-8479,-9212,3851,6780,-845,-9057,-9802,-6152,-3386,-3326,-4606,-2247,-945,-807,1038,2050,3103,3108,2206,1461,1778,2212,-29,-2174,-2471,-1829,-1440,-2011,-2229,-1680,-694,-62,-279,-181,510,842,867,824,856,621,-1,-342,-738,-1042,-899,-982,-1031,-403,328,608,389,-176,-378,-204,-315,-546,-648,-499,110,558,519,353,143,96,94,-126,-269,-304,-424,-474,-417,-349,-290,-272,-241,-90,30,29,179,417,468,379,314,265,157,-47,-333,-564,-579,-448,-371,-272,-174,-58,63,46,93,150,145,115,-54,-226,-276,-240,-169,-114,-57,-9,-83,-231,-264,-147,-13,77,72,42,76,31,-4}}, // azimuth 122 degrees + {{3,2,2,2,2,3,3,3,3,3,2,7,4,6,-3,4,-1,-2,12,-18,14,-24,28,7,936,2413,87,-3000,-2072,-349,980,1921,1973,1947,2493,4472,4596,1107,-1509,-1533,-1171,-1331,-1528,-1887,-2089,-1659,-1024,-236,216,306,714,1072,1156,1234,1269,872,348,308,307,-137,-763,-957,-712,-507,-386,-344,-495,-623,-447,-129,36,47,11,-20,-8,40,127,92,-176,-336,-234,-116,-120,-195,-291,-368,-344,-267,-262,-408,-520,-385,-192,-100,-38,4,29,25,-60,-197,-319,-392,-354,-222,-98,1,23,-18,-37,-25,-46,-128,-206,-229,-160,-46,18,-29,-133,-190,-185,-152,-133,-127,-176,-190,-146,-87,-46,-48,-25,-1,36,14,-20,-84,-141,-165,-219,-58},{-13,47,-89,116,-155,133,-105,45,-25,1685,10741,346,-17915,-4168,5845,-1251,1860,6626,9106,14405,14289,727,-9814,-1757,6692,3000,-6040,-10910,-8149,-4259,-2927,-4357,-4000,-1048,-530,345,1924,2918,3366,2494,1875,1694,2190,1165,-1560,-2582,-2226,-1707,-1887,-2406,-2146,-1207,-174,70,-191,220,819,928,882,856,856,306,-268,-497,-964,-977,-890,-1101,-704,38,472,482,27,-386,-330,-291,-434,-505,-497,-79,459,528,441,274,89,59,-95,-316,-382,-457,-512,-401,-338,-307,-215,-201,-134,22,80,155,331,446,399,259,180,136,28,-227,-528,-620,-505,-384,-301,-180,-90,33,100,70,145,167,113,11,-188,-305,-284,-185,-115,-113,-67,-47,-155,-230,-197,-113,3,69,47,61,73,13}}, // azimuth 129 degrees + {{3,2,2,-1,2,1,1,1,3,1,7,3,8,0,0,6,-10,20,-18,17,-27,20,-4,660,2800,961,-3454,-2849,-499,940,2144,2187,2126,2528,4706,5683,1859,-1803,-1968,-1355,-1613,-1839,-2109,-2564,-2208,-1515,-824,-129,239,747,1312,1543,1637,1590,1080,559,452,401,197,-347,-940,-1115,-981,-804,-677,-513,-336,-151,-51,32,192,202,114,58,19,36,10,-186,-351,-337,-205,-55,-59,-222,-377,-395,-373,-421,-556,-653,-507,-249,-45,99,167,166,124,25,-111,-251,-406,-488,-412,-247,-92,3,-9,-37,-10,-2,-43,-132,-202,-181,-78,1,-1,-85,-172,-187,-182,-184,-180,-158,-151,-139,-135,-111,-60,-36,-8,20,40,-12,-47,-114,-158,-164,-220,-59},{-22,27,-9,-36,74,-140,172,-206,212,-241,3476,10244,-4429,-15766,-613,3593,-1394,3442,7245,9717,14200,11089,-2190,-6488,2226,5299,-983,-8430,-10192,-6921,-4243,-3548,-4181,-2797,-597,-20,1247,2487,3518,3530,2316,1601,1625,2071,395,-2185,-2672,-2121,-1834,-2194,-2511,-2009,-933,-26,84,38,582,966,1044,1003,904,708,-15,-359,-607,-982,-816,-978,-1020,-414,142,423,227,-213,-377,-303,-326,-394,-408,-270,251,543,423,399,239,55,-37,-321,-488,-494,-550,-438,-279,-280,-223,-141,-135,-34,118,205,276,335,362,276,101,-1,-1,-62,-325,-571,-576,-450,-341,-204,-86,-28,89,127,133,203,151,38,-110,-285,-319,-220,-116,-128,-152,-98,-108,-150,-174,-184,-107,42,70,37,89,30}}, // azimuth 135 degrees + {{2,1,-2,2,-3,2,1,1,0,6,4,10,2,-1,12,-16,28,-25,28,-18,11,12,628,3383,1384,-4445,-3514,-352,1085,2589,2599,2424,2763,5238,6645,2045,-2420,-2409,-1527,-1926,-2268,-2441,-2969,-2667,-1912,-1037,-208,18,477,1268,1764,1846,1844,1485,789,609,606,277,-353,-816,-841,-1033,-1354,-1222,-734,-318,17,254,345,410,364,227,103,-39,-79,-22,-236,-523,-427,-148,14,-10,-163,-336,-468,-558,-584,-610,-705,-614,-281,16,213,306,276,208,97,-77,-234,-397,-519,-477,-356,-256,-158,-61,11,51,33,-10,-46,-95,-104,-77,-70,-95,-92,-77,-97,-162,-238,-240,-195,-139,-133,-172,-192,-134,-28,36,80,68,15,-56,-96,-156,-189,-208,-247,-61},{29,-41,54,-52,26,2,-72,132,-206,267,-179,5562,8323,-8546,-12328,1237,1258,-191,4921,7598,10364,13294,7676,-3110,-2534,3728,2227,-4203,-9500,-9120,-5740,-4193,-4310,-3942,-1373,114,420,1681,2970,3897,3257,2228,1704,1553,1372,-543,-2205,-2291,-2111,-2187,-2467,-2389,-1693,-703,-59,14,338,894,1048,1120,1039,901,410,-216,-332,-749,-902,-827,-1055,-747,-200,170,257,27,-221,-332,-340,-385,-379,-329,-21,466,474,384,398,161,-11,-229,-508,-553,-569,-503,-287,-228,-233,-108,-97,-127,13,189,293,300,279,233,92,-38,-42,-22,-172,-440,-573,-505,-369,-249,-133,-62,25,149,150,160,186,84,-43,-201,-316,-268,-152,-127,-180,-165,-133,-148,-142,-169,-191,-45,79,78,83,23}}, // azimuth 141 degrees + {{4,-1,2,0,0,1,2,-1,7,6,9,12,-5,22,-20,31,-20,15,17,-24,65,340,3552,2703,-4829,-4835,-329,1045,2743,3050,2709,3002,5324,7511,2922,-2698,-2960,-1646,-2049,-2658,-2641,-3293,-3128,-2191,-1399,-333,54,384,1068,1553,1949,2122,1753,1001,741,666,311,-258,-922,-1038,-869,-929,-1092,-1090,-733,-158,336,593,670,566,283,72,23,-19,-24,-212,-547,-555,-282,-11,57,-127,-397,-537,-547,-531,-588,-746,-669,-287,69,263,334,317,250,124,-62,-243,-377,-482,-506,-412,-322,-232,-128,-44,45,81,52,19,-16,-25,1,-45,-149,-180,-110,-52,-79,-171,-239,-217,-168,-140,-186,-237,-207,-100,18,119,174,98,-1,-99,-141,-183,-206,-222,-270,-68},{-1,20,-33,52,-70,64,-59,11,41,-119,182,247,6913,5724,-10302,-9092,1170,-74,1390,5783,7602,10589,12184,5196,-2393,481,3188,-853,-6327,-9456,-7906,-5133,-4118,-4280,-3485,-891,492,1090,2006,3120,3902,3067,2125,1720,1662,886,-1193,-2182,-1984,-2022,-2371,-2601,-2290,-1456,-529,-83,9,499,1003,1171,1221,1019,702,98,-236,-382,-756,-743,-900,-957,-480,-36,201,96,-87,-237,-353,-386,-410,-391,-277,174,512,398,406,342,99,-69,-348,-529,-558,-549,-392,-251,-251,-179,-66,-112,-108,31,188,314,298,184,99,31,-20,-43,-108,-282,-479,-524,-414,-278,-172,-98,-63,37,137,138,165,149,32,-96,-208,-261,-213,-161,-190,-207,-174,-164,-155,-148,-196,-133,15,99,107,22}}, // azimuth 148 degrees + {{-3,2,-4,1,1,-1,-4,7,3,4,11,-12,25,-26,36,-23,12,27,-35,90,327,4114,3332,-5900,-5932,29,1365,3018,3522,3057,3505,6063,8275,2991,-3362,-3589,-1885,-2166,-3109,-3088,-3556,-3517,-2503,-1471,-298,-8,229,1123,1832,2122,2142,1883,1116,760,786,279,-597,-1257,-1144,-859,-944,-934,-714,-496,-284,81,507,726,709,478,191,52,-1,96,-41,-564,-699,-391,-107,-79,-274,-456,-523,-513,-527,-541,-616,-612,-280,108,345,469,408,226,43,-146,-285,-417,-546,-577,-493,-345,-222,-116,-26,39,76,82,82,53,31,54,26,-96,-186,-198,-153,-122,-138,-161,-189,-188,-179,-191,-246,-249,-154,-22,102,188,183,62,-45,-140,-177,-214,-225,-224,-265,-67},{3,2,16,-25,44,-60,60,-56,17,26,-94,150,301,6426,5462,-8912,-8743,-2,-200,1705,5936,7534,9673,11130,5701,-407,973,1506,-2267,-6750,-9219,-7021,-4399,-4252,-4388,-3039,-768,340,1103,2155,3196,3676,2935,2375,1940,1489,767,-919,-1959,-2082,-2160,-2283,-2436,-2201,-1472,-586,-55,186,656,951,1044,1096,877,462,-54,-182,-287,-519,-578,-848,-741,-292,-6,141,26,-130,-323,-461,-440,-422,-398,-238,181,402,369,462,352,136,-23,-281,-433,-541,-592,-474,-371,-298,-144,-72,-121,-84,24,193,307,220,134,130,83,-4,-75,-186,-342,-458,-441,-307,-206,-162,-139,-109,-8,109,131,129,125,44,-41,-135,-202,-195,-202,-214,-218,-203,-179,-159,-161,-162,-106,35,131,34}}, // azimuth 154 degrees + {{0,-3,1,1,-1,-4,6,5,1,14,-16,29,-30,29,-9,-15,51,-67,130,159,4041,4609,-5718,-7636,-354,1707,3163,3945,3319,3811,6332,8874,3879,-3288,-4187,-2309,-2336,-3421,-3375,-3851,-3889,-2707,-1799,-600,-15,391,1262,1879,2326,2353,1963,1103,704,736,178,-519,-1190,-1384,-1136,-1069,-924,-672,-344,-16,92,206,478,727,629,339,246,111,88,88,-402,-773,-624,-313,-131,-190,-372,-539,-573,-529,-489,-541,-614,-351,79,356,531,508,283,33,-159,-283,-421,-594,-692,-627,-445,-235,-83,-37,-4,77,125,149,119,55,66,69,-21,-156,-219,-222,-213,-185,-153,-150,-176,-184,-213,-265,-268,-161,-44,60,160,174,108,-3,-77,-173,-227,-242,-212,-195,-243,-63},{4,-2,8,8,-16,33,-54,61,-68,44,-22,-33,71,632,6599,4292,-8841,-7932,-435,0,2404,6168,7519,9183,9987,5512,1123,953,-530,-3663,-6994,-8341,-5790,-3999,-4448,-4352,-2668,-474,538,1070,1947,3108,3599,2943,2455,1905,1349,558,-940,-1682,-1930,-2334,-2494,-2393,-1876,-1033,-298,-55,141,667,924,868,754,587,282,-4,-60,-220,-364,-567,-778,-508,-159,62,110,-55,-255,-458,-529,-514,-451,-387,-196,171,313,411,523,364,172,-50,-261,-430,-652,-688,-595,-471,-294,-127,-92,-129,-49,75,219,262,171,157,166,77,-45,-176,-309,-391,-415,-342,-240,-205,-196,-175,-144,-55,50,68,95,122,65,-24,-102,-164,-202,-216,-245,-259,-239,-211,-191,-159,-151,-96,27,18}}, // azimuth 161 degrees + {{-6,0,-2,-2,-7,5,4,1,13,-19,29,-34,32,-20,-9,41,-61,123,278,4706,4764,-6709,-8335,-407,1931,3840,4576,3614,4409,7126,8982,3676,-3199,-4501,-3058,-2845,-3694,-3483,-4155,-4580,-3172,-1797,-389,128,480,1515,2259,2664,2545,2031,982,464,616,78,-654,-1301,-1518,-1287,-1220,-1018,-669,-332,-28,200,425,531,595,525,244,235,304,269,143,-460,-919,-670,-208,-2,-91,-313,-505,-535,-538,-569,-590,-616,-378,61,351,528,591,431,118,-188,-354,-454,-584,-709,-686,-512,-309,-127,-53,-14,61,123,181,195,184,176,94,-50,-155,-214,-249,-266,-248,-180,-119,-143,-206,-237,-267,-251,-163,-42,66,158,184,118,21,-84,-160,-222,-223,-218,-194,-192,-226,-55},{-9,5,1,1,14,-20,30,-44,42,-44,13,10,-60,102,379,5628,5288,-7108,-8943,-1402,369,2715,6124,6716,7937,9260,6662,2499,313,-1641,-4002,-6379,-7222,-5176,-3958,-4569,-4244,-2706,-662,542,972,1800,2866,3354,2876,2452,1922,1295,717,-574,-1511,-1898,-2199,-2189,-2104,-1745,-1046,-375,13,255,539,682,702,738,603,213,-45,-116,-173,-245,-514,-619,-322,-40,88,61,-66,-289,-527,-591,-540,-437,-382,-240,51,257,485,602,429,177,-73,-257,-470,-683,-724,-674,-526,-305,-130,-105,-98,33,152,247,289,251,201,123,12,-119,-271,-363,-336,-274,-222,-189,-194,-204,-208,-205,-120,-14,15,87,178,146,60,-19,-134,-202,-208,-249,-273,-253,-227,-176,-129,-133,-99,-15}}, // azimuth 167 degrees + {{-2,-1,0,-5,4,4,0,15,-17,29,-31,28,-13,-18,44,-71,128,229,4618,5468,-6151,-9258,-1196,1684,3877,5415,4241,4757,7207,8726,4252,-2155,-4261,-3871,-3647,-3970,-3664,-4259,-4959,-3688,-2126,-476,442,715,1511,2332,2843,2609,2120,1324,673,551,-124,-837,-1336,-1608,-1457,-1361,-1181,-902,-511,-10,279,533,728,750,572,131,22,149,117,69,-304,-709,-608,-212,73,50,-102,-320,-497,-562,-641,-643,-647,-523,-104,256,487,626,549,271,-88,-305,-439,-625,-730,-693,-529,-341,-185,-97,-78,18,110,168,238,251,216,125,-10,-127,-201,-257,-284,-265,-188,-128,-157,-217,-254,-247,-233,-174,-83,30,166,216,148,41,-65,-159,-200,-238,-224,-208,-190,-179,-208,-52},{-2,-9,5,1,3,13,-17,27,-39,38,-41,12,6,-46,89,467,5564,4996,-7160,-8902,-1392,793,3460,6292,6098,6832,8460,7187,2965,-461,-2608,-4332,-5786,-6092,-4435,-4110,-4932,-4046,-2360,-558,573,1135,1846,2613,3104,2735,2337,1752,1103,615,-485,-1242,-1645,-2026,-2032,-1918,-1563,-984,-440,-53,254,602,812,844,761,398,24,-100,-230,-225,-229,-474,-483,-204,36,96,30,-106,-333,-486,-555,-568,-539,-520,-294,60,339,567,584,395,123,-123,-291,-557,-760,-768,-662,-447,-254,-148,-132,-41,132,218,282,299,236,152,46,-90,-221,-314,-305,-225,-184,-173,-187,-227,-251,-251,-218,-136,-52,8,115,211,169,100,-5,-169,-215,-227,-261,-253,-234,-226,-176,-125,-119,-29}}, // azimuth 174 degrees + {{-2,-1,-7,1,6,-1,17,-19,27,-30,24,-10,-21,44,-77,129,182,4528,5939,-5525,-9740,-1970,1235,3479,5957,5259,5461,7392,8128,4447,-935,-3656,-4135,-4518,-4974,-4006,-4002,-5098,-4322,-2446,-353,691,769,1449,2401,2948,2708,2332,1587,807,616,-68,-884,-1536,-1853,-1628,-1589,-1502,-1058,-502,-51,244,573,808,868,812,356,-117,-213,-175,-7,-149,-569,-562,-185,129,136,-6,-186,-374,-480,-597,-655,-660,-615,-298,118,442,654,614,351,16,-199,-341,-586,-776,-776,-600,-368,-213,-127,-94,-12,108,195,263,265,226,143,14,-113,-220,-263,-250,-216,-186,-166,-198,-247,-246,-233,-222,-172,-82,6,135,215,177,92,-36,-152,-200,-222,-267,-236,-209,-184,-149,-163,-42},{-2,-1,-7,1,6,-1,17,-19,27,-30,24,-10,-21,44,-77,129,182,4528,5939,-5525,-9740,-1970,1235,3479,5957,5259,5461,7392,8128,4447,-935,-3656,-4135,-4518,-4974,-4006,-4002,-5098,-4322,-2446,-353,691,769,1449,2401,2948,2708,2332,1587,807,616,-68,-884,-1536,-1853,-1628,-1589,-1502,-1058,-502,-51,244,573,808,868,812,356,-117,-213,-175,-7,-149,-569,-562,-185,129,136,-6,-186,-374,-480,-597,-655,-660,-615,-298,118,442,654,614,351,16,-199,-341,-586,-776,-776,-600,-368,-213,-127,-94,-12,108,195,263,265,226,143,14,-113,-220,-263,-250,-216,-186,-166,-198,-247,-246,-233,-222,-172,-82,6,135,215,177,92,-36,-152,-200,-222,-267,-236,-209,-184,-149,-163,-42}}, // azimuth 180 degrees +}; +inline constexpr std::int16_t pcm48000_m30[31][2][hrir::taps]={ + {{-8,4,1,-5,15,-21,23,-37,15,-2,-35,47,-80,90,319,5004,5557,-7159,-7715,459,-3621,503,9907,8742,4396,5117,13205,8726,-5840,-5128,-2112,-9098,-8147,1040,-591,-6383,-3307,845,1091,-234,-92,1357,532,-548,1118,1471,-1120,-1569,48,143,-1029,-1434,-814,-584,-748,-263,385,4,-234,355,759,690,372,146,58,27,-327,-542,-422,-600,-664,-398,-181,-280,-275,-11,47,-20,67,161,53,-28,-66,-122,-166,-175,-130,-90,-48,-134,-177,-95,-68,-53,-34,-16,-82,-156,-118,-137,-185,-60,-3,-344,-631,-571,-466,-120,368,489,367,268,34,-286,-438,-581,-778,-839,-436,143,293,258,249,174,65,20,-32,-22,78,144,111,-22,-105,-239,-244,-285,-326,-360,-506,-134},{-8,4,1,-5,15,-21,23,-37,15,-2,-35,47,-80,90,319,5004,5557,-7159,-7715,459,-3621,503,9907,8742,4396,5117,13205,8726,-5840,-5128,-2112,-9098,-8147,1040,-591,-6383,-3307,845,1091,-234,-92,1357,532,-548,1118,1471,-1120,-1569,48,143,-1029,-1434,-814,-584,-748,-263,385,4,-234,355,759,690,372,146,58,27,-327,-542,-422,-600,-664,-398,-181,-280,-275,-11,47,-20,67,161,53,-28,-66,-122,-166,-175,-130,-90,-48,-134,-177,-95,-68,-53,-34,-16,-82,-156,-118,-137,-185,-60,-3,-344,-631,-571,-466,-120,368,489,367,268,34,-286,-438,-581,-778,-839,-436,143,293,258,249,174,65,20,-32,-22,78,144,111,-22,-105,-239,-244,-285,-326,-360,-506,-134}}, // azimuth 0 degrees + {{-2,-4,-4,8,-9,13,-9,6,-3,-23,30,-52,42,-51,45,17,2332,5980,-1337,-8217,-2239,-2818,-4036,5282,9245,6377,5092,9819,10842,248,-4568,-1553,-5271,-8777,-2325,1461,-3148,-3993,-1117,-455,-538,-747,-329,720,-7,-184,1564,1041,-393,-113,197,-262,-1118,-1227,-691,-1058,-1402,-235,212,-366,245,879,536,339,325,15,12,20,-173,-131,-342,-509,-384,-290,-316,-365,-269,-191,-143,-86,46,48,-107,-21,93,-35,-96,44,43,-5,-18,-71,-31,-46,-130,-205,-247,-317,-396,-315,-72,39,-328,-644,-566,-446,-104,472,682,517,362,157,-96,-361,-596,-850,-1062,-785,-203,53,49,80,138,229,281,291,233,192,224,139,-23,-147,-225,-358,-378,-397,-409,-485,-591,-143},{2,3,-5,19,-24,27,-37,12,6,-49,65,-101,109,271,5351,6542,-7762,-9244,347,-3958,513,11397,9655,4517,5317,14475,9830,-6967,-6126,-2477,-10359,-8612,1420,-939,-6603,-2976,1055,1428,-25,-119,1611,444,-1258,771,1475,-1278,-1343,486,68,-1353,-1461,-499,-526,-1078,-364,580,87,-199,456,645,512,439,337,179,2,-368,-493,-407,-724,-822,-518,-314,-366,-234,115,153,33,120,255,82,-6,15,-175,-296,-272,-206,-166,-113,-158,-182,-88,-86,-44,21,47,-2,-30,-11,-107,-204,-114,43,-243,-634,-651,-590,-323,238,503,380,310,149,-148,-342,-517,-773,-924,-599,56,359,290,249,156,58,39,50,49,85,157,133,31,-130,-239,-318,-326,-357,-325,-357,-497,-129}}, // azimuth 6 degrees + {{1,-1,-3,-3,6,-8,11,-5,5,-2,-18,24,-42,34,-38,38,18,1968,5200,-753,-6927,-2225,-2530,-3629,4180,7855,6079,5202,8391,9383,1247,-3417,-1364,-4082,-7323,-2559,717,-2680,-3425,-1487,-930,-780,-1099,-628,658,200,-39,1478,1309,247,335,330,-203,-971,-1076,-737,-1226,-1629,-699,-152,-413,135,644,376,276,373,200,263,340,121,42,-177,-409,-421,-377,-403,-433,-371,-312,-266,-258,-111,2,-19,79,131,37,18,85,67,39,50,28,-20,-69,-149,-249,-327,-422,-487,-369,-88,-64,-445,-623,-470,-307,123,592,669,509,268,47,-189,-410,-607,-852,-975,-638,-165,30,114,113,138,149,165,199,210,222,199,117,-35,-89,-208,-275,-381,-450,-485,-609,-156},{8,-8,24,-26,27,-35,4,20,-65,81,-117,126,149,5251,7839,-7262,-11308,-397,-3746,-39,12354,10996,4778,5395,15476,11289,-7406,-7363,-2963,-11301,-9621,1797,-153,-6937,-3306,1289,1562,19,-146,1857,279,-2485,6,2133,-366,-1209,294,193,-1138,-1424,-371,-450,-1375,-650,568,69,-298,392,548,387,350,315,345,244,-269,-447,-276,-562,-789,-630,-443,-530,-448,16,215,99,168,334,123,-16,61,-107,-326,-359,-300,-267,-222,-195,-141,-53,-83,-38,111,132,26,-12,30,-61,-212,-162,47,-162,-643,-703,-590,-429,27,430,417,341,262,-11,-210,-405,-715,-983,-808,-127,337,339,265,150,15,40,78,110,156,220,220,69,-87,-227,-320,-422,-438,-364,-314,-406,-438,-93}}, // azimuth 12 degrees + {{-4,1,-2,-3,-4,4,-7,7,-4,2,0,-16,19,-34,26,-28,27,10,1580,4455,-103,-5689,-2339,-2224,-3151,3032,6580,5891,5006,6893,8180,2153,-2270,-1065,-2996,-5866,-2816,28,-2184,-3153,-1718,-996,-1087,-1652,-1094,427,384,305,1615,1565,760,840,773,-29,-1081,-1231,-934,-1384,-1796,-1101,-462,-447,-35,355,271,310,527,542,569,516,275,177,-79,-358,-368,-374,-495,-572,-517,-519,-532,-403,-145,46,89,159,188,118,94,144,116,55,34,-5,-19,-88,-207,-310,-364,-421,-474,-333,-128,-213,-535,-570,-390,-160,285,600,597,422,182,-49,-238,-427,-628,-855,-846,-444,-81,89,124,87,68,83,75,105,182,225,194,60,4,-102,-182,-291,-387,-482,-602,-151},{-8,27,-30,24,-28,-12,37,-85,95,-130,135,14,4708,9169,-5543,-13379,-2140,-3253,-594,12479,12271,5635,5536,15976,13185,-6989,-8730,-4219,-12659,-9895,2887,585,-7256,-3975,921,1641,330,-60,1755,-397,-3913,-314,3676,736,-1598,-241,611,-262,-1223,-733,-789,-1487,-689,520,-115,-702,233,538,307,267,274,437,400,-156,-323,5,-356,-753,-617,-436,-567,-594,-172,5,-12,228,424,113,-108,77,-9,-300,-387,-315,-289,-225,-212,-186,-39,-56,-23,107,143,58,15,101,-21,-244,-252,-15,-40,-552,-777,-638,-508,-131,357,446,392,352,126,-86,-286,-588,-955,-1030,-410,270,346,231,140,13,32,66,112,227,297,312,200,5,-162,-299,-452,-521,-444,-357,-372,-438,-284,-37}}, // azimuth 18 degrees + {{-1,-1,0,-1,-1,-3,4,-5,7,-3,2,3,-15,15,-23,19,-15,20,1,1158,3777,683,-4582,-2584,-1842,-2773,1862,5627,5674,4481,5563,7266,2995,-1223,-695,-1913,-4745,-3147,-328,-1715,-2965,-1818,-1208,-1599,-2093,-1248,391,616,667,1741,1849,1205,1075,865,48,-994,-1372,-1272,-1491,-1790,-1261,-621,-631,-315,232,418,518,666,685,712,647,379,220,-30,-275,-329,-404,-575,-730,-746,-672,-554,-426,-180,59,144,203,258,235,159,146,118,54,-7,-72,-97,-111,-179,-274,-336,-403,-425,-298,-169,-341,-585,-531,-308,9,376,516,454,320,103,-98,-294,-450,-612,-749,-608,-246,12,89,93,3,7,13,-5,82,182,224,107,24,-57,-96,-195,-265,-370,-546,-142},{29,-27,18,-13,-31,58,-100,103,-126,122,-70,3760,10159,-2662,-14842,-4719,-3029,-1263,12184,13172,6547,6220,16394,14966,-5547,-9674,-7094,-14163,-8155,3783,423,-6855,-4489,-318,1259,1248,79,652,-1154,-4301,-76,4716,1361,-1799,-331,1115,437,-992,-1125,-1244,-1575,-624,348,-399,-900,30,315,222,355,290,369,438,28,-89,199,-217,-689,-508,-295,-506,-639,-354,-168,-142,88,322,83,-81,82,-16,-272,-341,-263,-211,-157,-167,-181,-63,-49,-32,77,104,35,-7,79,47,-146,-271,-127,16,-385,-802,-720,-542,-255,265,472,417,460,322,48,-204,-510,-880,-1131,-730,117,390,201,83,-28,42,109,93,256,407,412,318,124,-68,-199,-415,-563,-543,-451,-373,-402,-332,-153,-21}}, // azimuth 24 degrees + {{0,0,-1,1,-1,-1,-3,3,-2,4,1,0,4,-12,14,-17,14,-4,8,-1,780,3119,1335,-3548,-2741,-1511,-2450,976,4834,5119,3896,4607,6350,3545,-183,-193,-1086,-3864,-3222,-605,-1311,-2691,-2204,-1804,-1869,-1850,-1068,309,807,954,1855,1990,1246,980,752,70,-763,-1247,-1381,-1630,-1810,-1342,-781,-678,-343,246,533,644,741,673,649,650,442,230,-8,-234,-373,-511,-649,-763,-754,-683,-573,-414,-202,45,130,171,271,266,212,164,74,5,-43,-85,-60,-87,-183,-272,-325,-356,-394,-287,-239,-436,-554,-430,-206,92,342,387,335,202,32,-158,-316,-417,-536,-560,-362,-98,5,43,5,-66,-81,-46,5,50,134,111,39,-25,-26,-110,-176,-237,-397,-110},{-8,-1,6,-55,71,-103,85,-89,54,-56,2428,10377,1499,-15095,-8197,-2911,-2227,10871,14107,7400,6653,16814,17578,-3466,-11333,-9198,-14604,-7517,4248,907,-6638,-5225,-1500,558,1924,-136,-918,-1125,-3108,-50,4193,1879,-1085,-212,1224,760,-680,-1125,-1681,-1987,-661,313,-677,-1150,-34,193,60,267,259,346,537,323,-43,170,34,-411,-454,-336,-415,-650,-472,-246,-281,-92,173,-13,-118,96,26,-210,-311,-249,-149,-56,-109,-216,-68,3,-36,16,37,6,-25,30,27,-118,-253,-202,27,-140,-691,-838,-620,-357,135,476,403,421,453,247,-53,-392,-779,-1163,-1048,-180,409,240,20,-110,-49,111,108,263,475,514,437,243,18,-105,-301,-557,-595,-555,-470,-418,-357,-178,-91,-23}}, // azimuth 30 degrees + {{-1,-2,-1,-3,0,-2,-2,-5,0,-4,-1,0,-4,2,-14,7,-13,7,2,-7,-1,478,2536,1827,-2644,-2859,-1330,-2110,395,4023,4438,3479,3858,5430,3926,787,282,-517,-3152,-3128,-817,-1127,-2574,-2542,-2188,-1797,-1410,-815,338,1055,1160,1530,1620,1194,984,703,87,-631,-1119,-1313,-1613,-1851,-1405,-717,-464,-174,230,420,546,639,564,514,587,437,163,-59,-273,-387,-476,-595,-681,-716,-651,-538,-464,-257,-31,48,126,213,259,196,118,90,26,-13,-30,-70,-118,-207,-287,-332,-380,-369,-311,-330,-441,-448,-333,-158,105,279,280,205,92,-64,-207,-306,-351,-406,-392,-216,-94,-46,-34,-73,-140,-144,-91,-63,4,69,68,-7,-2,-51,-114,-154,-270,-77},{-20,33,-76,72,-77,30,-12,-48,51,1050,9284,6297,-13080,-12380,-3390,-2896,8316,14449,8478,6914,16765,20754,-755,-12818,-9294,-14713,-8734,4338,1613,-6297,-6089,-2283,-188,1402,-182,-1920,-916,-1383,61,3156,1964,-135,179,1206,839,-696,-1012,-1566,-2365,-1245,227,-481,-1393,-260,204,20,211,90,275,649,573,98,103,181,-180,-342,-303,-427,-691,-612,-373,-374,-185,159,-48,-239,51,108,-74,-192,-253,-204,-38,-50,-222,-132,7,-10,6,14,-11,-6,24,-25,-141,-206,-234,-74,24,-410,-812,-681,-449,-76,402,443,371,447,364,90,-238,-592,-1012,-1210,-618,277,355,15,-160,-179,-2,91,260,557,622,521,375,126,-19,-152,-490,-621,-590,-584,-481,-360,-204,-103,-68,-10}}, // azimuth 36 degrees + {{1,1,-2,0,-2,-1,-1,-2,-4,1,-2,-1,4,-6,5,-10,6,-1,2,9,-7,4,262,2010,2088,-1816,-2829,-1228,-1673,23,3140,3776,3171,3232,4570,4137,1643,634,-92,-2386,-3078,-1183,-908,-2305,-2687,-2250,-1472,-988,-543,503,1037,792,1022,1474,1277,926,635,148,-512,-1022,-1231,-1469,-1606,-1171,-518,-319,-232,70,266,342,444,483,464,446,284,93,-29,-179,-307,-414,-506,-593,-636,-607,-564,-463,-265,-67,22,83,160,183,176,152,97,54,56,7,-93,-163,-230,-282,-313,-353,-357,-311,-348,-386,-314,-228,-74,114,199,169,100,13,-119,-235,-253,-239,-277,-258,-178,-122,-83,-59,-109,-184,-196,-142,-63,6,78,53,27,1,-41,-77,-159,-48},{32,-67,44,-21,-46,79,-144,173,95,6861,10265,-8177,-16176,-5448,-2777,5157,13780,9509,6994,16271,22996,3471,-12644,-9597,-14086,-10050,3448,2042,-6032,-6526,-2586,-1247,-210,-219,-1392,-770,-975,381,3031,1981,295,507,1306,930,-975,-1203,-1250,-2331,-1786,-293,-335,-1286,-430,162,-72,279,162,195,484,663,426,161,141,-155,-258,-192,-361,-795,-812,-448,-445,-332,99,50,-200,35,130,-47,-96,-134,-209,-165,-95,-171,-161,-119,-102,9,76,42,-22,19,-1,-145,-176,-208,-156,38,-147,-672,-760,-525,-279,239,486,346,383,396,173,-110,-427,-830,-1147,-908,-36,386,74,-192,-279,-150,9,167,540,746,634,480,264,46,-56,-333,-614,-634,-631,-568,-397,-228,-124,-87,-30,2}}, // azimuth 42 degrees + {{3,0,1,0,0,-1,0,1,0,-1,1,0,1,7,-4,8,-4,4,6,-3,14,-8,6,136,1549,2133,-1083,-2677,-1203,-1223,-218,2280,3192,2940,2748,3791,4086,2356,1137,57,-2135,-2954,-1257,-561,-1897,-2657,-2146,-1056,-451,-381,134,663,633,808,1293,1293,911,516,60,-540,-902,-895,-1030,-1186,-960,-538,-401,-357,-123,60,208,333,318,279,298,202,79,26,-106,-241,-337,-429,-517,-560,-554,-523,-419,-244,-82,-16,8,53,110,147,156,118,43,20,-5,-63,-130,-218,-263,-295,-346,-347,-330,-330,-287,-206,-117,10,95,73,45,27,-51,-180,-241,-193,-161,-199,-228,-200,-139,-67,-80,-164,-232,-210,-111,-52,21,72,63,26,0,-32,-91,-28},{-12,-33,62,-114,117,-142,134,-171,3328,11876,181,-17602,-10140,-2521,2094,11721,10506,7056,13982,23784,11122,-10338,-11124,-12361,-11431,1312,2822,-5259,-7143,-3708,-2308,-1375,-79,-854,-861,-752,92,2844,2903,1063,437,824,1193,-523,-1584,-1476,-2311,-1955,-738,-567,-1237,-503,311,-80,203,309,302,470,610,579,227,161,-29,-339,-385,-293,-578,-896,-694,-556,-415,50,140,-147,17,206,63,-46,-88,-178,-214,-114,-191,-258,-165,-128,-85,-35,49,81,77,65,-88,-157,-119,-132,-17,36,-443,-831,-635,-422,12,476,388,294,371,282,26,-287,-680,-1031,-1004,-342,325,165,-245,-349,-244,-44,74,359,759,784,607,432,150,-30,-201,-487,-619,-649,-626,-468,-253,-120,-101,-51,-2,-2}}, // azimuth 48 degrees + {{1,2,0,0,0,0,0,0,0,0,-1,-1,3,2,4,0,6,-5,3,2,-6,16,-11,9,84,1180,1949,-518,-2337,-1205,-849,-323,1521,2670,2702,2352,3216,4115,2786,968,-179,-1664,-2327,-1006,-319,-1583,-2397,-1671,-676,-512,-600,-135,445,587,727,1117,1133,739,213,-201,-282,-262,-418,-784,-1021,-914,-651,-507,-451,-298,-84,90,160,135,105,151,146,97,71,-49,-180,-266,-328,-407,-480,-480,-449,-366,-248,-154,-113,-76,-2,52,82,105,68,16,38,36,-17,-84,-180,-258,-335,-368,-337,-305,-247,-181,-120,-49,5,8,-22,-38,-62,-141,-209,-186,-130,-139,-214,-239,-196,-127,-91,-138,-192,-192,-157,-112,-43,31,62,32,15,-7,-60,-20},{-59,69,-70,1,38,-116,144,437,8991,9357,-12624,-16799,-4162,122,8242,11220,7274,10642,21847,19732,-3885,-12859,-10971,-12171,-1743,3711,-3290,-7876,-5973,-3182,-2314,-41,3,-1357,-1027,-345,2464,3864,1918,541,677,1414,99,-1723,-1795,-2398,-2493,-1250,-498,-1180,-1000,400,232,65,437,537,603,503,612,427,176,-6,-338,-528,-522,-509,-781,-798,-602,-549,-126,205,-33,-31,217,169,17,-18,-97,-222,-159,-186,-317,-278,-199,-113,-103,-96,18,117,194,102,-79,-112,-90,-34,110,-135,-761,-808,-544,-281,296,468,270,272,289,176,-66,-477,-907,-1020,-614,118,293,-206,-485,-387,-130,45,196,615,851,723,566,319,65,-127,-392,-577,-622,-615,-532,-334,-136,-92,-73,-2,11,0}}, // azimuth 54 degrees + {{0,1,1,1,1,0,1,2,-1,0,1,0,2,3,3,5,1,3,-2,3,4,-1,9,-2,6,87,933,1597,-162,-1829,-1148,-632,-342,943,2130,2551,2493,2795,3257,2530,1011,-67,-908,-1442,-826,-210,-987,-1896,-1615,-801,-548,-652,-284,348,503,529,842,753,314,177,269,273,58,-306,-713,-948,-901,-713,-558,-508,-425,-216,-77,-74,-47,1,91,136,124,128,12,-91,-154,-254,-324,-391,-394,-369,-373,-314,-241,-193,-114,-64,-12,37,37,66,85,90,68,-7,-73,-176,-285,-340,-352,-285,-209,-156,-103,-102,-82,-47,-59,-67,-94,-132,-172,-189,-128,-97,-162,-247,-283,-198,-94,-87,-127,-158,-159,-132,-85,-27,21,18,10,1,-35,-12},{-41,84,-135,135,-149,125,-156,3339,13040,-143,-20279,-10468,-415,3861,10856,8310,7341,17468,25161,6982,-12572,-11349,-11340,-5076,3868,-589,-7541,-8529,-4540,-2847,-1269,816,-973,-1545,-713,1430,3724,3032,1514,386,1260,1395,-1174,-2352,-2676,-2799,-1931,-789,-748,-1345,-237,466,250,523,626,773,668,615,501,200,184,-223,-655,-677,-583,-704,-932,-695,-512,-318,136,56,-110,126,265,166,29,5,-90,-146,-131,-318,-393,-304,-231,-164,-168,-83,63,183,239,116,-4,-27,-44,67,152,-374,-878,-717,-531,-81,426,323,216,241,193,121,-173,-670,-955,-770,-200,295,49,-522,-628,-331,-13,103,406,806,819,679,498,245,-2,-302,-537,-591,-592,-535,-390,-210,-91,-78,-19,43,40,11}}, // azimuth 60 degrees + {{0,0,1,1,1,1,1,1,0,2,2,1,2,2,2,2,3,1,-1,1,6,1,-4,7,7,-3,137,775,1144,-14,-1222,-991,-622,-360,683,2011,2518,2019,1847,2469,2530,1462,254,-361,-572,-238,-17,-943,-1785,-1488,-866,-643,-648,-345,91,209,209,347,572,692,624,496,352,128,-274,-728,-912,-835,-682,-593,-611,-569,-417,-281,-202,-131,-27,108,173,172,165,83,-35,-121,-176,-238,-315,-352,-401,-423,-366,-291,-213,-168,-114,-22,30,69,97,93,102,76,-8,-125,-229,-269,-289,-270,-195,-144,-128,-132,-133,-105,-80,-84,-104,-134,-165,-185,-159,-111,-148,-238,-283,-250,-149,-59,-57,-104,-136,-143,-120,-87,-27,5,-7,-16,-37,-12},{10,14,-88,142,-225,265,-110,7553,12545,-10968,-20772,-3724,1725,6678,10360,5876,11031,24304,19622,-5180,-13957,-10305,-7423,1706,2701,-4929,-9874,-7773,-3065,-2459,-550,148,-1279,-1009,110,2745,3456,2384,1083,762,2117,355,-2078,-2654,-3229,-2818,-1433,-539,-1318,-1168,281,477,396,602,962,1050,797,685,232,40,98,-373,-801,-826,-780,-955,-903,-590,-464,-55,182,-91,-67,210,307,160,62,41,-23,-59,-249,-455,-442,-349,-271,-248,-189,-36,135,270,242,112,46,27,5,164,114,-580,-871,-662,-489,75,344,167,204,181,165,104,-344,-823,-829,-413,112,252,-301,-765,-614,-218,-2,155,602,844,774,652,413,200,-87,-453,-598,-572,-541,-433,-264,-126,-86,-57,34,59,50,13}}, // azimuth 66 degrees + {{1,2,2,2,2,3,3,3,3,4,3,5,5,4,5,3,5,3,6,5,2,11,-1,2,12,12,5,187,680,722,-16,-645,-823,-678,28,896,1334,1543,1637,1727,2191,2570,1856,563,272,587,153,-702,-1225,-1374,-1285,-1023,-760,-669,-551,-371,-202,151,633,951,924,683,463,306,86,-350,-737,-773,-688,-707,-782,-781,-660,-511,-368,-250,-122,61,158,173,196,177,108,13,-63,-133,-235,-304,-376,-449,-431,-356,-279,-225,-171,-88,-21,35,83,108,123,100,33,-65,-170,-216,-222,-212,-173,-162,-168,-145,-124,-113,-110,-123,-124,-124,-149,-195,-227,-196,-151,-166,-216,-237,-193,-90,-23,-40,-99,-153,-145,-109,-55,-15,-26,-49,-60,-15},{64,-79,15,56,-165,221,581,11233,8761,-18894,-17336,1092,2899,7807,8410,6025,16715,25906,10658,-11704,-13258,-7906,-1849,3982,-294,-7734,-10646,-6114,-2503,-2868,-209,64,-1447,-579,1377,2993,2852,2171,576,1218,2350,-373,-2459,-3002,-3049,-2505,-1459,-861,-1398,-738,345,437,350,740,1350,1214,937,686,47,-33,30,-517,-898,-890,-949,-1156,-896,-518,-339,55,60,-139,38,334,356,154,129,98,10,-71,-329,-533,-494,-357,-305,-317,-182,22,202,317,245,123,100,73,52,244,36,-682,-816,-645,-426,120,193,86,196,137,206,74,-508,-855,-634,-122,320,153,-596,-906,-563,-157,-14,242,705,813,739,603,377,192,-167,-532,-574,-531,-490,-320,-154,-85,-86,-13,34,22,56,16}}, // azimuth 72 degrees + {{0,0,0,0,1,1,1,2,2,3,3,1,2,1,0,0,-1,2,3,2,0,4,7,-2,7,4,8,14,249,592,319,-64,-196,-381,-206,-126,-62,652,1383,1858,2012,2052,2426,2338,1452,709,391,-213,-1016,-1248,-1100,-1126,-1224,-1058,-859,-875,-620,90,751,988,936,832,629,354,143,-85,-389,-617,-707,-762,-873,-920,-819,-667,-500,-350,-203,-44,93,163,163,182,178,127,52,-70,-203,-310,-372,-387,-386,-372,-339,-281,-200,-142,-99,-34,23,92,150,129,46,-48,-105,-152,-204,-205,-172,-149,-154,-166,-136,-113,-129,-150,-167,-170,-180,-226,-272,-271,-189,-105,-127,-175,-170,-108,-49,-55,-97,-140,-135,-106,-83,-67,-67,-82,-80,-17},{101,-156,111,-50,-63,109,1411,13374,4782,-23008,-13695,3898,3396,7115,7051,8387,20301,23970,4087,-14652,-11931,-4427,2074,3685,-2824,-9194,-10172,-4858,-2954,-3244,-20,-25,-1327,-244,2071,3087,2545,1682,226,1703,2128,-861,-2410,-2900,-2829,-2279,-1492,-1323,-1412,-408,309,265,310,968,1484,1239,1054,779,65,-100,-91,-629,-950,-910,-1062,-1296,-958,-523,-220,61,-46,-130,128,472,418,206,179,91,-24,-155,-347,-518,-526,-381,-344,-353,-166,72,235,277,220,195,184,103,99,288,-62,-746,-770,-655,-372,111,36,62,201,145,264,-30,-659,-810,-420,94,376,-8,-773,-902,-497,-192,-29,345,750,783,678,531,374,183,-221,-545,-547,-502,-426,-221,-69,-87,-102,12,17,-6,36,10}}, // azimuth 78 degrees + {{0,0,0,0,0,1,1,1,2,2,2,3,1,1,0,-1,-1,1,3,-3,1,6,2,11,3,-6,3,11,49,270,434,104,186,556,-309,-1085,-699,-73,892,1764,2086,2188,2381,2872,2549,1076,34,-51,-214,-899,-1286,-1139,-1133,-1352,-1416,-1131,-610,-15,647,1057,1002,819,651,435,183,-26,-197,-436,-666,-828,-900,-882,-871,-783,-601,-408,-234,-109,0,75,115,181,228,199,94,-48,-179,-287,-354,-358,-337,-315,-313,-314,-272,-204,-123,-54,-7,47,111,154,121,15,-84,-140,-174,-185,-181,-168,-152,-137,-119,-128,-153,-177,-202,-227,-246,-259,-289,-284,-198,-94,-52,-60,-85,-100,-100,-103,-119,-135,-114,-98,-98,-110,-111,-98,-84,-18},{126,-204,182,-124,16,36,1880,14358,2392,-24817,-11407,5647,3564,5745,6583,10800,21527,21464,70,-16060,-10023,-1099,4335,2936,-4818,-9956,-9280,-4301,-3578,-3282,66,-452,-1421,190,2473,3022,2542,1388,-66,1949,2092,-1143,-2659,-2597,-2183,-2094,-1590,-1496,-1524,-481,250,191,228,979,1478,1221,1102,860,204,1,-194,-710,-924,-913,-1128,-1379,-1002,-549,-186,71,-100,-166,171,545,473,272,191,47,-98,-197,-335,-485,-497,-387,-338,-339,-172,52,215,277,232,209,209,130,142,326,-102,-792,-793,-682,-351,69,-66,23,176,180,321,-64,-689,-727,-271,186,348,-142,-873,-862,-463,-252,-65,335,719,759,633,508,380,174,-195,-478,-529,-489,-345,-162,-64,-122,-142,-24,-38,-38,23,8}}, // azimuth 84 degrees + {{0,0,0,0,1,1,1,3,3,3,2,3,2,0,1,-1,0,3,1,-1,4,4,4,7,9,3,-11,12,4,59,281,550,692,199,-611,-1012,-913,-151,665,1302,2037,2513,2972,2939,1979,1094,450,-135,-314,-337,-766,-1300,-1326,-1244,-1469,-1453,-715,233,673,854,1077,984,594,312,173,18,-199,-450,-654,-782,-868,-893,-818,-721,-623,-423,-247,-160,-65,20,107,156,167,178,101,-18,-154,-292,-341,-338,-300,-277,-300,-309,-293,-215,-117,-68,-12,50,95,126,122,75,-17,-97,-149,-205,-237,-207,-133,-102,-124,-149,-186,-223,-248,-260,-269,-298,-304,-252,-172,-75,9,43,5,-73,-133,-170,-166,-135,-121,-121,-113,-127,-119,-88,-76,-17},{139,-220,190,-120,-6,84,1569,14304,2876,-25046,-11520,6583,3588,4317,6365,12052,21436,19797,-1452,-16251,-8287,1070,5439,2723,-6074,-10300,-8544,-4333,-4024,-3326,-21,-808,-1760,108,2783,3260,2371,1447,90,1818,2119,-1130,-2850,-2574,-1829,-1597,-1412,-1712,-1646,-525,-15,-62,268,977,1328,1138,1067,926,334,124,-89,-693,-952,-886,-1077,-1425,-1087,-547,-173,46,-154,-228,178,567,502,326,195,19,-128,-224,-337,-448,-436,-339,-327,-353,-176,59,216,250,214,204,203,158,154,310,-108,-779,-762,-679,-380,4,-152,-11,182,235,377,-80,-662,-628,-180,203,270,-236,-900,-811,-434,-276,-87,270,654,742,626,539,396,156,-122,-377,-512,-482,-299,-123,-68,-150,-190,-95,-100,-60,39,14}}, // azimuth 90 degrees + {{0,1,1,1,1,2,2,3,4,4,4,3,2,3,0,0,2,3,0,4,4,1,7,6,11,8,8,-14,2,2,301,1092,697,-738,-1074,-686,-257,247,765,1237,1733,2883,3294,2243,1419,808,218,36,-187,-523,-645,-727,-1167,-1448,-1316,-1187,-748,126,851,1035,949,878,636,282,54,-110,-306,-481,-664,-816,-819,-798,-777,-635,-489,-406,-288,-141,-46,7,69,92,101,146,93,-63,-202,-265,-285,-331,-351,-321,-286,-243,-205,-176,-122,-31,47,73,77,79,80,93,50,-51,-149,-234,-279,-252,-158,-88,-116,-179,-225,-256,-261,-274,-281,-280,-273,-221,-153,-48,65,102,48,-59,-154,-197,-187,-159,-146,-150,-125,-108,-76,-54,-83,-23},{124,-176,108,0,-159,289,551,12875,6470,-23304,-14482,6533,3844,3105,5849,11641,20729,19473,-445,-15645,-7568,2326,5787,3167,-6102,-10551,-8530,-4665,-4073,-3729,-351,-815,-2252,-341,2715,3532,2551,1720,266,1669,2416,-918,-3005,-2582,-1754,-1506,-1116,-1416,-1799,-858,-204,-248,63,905,1318,1014,884,950,507,213,41,-530,-873,-851,-991,-1365,-1141,-632,-268,9,-171,-285,126,544,506,317,210,38,-137,-226,-330,-398,-389,-335,-297,-309,-140,85,195,192,138,156,189,121,95,299,-12,-681,-723,-658,-452,-94,-195,-40,201,271,408,-60,-634,-569,-161,160,204,-255,-882,-800,-435,-282,-95,212,570,695,624,588,435,144,-59,-279,-492,-475,-295,-131,-89,-183,-244,-160,-140,-91,38,20}}, // azimuth 96 degrees + {{0,0,0,1,1,1,1,1,2,2,2,1,1,0,0,0,0,-1,1,2,1,4,0,9,0,12,9,-6,-18,138,930,926,-495,-1144,-870,-396,386,944,1078,1376,2390,2850,2163,1485,893,539,206,-294,-357,-484,-763,-784,-641,-667,-1166,-1223,-471,224,763,1165,1088,674,445,374,11,-392,-509,-576,-700,-824,-833,-716,-656,-606,-446,-257,-138,-96,-70,-19,51,99,83,9,-63,-98,-175,-293,-384,-404,-364,-331,-275,-205,-133,-51,-5,27,65,74,63,49,48,59,36,-35,-164,-285,-312,-271,-208,-159,-141,-192,-280,-311,-278,-238,-224,-233,-234,-182,-99,-8,51,67,16,-94,-179,-206,-197,-205,-192,-159,-116,-79,-39,-40,-91,-27},{59,-44,-68,189,-347,490,-371,9578,11339,-18019,-19476,4581,4869,1887,5101,9868,19206,20327,2508,-14282,-7918,3007,5862,3797,-4892,-10546,-9168,-5295,-3800,-4378,-1337,-331,-2352,-1282,2195,3886,2809,2056,739,1373,2771,-185,-2918,-2758,-1856,-1515,-1200,-1207,-1603,-1056,-546,-435,-62,637,1189,1055,771,849,621,287,206,-285,-730,-724,-837,-1260,-1219,-757,-414,-96,-147,-297,46,485,485,284,191,76,-71,-188,-319,-393,-356,-253,-214,-264,-140,83,188,138,50,34,73,91,81,330,149,-571,-707,-628,-472,-131,-231,-111,213,313,422,-48,-635,-557,-169,118,157,-216,-818,-807,-423,-255,-110,156,509,649,606,613,484,159,-24,-195,-445,-457,-318,-182,-140,-211,-262,-200,-152,-112,17,20}}, // azimuth 102 degrees + {{-1,0,1,2,1,2,2,1,2,4,4,2,2,1,0,3,0,0,2,-2,3,0,8,-3,7,11,0,17,68,930,1201,-618,-1532,-860,-318,412,995,1190,1523,2437,3088,2146,698,248,477,280,-48,-204,-811,-1000,-690,-608,-374,-145,-293,-710,-602,300,999,1111,918,685,454,159,-134,-505,-764,-743,-731,-775,-816,-778,-563,-397,-318,-192,-51,35,35,52,45,-20,-28,-42,-103,-199,-326,-389,-410,-424,-397,-344,-224,-90,-21,53,108,117,106,65,29,-8,7,62,22,-70,-195,-319,-348,-319,-239,-180,-208,-274,-318,-279,-200,-164,-152,-163,-157,-101,-56,-20,-18,-30,-53,-136,-186,-199,-216,-205,-171,-133,-85,-60,-15,-16,-79,-24},{-58,124,-238,286,-344,356,-427,4621,14304,-7402,-23861,-1533,6810,902,3922,7765,15823,21398,7848,-11465,-9470,2665,6203,4368,-2819,-9690,-9985,-6656,-3767,-4480,-3103,-276,-1640,-2163,1036,3936,3319,2324,1407,1190,2987,977,-2481,-2756,-2050,-1762,-1470,-1251,-1608,-1189,-585,-654,-392,381,1072,1043,723,818,745,301,319,113,-528,-683,-672,-1050,-1289,-959,-580,-255,-143,-268,-59,366,445,258,185,105,-47,-153,-233,-286,-319,-239,-124,-196,-181,-1,121,80,-47,-67,-25,55,75,290,311,-358,-667,-605,-507,-169,-190,-168,169,310,381,-29,-629,-563,-205,31,106,-140,-672,-784,-435,-224,-128,85,454,609,555,602,525,190,-5,-116,-381,-455,-359,-260,-191,-228,-272,-219,-162,-121,-9,12}}, // azimuth 108 degrees + {{-1,0,0,0,2,0,2,0,1,2,1,1,0,-1,0,1,-2,4,-4,-1,-5,5,-1,-7,16,-10,30,31,910,1614,-458,-2098,-1280,-363,591,1286,1378,1531,2460,3654,2677,564,-145,-270,-519,-272,-116,-676,-1042,-1106,-1024,-310,189,99,171,210,42,229,764,1020,837,602,438,48,-463,-700,-770,-879,-918,-830,-713,-596,-484,-352,-166,-44,32,168,187,33,-44,-15,-68,-209,-304,-321,-356,-444,-502,-473,-373,-242,-121,-26,70,160,187,151,96,27,2,7,-10,-4,-19,-105,-244,-364,-392,-367,-306,-242,-257,-308,-299,-211,-99,-56,-64,-83,-86,-54,-67,-122,-143,-133,-139,-179,-225,-222,-179,-141,-116,-105,-64,-27,-6,-15,-53,-16},{-109,141,-169,84,-2,-137,232,522,11542,5703,-20924,-12339,6867,1882,1445,6535,11252,19738,14683,-5576,-11176,590,6804,5055,-688,-7680,-10086,-8390,-4925,-3959,-4481,-1634,-742,-2307,-445,3313,3862,2594,2118,1320,2767,2600,-1472,-2905,-1993,-1795,-1965,-1643,-1667,-1544,-810,-629,-578,-115,797,1214,790,669,904,583,320,360,-163,-589,-614,-870,-1227,-1118,-786,-473,-197,-246,-182,211,423,281,123,98,30,-65,-109,-150,-222,-257,-146,-133,-235,-168,-18,45,-48,-120,-101,-5,55,226,417,-114,-592,-567,-513,-224,-150,-193,82,277,341,6,-603,-620,-247,-58,16,-65,-491,-726,-440,-194,-139,7,365,563,489,544,546,254,17,-66,-313,-467,-399,-338,-239,-241,-306,-246,-158,-95,-27,-1}}, // azimuth 114 degrees + {{0,1,1,1,2,3,0,1,2,1,3,1,1,2,4,0,5,-2,4,-4,-1,9,-16,20,-21,35,9,837,2067,-97,-2673,-1761,-471,534,1527,1699,1762,2704,4132,3151,586,-351,-465,-743,-887,-983,-1048,-1059,-1135,-1123,-634,-122,208,602,710,740,869,705,390,400,778,780,154,-303,-465,-767,-1051,-1050,-870,-714,-584,-463,-383,-218,21,166,140,56,122,205,67,-191,-344,-326,-311,-409,-493,-490,-439,-367,-290,-191,-66,77,190,184,116,102,115,86,28,-7,-19,-49,-108,-183,-276,-386,-446,-389,-310,-308,-316,-275,-179,-75,-10,16,10,17,12,-61,-170,-251,-259,-228,-209,-219,-245,-212,-116,-46,-19,-27,-23,1,20,14,-15,-7},{-8,-41,89,-187,240,-304,332,-400,4604,12672,-7334,-20886,-343,5515,-1114,4348,8945,14287,18385,4207,-10210,-3338,6584,6392,1139,-5350,-8911,-9131,-7157,-4491,-4493,-3519,-885,-1607,-1904,1801,4326,3118,2468,1996,2145,3585,916,-2589,-2481,-1681,-1942,-2137,-2014,-2010,-1306,-804,-662,-339,251,1116,1173,740,839,927,563,444,188,-397,-596,-714,-1100,-1216,-933,-701,-412,-272,-266,49,345,319,152,124,165,73,-19,-70,-123,-189,-228,-218,-296,-264,-84,4,-56,-133,-130,-48,48,148,425,135,-502,-530,-459,-268,-118,-211,-28,237,374,97,-563,-715,-309,-83,-69,-60,-312,-616,-449,-163,-112,-52,237,498,441,467,544,331,91,-18,-238,-467,-443,-378,-289,-228,-317,-298,-161,-55,-6,1}}, // azimuth 120 degrees + {{0,0,1,1,2,0,0,3,-2,2,1,0,1,5,1,7,-1,3,2,-9,17,-19,23,-23,23,-2,699,2478,485,-3237,-2427,-493,561,1625,1863,1993,3026,4804,3950,586,-899,-741,-740,-1015,-1262,-1535,-1918,-1679,-1158,-694,-134,104,292,725,1212,1471,1292,821,354,253,407,405,80,-488,-843,-869,-908,-957,-897,-716,-461,-249,-33,71,-13,11,200,292,156,-46,-160,-228,-317,-434,-519,-533,-482,-385,-308,-261,-196,-93,14,65,79,106,137,128,100,82,54,6,-70,-151,-221,-291,-344,-375,-366,-329,-358,-404,-345,-194,-29,52,47,31,56,92,34,-129,-298,-378,-370,-310,-259,-266,-262,-161,-39,29,70,61,54,50,27,16,-21,-10},{66,-101,89,-67,-14,98,-217,314,-29,8588,8069,-15354,-13953,4975,1356,-936,7465,10676,15049,13297,-2827,-7305,3884,8034,3480,-3077,-7590,-8314,-8089,-6700,-4951,-4521,-2396,-713,-1984,-818,3296,4221,2899,2724,2111,3000,3154,-427,-2475,-1996,-1951,-2424,-2264,-2297,-2099,-1296,-1021,-542,29,690,1253,1082,909,1086,947,579,431,-60,-548,-618,-876,-1228,-1118,-857,-711,-457,-350,-202,221,452,332,157,174,230,130,-14,-135,-229,-278,-240,-246,-329,-238,-66,-36,-99,-112,-88,-7,68,307,349,-306,-587,-438,-309,-82,-114,-101,95,341,281,-395,-797,-431,-89,-157,-150,-174,-473,-498,-216,-81,-50,130,406,380,336,528,435,181,43,-155,-437,-517,-398,-327,-254,-300,-365,-217,-42,20,7}}, // azimuth 126 degrees + {{1,2,2,2,2,1,2,-1,3,1,1,-1,6,0,5,2,0,9,-13,21,-23,24,-9,10,5,538,2823,1255,-3771,-3377,-531,708,1835,2079,2076,3254,5562,4942,766,-1382,-1177,-1028,-1164,-1358,-1735,-2298,-2148,-1773,-1190,-85,231,243,676,1040,1448,1719,1404,729,503,576,91,-534,-626,-489,-588,-829,-928,-909,-749,-403,-147,-55,0,55,175,269,186,15,-30,-75,-244,-356,-438,-541,-589,-529,-396,-285,-169,-70,-63,-83,-42,18,43,75,127,126,93,57,-1,-59,-156,-270,-326,-321,-308,-289,-251,-287,-408,-448,-314,-105,69,125,77,61,109,100,-48,-263,-402,-428,-409,-361,-340,-306,-189,-70,15,73,135,177,182,111,27,-27,-86,-27},{-22,54,-96,115,-142,121,-86,13,20,1298,10343,2169,-17393,-7055,5147,-1817,1105,9556,11385,13862,7885,-4648,-1783,7720,6533,-58,-5790,-8004,-7362,-7416,-6721,-5433,-4302,-1600,-684,-1627,475,3744,3719,3082,3091,2576,3416,2173,-1238,-2012,-1512,-2288,-3029,-2639,-2423,-1897,-1372,-1180,-370,467,1087,1241,1106,1187,1252,895,563,354,-235,-598,-693,-1022,-1236,-1063,-933,-790,-458,-262,7,370,473,365,297,284,156,-18,-119,-164,-214,-271,-266,-301,-302,-160,-35,-53,-108,-95,-45,22,137,353,18,-555,-483,-305,-113,14,-40,-4,193,415,-38,-718,-605,-123,-121,-293,-218,-344,-493,-298,-109,-32,92,333,400,245,416,559,340,116,-87,-326,-496,-429,-347,-312,-294,-383,-301,-73,49,16}}, // azimuth 132 degrees + {{1,2,0,1,0,3,-2,1,0,1,-3,4,2,3,5,-4,15,-16,26,-21,14,4,-3,32,386,3108,2128,-4217,-4531,-673,929,2097,2401,2282,3522,6202,5814,1031,-1764,-1615,-1278,-1312,-1653,-2010,-2522,-2506,-2107,-1426,-354,-11,293,799,1044,1510,1625,1316,1055,1001,852,78,-661,-903,-885,-720,-622,-665,-686,-450,-223,-305,-220,93,256,287,210,130,87,-23,-165,-320,-421,-465,-509,-551,-573,-470,-273,-120,-72,-76,-24,47,25,-9,40,73,73,65,-2,-80,-119,-156,-217,-286,-313,-282,-230,-161,-164,-316,-456,-426,-232,-15,112,118,87,123,137,14,-206,-386,-455,-447,-400,-356,-366,-274,-90,-9,38,124,241,287,228,99,23,-39,-140,-43},{-12,10,13,-57,88,-142,162,-176,154,-174,2684,10192,-2180,-16065,-2774,2995,-2944,3523,9994,11265,12078,4332,-3093,3116,8440,3368,-2724,-6586,-7784,-6731,-7001,-6820,-5763,-3913,-984,-799,-1153,1616,3926,3316,3087,3279,3090,3462,1248,-1656,-1648,-1376,-2465,-3145,-3061,-2754,-1734,-1183,-1043,-298,672,1326,1352,1187,1216,1245,859,576,286,-358,-656,-826,-1179,-1272,-1027,-881,-721,-462,-257,153,531,508,304,232,219,128,-9,-150,-216,-265,-275,-249,-296,-281,-136,-27,-71,-137,-121,-53,6,192,236,-302,-557,-341,-186,-8,40,24,71,349,324,-415,-742,-308,-48,-327,-444,-378,-495,-363,-169,-111,35,228,407,325,304,523,447,205,6,-209,-408,-484,-415,-385,-355,-376,-414,-225,-1,15}}, // azimuth 138 degrees + {{4,-1,2,-1,1,-2,1,0,-1,-3,4,1,1,7,-12,18,-22,24,-15,4,16,-22,70,256,3324,3062,-4525,-5837,-963,1182,2396,2751,2528,3937,6980,6605,1128,-2194,-2053,-1552,-1383,-1800,-2309,-2959,-2938,-2301,-1603,-421,27,29,580,1219,1707,1802,1548,903,636,919,438,-503,-1049,-1144,-1065,-972,-602,-212,-147,-164,-87,66,193,198,216,289,277,114,-60,-228,-463,-543,-494,-528,-573,-521,-414,-346,-281,-152,-32,59,133,131,74,44,56,35,-39,-142,-215,-194,-150,-184,-259,-272,-235,-186,-116,-66,-210,-436,-457,-309,-110,34,84,74,113,178,107,-141,-403,-485,-472,-394,-334,-366,-338,-164,-7,44,101,191,296,264,172,81,25,-56,-197,-59},{26,-29,27,-11,-30,63,-120,157,-196,207,-203,3530,9248,-4291,-13667,-1230,615,-2476,5060,9387,10558,10731,3489,-621,5996,7177,213,-3978,-6656,-7318,-6194,-6892,-6803,-5778,-3523,-659,-646,-641,1946,3930,3547,3333,3065,2848,3136,888,-1401,-1398,-1793,-2790,-2907,-2793,-2736,-1936,-1301,-775,124,890,1265,1261,1195,1278,1256,848,527,95,-492,-670,-827,-1142,-1199,-1020,-904,-649,-368,-195,172,458,415,301,290,242,98,-49,-160,-213,-258,-276,-255,-279,-257,-128,-53,-100,-167,-155,-80,42,260,76,-459,-478,-255,-102,74,103,49,185,463,83,-616,-578,-150,-201,-551,-521,-500,-488,-240,-177,-77,175,390,429,308,408,506,349,128,-114,-298,-441,-478,-434,-434,-398,-448,-399,-135,-4}}, // azimuth 144 degrees + {{1,4,-2,3,-2,1,1,-1,-2,2,4,-1,9,-14,21,-23,23,-13,-4,34,-48,111,176,3518,3948,-4769,-7149,-1356,1401,2775,3196,2805,4449,7784,7278,1258,-2539,-2577,-2000,-1547,-1903,-2475,-3260,-3398,-2657,-1785,-394,128,-13,432,1148,1928,2116,1687,846,575,926,236,-689,-1016,-1222,-1196,-951,-763,-690,-299,299,473,355,400,468,341,238,293,214,-81,-342,-560,-645,-581,-545,-564,-596,-530,-376,-225,-164,-115,48,220,254,176,122,65,-40,-124,-178,-231,-245,-208,-209,-241,-246,-214,-160,-75,10,-103,-377,-491,-384,-162,32,58,13,45,182,200,-41,-364,-516,-486,-421,-314,-316,-346,-221,-53,57,133,206,252,253,143,120,91,5,-103,-254,-74},{-15,30,-33,29,-20,-17,45,-104,145,-196,216,-181,3755,8342,-4543,-11634,-1569,-922,-1505,5426,8529,9814,10084,4361,1806,6706,4712,-1792,-4024,-6581,-7175,-5810,-6555,-6618,-5478,-3218,-785,-381,108,2169,3601,3343,3482,3252,2587,2355,493,-1034,-1149,-1972,-2913,-2841,-2625,-2448,-1661,-1203,-756,243,1006,1260,1212,1169,1211,1106,736,488,70,-515,-687,-813,-1066,-1094,-986,-924,-659,-334,-106,205,368,318,311,337,229,63,-51,-154,-225,-272,-278,-246,-260,-230,-141,-108,-127,-149,-121,-95,87,291,-91,-534,-408,-195,-25,149,124,50,275,404,-135,-597,-401,-182,-437,-651,-541,-566,-439,-191,-155,60,358,456,383,334,442,457,278,10,-209,-343,-454,-476,-469,-489,-486,-464,-280,-39}}, // azimuth 150 degrees + {{5,-2,3,-2,-1,2,-2,-3,0,4,-2,11,-17,19,-23,19,-11,-14,42,-63,124,176,3749,4628,-5002,-8329,-1798,1519,3117,3817,3255,5068,8533,7626,1325,-2683,-2955,-2493,-1979,-2134,-2554,-3482,-3817,-2960,-1995,-403,236,-98,514,1383,2002,2114,1717,1008,686,829,146,-849,-1291,-1256,-1111,-1152,-1096,-780,-321,56,355,747,1010,871,609,480,350,88,-157,-322,-564,-672,-638,-705,-788,-735,-539,-373,-255,-116,-22,77,199,264,213,109,37,-36,-79,-143,-232,-257,-218,-204,-249,-265,-237,-163,-83,29,-21,-320,-488,-422,-228,-18,72,17,-7,95,198,63,-274,-461,-480,-463,-374,-287,-311,-246,-112,19,153,209,264,247,164,86,113,43,-58,-163,-349,-100},{11,-15,27,-29,30,-20,-9,33,-84,128,-177,204,-152,3595,7548,-3719,-10060,-2711,-1730,-708,5018,7769,9365,9833,5703,3820,6134,2118,-2913,-3666,-6331,-6972,-5399,-6184,-6330,-5037,-2918,-799,-273,397,2330,3503,3024,3130,3085,2519,2199,325,-1144,-1270,-1938,-2599,-2626,-2640,-2328,-1282,-760,-452,268,761,1030,1183,1166,1138,1012,614,359,31,-460,-643,-804,-1056,-1075,-911,-759,-526,-331,-166,154,331,308,306,286,168,31,-65,-180,-252,-267,-243,-185,-200,-200,-166,-140,-120,-115,-101,-56,173,209,-266,-547,-370,-184,22,202,83,35,327,308,-211,-480,-312,-303,-626,-663,-540,-601,-368,-129,-47,243,459,411,299,323,442,398,167,-75,-208,-308,-454,-499,-552,-563,-500,-396,-78}}, // azimuth 156 degrees + {{-3,0,-3,-2,-2,-4,-6,-2,1,-4,8,-21,18,-28,18,-15,-19,41,-66,116,248,4058,4998,-5251,-9229,-2271,1573,3295,4431,4057,5906,9125,7589,1307,-2645,-3206,-2850,-2513,-2692,-2738,-3504,-4132,-3333,-2229,-553,471,133,398,1441,2176,2277,1927,941,566,906,125,-908,-1278,-1501,-1606,-1373,-952,-682,-482,-144,321,661,990,1237,1082,725,473,238,-56,-270,-565,-777,-784,-827,-873,-855,-727,-495,-207,-20,54,130,205,202,111,75,75,26,-51,-118,-182,-236,-236,-215,-236,-254,-232,-189,-130,-21,39,-233,-524,-499,-299,-19,113,18,-68,32,170,117,-186,-420,-448,-483,-416,-302,-311,-310,-153,-2,140,212,219,261,166,126,119,103,-22,-132,-284,-511,-139},{-10,12,-13,22,-21,21,-17,-10,30,-76,110,-155,176,-136,3058,7112,-2106,-9226,-4148,-2059,-407,4480,7263,8979,9943,7053,5020,4956,198,-3282,-3611,-6304,-6427,-4659,-5653,-6097,-4831,-2747,-641,-15,434,1998,3196,3024,3085,2771,2056,1920,582,-798,-1421,-2267,-2590,-2356,-2265,-1948,-1106,-698,-255,539,867,932,982,956,981,915,538,261,-75,-505,-615,-711,-883,-894,-783,-732,-576,-328,-131,123,245,245,267,215,89,-12,-100,-196,-226,-207,-165,-126,-162,-187,-150,-97,-75,-80,-100,-57,163,73,-415,-585,-422,-186,122,238,39,75,363,227,-225,-407,-309,-452,-696,-615,-602,-588,-216,-9,83,357,412,295,214,299,405,305,116,-62,-162,-326,-438,-551,-650,-617,-496,-103}}, // azimuth 162 degrees + {{1,-4,0,0,-2,-5,1,0,1,8,-16,18,-29,22,-19,-8,22,-41,84,427,4515,4859,-5626,-9528,-2739,1485,3484,4863,5011,7083,9594,7196,1244,-2516,-3395,-3075,-3005,-3287,-3074,-3668,-4310,-3722,-2408,-384,510,124,434,1591,2445,2392,1981,1038,677,979,151,-1017,-1634,-1816,-1695,-1458,-1167,-747,-265,11,281,629,914,1015,964,934,857,540,131,-199,-611,-827,-742,-808,-988,-977,-766,-509,-273,-86,30,121,194,223,174,99,58,34,-4,-74,-131,-183,-204,-219,-231,-219,-227,-206,-182,-57,92,-116,-529,-597,-361,-53,165,76,-68,-7,169,161,-124,-389,-443,-464,-456,-320,-333,-329,-173,-6,134,193,190,209,228,178,198,132,64,-86,-272,-436,-580,-145},{1,-8,9,-10,18,-16,14,-9,-15,28,-67,87,-122,134,-100,2448,6677,-413,-8493,-5476,-2405,-205,4245,6839,8320,9929,8338,5597,3618,-889,-3639,-3786,-5731,-5762,-4173,-4988,-5564,-4645,-2856,-610,227,437,1659,2818,2781,2948,2830,1942,1528,447,-750,-1355,-2045,-2382,-2375,-2253,-1726,-800,-319,-21,513,811,981,1035,841,698,590,329,194,-38,-410,-493,-499,-654,-825,-864,-773,-561,-335,-173,35,175,205,216,143,35,-26,-69,-158,-208,-182,-116,-47,-91,-127,-96,-35,-34,-116,-202,-130,104,-107,-562,-600,-380,-109,196,237,43,161,348,135,-239,-372,-372,-579,-708,-567,-562,-449,-81,46,180,353,309,190,173,278,326,263,110,4,-151,-327,-520,-640,-676,-620,-134}}, // azimuth 168 degrees + {{-5,2,-2,-1,-8,2,-1,2,5,-11,14,-30,27,-35,17,-13,-4,41,714,5095,4179,-6196,-9156,-3079,1149,3734,5268,5891,8276,9964,6771,1271,-2399,-3603,-3257,-3503,-3882,-3384,-4036,-4527,-3655,-2612,-729,457,330,801,1802,2396,2430,2121,1357,1109,904,-309,-1272,-1680,-1872,-1897,-1765,-1297,-621,-154,66,389,659,846,966,865,748,759,636,333,-34,-490,-739,-765,-823,-907,-867,-737,-587,-373,-234,-97,67,199,252,186,140,106,31,-41,-84,-104,-104,-131,-175,-201,-197,-207,-258,-254,-139,80,-3,-457,-647,-454,-136,180,192,-17,5,173,169,-96,-357,-442,-505,-525,-386,-325,-361,-177,6,125,171,157,180,193,242,248,235,93,-14,-216,-402,-504,-633,-161},{-4,1,-9,6,-8,12,-10,4,0,-25,33,-62,65,-86,87,-59,1757,6274,1376,-7806,-6861,-2799,161,4175,6311,7519,9663,9329,6109,2451,-1787,-3737,-3741,-5131,-4926,-3686,-4712,-5261,-4256,-2649,-659,163,315,1277,2461,2826,2962,2550,1587,1422,672,-718,-1545,-2025,-2110,-2055,-1984,-1632,-840,-220,184,623,752,854,962,867,682,459,179,60,-2,-186,-274,-438,-718,-876,-863,-786,-636,-401,-214,-13,132,179,168,87,32,24,-32,-125,-142,-124,-66,-10,-55,-94,-65,-54,-130,-243,-290,-136,46,-228,-628,-581,-325,5,274,186,39,196,294,45,-265,-404,-467,-662,-636,-446,-471,-316,-30,105,189,264,210,142,162,249,307,214,140,-7,-174,-439,-599,-655,-693,-162}}, // azimuth 174 degrees + {{2,-2,0,-6,5,-4,10,-1,-4,10,-28,34,-50,44,-46,42,-8,1175,5747,2948,-7022,-8171,-3041,746,4070,5754,6656,9114,9903,6422,1616,-2283,-3817,-3466,-4078,-4471,-3729,-4176,-4800,-4092,-2577,-598,261,217,1028,2173,2565,2781,2564,1423,941,661,-309,-1234,-1883,-2155,-2085,-1770,-1292,-623,-204,-45,379,823,1036,975,746,591,516,382,295,140,-263,-555,-638,-720,-831,-860,-786,-629,-411,-236,-60,66,111,164,158,133,89,7,-69,-113,-80,-42,-34,-95,-140,-125,-137,-208,-292,-265,-59,48,-319,-630,-525,-259,82,263,130,26,189,212,-22,-303,-425,-506,-636,-495,-351,-372,-241,4,112,181,175,143,153,184,287,268,217,65,-72,-310,-490,-568,-697,-176},{2,-2,0,-6,5,-4,10,-1,-4,10,-28,34,-50,44,-46,42,-8,1175,5747,2948,-7022,-8171,-3041,746,4070,5754,6656,9114,9903,6422,1616,-2283,-3817,-3466,-4078,-4471,-3729,-4176,-4800,-4092,-2577,-598,261,217,1028,2173,2565,2781,2564,1423,941,661,-309,-1234,-1883,-2155,-2085,-1770,-1292,-623,-204,-45,379,823,1036,975,746,591,516,382,295,140,-263,-555,-638,-720,-831,-860,-786,-629,-411,-236,-60,66,111,164,158,133,89,7,-69,-113,-80,-42,-34,-95,-140,-125,-137,-208,-292,-265,-59,48,-319,-630,-525,-259,82,263,130,26,189,212,-22,-303,-425,-506,-636,-495,-351,-372,-241,4,112,181,175,143,153,184,287,268,217,65,-72,-310,-490,-568,-697,-176}}, // azimuth 180 degrees +}; +inline constexpr std::int16_t pcm48000_m20[37][2][hrir::taps]={ + {{5,-9,18,-14,9,-4,-29,55,-88,89,-98,84,18,3273,7761,-3907,-10445,793,-1647,-2446,9071,9738,3792,4375,14116,10055,-7794,-6030,1450,-7350,-10901,-512,203,-8026,-5594,829,1687,-51,463,3940,4158,1807,2004,2129,-806,-2426,-1248,-1790,-3586,-3764,-2467,-1199,-1408,-1299,590,1273,710,1298,1825,1399,988,899,756,324,-407,-776,-594,-921,-1315,-948,-745,-1031,-815,-274,-107,-46,130,452,533,372,391,356,160,-52,-204,-312,-417,-531,-512,-323,-329,-419,-267,-127,-180,-160,8,106,125,121,140,95,-24,-104,-154,-110,-108,-135,-78,-24,-60,-126,-62,-31,-112,-112,4,-52,-205,-219,-228,-207,-133,-17,-10,-90,-90,-28,8,-24,-102,-231,-248,-261,-276,-308,-257,-286,-455,-122},{5,-9,18,-14,9,-4,-29,55,-88,89,-98,84,18,3273,7761,-3907,-10445,793,-1647,-2446,9071,9738,3792,4375,14116,10055,-7794,-6030,1450,-7350,-10901,-512,203,-8026,-5594,829,1687,-51,463,3940,4158,1807,2004,2129,-806,-2426,-1248,-1790,-3586,-3764,-2467,-1199,-1408,-1299,590,1273,710,1298,1825,1399,988,899,756,324,-407,-776,-594,-921,-1315,-948,-745,-1031,-815,-274,-107,-46,130,452,533,372,391,356,160,-52,-204,-312,-417,-531,-512,-323,-329,-419,-267,-127,-180,-160,8,106,125,121,140,95,-24,-104,-154,-110,-108,-135,-78,-24,-60,-126,-62,-31,-112,-112,4,-52,-205,-219,-228,-207,-133,-17,-10,-90,-90,-28,8,-24,-102,-231,-248,-261,-276,-308,-257,-286,-455,-122}}, // azimuth 0 degrees + {{-6,6,-6,7,4,-10,17,-42,47,-50,23,-9,-18,46,1297,6480,1394,-9352,-3033,-456,-4475,4544,9973,6024,3748,9705,12564,-569,-6445,47,-3749,-10265,-3849,1185,-4754,-6401,-1536,842,404,-171,2021,3746,1988,1314,2263,792,-1420,-1215,-921,-2235,-3079,-2564,-1987,-1820,-1298,-82,597,440,810,1360,1405,1198,849,566,474,110,-502,-518,-508,-935,-1026,-772,-752,-813,-472,-196,-197,-59,255,349,213,279,340,216,78,-32,-186,-304,-388,-460,-354,-317,-378,-338,-240,-188,-154,-41,50,96,133,154,95,-15,-89,-130,-103,-60,-81,-89,-31,-24,-99,-104,-34,-57,-122,-130,-179,-281,-255,-144,-83,-22,-10,-28,-66,-19,44,-5,-101,-252,-322,-324,-273,-349,-340,-331,-468,-123},{-9,17,-8,-5,15,-50,75,-95,73,-58,23,19,2474,8793,-1465,-12741,-924,-375,-3736,8998,11565,4274,3507,14425,13272,-7624,-8821,1684,-6390,-12289,-1405,1374,-8155,-7032,464,1687,159,632,3956,4681,2314,2354,2714,-627,-3117,-1750,-1780,-3985,-4446,-2750,-1140,-1380,-1452,553,1590,1004,1489,2071,1541,1009,917,798,435,-280,-832,-746,-1087,-1531,-1104,-734,-1006,-977,-369,-60,26,218,502,635,517,508,466,183,-146,-283,-362,-458,-610,-637,-371,-335,-402,-238,-94,-131,-147,15,137,142,115,90,49,-9,-77,-143,-147,-154,-183,-119,-7,-30,-113,-66,-23,-94,-98,30,44,-124,-181,-199,-267,-220,-102,-28,-72,-80,-57,-47,-21,-53,-152,-243,-223,-239,-240,-235,-239,-399,-519,-118}}, // azimuth 5 degrees + {{-4,-4,6,-5,9,-3,-5,9,-32,39,-49,29,-22,12,19,1509,5860,382,-8074,-2129,-880,-3659,4369,8624,5485,3772,9081,10916,-228,-4773,-400,-4009,-8592,-3243,324,-4434,-5380,-1422,462,207,62,1868,2901,1493,1037,1759,762,-904,-897,-721,-1637,-2228,-1994,-1833,-1805,-1288,-212,238,38,430,1013,1140,913,646,527,526,254,-253,-297,-373,-754,-809,-630,-698,-752,-456,-308,-319,-139,134,193,100,212,308,213,114,30,-112,-244,-321,-365,-350,-357,-383,-351,-280,-228,-148,-5,73,107,128,153,117,-15,-84,-139,-127,-87,-117,-103,-52,-25,-69,-70,-37,-80,-167,-200,-241,-288,-186,-80,-27,-32,-41,-40,-28,38,40,-60,-205,-284,-358,-343,-355,-349,-305,-357,-93},{8,4,-17,32,-65,77,-74,33,3,-51,73,1627,9130,1818,-14029,-4059,814,-4479,8209,13577,5213,2666,14051,16425,-6247,-11646,1147,-5374,-13127,-2293,2219,-7925,-8511,-523,1782,922,779,3569,5058,2660,2635,3480,-149,-3733,-2846,-2003,-3552,-4366,-3288,-1676,-1288,-1295,597,1818,965,1435,2408,1861,1056,773,727,461,-231,-822,-757,-1006,-1663,-1365,-820,-1028,-963,-334,-52,13,255,611,717,536,551,505,197,-89,-243,-353,-514,-699,-737,-451,-322,-448,-302,-54,-73,-119,40,174,198,144,89,34,-45,-79,-142,-147,-156,-204,-154,-59,-46,-130,-92,-3,-68,-103,51,130,20,-65,-129,-246,-295,-193,-104,-82,-63,-57,-89,-76,-22,-77,-182,-230,-209,-198,-174,-193,-301,-512,-537,-111}}, // azimuth 10 degrees + {{-4,-3,-3,4,-6,7,-4,-2,3,-25,30,-45,29,-24,22,8,1567,5163,-87,-6846,-1669,-1034,-2999,3930,7452,4935,3691,8332,9762,489,-3846,-896,-3487,-7114,-3039,-173,-3994,-4670,-1483,81,31,74,1731,2384,808,574,1660,945,-588,-591,-335,-1073,-1617,-1467,-1450,-1711,-1527,-577,-44,-269,-62,514,801,773,684,674,640,299,-93,-68,-216,-640,-692,-514,-584,-703,-551,-410,-355,-213,19,95,31,122,249,245,132,15,-95,-176,-243,-326,-315,-368,-443,-355,-236,-178,-122,-25,82,124,124,128,40,-43,-109,-171,-141,-119,-91,-71,-16,30,-48,-87,-74,-136,-230,-272,-268,-233,-135,-16,-11,-52,-59,-23,37,58,-1,-157,-269,-342,-364,-376,-346,-297,-289,-69},{19,-30,42,-67,57,-35,-28,69,-127,148,801,8522,5662,-13408,-8415,1163,-4436,6434,15298,7056,2078,12746,19247,-3295,-14293,-333,-4083,-13582,-3422,3048,-7308,-10553,-1882,2738,1696,443,3247,5256,2717,2676,4275,703,-4456,-4232,-1935,-2468,-4013,-4038,-2449,-1182,-798,608,1698,921,1269,2504,2183,1191,619,546,452,-192,-864,-713,-812,-1642,-1605,-942,-918,-987,-423,-38,69,350,647,742,534,493,494,254,-19,-229,-358,-491,-682,-777,-531,-383,-508,-363,-71,-55,-116,51,202,209,200,163,64,-91,-153,-148,-124,-117,-210,-210,-104,-89,-178,-147,-32,-64,-84,67,185,90,45,12,-167,-286,-248,-159,-170,-106,-37,-89,-126,-74,-44,-120,-181,-226,-171,-154,-152,-202,-414,-590,-530,-108}}, // azimuth 15 degrees + {{-1,-1,-4,-3,4,-6,7,-5,0,0,-18,24,-37,28,-20,21,9,1513,4497,-219,-5743,-1393,-1061,-2506,3405,6349,4440,3604,7622,8986,976,-3341,-884,-2765,-6011,-2817,-504,-3618,-4162,-1614,-182,-65,78,1343,1623,414,584,1714,979,-378,-155,171,-538,-1231,-1265,-1219,-1505,-1584,-1020,-624,-659,-297,290,635,799,796,706,639,362,60,29,-171,-499,-534,-406,-531,-692,-570,-454,-380,-269,-101,-5,8,140,217,168,104,12,-70,-119,-216,-313,-327,-331,-339,-293,-186,-133,-111,-22,42,74,81,31,-27,-85,-121,-134,-103,-51,-48,-18,36,11,-74,-106,-116,-201,-306,-298,-239,-176,-46,5,-28,-61,-27,42,57,38,-80,-220,-318,-346,-360,-348,-303,-265,-59},{-32,40,-57,23,12,-87,118,-175,191,194,6963,9150,-10304,-12943,-176,-3690,4048,16004,9557,2415,10857,21036,1205,-15983,-3051,-2813,-13236,-4783,3403,-6655,-12323,-2877,3195,2270,790,2443,5030,3042,2575,4613,1240,-4793,-5222,-1519,-1141,-3995,-4790,-2854,-1036,-480,529,1492,816,1160,2495,2294,1245,462,401,453,-125,-827,-774,-731,-1547,-1674,-892,-779,-1048,-586,-46,101,374,679,688,475,524,584,272,-52,-232,-350,-454,-640,-804,-599,-388,-499,-460,-184,-61,-86,57,184,176,210,230,129,-82,-193,-191,-138,-90,-181,-226,-157,-143,-224,-248,-118,-67,-78,81,214,151,115,105,-61,-230,-249,-210,-224,-169,-50,-83,-155,-150,-88,-76,-128,-207,-235,-140,-137,-116,-249,-589,-657,-430,-76}}, // azimuth 20 degrees + {{-1,2,-1,-3,-2,2,-4,6,-4,2,0,-11,20,-30,28,-16,15,10,1368,3890,-117,-4753,-1252,-1043,-2125,2813,5319,4056,3550,6969,8205,1233,-2694,-601,-2158,-5017,-2624,-812,-3279,-3793,-1692,-288,-156,-273,606,1116,598,863,1605,943,26,386,528,-386,-1090,-1115,-1086,-1379,-1728,-1507,-1066,-745,-224,303,599,667,679,686,621,404,126,66,-83,-367,-379,-338,-541,-687,-565,-431,-408,-343,-153,-34,-11,93,165,116,29,-8,-49,-119,-198,-271,-256,-247,-249,-209,-181,-159,-116,-50,-14,-9,-23,-25,-46,-81,-88,-77,-20,9,0,-1,11,-16,-100,-146,-178,-260,-328,-293,-199,-96,-17,-5,-46,-36,30,74,66,-27,-150,-283,-317,-307,-325,-344,-306,-64},{19,-23,-15,61,-123,139,-168,174,-79,4836,11309,-5084,-16046,-3469,-2741,1763,15301,12016,3691,9276,21561,6357,-15887,-6561,-2336,-12078,-5642,2547,-6347,-12441,-3660,2437,2412,1803,2011,4163,3332,2773,4157,1038,-4294,-4913,-1440,-685,-3617,-4871,-3098,-1081,-441,255,1416,931,912,2323,2268,1302,450,179,387,30,-695,-892,-749,-1364,-1599,-844,-667,-998,-648,-32,86,241,569,694,539,527,631,344,5,-201,-384,-472,-582,-741,-627,-405,-483,-489,-250,-91,-64,63,186,150,209,265,144,-68,-180,-157,-133,-92,-149,-218,-158,-138,-240,-312,-221,-125,-79,76,262,221,137,190,80,-140,-238,-224,-235,-215,-66,-41,-147,-182,-134,-82,-66,-151,-265,-195,-121,-71,-73,-406,-724,-604,-240,-20}}, // azimuth 25 degrees + {{-1,-1,0,-1,-4,-2,2,-4,5,-5,2,0,-10,14,-23,24,-15,10,6,1162,3355,138,-3873,-1242,-1000,-1806,2163,4418,3824,3524,6220,7270,1570,-1846,-356,-1618,-4097,-2562,-1086,-2900,-3345,-1708,-674,-557,-599,214,1016,899,1033,1493,1107,522,585,420,-367,-924,-1010,-1171,-1524,-1771,-1546,-1052,-583,-106,197,357,476,541,573,616,467,146,54,-9,-211,-327,-356,-497,-619,-532,-431,-398,-349,-213,-98,-48,16,61,74,28,-40,-74,-81,-125,-198,-228,-234,-234,-203,-149,-133,-149,-130,-73,-55,-64,-59,-59,-67,-63,-17,44,56,6,-40,-45,-42,-98,-174,-251,-324,-334,-258,-118,-56,-42,-49,-27,37,70,69,-11,-101,-236,-278,-271,-277,-344,-412,-99},{15,-67,98,-131,106,-98,54,-41,2507,11536,1603,-16453,-8395,-2487,-149,13297,13798,5633,8295,20980,11987,-13611,-10279,-2847,-10724,-6354,907,-5363,-11472,-5465,1402,2531,2190,1915,3843,3621,2366,3266,795,-3177,-3649,-1897,-1239,-2908,-4077,-3078,-1547,-697,-12,1179,1127,846,1958,2053,1351,648,99,204,43,-608,-947,-722,-1093,-1517,-949,-596,-801,-605,-72,30,96,474,640,492,484,626,441,107,-99,-332,-534,-589,-691,-620,-374,-474,-548,-337,-123,-32,33,170,167,185,254,154,-46,-190,-189,-156,-87,-61,-150,-185,-169,-230,-306,-283,-209,-124,23,232,283,211,230,162,-61,-196,-199,-236,-257,-136,-38,-94,-153,-164,-120,-68,-99,-220,-256,-152,-105,26,-147,-620,-743,-478,-33,42}}, // azimuth 30 degrees + {{-1,-2,-2,-1,-2,-5,-3,0,-6,2,-2,-2,-1,-10,11,-19,15,-11,0,0,935,2878,495,-3121,-1343,-889,-1573,1507,3726,3678,3440,5331,6342,2113,-1006,-207,-1061,-3317,-2592,-1156,-2365,-3200,-2195,-969,-554,-725,-28,1041,1178,1179,1552,1248,540,451,358,-289,-869,-1147,-1294,-1393,-1514,-1251,-753,-526,-351,-71,189,337,431,501,543,434,163,75,37,-144,-241,-308,-438,-499,-477,-445,-428,-380,-251,-148,-107,-54,14,67,33,-17,-44,-84,-113,-192,-241,-235,-201,-136,-114,-130,-158,-151,-122,-85,-71,-72,-77,-56,-2,35,76,42,-16,-48,-38,-27,-112,-234,-315,-327,-296,-179,-87,-62,-58,-19,33,58,78,-1,-85,-191,-212,-235,-240,-290,-435,-116},{-67,83,-85,12,35,-116,154,664,9491,8129,-12990,-13804,-3681,-1518,10274,14720,7283,7959,19930,17075,-8928,-13195,-3886,-9900,-7907,-13,-3726,-10474,-7473,-127,2415,2528,1691,3506,4320,1781,2058,970,-1964,-2497,-2181,-1855,-2444,-3262,-2719,-1815,-1071,-410,696,1162,851,1671,1816,1352,961,90,64,90,-501,-1044,-906,-778,-1260,-1125,-656,-608,-497,-112,1,21,364,589,421,342,572,501,220,-11,-267,-427,-554,-688,-672,-422,-388,-527,-392,-203,-83,23,150,189,161,212,165,-1,-184,-236,-209,-131,-34,-70,-107,-160,-243,-322,-297,-225,-196,-69,151,297,252,256,224,54,-117,-205,-239,-281,-193,-112,-91,-102,-120,-136,-95,-76,-174,-236,-215,-142,-44,80,-347,-773,-673,-357,191,109}}, // azimuth 35 degrees + {{1,0,0,-1,-1,0,-3,-3,2,-2,3,0,-1,1,-5,10,-13,15,-5,-4,1,707,2478,881,-2518,-1463,-748,-1413,973,3214,3539,3246,4384,5565,2707,-284,-12,-549,-2664,-2457,-1290,-2377,-3173,-2118,-921,-652,-855,-42,1266,1470,1162,1250,1061,569,443,237,-384,-957,-1128,-997,-992,-1144,-1007,-742,-707,-592,-206,104,180,278,401,470,374,153,135,91,-67,-138,-215,-360,-481,-471,-457,-458,-382,-269,-196,-156,-82,4,36,24,2,-63,-124,-172,-200,-190,-161,-130,-128,-118,-139,-167,-161,-148,-120,-89,-65,-54,-39,3,47,44,25,-5,-12,-18,-55,-152,-286,-329,-315,-236,-129,-72,-79,-55,6,46,54,-10,-62,-157,-172,-196,-210,-258,-389,-104},{2,27,-103,143,-206,239,-170,5794,12246,-5470,-17654,-7118,-2215,6499,14641,8805,7355,18438,21532,-2183,-14881,-5195,-9061,-10245,-549,-1911,-9463,-8953,-2012,1605,2186,2010,3318,4176,1435,1578,1810,-1244,-2181,-1854,-1934,-2261,-2875,-2421,-1847,-1468,-651,350,805,554,1489,1849,1176,1093,488,68,-55,-332,-840,-1108,-914,-1103,-1001,-687,-606,-468,-91,84,-66,192,539,415,263,487,507,244,49,-135,-334,-490,-591,-699,-540,-394,-435,-347,-242,-161,-35,142,192,109,142,195,56,-153,-246,-234,-169,-97,-59,-47,-85,-173,-279,-330,-266,-223,-122,62,223,269,241,263,146,10,-109,-245,-315,-267,-167,-165,-109,-68,-74,-117,-76,-97,-203,-207,-208,-90,53,-1,-583,-799,-552,-222,406,168}}, // azimuth 40 degrees + {{1,0,-1,-1,-2,-1,-2,-4,-2,1,-3,2,0,-3,3,-8,8,-9,8,-1,-14,-1,503,2124,1216,-2029,-1597,-605,-1263,566,2835,3326,2926,3526,4920,3204,397,280,-44,-2242,-2793,-1586,-1938,-2693,-2027,-1049,-762,-722,280,1395,1217,760,961,1022,622,296,-44,-479,-648,-616,-640,-802,-1038,-1038,-835,-765,-688,-371,-69,71,178,273,392,352,182,170,167,50,-91,-193,-317,-473,-486,-425,-422,-408,-338,-225,-166,-137,-32,33,-14,-73,-98,-114,-134,-155,-120,-97,-126,-133,-148,-168,-191,-171,-129,-116,-102,-75,-43,-25,-12,6,39,39,35,16,-24,-93,-229,-308,-304,-237,-175,-134,-108,-92,-39,18,22,-23,-41,-108,-132,-179,-200,-222,-326,-87},{78,-143,132,-110,58,-59,1969,12040,4482,-16897,-13133,-3055,2996,12865,10468,6559,15864,24388,6813,-13910,-7967,-7922,-11504,-1752,-913,-7878,-9536,-4474,398,1576,2184,2671,3554,1797,1251,2753,-33,-2100,-1771,-1790,-1719,-2531,-2605,-2013,-1705,-919,0,628,222,826,1869,1260,1064,781,317,202,-306,-722,-993,-1002,-1144,-1169,-666,-462,-493,-230,93,19,25,377,429,250,424,574,283,36,-70,-224,-391,-572,-674,-565,-434,-432,-328,-185,-145,-109,50,163,94,100,143,76,-97,-207,-211,-212,-134,-85,-72,-48,-85,-164,-273,-336,-270,-153,3,149,188,232,282,220,76,-13,-127,-279,-318,-249,-229,-214,-79,-36,-57,-74,-66,-112,-186,-187,-178,-9,92,-193,-751,-727,-433,-62,542,186}}, // azimuth 45 degrees + {{1,0,0,0,-1,-1,-1,-1,-1,-2,1,-1,1,1,-3,6,-7,5,-5,7,2,-21,9,334,1810,1480,-1630,-1699,-471,-1092,319,2515,2996,2542,2857,4405,3597,1181,606,-192,-2302,-2629,-1298,-1444,-2291,-2003,-1179,-597,-318,298,920,796,546,806,948,476,116,51,-67,-147,-301,-631,-945,-1060,-969,-863,-849,-748,-485,-207,-11,125,217,295,331,250,234,248,98,-90,-187,-270,-406,-463,-460,-458,-428,-365,-259,-188,-134,-71,-44,-47,-63,-62,-45,-72,-102,-98,-92,-116,-180,-191,-174,-169,-156,-140,-110,-94,-75,-42,-22,-17,13,56,86,61,1,-67,-167,-245,-263,-225,-200,-185,-167,-119,-58,-23,-6,-30,-25,-65,-99,-163,-194,-200,-270,-72},{-3,-75,130,-212,267,-162,7105,12642,-7970,-19599,-7096,547,9056,12192,6419,11836,24445,17156,-7913,-11932,-7299,-11270,-4215,-53,-5767,-9401,-7247,-1346,1000,1860,1972,2298,2041,1205,3456,1698,-1707,-1518,-1528,-1354,-2063,-2772,-2219,-2194,-1471,-365,387,269,160,1425,1466,1067,1027,491,438,76,-440,-899,-1079,-982,-1270,-1011,-559,-426,-284,-71,19,-58,260,438,202,319,605,495,161,-69,-206,-333,-493,-640,-645,-476,-379,-367,-232,-119,-68,-5,78,66,57,143,87,-61,-192,-213,-206,-176,-98,-82,-47,-67,-112,-187,-270,-290,-236,-83,70,162,175,234,254,157,59,-39,-193,-293,-272,-269,-285,-202,-63,-44,-55,-60,-63,-101,-166,-176,-126,77,31,-439,-823,-626,-286,146,581,163}}, // azimuth 50 degrees + {{1,1,0,2,1,0,0,-1,0,-1,-1,2,1,1,3,-1,7,-6,4,3,3,1,-15,15,210,1533,1619,-1277,-1763,-354,-839,149,2180,2570,2188,2455,4039,3958,1541,284,-239,-1746,-2201,-1024,-1013,-1992,-1873,-989,-480,-435,-90,512,620,341,490,802,607,434,416,247,-61,-447,-763,-931,-982,-987,-890,-828,-818,-566,-234,-75,24,140,291,381,314,285,261,95,-70,-158,-241,-399,-518,-510,-475,-428,-356,-267,-207,-183,-119,-27,-1,-31,-35,-22,-16,-55,-113,-136,-158,-160,-166,-189,-212,-195,-130,-81,-68,-70,-47,-17,25,55,74,63,3,-44,-99,-169,-224,-230,-209,-182,-187,-156,-83,-55,-40,-43,-15,-35,-88,-159,-186,-183,-231,-61},{-112,111,-97,30,-18,1625,12546,5954,-18676,-15564,-1340,4919,11792,8051,7362,20876,24526,2991,-13536,-9095,-8841,-6696,-137,-3559,-8754,-9006,-4040,231,1378,1457,931,1638,1082,2781,3893,-60,-1619,-1079,-708,-1278,-2969,-2614,-2128,-2119,-1222,-131,347,-124,612,1483,1139,1073,694,540,460,-17,-410,-888,-944,-1115,-1207,-834,-611,-482,-227,38,-93,-10,386,304,195,481,635,423,101,-158,-301,-423,-575,-655,-560,-400,-335,-292,-183,-75,-12,76,80,-9,49,137,39,-155,-264,-234,-186,-116,-67,-33,-10,-82,-162,-232,-243,-232,-174,-36,94,161,182,238,185,106,69,-51,-229,-298,-260,-296,-289,-163,-54,-59,-69,-77,-61,-64,-121,-137,-74,100,-98,-591,-790,-529,-129,279,513,127}}, // azimuth 55 degrees + {{3,0,1,1,1,0,0,1,-1,0,1,-1,2,1,2,4,-1,7,-5,5,3,-1,8,-12,17,147,1271,1619,-954,-1749,-265,-554,56,1817,2151,2000,2423,3533,3370,1670,696,40,-1257,-1763,-791,-554,-1464,-1719,-1327,-870,-499,-165,172,175,47,521,1164,1051,655,374,33,-193,-393,-744,-956,-959,-976,-910,-825,-770,-589,-362,-154,37,209,327,369,332,284,254,107,-104,-197,-276,-442,-530,-525,-465,-395,-363,-288,-215,-158,-88,-16,-3,-21,5,11,-19,-73,-110,-124,-154,-193,-229,-241,-222,-179,-107,-51,-47,-48,-22,23,41,38,29,0,-28,-55,-115,-191,-211,-190,-159,-160,-158,-125,-96,-70,-60,-29,-51,-94,-152,-175,-180,-218,-55},{-119,186,-250,273,-304,5542,14612,-5050,-23303,-8206,3016,8023,10718,5368,13564,26727,15958,-8438,-13194,-7354,-6968,-1788,-952,-7300,-10027,-6987,-1289,591,793,790,686,804,1260,3952,2775,-567,-888,-461,-183,-1894,-3191,-2607,-2283,-1824,-1164,-140,-46,-36,1056,1188,1012,875,596,670,421,107,-393,-782,-821,-1116,-1082,-865,-749,-525,-225,-60,-132,161,339,123,308,642,613,311,20,-158,-327,-476,-612,-632,-477,-364,-335,-284,-149,-36,33,93,23,-9,91,104,-49,-238,-273,-211,-164,-92,-38,15,12,-99,-197,-269,-255,-200,-124,16,119,134,160,205,141,98,58,-80,-233,-282,-279,-320,-260,-129,-61,-78,-105,-106,-52,-39,-79,-96,-36,53,-287,-689,-703,-386,35,323,426,104}}, // azimuth 60 degrees + {{1,2,1,1,1,1,0,1,1,1,2,0,0,3,3,2,1,2,6,-4,2,5,6,5,-11,25,130,1048,1484,-660,-1642,-243,-212,46,1454,2050,1938,1649,2529,3380,2335,1101,241,-900,-1183,-155,-140,-1603,-2222,-1603,-766,-461,-592,-418,20,456,1031,1378,1004,398,104,21,-104,-396,-771,-959,-967,-967,-855,-768,-775,-638,-364,-81,123,218,287,344,325,278,203,30,-171,-257,-301,-445,-526,-484,-426,-366,-334,-271,-188,-138,-70,-20,1,5,10,19,-5,-47,-111,-172,-215,-251,-246,-210,-191,-143,-75,-39,-24,-20,6,9,3,6,-4,-11,-37,-80,-148,-178,-149,-117,-131,-142,-137,-135,-107,-85,-61,-89,-106,-137,-162,-181,-229,-59},{-45,108,-203,268,131,10205,12133,-16026,-21775,-687,5489,9049,8212,6517,21138,25952,4012,-14009,-10115,-5673,-3310,525,-4222,-9638,-9546,-4755,28,118,132,540,697,63,1678,4306,1809,-488,-400,486,111,-2582,-3107,-2593,-2361,-1780,-1106,-413,-439,305,1081,882,851,687,735,808,501,209,-346,-631,-719,-982,-1009,-958,-818,-597,-345,-258,-103,292,163,43,429,698,583,213,-11,-100,-286,-501,-619,-544,-429,-399,-372,-269,-116,-14,55,45,-32,17,134,47,-170,-269,-234,-158,-136,-85,6,38,7,-95,-238,-321,-278,-179,-58,42,107,108,133,167,101,99,36,-111,-199,-238,-300,-356,-251,-107,-62,-103,-122,-116,-57,-28,-61,-67,-28,-47,-439,-728,-602,-228,161,321,347,85}}, // azimuth 65 degrees + {{0,1,1,1,1,1,1,0,2,-1,1,2,0,1,2,3,1,1,3,3,-2,3,7,5,-5,3,26,154,874,1204,-407,-1432,-245,173,276,1357,1370,912,1414,2619,3489,2699,1310,520,-116,-365,-188,-733,-1902,-2201,-1524,-949,-918,-895,-257,563,872,1005,1104,702,227,102,40,-126,-455,-827,-989,-941,-861,-804,-758,-715,-560,-258,-15,97,187,255,313,283,179,99,-63,-229,-298,-351,-406,-430,-416,-380,-354,-320,-246,-165,-106,-71,-16,17,10,19,3,-31,-83,-161,-230,-260,-234,-182,-168,-174,-147,-87,-28,-15,-17,-20,-16,-8,-7,-6,-18,-52,-112,-142,-129,-83,-88,-140,-165,-159,-122,-115,-118,-128,-116,-141,-162,-191,-241,-61},{65,-50,-19,61,1418,13938,6564,-23739,-16678,4804,6317,8525,6483,10697,26188,19786,-5685,-14320,-7234,-3502,491,-193,-7498,-10261,-8386,-3085,-70,-596,292,587,-94,-189,2738,3892,944,-279,135,1302,103,-2663,-2998,-2684,-2244,-1804,-1246,-862,-528,482,792,707,700,698,937,845,643,308,-207,-436,-716,-874,-874,-889,-846,-771,-546,-444,-49,286,-29,39,511,708,518,185,63,-21,-239,-458,-541,-477,-425,-430,-406,-253,-86,-34,25,-5,-58,58,128,-23,-212,-236,-149,-104,-108,-37,50,51,-20,-122,-273,-355,-247,-125,-41,28,77,115,162,133,44,60,39,-51,-134,-212,-339,-366,-215,-90,-61,-113,-125,-106,-51,-22,-50,-72,-47,-132,-537,-706,-507,-95,269,321,315,80}}, // azimuth 70 degrees + {{0,1,1,2,1,1,1,1,1,2,2,2,2,1,1,1,3,1,1,4,5,2,-2,6,4,0,11,35,225,700,831,-185,-1067,-64,852,134,-8,788,1252,1717,2627,3359,2867,1839,1233,299,-683,-780,-943,-1822,-2270,-1841,-1247,-832,-385,244,717,755,727,800,577,194,56,13,-231,-606,-842,-880,-827,-799,-758,-669,-591,-424,-196,-38,77,160,215,245,187,66,-39,-150,-266,-297,-277,-319,-375,-372,-353,-318,-276,-220,-129,-69,-28,-15,-32,-15,1,-24,-87,-148,-180,-201,-208,-187,-169,-171,-176,-156,-89,-29,0,-8,-18,-11,2,12,-1,-28,-80,-107,-105,-75,-76,-145,-187,-172,-126,-121,-140,-157,-140,-152,-159,-180,-223,-55},{159,-192,184,-191,3055,16079,424,-27736,-11028,7985,6295,7274,6239,15786,27300,12070,-10977,-12748,-5052,-574,2858,-2320,-9730,-9956,-7039,-2486,-747,-727,442,189,-826,118,3702,3338,130,-247,909,1929,-230,-2510,-2505,-2631,-2308,-1757,-1437,-1395,-623,487,507,471,703,868,920,810,834,540,-83,-350,-588,-789,-761,-725,-857,-924,-792,-586,-42,118,-164,47,550,717,437,206,172,87,-160,-394,-446,-452,-425,-395,-400,-269,-121,-56,-8,-79,-69,80,90,-81,-207,-161,-69,-56,-61,43,96,32,-67,-192,-301,-311,-197,-107,-55,26,85,110,146,76,3,47,67,40,-72,-211,-356,-335,-154,-82,-91,-129,-112,-84,-47,-25,-64,-92,-64,-195,-572,-658,-429,16,327,305,319,86}}, // azimuth 75 degrees + {{0,0,1,1,0,2,1,1,2,0,2,0,1,1,-1,1,0,0,-2,0,8,1,-3,-2,4,10,2,8,66,269,518,491,133,-97,27,-200,-538,152,1193,1597,1813,2498,3479,3485,2196,821,-136,-788,-1020,-1269,-2057,-2525,-1823,-733,-190,14,311,494,467,556,691,469,86,-62,-134,-353,-618,-730,-780,-791,-717,-644,-536,-460,-348,-168,-50,50,131,157,117,26,-57,-120,-183,-222,-244,-262,-276,-308,-311,-295,-269,-216,-163,-108,-63,-61,-64,-55,-50,-40,-72,-115,-130,-157,-181,-192,-198,-198,-190,-167,-126,-72,-11,13,14,11,13,18,0,-22,-54,-75,-84,-87,-120,-180,-205,-165,-111,-118,-138,-173,-165,-160,-149,-149,-190,-49},{216,-309,337,-367,4384,17007,-4316,-29273,-6702,9600,6048,5845,6994,19970,25738,5791,-13200,-10996,-2892,1939,3946,-4364,-11247,-9034,-5946,-2750,-1463,-537,505,-770,-1253,954,4083,2794,-176,-193,1326,2248,-294,-2422,-2211,-2151,-2100,-1995,-1770,-1602,-801,137,325,395,652,928,888,794,929,697,115,-197,-485,-685,-674,-637,-823,-1011,-950,-729,-162,-96,-305,87,545,645,400,246,289,177,-101,-322,-392,-378,-375,-402,-416,-313,-175,-105,-71,-156,-105,86,64,-108,-198,-112,-10,-17,8,99,92,-17,-124,-210,-321,-310,-181,-115,-38,38,62,49,46,23,17,74,80,46,-40,-178,-311,-286,-170,-118,-130,-145,-103,-100,-60,-43,-75,-98,-110,-265,-605,-607,-338,74,319,279,313,87}}, // azimuth 80 degrees + {{0,0,0,1,1,1,1,1,2,3,1,0,1,1,1,2,1,-1,0,2,6,5,-2,3,-2,11,5,8,11,83,336,395,711,834,-611,-1356,-164,449,581,1310,1782,2060,2991,3821,2981,1204,353,14,-885,-1693,-1953,-2157,-1929,-966,-91,112,11,46,204,466,578,442,221,-84,-197,-174,-358,-606,-730,-727,-660,-583,-500,-435,-378,-280,-157,-40,33,37,11,-23,-52,-114,-193,-189,-199,-235,-216,-211,-224,-224,-219,-211,-211,-173,-111,-97,-92,-91,-76,-53,-84,-102,-116,-143,-164,-210,-233,-213,-182,-141,-107,-80,-36,-3,42,59,30,-4,-36,-28,-38,-59,-79,-125,-181,-226,-218,-149,-94,-105,-132,-179,-174,-149,-122,-121,-166,-44},{258,-368,414,-451,4879,17348,-6480,-29724,-4533,10345,5854,4703,7740,22428,23627,1799,-13788,-9336,-943,3530,4380,-5577,-12139,-8225,-5150,-3292,-2248,-331,418,-1720,-1526,1492,4424,2482,-405,185,1642,2189,-357,-2169,-1937,-1887,-1663,-1931,-2179,-1879,-900,-166,-46,311,732,881,826,810,972,782,265,85,-298,-643,-619,-594,-743,-1015,-1040,-816,-343,-297,-422,72,531,560,400,321,361,248,-59,-234,-295,-303,-294,-401,-465,-348,-192,-131,-152,-225,-134,70,64,-112,-182,-87,20,49,61,125,94,-29,-126,-225,-335,-310,-173,-76,-11,6,-13,-26,8,-2,18,102,114,95,-1,-142,-261,-251,-171,-153,-165,-163,-113,-115,-75,-38,-58,-89,-125,-304,-618,-569,-276,115,301,239,301,88}}, // azimuth 85 degrees + {{0,0,1,2,2,0,1,2,0,2,2,2,2,-1,3,1,0,1,-3,5,6,-2,4,2,10,0,-1,16,-10,19,181,728,978,71,-698,-753,-493,432,1037,916,1422,2528,2960,2642,2394,1903,931,245,-285,-1454,-2555,-2145,-1084,-678,-354,30,30,-174,-97,304,478,305,105,-7,-121,-237,-285,-433,-653,-674,-583,-488,-419,-418,-349,-271,-230,-129,-42,-39,-76,-94,-98,-133,-195,-221,-207,-175,-153,-132,-112,-154,-195,-191,-196,-198,-182,-140,-85,-76,-90,-98,-125,-118,-119,-160,-193,-214,-212,-184,-147,-105,-67,-42,-18,-2,35,55,32,-6,-52,-61,-56,-56,-88,-148,-212,-252,-224,-149,-81,-79,-105,-158,-159,-129,-83,-77,-144,-42},{269,-368,392,-411,4329,17472,-5613,-30050,-4719,10788,5750,4024,7679,23175,22557,-132,-13809,-8009,731,4407,4530,-5780,-12678,-7833,-4630,-3714,-2941,-649,355,-2309,-1924,1666,4607,2514,-473,500,2028,2245,-509,-2164,-1541,-1574,-1562,-1784,-2077,-2114,-1293,-389,-246,47,643,930,788,747,962,862,382,254,-49,-507,-604,-579,-689,-970,-1062,-891,-478,-480,-541,18,477,533,365,327,422,295,13,-160,-215,-236,-256,-364,-482,-384,-216,-159,-197,-285,-169,34,32,-110,-154,-62,8,40,86,174,134,-32,-146,-227,-307,-268,-168,-109,-71,-54,-36,-51,-32,-53,-10,138,185,177,32,-139,-242,-228,-160,-204,-234,-186,-120,-125,-92,-29,-20,-63,-126,-334,-638,-560,-251,132,279,200,271,81}}, // azimuth 90 degrees + {{0,0,0,1,2,0,1,2,1,1,1,1,0,1,1,1,2,0,-2,6,-2,2,3,1,18,-4,3,-8,0,16,322,1136,654,-979,-920,139,269,122,700,1479,1802,2473,2795,1767,1135,1568,1541,520,-354,-975,-2108,-2411,-1053,152,72,-286,-140,-26,-101,1,196,224,31,-101,-115,-258,-425,-435,-464,-589,-572,-411,-310,-312,-328,-256,-197,-164,-88,-90,-139,-176,-186,-188,-237,-247,-225,-158,-76,-89,-109,-113,-129,-147,-180,-198,-180,-131,-85,-99,-128,-137,-161,-185,-197,-193,-192,-195,-175,-140,-102,-59,-18,1,17,17,7,1,-9,-28,-59,-79,-100,-104,-107,-142,-216,-262,-231,-156,-77,-59,-78,-124,-123,-100,-70,-61,-121,-37},{230,-282,240,-189,2839,17004,-1627,-29917,-7514,11014,5746,3748,6834,22104,23050,22,-13820,-7226,2002,4962,4619,-5049,-12806,-8067,-4310,-3897,-3534,-1526,164,-2347,-2496,1343,4724,2777,-423,801,2393,2461,-328,-2264,-1461,-1277,-1373,-1787,-2043,-1965,-1475,-836,-503,-65,423,787,844,770,873,868,493,385,125,-335,-484,-567,-678,-911,-1026,-945,-607,-563,-620,-52,407,454,339,314,446,350,71,-93,-159,-191,-230,-334,-442,-373,-239,-188,-208,-310,-219,-14,0,-125,-149,-52,1,23,88,203,163,-14,-129,-168,-250,-269,-190,-177,-144,-90,-46,-52,-68,-82,-14,162,241,235,93,-98,-239,-243,-191,-245,-273,-213,-118,-123,-90,-3,26,-23,-126,-340,-640,-561,-246,100,245,180,243,74}}, // azimuth 95 degrees + {{0,0,0,1,1,1,1,-1,1,2,1,0,-1,1,0,-2,3,-3,-1,2,-2,3,-7,8,7,7,0,-21,-13,178,937,895,-611,-1156,-375,304,670,689,686,1462,2821,2770,1411,945,924,754,881,680,-86,-1016,-1619,-1637,-1128,-67,700,345,-266,-160,125,-40,-165,-24,22,-111,-335,-457,-486,-497,-454,-482,-507,-385,-228,-188,-230,-189,-113,-117,-138,-147,-152,-198,-283,-308,-297,-251,-193,-177,-153,-117,-87,-75,-82,-111,-137,-117,-94,-117,-142,-142,-142,-180,-242,-273,-261,-212,-171,-154,-132,-100,-51,-8,23,27,19,20,-1,-46,-72,-82,-94,-105,-118,-129,-150,-169,-210,-235,-206,-165,-103,-59,-47,-73,-81,-83,-77,-82,-124,-34},{125,-64,-63,202,932,15064,4917,-27801,-13193,10564,6245,3399,5717,19156,24484,2810,-13912,-7413,2901,5514,4778,-3658,-12391,-8885,-4286,-3729,-3850,-2907,-426,-1861,-2972,492,4414,3420,-58,680,2665,2946,195,-2246,-1471,-1179,-1330,-1590,-2061,-2056,-1405,-924,-909,-393,299,671,737,768,885,864,507,447,333,-194,-383,-461,-616,-868,-1036,-960,-688,-583,-648,-181,341,389,296,290,408,396,130,-62,-108,-175,-220,-278,-390,-332,-217,-200,-212,-319,-276,-83,-28,-157,-208,-60,35,29,54,191,204,50,-73,-132,-231,-297,-214,-180,-180,-155,-95,-58,-44,-44,-19,129,239,287,188,-35,-253,-311,-244,-262,-276,-230,-122,-104,-74,27,48,-6,-99,-310,-620,-575,-280,48,186,148,235,73}}, // azimuth 100 degrees + {{3,3,3,5,4,3,4,3,3,4,4,5,5,6,3,5,6,3,7,1,9,5,2,9,13,16,0,-2,54,826,1233,-457,-1537,-480,374,510,611,937,1554,2408,2826,2042,779,170,484,558,-14,-104,-42,-555,-1252,-1225,-510,-90,402,922,596,-15,-101,36,-179,-312,-130,-198,-484,-719,-671,-482,-503,-519,-431,-307,-180,-78,-3,-35,-75,-84,-90,-101,-172,-239,-313,-371,-322,-266,-262,-263,-228,-146,-85,-64,-56,-27,11,-19,-66,-99,-131,-150,-198,-255,-296,-302,-265,-214,-151,-95,-61,-30,-6,14,38,38,37,29,-9,-67,-117,-132,-115,-106,-128,-138,-160,-182,-188,-180,-165,-157,-111,-48,-8,-19,-34,-66,-87,-105,-138,-35},{-63,218,-388,556,-454,10925,11848,-21287,-20684,7730,7887,2664,4644,14945,24994,8494,-12984,-9159,3322,6259,5005,-1844,-11281,-9971,-4727,-3456,-3715,-4305,-1860,-1129,-2962,-799,3566,4040,831,505,2435,3404,1320,-1949,-1667,-964,-1388,-1614,-1891,-2110,-1669,-940,-903,-747,-157,541,775,643,807,962,604,365,429,49,-280,-374,-521,-772,-1021,-1015,-733,-556,-683,-330,285,381,240,199,332,415,199,-34,-90,-146,-205,-215,-294,-303,-204,-193,-208,-310,-341,-176,-76,-161,-235,-118,-2,44,64,173,238,105,-39,-127,-217,-295,-235,-183,-206,-201,-131,-62,-17,-4,-24,92,205,284,249,39,-216,-373,-322,-284,-273,-222,-131,-82,-61,18,66,16,-74,-256,-583,-598,-336,-36,117,122,212,64}}, // azimuth 105 degrees + {{-1,-1,-1,-1,0,0,0,-1,-3,-3,-1,-2,-2,-2,-3,1,-4,0,-4,-4,2,-3,-4,-2,9,-11,15,1,627,1495,50,-1881,-1159,354,832,699,722,1287,2583,3470,2266,511,85,258,59,-284,-409,-666,-744,-412,-447,-761,-485,217,550,806,1190,823,16,-268,-212,-249,-394,-538,-708,-815,-801,-722,-578,-542,-505,-280,-35,104,103,28,1,15,8,-69,-204,-286,-304,-340,-407,-434,-395,-336,-271,-231,-179,-65,22,50,57,34,-19,-90,-150,-200,-261,-299,-321,-322,-267,-202,-139,-71,-25,0,-17,-23,14,21,29,12,-61,-127,-157,-147,-131,-138,-165,-171,-158,-160,-187,-184,-170,-160,-102,-51,-15,-17,-27,-72,-132,-164,-173,-40},{-213,363,-456,482,-581,5351,15555,-9402,-26294,151,10270,2522,3113,10711,22951,15607,-8742,-12359,2215,7508,5403,181,-9391,-10920,-5669,-3459,-3226,-4857,-4131,-1204,-2053,-2025,2007,4381,1926,537,2125,3417,2516,-957,-1901,-847,-1136,-1697,-1949,-2033,-1886,-1237,-957,-786,-478,30,703,748,690,880,772,420,393,238,-117,-286,-426,-653,-912,-1039,-863,-533,-630,-505,136,385,231,86,206,408,270,4,-95,-114,-132,-163,-229,-276,-198,-166,-227,-325,-389,-275,-136,-159,-276,-194,-42,46,103,148,220,126,-10,-73,-185,-316,-288,-191,-171,-198,-173,-84,-41,5,-6,53,172,221,232,113,-128,-368,-416,-324,-241,-202,-135,-88,-85,-15,71,43,-59,-190,-518,-640,-423,-130,60,81,148,47}}, // azimuth 110 degrees + {{3,3,1,4,3,2,4,2,2,1,4,1,3,3,5,5,4,3,1,5,4,8,-5,21,-9,14,-2,424,1685,712,-1977,-1821,5,894,1011,877,1211,2460,3689,2945,954,-172,-302,-57,-240,-846,-1106,-993,-888,-695,-138,63,-244,68,828,1239,1293,1123,636,-83,-366,-316,-544,-857,-971,-888,-823,-889,-839,-606,-376,-191,15,183,189,152,185,171,79,-59,-124,-176,-336,-441,-485,-478,-442,-439,-378,-276,-151,-40,28,97,119,98,39,-91,-176,-200,-233,-271,-299,-271,-218,-162,-103,-65,-31,-9,-5,-8,6,27,19,-39,-105,-132,-129,-131,-141,-129,-110,-111,-144,-166,-177,-163,-139,-136,-97,-47,-7,8,-14,-85,-152,-179,-162,-34},{-166,169,-96,-56,176,812,13197,4587,-24082,-11867,10023,4800,989,6842,18537,20624,157,-14028,-2197,8688,6488,1972,-6569,-11323,-6905,-3892,-3007,-4156,-5968,-3025,-1178,-2082,31,3799,3167,761,1764,3357,3365,422,-1798,-816,-702,-1553,-2060,-2097,-2013,-1532,-1116,-1025,-600,-250,299,744,739,782,795,558,481,374,8,-180,-282,-504,-804,-966,-931,-631,-519,-613,-142,333,283,92,76,304,325,77,-38,-39,-59,-121,-161,-222,-222,-169,-229,-305,-387,-358,-217,-172,-263,-227,-56,49,90,99,195,196,48,-54,-127,-272,-333,-199,-114,-144,-177,-132,-69,1,27,44,127,180,206,149,-33,-279,-411,-361,-230,-152,-126,-114,-99,-34,62,80,-19,-131,-421,-642,-482,-197,-33,35,132,44}}, // azimuth 115 degrees + {{0,1,1,1,1,1,-1,1,-1,0,1,0,-1,2,2,3,3,-3,4,-6,11,-9,11,4,-3,9,206,1667,1506,-1784,-2613,-440,925,1137,985,1276,2506,4079,3574,1038,-345,-323,-201,-511,-1073,-1275,-1421,-1382,-887,-451,-162,182,350,309,801,1524,1480,1071,784,486,-46,-631,-892,-1014,-1046,-1020,-1063,-1018,-874,-613,-334,-179,-21,173,322,357,293,217,159,92,-68,-281,-424,-455,-464,-535,-578,-525,-412,-290,-186,-82,25,131,148,51,-21,-55,-117,-203,-246,-220,-201,-194,-187,-181,-156,-113,-54,-26,-19,-4,-5,-19,-52,-109,-142,-154,-147,-126,-100,-62,-48,-76,-151,-218,-212,-158,-125,-127,-128,-95,-18,3,-38,-120,-173,-172,-150,-32},{55,-178,291,-392,479,-558,6311,13202,-11443,-21989,2511,8791,488,2620,13182,21169,10409,-9535,-8638,6732,8980,3416,-3157,-10472,-8539,-4358,-3587,-3151,-5819,-5716,-2059,-1323,-1054,2100,3885,1525,1231,3110,3853,2146,-1276,-1186,-77,-1038,-2028,-2237,-2129,-1901,-1289,-1178,-983,-454,-10,517,716,748,810,647,526,566,227,-137,-208,-314,-616,-884,-904,-741,-533,-631,-464,134,323,145,11,155,350,215,22,1,9,-45,-119,-201,-254,-212,-213,-292,-400,-456,-343,-175,-166,-221,-119,-9,39,73,159,228,94,-48,-71,-145,-286,-267,-150,-124,-143,-141,-117,-66,8,45,97,165,181,138,10,-186,-357,-360,-234,-134,-109,-140,-137,-89,9,83,10,-82,-313,-616,-560,-282,-123,-27,84,33}}, // azimuth 120 degrees + {{1,1,2,1,2,0,2,0,1,2,0,1,2,4,3,7,-1,7,-5,11,-1,-2,21,-19,42,62,1470,2250,-1244,-3364,-1103,873,1375,1170,1186,2495,4517,4429,1521,-575,-814,-440,-306,-1037,-1682,-1871,-1707,-1223,-789,-206,77,95,520,1004,1199,1202,1262,1152,876,727,219,-603,-1109,-1160,-1126,-1198,-1164,-1013,-812,-623,-422,-144,57,214,379,428,418,365,232,40,-170,-272,-336,-451,-551,-605,-581,-518,-433,-323,-223,-67,60,61,50,39,5,-45,-103,-135,-148,-132,-128,-164,-196,-204,-183,-135,-84,-31,-3,-11,-36,-87,-120,-146,-176,-173,-128,-58,-1,25,7,-62,-170,-246,-239,-172,-123,-124,-139,-120,-51,-40,-65,-106,-129,-124,-129,-31},{110,-167,142,-48,-78,187,649,11344,4966,-20241,-11386,8622,3958,-897,6982,17994,17060,425,-10402,26,10081,5995,-318,-7583,-10103,-5252,-3840,-3613,-4169,-6627,-4719,-1683,-943,533,3234,2699,952,2505,3886,3483,527,-1607,-303,-74,-1465,-2369,-2280,-2130,-1731,-1254,-1177,-770,-349,172,620,720,812,793,553,566,565,102,-225,-255,-375,-666,-834,-822,-654,-626,-656,-213,230,235,53,71,293,333,155,49,57,0,-99,-165,-253,-255,-237,-334,-419,-463,-381,-212,-127,-175,-177,-61,16,52,73,177,180,37,-20,-66,-188,-280,-216,-134,-130,-139,-131,-108,-25,45,74,152,180,148,38,-129,-286,-340,-209,-96,-95,-157,-181,-138,-62,49,44,-49,-217,-533,-607,-350,-204,-110,29,20}}, // azimuth 125 degrees + {{0,2,-1,2,1,0,0,-1,2,-1,0,-1,4,-1,6,-3,8,-3,2,11,-19,35,-33,50,-7,1162,2864,-394,-4038,-1979,737,1534,1465,1293,2430,4743,5231,2177,-559,-1056,-791,-592,-1128,-1624,-1962,-2238,-1806,-1084,-334,11,118,412,759,1420,1509,963,798,954,1061,637,79,-400,-987,-1225,-1247,-1219,-1153,-1037,-794,-582,-337,-64,119,233,367,535,523,288,92,4,-97,-239,-391,-485,-552,-609,-566,-482,-420,-316,-200,-112,-38,2,30,18,-24,-37,-31,-28,-72,-120,-145,-169,-183,-201,-185,-137,-90,-37,-27,-62,-100,-148,-186,-192,-160,-114,-67,1,65,87,44,-72,-221,-289,-256,-187,-137,-134,-153,-147,-106,-85,-62,-72,-76,-80,-117,-31},{-56,101,-186,236,-276,284,-337,3712,12141,-4866,-20126,-1589,8194,-276,727,11760,18553,10403,-4867,-5567,6395,8580,2344,-3680,-9413,-7746,-3574,-4032,-4102,-5268,-6304,-3758,-1487,-211,1992,3167,1509,1570,3555,4027,2504,-558,-1065,141,-479,-1905,-2497,-2303,-2081,-1626,-1331,-959,-536,-257,267,595,788,958,765,432,539,506,33,-242,-317,-465,-669,-793,-781,-678,-719,-570,-40,251,160,59,202,405,335,111,28,17,-84,-152,-215,-322,-336,-364,-399,-405,-397,-304,-188,-135,-154,-102,-36,-10,20,99,219,160,8,-73,-132,-220,-233,-175,-163,-171,-149,-94,-42,11,24,89,186,175,72,-90,-239,-318,-228,-80,-60,-160,-240,-200,-130,-24,32,-41,-153,-417,-614,-429,-279,-220,-49,5}}, // azimuth 130 degrees + {{1,1,0,1,-1,-1,-2,2,-1,0,-2,4,-1,5,-3,4,7,-14,22,-28,35,-21,36,-11,803,3244,750,-4472,-3110,485,1632,1765,1518,2511,5036,5863,2735,-521,-1210,-952,-691,-1284,-2032,-2138,-2270,-2112,-1574,-811,-82,230,363,760,1460,1504,1155,947,585,670,761,322,-175,-433,-556,-972,-1341,-1353,-1103,-813,-684,-444,-188,-58,167,396,431,351,289,273,162,-75,-224,-273,-364,-489,-549,-548,-496,-390,-361,-352,-251,-121,-49,-54,-51,-6,44,39,-14,-70,-109,-110,-127,-153,-175,-187,-157,-117,-90,-77,-95,-146,-186,-184,-164,-156,-125,-68,-6,64,104,103,22,-126,-267,-320,-268,-197,-167,-160,-159,-174,-146,-83,-32,-39,-51,-53,-89,-26},{-60,44,-29,-53,138,-242,320,-228,6785,9277,-11636,-15242,4069,4692,-2098,4103,14464,16220,4763,-5386,695,8786,4843,-1012,-5564,-9004,-5705,-3081,-4492,-4863,-5769,-5339,-2886,-1370,533,2871,2638,1124,2444,4146,3686,1386,-889,-398,209,-1055,-2320,-2507,-2315,-1946,-1509,-1306,-759,-339,-30,384,632,870,955,671,417,531,366,-45,-220,-365,-562,-715,-779,-711,-690,-752,-423,90,232,176,228,399,410,194,28,-14,-50,-149,-240,-341,-381,-308,-320,-393,-430,-376,-242,-124,-122,-134,-55,-25,18,71,158,199,50,-66,-87,-136,-197,-196,-167,-165,-160,-93,-47,-26,14,46,158,206,120,-14,-193,-296,-251,-113,-49,-123,-226,-233,-170,-99,-22,-47,-108,-267,-548,-513,-334,-286,-128,-7}}, // azimuth 135 degrees + {{2,0,1,-1,1,-3,2,1,1,-3,5,2,2,2,-4,14,-18,27,-28,24,-4,14,29,466,3368,2028,-4543,-4410,79,1682,1966,1847,2734,5409,6507,3251,-488,-1429,-1194,-736,-1291,-2279,-2376,-2585,-2445,-1772,-1072,-284,63,283,793,1541,1799,1294,857,633,734,455,-149,-174,-208,-359,-580,-907,-1081,-1100,-904,-648,-455,-251,5,170,186,235,326,315,222,94,-46,-139,-234,-335,-409,-450,-445,-395,-394,-430,-356,-239,-167,-163,-153,-56,23,50,12,-67,-83,-68,-76,-114,-144,-137,-133,-123,-121,-137,-145,-151,-154,-155,-159,-160,-137,-106,-50,1,41,83,97,76,-25,-178,-303,-327,-272,-215,-189,-167,-158,-163,-103,-48,-12,-8,-24,-30,-70,-23},{51,-92,93,-93,52,6,-89,148,549,8627,5053,-14496,-9398,5566,979,-1401,7039,14896,13141,1597,-2879,5457,7941,670,-3155,-5944,-7943,-4263,-3360,-5237,-5298,-5608,-4194,-2263,-1166,1095,3083,2339,1400,3160,4127,2942,708,-720,6,-140,-1665,-2521,-2519,-2207,-1740,-1477,-1178,-542,-132,240,637,800,776,727,592,542,532,106,-215,-251,-394,-606,-747,-750,-688,-720,-668,-202,241,312,285,317,376,277,54,-73,-102,-129,-214,-288,-336,-328,-297,-361,-422,-416,-328,-173,-83,-106,-81,-2,33,44,43,112,103,-13,-61,-75,-129,-187,-161,-132,-151,-129,-71,-43,-5,61,124,189,155,31,-126,-264,-278,-183,-95,-82,-161,-242,-203,-141,-84,-82,-129,-150,-392,-563,-408,-318,-207,-26}}, // azimuth 140 degrees + {{-1,3,-4,0,-3,-1,-1,-1,-3,2,4,-1,6,-12,21,-21,22,-14,1,20,-23,83,215,3247,3288,-4217,-5786,-496,1731,2049,2143,3087,5960,7146,3686,-433,-1571,-1469,-952,-1312,-2542,-2554,-2589,-2813,-2257,-1385,-337,128,194,565,1482,2112,1511,1008,761,516,438,-6,-487,-721,-634,-543,-651,-730,-676,-568,-690,-520,24,190,57,69,214,305,222,70,-9,-110,-210,-235,-262,-359,-397,-358,-380,-385,-371,-295,-198,-199,-184,-128,-51,-1,-24,-92,-139,-101,-55,-69,-118,-131,-109,-95,-106,-149,-175,-184,-170,-134,-130,-133,-122,-103,-79,-61,-21,29,69,80,49,-13,-104,-211,-311,-329,-289,-250,-207,-159,-127,-98,-40,-22,4,5,-8,-36,-117,-37},{-14,37,-77,87,-117,107,-88,34,-19,1540,9137,1213,-14395,-4854,4301,-1213,481,8461,14117,10638,879,668,7638,4985,-2457,-3654,-5831,-6956,-3449,-4120,-5706,-5298,-5159,-3246,-1785,-798,1422,3009,2238,1942,3634,3653,2164,360,-374,106,-861,-2160,-2440,-2364,-2145,-1715,-1340,-929,-283,156,494,818,855,768,671,452,450,398,-63,-357,-408,-435,-556,-760,-819,-697,-566,-354,79,332,301,268,259,226,102,-43,-130,-156,-157,-199,-271,-362,-368,-353,-390,-371,-341,-266,-134,-55,-35,-19,-17,-20,-8,27,86,54,-33,-59,-55,-116,-178,-143,-124,-137,-105,-46,-6,38,94,143,162,61,-102,-245,-290,-212,-134,-100,-134,-210,-218,-162,-124,-129,-180,-158,-203,-486,-495,-342,-291,-63}}, // azimuth 145 degrees + {{2,-2,0,-4,-1,0,-3,-3,-3,6,-4,9,-17,17,-17,11,-2,-19,41,-60,123,70,2957,4390,-3483,-7127,-1332,1807,2061,2365,3477,6655,7897,4038,-380,-1647,-1706,-1186,-1420,-2898,-2864,-2526,-2916,-2592,-1816,-646,202,289,505,1416,2105,1664,1242,770,608,721,-129,-712,-881,-1041,-943,-862,-673,-510,-364,-158,-11,36,89,234,305,276,221,76,-56,-93,-221,-350,-335,-273,-275,-352,-420,-423,-338,-275,-244,-181,-114,-61,-57,-44,-49,-122,-173,-181,-137,-113,-118,-106,-109,-101,-114,-134,-174,-225,-196,-117,-87,-107,-116,-85,-38,-52,-59,-36,2,37,43,34,-32,-99,-170,-250,-322,-338,-299,-235,-176,-146,-78,-15,27,8,-1,-17,-33,-84,-203,-60},{-13,8,10,-51,74,-118,134,-147,122,-113,2417,8787,-1462,-12736,-2424,2091,-1652,2137,8595,13156,9242,1835,3720,7199,1507,-3678,-3361,-5727,-6220,-3392,-4744,-5740,-5058,-4626,-2646,-1355,-231,1724,2777,2223,2508,3749,3037,1589,191,-289,-174,-1361,-2334,-2422,-2278,-1966,-1578,-1214,-610,70,379,654,935,916,789,672,392,257,68,-269,-380,-459,-563,-694,-742,-624,-477,-372,-141,226,277,158,190,212,142,-3,-94,-90,-121,-201,-290,-353,-385,-350,-341,-371,-342,-277,-156,-53,-34,-64,-55,-39,-32,-8,17,72,38,-24,-31,-49,-130,-175,-115,-90,-96,-76,-24,12,76,116,107,61,-79,-204,-266,-210,-147,-137,-151,-168,-187,-183,-156,-177,-190,-220,-120,-280,-517,-394,-321,-82}}, // azimuth 150 degrees + {{-1,0,-2,-3,2,-3,-2,-4,6,-4,12,-16,14,-10,-1,12,-35,58,-75,122,35,2637,5180,-2487,-8234,-2394,1881,2068,2512,3856,7441,8778,4339,-372,-1698,-1898,-1398,-1520,-3258,-3382,-2597,-2900,-2763,-2081,-962,93,312,544,1437,2262,1730,1002,1017,1069,694,-257,-855,-1044,-1104,-1075,-1167,-1200,-844,-68,258,214,333,432,445,409,374,234,46,-68,-167,-341,-459,-408,-353,-395,-443,-416,-393,-345,-295,-219,-71,36,66,6,-49,-54,-102,-194,-239,-206,-161,-136,-151,-159,-142,-155,-180,-215,-218,-142,-71,-48,-70,-76,-40,-5,-7,-43,-38,-17,1,9,-12,-52,-95,-137,-221,-299,-340,-320,-266,-190,-134,-83,3,37,48,5,-17,-62,-107,-167,-259,-69},{23,-27,24,-7,-32,56,-107,139,-171,178,-145,3035,8008,-2816,-10663,-1876,223,-1016,2906,8157,12471,8924,3462,5281,5319,-1294,-3503,-2776,-5910,-5657,-3714,-5156,-5383,-4923,-4002,-2060,-1033,281,1948,2670,2334,2880,3374,2411,1348,61,-329,-678,-1777,-2199,-2328,-2256,-1869,-1304,-863,-329,247,511,835,1027,952,805,580,334,172,-150,-467,-515,-529,-592,-708,-667,-442,-257,-240,-159,114,208,222,229,157,100,12,-65,-143,-217,-286,-317,-344,-404,-368,-344,-313,-255,-213,-116,-38,-25,-52,-73,-77,-38,0,33,72,44,-9,-23,-40,-122,-143,-93,-82,-86,-61,-18,33,74,78,49,-45,-164,-236,-211,-137,-121,-171,-192,-170,-159,-165,-208,-209,-255,-169,-111,-354,-468,-348,-71}}, // azimuth 155 degrees + {{-3,-2,-4,2,-2,-3,-6,6,-5,9,-14,8,-3,-8,15,-42,59,-68,98,37,2408,5628,-1439,-8913,-3654,1859,2134,2593,4250,8157,9720,4708,-346,-1718,-2151,-1588,-1584,-3547,-3916,-2907,-3007,-2875,-2179,-1131,10,235,484,1572,2258,1758,1401,1174,806,663,-112,-867,-1135,-1253,-1278,-1390,-1292,-898,-347,6,276,665,889,867,595,314,253,200,-19,-195,-331,-499,-540,-515,-506,-521,-546,-481,-317,-238,-202,-23,142,149,61,12,-6,-70,-157,-225,-218,-212,-220,-228,-253,-244,-236,-223,-209,-187,-114,-20,5,-24,-24,-4,18,13,-3,-29,-42,-30,-36,-73,-110,-97,-93,-160,-273,-339,-344,-273,-182,-138,-97,-24,54,61,40,-23,-68,-150,-204,-221,-279,-73},{-14,28,-33,30,-22,-11,32,-85,123,-176,202,-143,3369,7167,-3093,-9006,-2463,-776,-194,2919,7813,12148,9193,4988,5312,3118,-2740,-3117,-2151,-5863,-5843,-3859,-5093,-5291,-4690,-3298,-1460,-737,579,2172,2723,2384,2861,2928,1896,1113,12,-497,-1109,-2010,-2143,-2166,-2093,-1707,-1069,-583,-49,395,582,940,1093,898,702,504,274,141,-146,-478,-654,-694,-610,-618,-591,-454,-320,-271,-122,124,217,290,292,181,61,-31,-87,-156,-252,-361,-385,-388,-406,-362,-329,-271,-212,-170,-79,-31,-38,-63,-82,-72,-35,11,59,79,42,22,17,-39,-143,-156,-99,-101,-103,-81,-21,46,75,39,-46,-141,-212,-184,-139,-124,-165,-202,-176,-143,-151,-224,-239,-257,-244,-129,-149,-391,-420,-82}}, // azimuth 160 degrees + {{-2,-4,2,-2,-3,-5,7,-6,10,-11,7,-2,-8,16,-42,52,-52,77,44,2318,5792,-568,-9043,-4917,1550,2302,2650,4673,8800,10498,5171,-186,-1644,-2416,-1858,-1663,-3760,-4364,-3264,-3221,-3148,-2297,-1150,-17,314,381,1334,2499,2236,1420,1054,867,667,-190,-871,-1098,-1486,-1591,-1339,-1138,-990,-590,-189,199,686,974,1019,882,646,410,224,70,-85,-328,-574,-630,-556,-591,-697,-680,-557,-336,-190,-113,-1,79,189,198,106,47,-21,-84,-161,-213,-241,-307,-356,-377,-337,-276,-249,-213,-165,-80,19,55,27,25,42,49,37,17,12,-32,-72,-96,-115,-140,-137,-93,-107,-190,-284,-310,-281,-203,-144,-96,-41,3,65,60,23,-74,-154,-225,-248,-252,-292,-72},{10,-13,24,-28,31,-30,6,12,-56,95,-152,194,-113,3433,6490,-2637,-8047,-3450,-1048,274,2800,7761,11757,9778,6037,4396,1222,-3131,-2527,-2208,-5559,-5730,-4452,-4784,-4946,-4485,-2676,-995,-302,716,2276,2937,2225,2453,2613,1760,790,-215,-675,-1382,-1966,-2064,-2073,-1903,-1498,-791,-359,58,469,742,938,895,844,711,503,341,170,-174,-540,-662,-638,-647,-683,-667,-580,-430,-323,-82,240,321,299,250,203,157,24,-109,-237,-359,-413,-400,-407,-416,-362,-296,-230,-205,-154,-98,-64,-29,-45,-34,-29,-13,36,84,98,51,12,-6,-63,-150,-170,-163,-139,-113,-57,20,43,23,-44,-105,-180,-193,-146,-128,-155,-174,-151,-142,-150,-211,-245,-253,-264,-249,-110,-205,-416,-106}}, // azimuth 165 degrees + {{-5,1,-1,-2,-6,5,-5,9,-12,6,-7,-9,11,-36,40,-50,80,30,2365,5817,-127,-8729,-5823,841,2455,2789,5095,9441,11005,5595,154,-1452,-2591,-2179,-1859,-3991,-4704,-3594,-3484,-3457,-2590,-1180,140,186,223,1690,2746,2165,1454,1133,933,666,-164,-1010,-1468,-1525,-1380,-1378,-1419,-1120,-434,-11,167,375,685,1038,1032,832,705,483,156,-71,-274,-543,-707,-710,-700,-744,-737,-626,-405,-250,-144,57,195,227,183,154,157,88,-36,-170,-242,-302,-383,-437,-453,-405,-337,-275,-213,-154,-73,36,93,65,42,57,77,59,38,21,-29,-84,-124,-155,-188,-191,-125,-86,-132,-208,-259,-245,-214,-176,-120,-80,-41,16,58,26,-60,-160,-217,-264,-281,-299,-269,-55},{-8,9,-10,18,-24,26,-29,11,-3,-36,65,-118,163,-65,3297,6067,-1890,-7711,-4332,-1078,524,3047,7551,11223,10553,6459,3095,-7,-3006,-2072,-2371,-5617,-5398,-4308,-4961,-4696,-3754,-2314,-746,120,932,2153,2789,2399,2256,1912,1500,943,-387,-1127,-1461,-1774,-1905,-1928,-1770,-1323,-604,-125,181,371,623,956,990,813,695,604,336,35,-233,-415,-512,-562,-641,-849,-915,-726,-450,-268,-79,167,346,426,362,254,149,23,-139,-301,-387,-400,-383,-410,-424,-385,-308,-236,-223,-198,-123,-22,37,27,14,16,38,70,76,71,37,-8,-36,-97,-167,-200,-182,-145,-89,-30,13,6,-42,-94,-158,-182,-173,-132,-140,-133,-95,-107,-140,-204,-214,-250,-255,-325,-232,-98,-288,-99}}, // azimuth 170 degrees + {{1,0,-1,-6,5,-5,12,-12,10,-12,-3,7,-32,39,-58,92,18,2510,5813,-132,-8244,-6092,-97,2315,3093,5543,10031,11327,5887,602,-1153,-2597,-2378,-2202,-4329,-4921,-3877,-3771,-3766,-2857,-1374,-132,435,679,1584,2627,2346,1696,1215,968,689,-405,-1194,-1331,-1411,-1649,-1704,-1371,-947,-369,-76,79,431,682,843,899,855,778,644,430,132,-247,-578,-749,-761,-760,-800,-760,-669,-527,-336,-118,105,233,290,305,264,195,98,-43,-186,-307,-379,-401,-452,-485,-453,-380,-274,-206,-147,-66,28,118,110,57,42,72,89,54,31,-5,-79,-129,-159,-198,-216,-175,-89,-67,-128,-183,-203,-194,-194,-168,-101,-61,-19,20,11,-50,-145,-203,-233,-287,-328,-315,-178,-21},{-1,-4,6,-6,14,-19,23,-24,9,-4,-27,46,-83,127,-14,3059,5872,-1184,-7720,-5029,-1050,1029,3402,6906,10794,11172,6339,1940,-663,-2666,-2018,-2579,-5296,-5348,-4130,-4391,-4627,-3557,-1768,-367,326,921,1994,2589,2375,2328,1676,926,612,-174,-1040,-1622,-1746,-1739,-1760,-1611,-1146,-454,-125,82,404,712,922,991,867,628,450,309,222,-53,-387,-506,-637,-823,-924,-879,-720,-536,-363,-111,189,375,431,394,295,161,16,-125,-258,-348,-391,-402,-430,-467,-413,-339,-286,-241,-181,-83,17,82,94,74,29,46,68,58,43,27,3,-84,-145,-188,-198,-177,-135,-67,-32,-34,-63,-89,-149,-189,-186,-141,-124,-102,-40,-37,-95,-202,-204,-227,-256,-327,-339,-156,-144,-51}}, // azimuth 175 degrees + {{-2,0,-4,5,-5,11,-14,14,-17,2,2,-31,42,-68,105,5,2712,5838,-457,-7881,-5773,-865,1733,3400,6127,10471,11469,6185,1166,-923,-2513,-2305,-2520,-4795,-5127,-4081,-4098,-3945,-3351,-1885,94,648,677,1666,2608,2458,1988,1485,980,382,-510,-880,-1213,-1798,-1921,-1670,-1349,-945,-437,-133,76,406,786,1012,857,630,667,659,470,268,-74,-474,-756,-799,-741,-821,-869,-758,-501,-328,-182,121,344,426,366,266,223,107,-74,-255,-362,-387,-411,-456,-486,-453,-376,-286,-212,-157,-66,57,125,113,69,44,61,67,60,53,17,-49,-116,-163,-202,-205,-176,-116,-59,-54,-91,-137,-157,-182,-191,-153,-107,-57,-15,-3,-44,-139,-194,-212,-251,-318,-357,-257,-104,-14},{-2,0,-4,5,-5,11,-14,14,-17,2,2,-31,42,-68,105,5,2712,5838,-457,-7881,-5773,-865,1733,3400,6127,10471,11469,6185,1166,-923,-2513,-2305,-2520,-4795,-5127,-4081,-4098,-3945,-3351,-1885,94,648,677,1666,2608,2458,1988,1485,980,382,-510,-880,-1213,-1798,-1921,-1670,-1349,-945,-437,-133,76,406,786,1012,857,630,667,659,470,268,-74,-474,-756,-799,-741,-821,-869,-758,-501,-328,-182,121,344,426,366,266,223,107,-74,-255,-362,-387,-411,-456,-486,-453,-376,-286,-212,-157,-66,57,125,113,69,44,61,67,60,53,17,-49,-116,-163,-202,-205,-176,-116,-59,-54,-91,-137,-157,-182,-191,-153,-107,-57,-15,-3,-44,-139,-194,-212,-251,-318,-357,-257,-104,-14}}, // azimuth 180 degrees +}; +inline constexpr std::int16_t pcm48000_m10[37][2][hrir::taps]={ + {{8,-12,23,-24,15,-10,-20,53,-104,129,-145,141,18,4124,7752,-5657,-8386,3133,-3011,-1673,10676,7837,2015,8551,15970,1498,-12231,-935,2147,-11363,-10395,1013,-1923,-8565,-3044,2578,1541,-411,1181,4390,3455,1615,3127,3049,-415,-1232,468,-455,-3044,-3740,-2617,-2875,-3747,-2440,-1277,-1406,-192,1550,1678,1554,1896,1938,1586,1083,591,306,78,-622,-1031,-922,-1161,-1507,-1351,-1015,-968,-817,-378,-4,61,247,665,770,671,558,478,348,19,-318,-395,-390,-624,-692,-466,-442,-556,-446,-217,-68,-14,96,262,196,112,221,277,182,29,-41,-146,-344,-432,-440,-421,-377,-320,-196,-72,-15,35,93,76,22,14,14,-9,-34,-55,-121,-169,-172,-162,-133,-97,-56,-71,-37,4,4,55,21},{8,-12,23,-24,15,-10,-20,53,-104,129,-145,141,18,4124,7752,-5657,-8386,3133,-3011,-1673,10676,7837,2015,8551,15970,1498,-12231,-935,2147,-11363,-10395,1013,-1923,-8565,-3044,2578,1541,-411,1181,4390,3455,1615,3127,3049,-415,-1232,468,-455,-3044,-3740,-2617,-2875,-3747,-2440,-1277,-1406,-192,1550,1678,1554,1896,1938,1586,1083,591,306,78,-622,-1031,-922,-1161,-1507,-1351,-1015,-968,-817,-378,-4,61,247,665,770,671,558,478,348,19,-318,-395,-390,-624,-692,-466,-442,-556,-446,-217,-68,-14,96,262,196,112,221,277,182,29,-41,-146,-344,-432,-440,-421,-377,-320,-196,-72,-15,35,93,76,22,14,14,-9,-34,-55,-121,-169,-172,-162,-133,-97,-56,-71,-37,4,4,55,21}}, // azimuth 0 degrees + {{-2,7,-10,17,-18,12,-8,-16,45,-84,104,-115,116,38,3575,6844,-4472,-7199,2520,-2666,-1759,9068,7217,2290,7323,14079,2830,-9846,-1481,1926,-9287,-9522,68,-1682,-7406,-3298,1590,1263,-317,831,3705,3150,1669,3060,2851,-279,-960,309,-538,-2590,-3099,-2136,-2513,-3311,-2036,-919,-1294,-711,889,1357,1223,1341,1461,1466,1154,675,398,112,-528,-823,-755,-1075,-1436,-1257,-944,-893,-720,-323,15,56,178,540,650,535,424,419,337,40,-282,-358,-302,-511,-628,-460,-405,-456,-392,-242,-143,-110,15,195,164,101,204,263,179,52,-18,-129,-293,-351,-340,-329,-313,-281,-213,-116,-51,-12,33,14,-34,-56,-40,-22,-36,-40,-65,-92,-104,-107,-94,-74,-70,-81,-65,-30,8,6},{-9,23,-23,8,3,-43,80,-132,147,-145,124,-36,3678,9233,-4659,-10889,2796,-2138,-2515,11358,8941,1945,8468,17646,2869,-14279,-2206,3280,-11665,-11937,975,-1177,-9333,-3960,2988,2130,-517,821,4786,3902,1247,3159,3941,-54,-1576,533,-107,-3063,-4203,-3131,-3307,-4421,-3011,-1292,-1310,-319,1685,2098,1882,2244,2351,1908,1204,559,221,-12,-732,-1139,-950,-1179,-1568,-1386,-1008,-1027,-945,-486,-36,76,233,688,822,694,606,563,416,63,-295,-400,-374,-643,-765,-527,-501,-578,-446,-202,-55,-46,98,336,279,149,222,292,197,7,-54,-146,-362,-474,-515,-497,-446,-354,-194,-53,18,42,110,126,68,48,48,20,-4,-30,-107,-199,-238,-225,-203,-128,-63,-50,-16,36,28,41,109,33}}, // azimuth 5 degrees + {{-3,-1,4,-8,14,-16,13,-9,-9,29,-65,80,-91,103,60,3303,5877,-3825,-5963,1853,-2324,-1221,7575,6458,2637,6507,12406,3283,-7892,-1649,1415,-7646,-8400,-656,-1729,-6405,-3273,927,1044,-235,714,3199,2864,1660,2836,2745,-133,-1023,65,-526,-2175,-2624,-1891,-2137,-2769,-1729,-680,-1036,-855,351,925,953,1097,1266,1267,938,488,300,81,-469,-722,-685,-926,-1243,-1109,-805,-746,-602,-274,48,128,186,429,504,418,335,307,236,18,-257,-346,-323,-486,-556,-428,-396,-418,-333,-191,-126,-132,-21,170,176,121,178,218,149,25,-46,-152,-270,-288,-283,-274,-276,-257,-192,-132,-89,-56,-21,-33,-74,-73,-44,-33,-22,-9,-17,-54,-86,-66,-71,-71,-76,-112,-83,-45,-10},{17,-15,-4,21,-66,107,-149,142,-110,71,-15,3041,10431,-2810,-13291,1546,-1216,-3148,12272,9902,1630,8779,19063,4162,-15754,-3558,3828,-11947,-12772,899,-910,-9854,-4553,3002,2374,-186,631,4610,3883,1323,3766,4442,144,-1554,629,52,-3182,-4488,-3643,-4027,-5126,-3198,-975,-1326,-593,1764,2504,2321,2444,2453,2191,1494,711,193,-167,-919,-1336,-1034,-1199,-1611,-1433,-1066,-1078,-956,-464,17,152,249,675,857,765,635,527,422,79,-305,-383,-361,-643,-833,-622,-514,-558,-403,-187,-64,-20,82,330,342,213,288,330,202,0,-111,-182,-382,-502,-539,-565,-505,-394,-222,-57,32,75,151,175,106,80,70,37,8,-7,-85,-187,-231,-248,-247,-182,-97,-69,10,79,79,61,87,124,29}}, // azimuth 10 degrees + {{-3,-3,-1,3,-7,11,-13,8,-7,-8,21,-50,58,-67,75,62,2856,5142,-2889,-5220,1254,-1614,-1130,6023,5971,2803,5501,10978,4044,-6204,-1931,1326,-5951,-7564,-1341,-1636,-5574,-3403,270,900,-167,401,2745,2797,1704,2389,2356,203,-790,-99,-383,-1741,-2299,-1682,-1692,-2301,-1688,-755,-903,-781,65,520,776,1005,965,801,609,385,221,36,-361,-568,-528,-728,-1002,-929,-718,-624,-512,-276,33,141,190,342,378,333,241,170,110,-38,-246,-338,-317,-440,-510,-392,-346,-379,-318,-176,-84,-62,-7,105,126,110,166,180,89,-22,-75,-142,-238,-280,-272,-261,-250,-231,-195,-139,-101,-80,-63,-60,-67,-72,-51,-30,-23,-3,-15,-52,-62,-61,-49,-62,-84,-126,-142,-31},{4,-27,42,-85,114,-139,96,-41,-27,69,2133,11034,415,-15225,-1174,180,-4086,12439,11994,1234,8295,20625,6289,-16965,-5589,4641,-11869,-14087,810,-78,-10458,-5545,3473,2427,-347,765,3924,3640,2030,4195,4789,582,-1619,603,396,-3045,-4931,-4534,-4654,-5206,-3086,-974,-1555,-813,2033,2923,2398,2477,2556,2358,1710,894,234,-209,-932,-1501,-1212,-1291,-1714,-1548,-1128,-1092,-978,-358,141,175,255,765,978,778,622,508,380,43,-343,-446,-403,-653,-851,-605,-501,-585,-424,-151,-12,-5,76,330,368,228,319,374,217,-15,-160,-226,-415,-517,-532,-581,-536,-426,-258,-99,-31,37,168,227,147,96,111,63,0,-12,-85,-182,-225,-244,-240,-205,-136,-101,-31,106,137,130,118,76,72,20}}, // azimuth 15 degrees + {{0,-3,-4,-2,2,-5,9,-10,4,-2,-10,17,-39,44,-45,49,56,2348,4551,-1930,-4670,828,-913,-1277,4643,5560,2812,4514,9713,4827,-4663,-2102,1409,-4405,-6833,-1953,-1496,-4855,-3647,-239,796,-235,178,2489,2728,1454,1871,2208,538,-497,-35,-173,-1377,-2041,-1419,-1397,-2139,-1768,-861,-784,-645,86,400,434,541,583,586,420,228,186,114,-177,-395,-400,-560,-839,-805,-576,-509,-467,-257,37,113,123,274,310,234,140,77,19,-132,-296,-307,-243,-346,-455,-381,-303,-303,-262,-156,-59,-31,4,95,102,72,127,148,72,-53,-135,-169,-226,-262,-274,-259,-231,-198,-138,-90,-88,-105,-74,-48,-47,-64,-59,-36,-28,-14,-42,-51,-43,-17,-28,-56,-93,-164,-45},{-40,59,-99,102,-98,22,50,-134,179,1151,10602,4693,-15399,-5689,1348,-4230,10809,14227,2367,7149,21002,9676,-16622,-8959,4843,-10141,-15477,-963,1123,-9562,-7250,3073,3603,-564,-657,3659,4620,2178,3804,5350,1505,-1827,184,999,-2688,-5720,-5488,-4597,-4646,-3243,-1612,-1653,-511,2153,2957,2337,2461,2656,2461,1868,974,217,-179,-774,-1493,-1415,-1359,-1789,-1778,-1290,-1072,-852,-314,87,261,438,832,1008,823,626,486,365,29,-428,-548,-417,-628,-886,-655,-461,-524,-447,-208,-18,49,133,346,407,237,244,363,253,-9,-182,-260,-441,-555,-529,-530,-520,-451,-297,-145,-60,-11,105,208,152,103,130,113,41,-12,-92,-175,-208,-222,-252,-239,-155,-132,-49,97,172,174,161,117,42,53,19}}, // azimuth 20 degrees + {{-4,1,-3,-5,-1,0,-6,6,-8,3,2,-12,15,-31,32,-33,29,42,1836,4017,-1018,-4141,480,-344,-1464,3447,5123,2734,3606,8545,5526,-3193,-2124,1497,-3036,-6195,-2451,-1318,-4355,-3834,-593,647,-191,54,2046,2416,1327,1663,2089,736,-226,216,107,-1097,-1818,-1410,-1377,-2033,-1748,-806,-631,-506,-41,61,104,249,377,414,324,210,163,218,2,-318,-397,-495,-628,-606,-477,-419,-405,-265,-22,64,60,160,234,191,53,-40,-73,-152,-270,-295,-215,-284,-393,-325,-247,-246,-204,-111,-55,-43,-11,85,95,39,63,89,36,-99,-186,-204,-231,-242,-239,-228,-191,-144,-97,-66,-80,-80,-71,-60,-57,-61,-53,-60,-59,-62,-41,-23,-7,-13,-28,-64,-131,-38},{48,-85,76,-39,-50,128,-204,262,365,9100,8869,-12949,-10917,832,-3110,8510,15153,4279,6871,20608,12514,-14352,-11921,3308,-7893,-15149,-3539,448,-7834,-7478,1856,3806,-349,-1598,3273,5364,2414,3652,5265,2080,-1272,-200,1042,-2550,-6348,-5856,-3885,-4075,-3875,-2222,-1478,-123,2132,2632,2228,2486,2652,2573,1927,943,285,-99,-657,-1413,-1475,-1424,-1802,-1901,-1444,-1070,-909,-347,184,388,559,898,1029,783,641,510,337,13,-426,-520,-438,-639,-897,-696,-448,-500,-423,-221,-67,61,172,390,466,245,204,323,251,21,-173,-241,-431,-593,-548,-514,-486,-445,-312,-130,-40,-29,35,149,125,78,108,109,59,42,-13,-136,-170,-193,-251,-268,-210,-133,-53,75,166,209,214,178,90,33,52,16}}, // azimuth 25 degrees + {{-1,-2,-1,-1,-3,-2,2,-2,5,-4,4,4,-12,16,-23,22,-17,18,29,1349,3493,-157,-3559,138,83,-1580,2398,4625,2613,2849,7401,6062,-1673,-2029,1494,-1873,-5559,-2768,-1263,-3966,-3801,-794,493,-300,-229,1679,2294,1296,1449,1964,987,173,473,217,-1014,-1809,-1481,-1298,-1763,-1542,-745,-688,-789,-277,42,10,69,229,357,317,204,193,199,2,-246,-313,-359,-486,-472,-364,-381,-405,-300,-85,13,14,94,139,95,-10,-74,-82,-132,-247,-299,-234,-253,-296,-234,-181,-173,-161,-101,-58,-78,-51,37,69,24,10,26,-44,-141,-176,-191,-203,-198,-184,-177,-165,-115,-63,-55,-66,-86,-76,-58,-54,-63,-80,-83,-80,-40,-11,-3,-15,-17,-47,-110,-31},{-43,14,26,-117,176,-242,286,-127,6709,11979,-7848,-15183,-2111,-1697,6497,14893,6155,6839,20200,15401,-11098,-14114,1010,-6075,-13879,-5470,-1111,-7166,-7394,1615,3009,-1168,-552,3388,4475,2775,4099,4926,2182,-614,-272,503,-2937,-6303,-5126,-3276,-4302,-4318,-2111,-1268,-302,1932,2537,2041,2333,2643,2564,1820,955,480,-50,-643,-1268,-1427,-1507,-1824,-1873,-1490,-1095,-986,-472,227,510,660,908,963,763,616,479,341,79,-329,-526,-496,-615,-829,-687,-489,-521,-432,-235,-84,42,176,357,423,269,204,292,250,55,-127,-212,-397,-578,-586,-582,-533,-445,-291,-112,-17,0,18,91,66,11,38,52,40,62,48,-44,-117,-172,-234,-274,-232,-169,-93,41,130,182,240,235,149,53,28,41,11}}, // azimuth 30 degrees + {{-1,-1,-2,-2,-1,-4,-4,2,-3,2,-2,-1,4,-12,12,-16,11,-8,7,15,915,2942,591,-2884,-221,346,-1553,1482,4005,2503,2284,6232,6397,-150,-1805,1331,-958,-4756,-2988,-1425,-3407,-3450,-1222,-25,-286,-166,1356,2023,1293,1349,1960,1409,440,249,-22,-920,-1605,-1397,-1090,-1448,-1541,-1089,-898,-726,-313,-59,13,46,155,292,307,194,109,163,42,-171,-197,-257,-402,-447,-359,-343,-419,-331,-107,-11,-31,5,44,14,-45,-62,-67,-134,-242,-283,-199,-192,-250,-180,-101,-131,-169,-139,-104,-98,-86,-17,16,-33,-35,-26,-69,-137,-155,-132,-149,-160,-148,-150,-143,-117,-85,-63,-77,-80,-74,-62,-64,-92,-85,-69,-53,-29,-5,-10,-24,-56,-102,-28},{-45,94,-170,191,-208,204,-207,3853,13167,-822,-16888,-6927,-1243,4963,13929,7612,6944,19485,18006,-6465,-15029,-1950,-4951,-11878,-6523,-3217,-6635,-7390,-229,2065,-508,616,2842,3943,3333,4098,4543,2519,336,-922,-873,-2796,-5341,-4440,-3124,-4352,-4518,-2025,-820,-530,1238,2426,2167,2169,2394,2360,1809,1004,567,64,-563,-1137,-1400,-1543,-1845,-1821,-1362,-1062,-1103,-562,280,530,592,867,969,700,564,515,372,149,-253,-500,-523,-597,-729,-656,-459,-478,-469,-281,-124,10,159,293,357,257,180,273,264,125,-31,-164,-336,-552,-598,-604,-602,-490,-306,-105,12,22,15,79,72,-6,-40,-38,-13,63,119,19,-89,-139,-188,-235,-238,-179,-118,-20,86,157,223,253,199,116,54,30,32,7}}, // azimuth 35 degrees + {{0,-1,-1,-2,-1,-2,-4,-2,1,-2,3,0,-2,5,-8,11,-14,7,6,-5,15,567,2356,1185,-2097,-569,436,-1354,709,3259,2423,1963,5080,6401,1348,-1385,942,-210,-3753,-3157,-1528,-2803,-3418,-1746,-185,-34,-171,915,1825,1499,1459,1926,1405,219,-124,-55,-558,-1206,-1262,-1152,-1522,-1657,-1131,-788,-705,-390,-86,55,84,96,206,251,186,117,129,78,-85,-159,-217,-371,-466,-394,-333,-352,-296,-144,-64,-90,-73,-15,-14,-65,-71,-40,-73,-177,-234,-189,-183,-210,-163,-115,-131,-171,-158,-122,-122,-112,-75,-53,-67,-61,-37,-56,-84,-90,-84,-104,-127,-135,-158,-158,-127,-98,-88,-77,-77,-75,-57,-65,-75,-67,-42,-31,-19,-18,-29,-67,-103,-26},{92,-149,128,-70,-11,64,1272,11757,6788,-14851,-12585,-2284,3574,12495,8669,6616,18822,20480,-1638,-14593,-4098,-4507,-10600,-6150,-4678,-6966,-7366,-2832,504,101,1726,3079,3438,3333,4396,4744,2513,839,-1114,-2270,-2962,-4089,-3640,-3308,-4352,-4206,-1962,-784,-718,832,2137,2025,2174,2254,2064,1687,1071,677,89,-417,-950,-1432,-1607,-1760,-1644,-1333,-1045,-1028,-648,190,506,487,730,919,739,591,495,371,207,-149,-459,-538,-550,-638,-596,-421,-417,-447,-323,-202,-51,110,214,307,245,156,215,250,193,49,-83,-250,-502,-580,-612,-633,-517,-355,-145,-15,11,3,48,110,38,-50,-77,-83,6,116,63,-45,-119,-179,-204,-203,-183,-140,-54,29,105,187,243,226,151,102,48,23,33,10}}, // azimuth 40 degrees + {{1,0,0,-1,-2,-1,-2,-4,-2,0,-2,2,1,-3,2,-5,3,-11,8,5,-7,20,299,1768,1560,-1222,-835,336,-995,69,2407,2401,1844,3961,6054,2707,-786,472,454,-2532,-3260,-2049,-2417,-3009,-1925,-332,100,-182,655,1870,1757,1198,1329,1084,192,-29,143,-263,-1097,-1489,-1313,-1361,-1462,-1120,-760,-628,-412,-104,63,58,52,138,221,212,127,112,76,-80,-172,-232,-353,-458,-424,-307,-274,-289,-215,-117,-116,-113,-59,-5,-17,-58,-25,-37,-130,-216,-220,-186,-218,-189,-123,-139,-155,-149,-147,-145,-152,-115,-78,-85,-64,-35,-7,-15,-49,-70,-101,-113,-141,-175,-177,-154,-118,-99,-86,-68,-56,-36,-33,-53,-51,-43,-18,-25,-52,-80,-110,-28},{-17,-60,141,-237,320,-194,7702,12784,-7914,-17712,-5543,2373,10400,9606,5696,17145,23231,4408,-13688,-6452,-3033,-9722,-6119,-4724,-7198,-8006,-5735,-465,-28,761,3632,4309,3359,3686,5604,3579,326,-1488,-2625,-2638,-3729,-3759,-2771,-3875,-4240,-2076,-684,-910,273,1934,1936,1993,2114,1909,1695,1087,718,243,-458,-883,-1221,-1549,-1745,-1588,-1276,-972,-918,-726,5,399,400,639,889,768,548,494,402,246,-67,-434,-475,-502,-592,-510,-385,-357,-433,-346,-200,-131,16,142,248,266,149,157,224,176,83,-24,-151,-372,-546,-592,-617,-539,-374,-216,-98,-32,-27,34,112,57,-1,-41,-80,-35,54,56,-25,-88,-154,-214,-192,-155,-137,-80,-22,46,137,220,241,193,142,86,28,19,33,9}}, // azimuth 45 degrees + {{1,1,0,-1,-1,-1,-2,-2,-3,-4,-1,-1,2,1,-8,3,-2,-6,-1,6,4,-3,17,133,1209,1699,-326,-956,90,-606,-374,1580,2332,1864,2981,5382,3783,61,283,951,-1797,-3558,-2283,-1722,-2458,-2032,-552,207,121,668,1547,1263,625,952,1179,547,64,-49,-434,-1122,-1412,-1188,-1173,-1309,-1034,-648,-590,-439,-116,-9,-3,65,151,191,183,124,72,21,-87,-187,-270,-351,-420,-400,-315,-282,-285,-222,-121,-107,-105,-41,6,-21,-58,-55,-56,-110,-217,-235,-201,-205,-186,-160,-138,-147,-162,-143,-148,-161,-134,-82,-60,-63,-18,18,1,-35,-67,-89,-131,-173,-193,-185,-161,-133,-96,-61,-38,-20,-25,-44,-54,-62,-31,-33,-54,-75,-110,-28},{-138,185,-204,164,-195,2779,13837,3301,-18709,-12217,1023,8064,10206,4996,13526,25132,11871,-10513,-9791,-2225,-7486,-6610,-4124,-7136,-8698,-7854,-2119,-336,-673,2904,4449,3903,3982,5852,4550,769,-1491,-3096,-2416,-2893,-4143,-3195,-3104,-3541,-2612,-1183,-834,-133,1518,1876,1773,1952,1796,1715,1241,756,414,-424,-945,-1085,-1317,-1629,-1647,-1311,-978,-799,-786,-253,337,361,532,812,769,538,459,428,269,3,-322,-423,-453,-575,-514,-355,-318,-390,-377,-241,-159,-59,94,201,250,172,107,181,167,67,-26,-118,-251,-452,-543,-562,-546,-426,-286,-164,-101,-86,-19,85,98,30,-28,-50,-44,32,65,-45,-113,-155,-214,-208,-167,-117,-86,-53,-14,64,178,241,219,163,111,57,24,21,19,3}}, // azimuth 50 degrees + {{1,1,1,1,0,-1,-2,-2,-2,-2,-1,-1,0,3,-2,-4,5,-4,-3,5,5,6,1,23,31,733,1617,475,-841,-285,-268,-534,798,2152,1926,2246,4538,4588,1325,-62,512,-1028,-2999,-2251,-1292,-1919,-1926,-559,455,209,49,644,894,745,997,1148,512,-214,-405,-443,-795,-1201,-1157,-955,-1010,-965,-648,-486,-439,-245,-49,40,68,103,157,141,59,22,0,-103,-246,-308,-316,-378,-395,-313,-240,-218,-187,-98,-67,-107,-85,-34,-46,-78,-83,-86,-119,-177,-203,-201,-213,-213,-172,-122,-130,-147,-132,-135,-142,-119,-74,-59,-64,-22,23,2,-46,-89,-114,-136,-178,-186,-171,-135,-92,-67,-39,-33,-49,-61,-53,-47,-37,-36,-31,-50,-88,-24},{-48,124,-219,290,-102,8801,13422,-10533,-20571,-3376,6661,9729,5748,8265,23904,20082,-3956,-12408,-3565,-4308,-6626,-3491,-6772,-9187,-8538,-4923,-762,-1294,620,3989,4066,3657,6025,6087,1699,-907,-2684,-2829,-2194,-3783,-3726,-2883,-3105,-2740,-1677,-1153,-668,1029,1866,1609,1721,1711,1738,1429,821,604,33,-825,-1241,-1262,-1370,-1525,-1391,-1141,-875,-818,-452,314,421,339,651,800,621,400,368,364,151,-211,-397,-367,-495,-580,-413,-301,-327,-355,-263,-181,-138,44,218,268,193,70,98,149,89,0,-100,-212,-378,-484,-488,-491,-439,-330,-229,-172,-131,-75,21,103,68,16,-11,-44,1,74,24,-98,-183,-233,-239,-195,-130,-73,-42,-26,15,104,203,237,198,135,69,32,34,34,14,1}}, // azimuth 55 degrees + {{1,1,2,2,2,0,1,0,-1,1,1,1,0,2,4,-1,-2,3,0,1,7,4,10,12,6,-8,397,1364,1070,-534,-645,-73,-463,181,1778,1999,2025,3924,4656,1816,-224,522,-86,-2249,-2289,-1031,-1033,-1413,-824,-101,-287,-395,420,1010,805,620,640,249,-301,-370,-298,-592,-996,-971,-765,-824,-813,-615,-500,-409,-239,-61,1,13,57,52,54,36,-27,-68,-166,-268,-286,-282,-297,-311,-256,-183,-176,-154,-107,-104,-138,-138,-84,-67,-86,-101,-103,-100,-153,-211,-215,-206,-193,-150,-106,-107,-129,-120,-100,-113,-129,-98,-50,-54,-46,-21,-36,-79,-115,-106,-112,-138,-142,-126,-93,-75,-75,-92,-95,-71,-43,-30,-24,-30,-16,-16,-52,-16},{97,-102,68,-72,2045,14306,5919,-21524,-14810,4955,9041,7214,4494,17496,26384,6608,-11895,-7529,-1872,-4770,-3487,-5533,-9817,-8438,-7174,-2718,-627,-1781,2148,4345,3115,4607,6868,3923,29,-1382,-2822,-2239,-2656,-3992,-3024,-2781,-2904,-2090,-1535,-1267,102,1595,1641,1555,1604,1598,1559,1070,764,521,-364,-1120,-1250,-1374,-1466,-1327,-1232,-1061,-886,-680,58,539,313,416,739,692,450,321,384,327,8,-330,-385,-405,-576,-509,-349,-306,-315,-294,-187,-128,-42,153,293,274,146,33,64,81,5,-31,-132,-305,-473,-513,-438,-409,-338,-234,-206,-198,-157,-47,101,99,22,1,-15,15,56,46,-48,-147,-216,-278,-248,-174,-91,-28,-23,4,72,149,201,195,149,104,58,39,44,31,23,6}}, // azimuth 60 degrees + {{1,2,2,2,1,2,1,0,1,1,1,1,0,1,3,2,-1,1,1,4,2,1,13,12,1,-3,-7,193,1030,1362,-88,-853,-84,-249,-204,1370,2371,2085,2512,3781,2841,599,408,314,-1371,-1789,-517,-451,-1585,-1703,-752,-109,-49,154,493,371,117,234,275,-49,-323,-306,-349,-687,-816,-618,-605,-733,-626,-373,-310,-306,-170,-84,-67,-59,-61,-23,-30,-100,-135,-173,-208,-206,-186,-182,-240,-241,-174,-156,-169,-175,-148,-145,-158,-118,-90,-106,-116,-110,-124,-165,-197,-184,-152,-146,-133,-100,-87,-88,-107,-116,-118,-131,-102,-85,-92,-91,-88,-57,-67,-95,-74,-62,-76,-108,-121,-110,-126,-130,-111,-79,-41,-36,-15,-2,-1,12,-10,-7},{171,-264,321,-365,6018,16473,-5515,-26063,-5208,10048,7997,4248,8736,25433,19517,-5605,-11657,-3067,-1516,-2594,-3749,-9579,-9545,-7472,-5831,-828,-1680,-1303,3532,3720,2876,5362,5827,1745,-383,-1531,-2225,-1496,-3352,-3609,-2447,-2891,-2492,-1828,-1815,-1106,778,1594,1423,1409,1316,1637,1527,872,733,331,-643,-1067,-1251,-1526,-1441,-1242,-1129,-938,-800,-505,284,522,296,508,683,592,381,327,427,267,-164,-377,-347,-535,-614,-414,-298,-299,-315,-220,-123,-99,50,260,335,243,92,34,37,-17,-44,-58,-177,-378,-524,-500,-428,-346,-240,-190,-213,-210,-114,8,120,79,-15,-24,-6,67,89,0,-125,-209,-246,-242,-217,-157,-44,-10,-24,14,108,180,179,143,98,78,66,71,66,30,21,7}}, // azimuth 65 degrees + {{1,1,1,1,1,1,1,0,0,1,-1,1,1,-1,0,3,1,-3,3,1,1,1,8,12,-1,3,8,-3,69,737,1396,303,-845,-192,16,7,1183,1791,1467,1916,3524,3590,1304,295,738,-5,-1047,-926,-960,-1831,-1748,-475,79,-436,-670,-194,86,-15,151,323,59,-201,-167,-158,-403,-602,-556,-497,-519,-485,-371,-355,-378,-301,-217,-186,-196,-172,-107,-78,-120,-141,-94,-80,-95,-117,-162,-214,-226,-196,-190,-201,-185,-148,-161,-190,-167,-132,-118,-133,-144,-137,-137,-135,-119,-105,-113,-120,-90,-66,-93,-127,-138,-145,-155,-158,-133,-111,-113,-87,-48,-43,-58,-52,-45,-78,-121,-143,-150,-135,-102,-73,-58,-56,-24,16,32,33,10,-1},{148,-287,383,-137,10444,14698,-16400,-24443,3726,11572,5437,3429,15729,27720,8662,-11972,-8013,-232,-137,-1564,-6680,-11119,-8603,-7143,-3567,-609,-2887,218,4055,2730,3012,5658,4068,248,-541,-1329,-1068,-1454,-3345,-2691,-2589,-2891,-1991,-1896,-2106,-773,1052,1325,1120,1005,1305,1867,1349,758,778,135,-753,-942,-1221,-1605,-1397,-1062,-988,-911,-858,-308,422,328,273,560,662,528,343,419,450,126,-300,-369,-374,-595,-561,-373,-296,-284,-270,-157,-110,-82,146,352,347,203,34,-4,8,-36,-47,-94,-252,-449,-533,-467,-403,-317,-204,-189,-226,-164,-38,67,103,27,-37,-43,9,67,53,-43,-159,-221,-252,-217,-171,-101,-9,-21,-58,-15,93,176,181,119,69,60,72,107,99,54,16,1}}, // azimuth 70 degrees + {{0,0,0,0,0,0,1,1,1,0,0,0,0,-1,0,1,1,0,-1,2,-2,4,4,3,3,2,18,-3,-4,42,519,1202,537,-568,33,557,-238,-20,1413,1990,1912,2865,3599,2241,1055,1226,376,-1341,-1633,-969,-985,-1227,-989,-813,-1044,-1046,-465,-27,-44,60,340,302,31,-58,-20,-190,-441,-426,-309,-366,-498,-458,-402,-470,-451,-377,-314,-275,-239,-145,-86,-80,-55,3,15,-56,-108,-144,-211,-235,-205,-172,-175,-204,-198,-206,-216,-192,-170,-149,-134,-118,-103,-79,-68,-87,-84,-77,-94,-106,-95,-110,-169,-197,-189,-179,-168,-140,-96,-84,-78,-44,-44,-68,-64,-55,-79,-127,-142,-117,-83,-61,-60,-66,-45,13,60,49,8,-2},{63,-192,279,576,14009,10654,-24059,-19830,9816,11106,3069,4657,22013,25188,-1110,-13568,-3998,2139,978,-2335,-8780,-11520,-8231,-5764,-2292,-1855,-2763,1673,3540,1852,3394,5513,2493,-644,-728,-853,-251,-1511,-2801,-1916,-2515,-2805,-1968,-1951,-1982,-613,824,920,720,755,1430,1859,1137,816,843,-6,-761,-855,-1147,-1483,-1244,-945,-915,-967,-912,-178,377,151,235,592,636,435,348,502,434,-34,-362,-324,-412,-609,-497,-327,-308,-304,-232,-110,-112,-43,223,372,313,140,-21,-48,-14,1,-23,-147,-342,-513,-534,-443,-378,-298,-211,-214,-226,-121,8,112,104,-20,-80,-76,-24,26,20,-57,-157,-213,-233,-195,-140,-55,-5,-79,-131,-60,62,160,164,106,62,46,95,136,110,66,16,-1}}, // azimuth 75 degrees + {{-1,-1,-1,0,0,0,0,1,1,1,1,-1,0,-1,1,0,0,0,-1,-1,4,2,1,-2,1,13,4,9,8,3,22,381,943,838,374,-11,-482,-456,386,1510,2013,1827,2438,3835,3518,1456,193,-296,-931,-876,-441,-885,-1791,-1971,-1398,-1076,-1057,-700,-237,31,225,441,453,216,54,22,-5,-174,-326,-317,-366,-498,-531,-499,-565,-590,-483,-371,-303,-261,-162,-52,-8,26,41,20,-29,-111,-149,-167,-194,-186,-192,-208,-236,-260,-238,-234,-212,-162,-134,-101,-79,-58,-42,-56,-59,-57,-76,-107,-145,-149,-160,-206,-208,-187,-169,-154,-126,-79,-84,-99,-76,-64,-57,-50,-59,-75,-85,-73,-58,-59,-56,-58,-44,-16,29,39,-15,-10},{-29,-72,132,1370,16231,6605,-28329,-15237,13139,10172,1556,6545,26108,20805,-8055,-12842,-192,4166,876,-3163,-9672,-12303,-7378,-4111,-2509,-2987,-2240,2783,2890,799,3744,5425,1360,-1264,-582,-469,-261,-1266,-1946,-1553,-2237,-2279,-2048,-2312,-1734,-274,385,228,430,737,1336,1639,1105,907,800,-26,-646,-743,-1022,-1228,-1031,-899,-905,-983,-875,-177,194,25,248,600,555,343,349,552,410,-91,-324,-291,-425,-591,-429,-274,-320,-322,-205,-79,-92,26,277,340,236,80,-32,-46,-8,26,6,-156,-384,-545,-540,-433,-347,-250,-204,-246,-230,-83,58,153,117,-54,-136,-107,-39,17,8,-64,-128,-173,-170,-148,-135,-60,-46,-123,-149,-69,59,135,144,111,75,73,126,167,139,89,34,1}}, // azimuth 80 degrees + {{0,0,0,0,0,0,1,1,1,1,1,1,0,1,0,0,1,2,-2,0,5,3,-1,-3,10,9,5,3,24,-2,-24,79,456,1246,1065,-314,-642,16,328,548,1146,1944,2479,3022,3576,2776,619,-415,316,519,-420,-1232,-1746,-2147,-2081,-1528,-1134,-1122,-792,-133,240,341,463,518,323,158,162,115,-112,-345,-361,-362,-500,-613,-627,-613,-591,-513,-398,-323,-260,-141,-15,54,26,22,63,4,-70,-115,-144,-169,-215,-217,-238,-295,-282,-228,-187,-173,-153,-100,-63,-44,-43,-47,-38,-60,-87,-93,-128,-172,-185,-182,-185,-188,-175,-167,-165,-138,-94,-80,-98,-83,-51,-34,-26,-16,-13,-17,-23,-42,-45,-54,-48,-44,-36,-19,-43,-15},{-77,-9,61,1748,17179,4366,-30128,-12540,14587,9574,941,7796,27849,17177,-12247,-11584,3202,5684,205,-3507,-9969,-13050,-6461,-2944,-3087,-3889,-1970,3476,2371,67,3646,5120,1046,-1537,-486,-150,-423,-1216,-1320,-939,-2005,-1990,-1663,-2390,-1948,-205,385,-307,-187,670,1315,1345,974,973,830,-56,-535,-464,-830,-1057,-853,-793,-866,-1021,-827,-186,6,-142,200,603,461,235,325,560,419,-66,-274,-244,-397,-568,-372,-239,-317,-311,-187,-51,-93,43,300,301,172,35,-41,-42,-13,40,39,-145,-374,-551,-550,-413,-340,-232,-197,-261,-221,-69,83,151,60,-83,-137,-103,-25,13,2,-60,-101,-112,-137,-146,-159,-104,-75,-152,-147,-45,48,115,125,106,87,81,154,201,167,120,46,1}}, // azimuth 85 degrees + {{0,0,0,0,1,1,1,1,1,1,1,1,0,1,2,0,1,2,-3,0,8,3,-5,3,9,15,-7,11,13,-17,11,96,693,917,101,-106,264,368,399,326,589,1533,2837,3203,2194,1537,1373,832,758,1141,492,-1134,-2058,-1966,-1876,-1914,-1678,-1262,-898,-507,-64,254,386,446,496,421,292,173,21,-145,-313,-371,-410,-560,-660,-616,-564,-563,-520,-441,-330,-232,-137,-34,17,76,93,66,23,-68,-107,-134,-197,-241,-273,-258,-239,-244,-200,-175,-159,-113,-88,-59,-61,-73,-72,-77,-69,-98,-118,-125,-176,-189,-168,-181,-201,-218,-195,-148,-123,-85,-82,-91,-51,-10,17,32,33,25,1,-26,-46,-73,-81,-88,-87,-84,-85,-20},{-54,-60,134,1420,17008,4906,-30287,-12625,14969,9515,935,7866,27712,15792,-14243,-11059,5945,7108,-379,-3668,-9793,-13517,-6091,-2252,-3425,-4551,-2250,3700,2228,-476,3330,4795,830,-1449,-146,-133,-504,-995,-1239,-568,-1472,-1784,-1484,-2063,-1844,-550,169,-359,-523,175,1057,1302,823,817,859,36,-444,-256,-546,-858,-749,-689,-770,-987,-839,-215,-74,-347,14,550,425,155,251,548,431,-36,-211,-171,-342,-553,-339,-198,-298,-301,-182,-42,-117,10,282,277,141,-6,-72,-69,-26,53,60,-121,-344,-512,-535,-414,-338,-250,-203,-244,-218,-101,23,106,37,-104,-122,-77,-4,36,14,-43,-105,-131,-151,-170,-166,-121,-111,-165,-148,-19,65,86,106,93,81,82,157,226,187,141,67,4}}, // azimuth 90 degrees + {{1,0,2,1,1,1,1,1,1,2,2,2,1,2,2,2,2,1,1,1,6,2,-4,1,19,9,5,6,-17,2,48,541,893,56,-618,-22,870,962,484,395,832,1815,2548,2314,1828,793,76,1073,1910,1472,643,-355,-1423,-1970,-1761,-1593,-1754,-1607,-1060,-582,-367,-125,180,345,436,473,390,283,111,-84,-174,-280,-392,-464,-523,-566,-571,-528,-516,-519,-464,-371,-254,-128,-10,89,90,58,55,14,-30,-120,-194,-198,-208,-204,-210,-224,-213,-189,-154,-127,-117,-115,-118,-110,-99,-81,-61,-82,-106,-106,-122,-162,-200,-220,-223,-221,-190,-144,-129,-117,-86,-46,-20,10,44,66,66,41,8,-37,-69,-97,-107,-124,-127,-113,-113,-27},{43,-220,360,497,15464,8255,-28429,-15837,14335,10224,1219,6825,25880,16905,-13935,-11976,7519,9037,-298,-3920,-9283,-13610,-6325,-2060,-3461,-4706,-3207,3225,2726,-862,2584,4679,969,-1578,115,291,-549,-842,-1153,-473,-1249,-1503,-1057,-1964,-1771,-415,-46,-718,-618,21,541,995,812,734,772,68,-327,-88,-332,-619,-555,-599,-728,-881,-784,-292,-125,-468,-204,422,383,125,169,500,467,-19,-165,-78,-253,-509,-323,-132,-258,-289,-189,-75,-115,-14,233,239,111,-15,-86,-101,-48,52,91,-55,-299,-475,-488,-382,-328,-258,-225,-283,-269,-143,-4,72,24,-108,-118,-28,46,83,46,-50,-142,-190,-184,-163,-167,-122,-99,-161,-154,-23,91,93,79,85,76,83,151,227,210,143,72,9}}, // azimuth 95 degrees + {{1,0,0,0,1,1,1,1,1,0,1,0,0,2,0,2,2,1,1,2,-1,3,-4,2,14,3,24,-15,-26,12,434,1046,250,-890,-352,515,690,903,943,881,1671,2280,1798,1190,1052,914,-184,-447,1274,2027,1119,162,-565,-1210,-1547,-1419,-1360,-1430,-1257,-893,-521,-410,-250,146,294,286,330,317,212,10,-164,-216,-223,-314,-414,-463,-500,-472,-474,-547,-568,-501,-348,-185,-92,-30,26,64,56,31,-7,-85,-107,-100,-127,-163,-206,-203,-179,-196,-198,-173,-169,-176,-172,-141,-113,-102,-76,-64,-72,-106,-142,-158,-205,-240,-214,-198,-185,-161,-125,-83,-84,-47,12,33,56,69,61,17,-32,-59,-92,-129,-136,-142,-143,-144,-130,-27},{196,-428,611,-462,12088,13080,-23048,-21443,11633,11944,1597,4988,22487,19553,-10755,-14106,7158,11558,966,-4191,-8729,-13230,-7070,-2281,-3336,-4439,-4350,1660,3571,-608,1318,4311,1553,-1342,-124,614,-16,-621,-1339,-344,-894,-1710,-798,-1448,-1902,-539,232,-763,-1101,-174,476,672,476,645,864,92,-423,9,-64,-470,-399,-408,-628,-828,-774,-312,-105,-502,-397,253,329,79,94,405,479,39,-171,-31,-138,-427,-305,-66,-182,-272,-199,-92,-123,-74,171,210,74,-52,-95,-106,-61,51,115,21,-237,-425,-431,-323,-275,-291,-313,-362,-323,-153,-4,39,11,-83,-84,10,73,100,39,-57,-149,-212,-215,-178,-148,-109,-76,-131,-162,-48,86,125,98,67,70,83,145,222,207,138,59,7}}, // azimuth 100 degrees + {{1,1,0,2,1,1,1,1,0,-1,2,-1,0,2,1,1,2,-2,4,0,1,1,-6,12,-2,20,4,-7,-22,279,1147,624,-955,-770,335,753,682,597,1161,2174,2542,1860,939,548,602,493,-249,-880,-310,915,1480,1064,287,-341,-825,-1039,-1002,-1017,-1076,-1071,-941,-692,-425,-212,-52,62,136,205,183,72,-49,-146,-115,-115,-257,-336,-349,-406,-495,-545,-532,-496,-423,-324,-242,-157,-59,23,31,-9,1,38,27,-30,-84,-113,-146,-176,-179,-189,-231,-269,-244,-188,-177,-174,-143,-112,-86,-64,-72,-130,-191,-187,-156,-167,-192,-202,-183,-135,-86,-50,-42,-44,-13,43,66,50,6,-37,-66,-87,-95,-139,-157,-157,-148,-124,-112,-26},{307,-505,624,-735,7211,16839,-13157,-27317,4963,14599,2797,2502,17995,22427,-4604,-16419,4015,14173,3913,-3952,-8438,-12773,-8037,-2799,-3259,-4045,-4962,-716,3909,713,15,3366,2181,-778,-239,583,241,-68,-1193,-592,-431,-1657,-1144,-1068,-1545,-752,195,-399,-1131,-683,126,732,392,146,709,395,-428,-190,101,-208,-268,-231,-445,-718,-801,-422,-38,-362,-575,-16,282,64,24,265,470,167,-176,-40,-20,-290,-307,-50,-84,-234,-230,-136,-116,-149,76,199,73,-72,-122,-86,-35,48,114,79,-136,-345,-394,-303,-282,-347,-363,-386,-352,-217,-29,65,58,-28,-86,-7,46,64,50,-31,-131,-215,-221,-163,-145,-114,-52,-82,-144,-89,66,142,124,80,55,76,128,200,210,129,43,6}}, // azimuth 105 degrees + {{1,2,1,1,3,2,1,2,-1,2,0,1,3,0,0,4,-1,3,6,-2,7,-4,5,0,14,13,-2,-8,179,1133,1018,-862,-1138,163,694,669,665,993,2012,2986,2450,922,280,482,362,-239,-720,-910,-923,-404,625,1351,1295,685,40,-358,-514,-599,-797,-1022,-1168,-1010,-624,-501,-473,-253,-74,-42,0,69,90,43,-20,-26,-37,-121,-248,-357,-424,-458,-449,-461,-487,-471,-397,-262,-154,-87,-17,43,67,72,75,52,11,-48,-106,-135,-168,-233,-272,-276,-277,-237,-184,-158,-157,-140,-93,-98,-138,-159,-165,-151,-132,-124,-138,-163,-141,-87,-46,-25,-23,-18,-14,5,13,-10,-40,-81,-95,-94,-103,-134,-155,-148,-112,-82,-74,-17},{224,-252,180,-128,2255,16138,300,-28001,-6607,15407,6219,35,11929,23573,4210,-16232,-1839,14948,8246,-2397,-7857,-12552,-9163,-3252,-3319,-4056,-4852,-2940,2670,2447,-240,1824,2406,-61,-131,704,279,113,-715,-594,-173,-1410,-1472,-1094,-1333,-752,98,-268,-915,-715,-340,393,612,43,238,434,-175,-330,-14,-88,-164,-83,-271,-559,-741,-542,-59,-125,-534,-322,142,87,-31,112,365,276,-133,-113,54,-127,-290,-66,11,-179,-250,-199,-112,-188,-80,131,102,-28,-129,-107,-39,45,136,141,-37,-252,-404,-400,-305,-320,-341,-397,-418,-284,-55,119,125,-1,-134,-101,19,58,35,-14,-93,-165,-208,-176,-143,-132,-50,-34,-116,-115,23,137,147,96,43,38,94,181,206,133,34,2}}, // azimuth 110 degrees + {{0,1,1,2,2,0,2,0,0,1,1,1,2,-1,2,3,-1,5,0,5,0,6,-1,4,16,2,11,70,1082,1476,-691,-1607,-11,795,606,538,1021,2284,3292,2542,947,366,328,184,-188,-859,-1129,-1066,-1056,-793,-183,727,1495,1544,1079,566,104,-278,-546,-901,-1099,-1037,-1021,-887,-722,-608,-426,-292,-195,-47,146,201,138,95,51,15,-78,-215,-297,-365,-424,-465,-535,-557,-495,-405,-255,-99,-30,3,55,87,105,114,62,-6,-52,-112,-191,-254,-274,-285,-293,-268,-214,-168,-163,-177,-177,-166,-152,-138,-140,-135,-115,-101,-82,-85,-76,-49,-46,-27,-17,-23,-36,-63,-83,-99,-100,-98,-113,-118,-121,-127,-108,-94,-75,-62,-61,-14},{-48,200,-379,523,-446,10235,11867,-19026,-19437,9908,11606,28,4481,20927,14042,-11389,-8700,12104,12998,785,-6301,-11859,-11121,-3865,-2897,-4657,-4663,-4101,237,3108,851,611,1912,552,-7,938,552,80,-428,-588,191,-843,-1798,-1222,-1222,-1003,-25,18,-811,-741,-383,1,483,176,67,278,-77,-365,-82,-68,-280,-64,-63,-356,-596,-590,-152,9,-361,-453,-64,60,-67,-12,208,287,-41,-168,55,26,-212,-130,30,-120,-233,-237,-175,-204,-198,22,114,42,-89,-144,-76,50,167,181,21,-254,-440,-438,-308,-281,-353,-408,-425,-296,-75,80,83,-23,-134,-135,-31,24,5,-9,-30,-105,-199,-218,-157,-115,-68,-13,-74,-134,-37,96,147,95,26,6,48,148,206,151,26,-8}}, // azimuth 115 degrees + {{1,1,1,1,1,1,0,1,-1,-1,1,-1,1,0,3,1,4,-2,6,0,5,5,-6,23,-11,33,18,930,1898,-269,-2094,-417,946,709,439,895,2459,3885,3046,919,30,117,253,-236,-1231,-1345,-1111,-1218,-1038,-722,-289,320,931,1587,1879,1525,810,112,-451,-700,-727,-1031,-1319,-1224,-992,-869,-769,-567,-358,-121,112,265,234,163,217,167,51,-68,-183,-255,-390,-513,-571,-597,-540,-403,-254,-170,-139,-56,61,117,123,102,80,33,-43,-88,-135,-224,-289,-298,-288,-262,-245,-228,-222,-237,-208,-159,-126,-127,-136,-102,-68,-46,-28,-22,-25,-31,-26,-23,-42,-69,-100,-124,-143,-160,-151,-132,-134,-128,-88,-59,-54,-55,-40,-26,-32,-9},{-191,301,-329,256,-272,2963,14622,-2274,-24382,-3697,14160,4772,-1331,12760,20944,-668,-12862,4732,15980,5914,-4294,-9441,-12578,-6560,-1817,-4625,-5350,-4372,-2027,2070,2016,550,1340,858,-115,871,1301,216,-395,-621,110,109,-1511,-1657,-1156,-1154,-494,169,-421,-850,-442,-120,304,250,0,212,92,-408,-312,26,-270,-328,-36,-102,-347,-528,-291,62,-151,-460,-225,45,-71,-134,28,236,113,-155,-15,136,-64,-209,-46,-40,-190,-250,-253,-210,-221,-77,88,82,-6,-88,-71,19,140,136,6,-191,-358,-418,-354,-290,-337,-350,-333,-291,-188,-54,18,6,-58,-130,-89,-9,22,17,-12,-74,-160,-208,-168,-95,-60,-14,-21,-109,-97,36,121,100,42,10,33,104,186,179,68,1}}, // azimuth 120 degrees + {{3,2,2,2,1,0,0,1,-1,2,0,1,1,3,1,4,-1,6,5,-2,13,-10,25,-11,36,-2,754,2236,320,-2516,-997,1074,869,382,813,2645,4415,3533,1100,-31,-72,-25,-409,-1306,-1734,-1577,-1270,-984,-875,-523,50,301,537,1249,1955,1905,1336,573,-118,-377,-619,-985,-1309,-1433,-1268,-1088,-986,-849,-457,-79,-10,105,317,395,332,199,118,74,-80,-209,-344,-535,-563,-498,-439,-418,-398,-283,-140,-26,15,56,122,105,50,15,-11,-23,-81,-187,-264,-306,-302,-276,-292,-308,-280,-217,-176,-165,-134,-98,-66,-48,-34,-9,13,23,15,-7,-30,-56,-96,-129,-165,-188,-179,-181,-187,-164,-120,-76,-38,-17,-12,-10,-3,-1,-15,-5},{-8,-63,187,-331,449,-414,8177,11225,-14328,-18101,7118,11495,-707,1952,18967,13023,-9152,-4942,13592,12557,-1071,-7274,-10536,-10187,-3349,-2763,-5856,-5129,-3426,51,2204,1008,1112,1391,0,-21,1636,1258,-320,-759,-298,532,-449,-1695,-1412,-1209,-899,-163,-111,-693,-558,-171,103,365,101,56,253,-165,-570,-195,-32,-375,-305,-79,-118,-319,-368,-45,78,-296,-396,-36,28,-166,-164,101,253,-7,-106,122,104,-203,-213,-27,-115,-243,-265,-207,-200,-161,37,136,89,-3,-41,-54,-25,63,85,-29,-253,-423,-419,-288,-227,-266,-315,-351,-315,-152,19,43,-25,-112,-101,7,47,18,-26,-62,-103,-147,-133,-89,-68,-23,14,-62,-137,-43,94,119,74,50,52,72,140,194,140,23}}, // azimuth 125 degrees + {{1,2,1,0,1,-1,-1,-1,1,-2,1,-2,3,0,2,0,2,5,-8,15,-18,26,-9,27,4,565,2471,1043,-2809,-1788,1109,1140,365,719,2857,5070,4017,1117,-44,-111,-181,-493,-1628,-2285,-1824,-1453,-1331,-974,-428,56,244,373,768,1174,1345,1554,1449,857,488,-19,-714,-1003,-1143,-1347,-1457,-1372,-1149,-812,-546,-293,-17,149,368,406,280,240,211,119,-70,-221,-299,-342,-386,-465,-494,-492,-441,-269,-142,-103,-31,31,51,27,25,69,59,-1,-84,-164,-251,-318,-323,-340,-345,-312,-271,-219,-186,-156,-108,-59,-15,-5,-12,10,39,40,25,-3,-62,-134,-183,-213,-221,-215,-217,-205,-173,-125,-75,-46,-31,-14,17,30,12,-10,-14,-3},{108,-164,177,-116,9,58,1112,11389,3609,-19043,-8695,11509,6372,-3295,7617,19794,4152,-9590,4280,16209,5921,-6002,-7855,-9663,-7511,-2676,-4331,-5982,-4539,-2190,1163,1631,751,1640,1189,-422,389,1955,870,-679,-815,107,412,-938,-1509,-1252,-1241,-763,-134,-429,-721,-218,55,255,347,96,147,141,-403,-560,-122,-134,-389,-272,-125,-198,-328,-224,93,25,-359,-296,1,-37,-173,-68,193,174,-63,-1,126,-101,-342,-169,-50,-210,-266,-217,-158,-157,-33,153,131,20,-87,-153,-102,60,136,27,-193,-353,-382,-299,-205,-279,-385,-395,-317,-197,-74,2,-10,-47,-71,-30,26,14,-23,-45,-70,-105,-109,-83,-80,-84,-30,-45,-135,-113,35,130,98,71,62,66,99,148,149,32}}, // azimuth 130 degrees + {{3,3,0,2,-3,2,-1,1,-1,0,-1,3,1,2,1,-1,14,-14,18,-16,17,3,14,28,395,2601,1836,-2916,-2704,990,1459,403,670,3145,5753,4494,1157,-63,-208,-380,-513,-1735,-2741,-2333,-1781,-1409,-1116,-790,95,557,352,739,1271,1020,777,947,1023,1052,719,82,-462,-937,-1089,-1174,-1421,-1526,-1215,-742,-526,-321,-10,207,262,251,303,309,150,16,5,-70,-179,-255,-347,-421,-467,-473,-391,-265,-204,-156,-80,-48,-44,8,98,132,71,-22,-90,-187,-294,-320,-322,-337,-337,-298,-249,-215,-162,-115,-79,-50,3,45,34,35,46,44,8,-59,-133,-207,-257,-273,-249,-212,-188,-162,-126,-86,-47,-25,-17,-11,10,30,28,11,-14,-6},{-49,90,-151,200,-249,249,-304,3461,11442,-3466,-18104,-910,11381,1227,-2682,12410,16864,-1381,-5596,10984,13918,-879,-7734,-6867,-8401,-5942,-3212,-5259,-5764,-3818,-1006,1458,1081,858,2005,923,-424,924,1734,392,-742,-585,257,-37,-1131,-1240,-1187,-1352,-755,-217,-636,-597,15,261,420,314,135,209,-27,-483,-419,-120,-263,-393,-217,-158,-304,-407,-155,148,-48,-370,-232,17,-34,-77,82,226,52,-151,-16,36,-250,-379,-168,-142,-249,-206,-100,-69,-101,29,101,-26,-113,-104,-65,-7,49,34,-73,-217,-312,-362,-325,-304,-362,-367,-341,-286,-178,-48,19,-5,-52,-57,-7,32,5,-32,-51,-82,-100,-100,-95,-120,-121,-87,-98,-120,-39,99,128,105,72,62,68,88,117,28}}, // azimuth 135 degrees + {{5,0,1,-1,1,-3,2,1,0,-2,4,2,-1,6,-8,18,-13,14,-11,7,13,-4,57,265,2644,2620,-2849,-3665,712,1777,465,647,3546,6526,4905,1099,7,-181,-709,-718,-1798,-3055,-2695,-2036,-1718,-1381,-870,75,489,369,916,1459,1165,778,604,374,577,771,416,82,-216,-615,-976,-1261,-1402,-1215,-954,-751,-462,-280,-54,147,172,194,211,198,170,136,-16,-143,-138,-178,-248,-360,-444,-361,-292,-322,-295,-212,-138,-90,-47,45,120,107,28,-51,-139,-251,-284,-289,-317,-317,-295,-239,-203,-195,-153,-103,-57,-10,15,45,72,66,51,-3,-82,-162,-232,-265,-274,-244,-210,-181,-154,-128,-85,-43,-22,-27,-31,-18,11,27,19,-4,-22,-6},{-44,18,6,-66,132,-221,276,-254,5424,9574,-7931,-14602,3934,8659,-2296,-112,14861,13081,-3255,-395,14063,8922,-5502,-6955,-5680,-7703,-5196,-3721,-5839,-5493,-2982,-76,1444,571,1152,2198,651,64,1342,1210,-50,-604,-219,198,-496,-1253,-1053,-1201,-1450,-705,-377,-781,-358,261,350,475,430,272,206,-91,-393,-275,-195,-418,-372,-175,-193,-362,-453,-163,42,-170,-288,-47,104,9,28,159,157,-86,-191,-14,-62,-368,-376,-139,-139,-189,-104,-29,-90,-152,-10,72,0,-63,-96,-88,-11,74,40,-134,-297,-359,-345,-283,-312,-396,-389,-322,-216,-100,-7,30,-8,-31,-15,43,60,-7,-41,-57,-84,-116,-127,-114,-139,-141,-89,-86,-84,42,157,160,88,57,61,65,98,27}}, // azimuth 140 degrees + {{0,2,-3,-1,-3,0,-1,-2,-5,-1,4,-5,4,-12,14,-14,9,-8,-3,20,-26,78,177,2653,3344,-2676,-4617,329,2088,522,621,4087,7420,5202,928,130,-68,-1008,-1011,-2013,-3454,-2980,-2116,-1915,-1632,-1135,-45,702,378,705,1642,1491,837,655,408,228,152,-3,55,-11,-202,-459,-888,-1183,-1011,-710,-749,-712,-459,-175,-5,-34,16,208,265,137,60,-8,-89,-84,-102,-183,-251,-268,-270,-291,-358,-363,-245,-169,-159,-121,-30,63,45,-40,-49,-78,-195,-257,-260,-271,-283,-252,-212,-222,-216,-165,-92,-58,-49,-3,32,56,63,26,-34,-120,-207,-260,-272,-251,-212,-171,-152,-153,-141,-102,-53,-28,-39,-46,-43,-29,9,9,-21,-39,-43,-10},{43,-69,53,-35,-8,61,-145,199,74,6527,7270,-9904,-10631,5906,5048,-3647,2729,15249,10107,-2591,4094,13815,3572,-7391,-5164,-4965,-7529,-4799,-4093,-6254,-4955,-2202,440,1293,173,1427,2253,652,639,1524,730,-387,-331,46,-13,-885,-1411,-956,-1260,-1523,-723,-530,-735,-158,366,452,537,500,469,373,-81,-354,-235,-319,-478,-332,-221,-307,-424,-404,-210,-150,-247,-133,139,137,0,54,146,100,-118,-208,-103,-183,-347,-249,-104,-156,-192,-133,-76,-110,-80,72,58,-63,-109,-75,-33,-11,-4,-75,-183,-258,-317,-344,-331,-368,-400,-351,-259,-155,-74,8,45,21,2,18,59,32,-35,-57,-81,-123,-138,-127,-124,-156,-147,-90,-72,-16,105,163,109,62,65,69,67,16}}, // azimuth 145 degrees + {{1,-4,-1,-3,-2,-1,-3,-4,-2,4,-5,6,-14,13,-13,5,-5,-10,32,-44,89,130,2643,3990,-2399,-5523,-174,2398,619,558,4696,8459,5426,604,316,165,-1307,-1335,-2217,-3923,-3412,-2168,-1971,-1828,-1296,-100,730,325,734,1775,1519,889,775,512,281,86,-323,-415,-396,-472,-368,-412,-703,-678,-510,-531,-499,-486,-333,-122,-119,-8,189,128,-45,0,26,-86,-134,-147,-119,-139,-252,-247,-190,-260,-289,-210,-158,-159,-163,-86,-22,-63,-105,-100,-123,-210,-217,-183,-214,-221,-212,-204,-226,-227,-129,-59,-49,-20,7,9,9,0,-20,-92,-180,-220,-253,-266,-241,-182,-130,-111,-110,-116,-108,-73,-34,-47,-70,-67,-50,-23,-2,-24,-62,-77,-65,-13},{-22,44,-70,58,-53,19,14,-88,125,423,6896,5322,-10094,-7295,5618,1918,-3232,4784,14374,8457,-462,6920,11272,-628,-7059,-3447,-4848,-7356,-4874,-4440,-5995,-4440,-1540,663,753,37,1826,2329,690,983,1646,530,-477,-175,118,-335,-1192,-1396,-1003,-1438,-1579,-747,-604,-666,25,506,549,591,639,685,480,-26,-304,-240,-374,-512,-338,-305,-434,-521,-405,-121,-107,-284,-204,76,141,97,101,74,12,-130,-137,-89,-235,-328,-195,-111,-196,-177,-76,-53,-104,-78,17,-7,-58,-52,-74,-96,-46,-33,-105,-194,-254,-308,-367,-352,-343,-347,-290,-220,-131,-38,32,68,45,16,24,36,-2,-56,-66,-88,-120,-136,-144,-140,-153,-131,-70,-41,22,116,131,100,74,67,57,11}}, // azimuth 150 degrees + {{-2,0,-2,0,2,-2,-3,0,5,-3,9,-13,15,-12,5,0,-17,44,-48,90,122,2674,4507,-2109,-6295,-758,2654,774,534,5362,9567,5627,132,472,530,-1562,-1714,-2437,-4354,-3894,-2306,-2009,-2015,-1435,-48,919,345,573,1842,1740,902,673,562,346,93,-232,-518,-814,-817,-593,-656,-788,-395,42,-131,-338,-304,-178,-15,47,2,-48,-50,-102,-59,-48,-208,-218,-139,-140,-210,-286,-215,-99,-135,-183,-88,-22,-110,-190,-140,-57,-79,-189,-208,-181,-236,-235,-160,-156,-185,-185,-175,-199,-207,-105,9,38,31,16,-1,-29,-79,-123,-151,-174,-218,-268,-256,-213,-166,-117,-88,-69,-67,-56,-44,-47,-59,-69,-71,-76,-54,-21,-26,-68,-95,-94,-71,-14},{8,-19,37,-61,60,-64,38,-11,-49,84,656,6781,4059,-9144,-5194,3970,55,-1910,5578,12961,8303,2217,7631,7665,-2793,-5483,-2487,-5104,-7046,-5128,-4978,-5128,-3524,-1591,508,435,110,2210,2284,832,1129,1575,751,-248,-382,-139,-426,-1363,-1434,-1122,-1691,-1554,-801,-713,-471,249,618,660,695,772,821,465,-47,-150,-141,-428,-574,-424,-399,-462,-496,-369,-141,-170,-292,-209,-53,12,114,179,93,-40,-144,-65,-42,-250,-323,-141,-49,-122,-147,-126,-129,-167,-98,1,-38,-67,-50,-49,-101,-112,-88,-130,-187,-247,-290,-305,-317,-327,-318,-266,-182,-96,-15,40,42,42,29,21,20,-30,-59,-75,-102,-117,-143,-140,-143,-158,-114,-51,-11,39,94,113,87,72,60,12}}, // azimuth 155 degrees + {{-3,-4,-1,-1,-2,-4,-2,4,-5,8,-13,12,-13,2,0,-21,40,-44,82,132,2782,4862,-1903,-6851,-1377,2773,978,580,6111,10636,5758,-318,526,870,-1698,-2098,-2704,-4791,-4365,-2457,-2064,-2236,-1626,20,1109,489,653,1852,1722,923,739,565,259,-58,-411,-400,-534,-942,-982,-1037,-1139,-614,37,167,54,-36,231,525,223,-129,-80,-11,-155,-261,-267,-304,-296,-277,-282,-302,-332,-206,-58,-102,-69,82,89,-38,-145,-97,-42,-152,-252,-242,-235,-287,-267,-187,-212,-231,-170,-155,-188,-168,-40,79,74,62,66,-13,-107,-167,-172,-165,-209,-242,-261,-263,-218,-156,-111,-102,-95,-57,-26,-3,-4,-46,-81,-94,-86,-70,-52,-53,-90,-127,-130,-107,-69,-12},{3,3,-14,32,-57,59,-70,49,-27,-22,57,753,6381,3469,-7658,-4353,1918,-500,-526,5224,11639,9387,4490,6416,4360,-2955,-3817,-2346,-5214,-6806,-5415,-5102,-4435,-2604,-1663,-212,468,540,2119,2181,1162,1234,1351,971,264,-538,-753,-534,-1119,-1569,-1470,-1814,-1599,-866,-619,-210,385,603,761,874,866,791,488,32,-167,-122,-342,-545,-520,-465,-353,-404,-440,-340,-360,-353,-168,-16,-22,0,68,118,52,-101,-85,-20,-76,-130,-97,-135,-220,-190,-144,-153,-201,-162,-65,-44,-41,-48,-107,-158,-135,-93,-89,-155,-220,-252,-273,-287,-334,-307,-221,-149,-80,-39,-3,37,56,40,13,-14,-52,-78,-86,-107,-122,-138,-145,-145,-151,-95,-37,-13,24,67,80,83,77,16}}, // azimuth 160 degrees + {{-5,0,1,-3,-5,-2,2,-6,7,-13,12,-14,2,-3,-21,33,-37,73,163,2974,5068,-1844,-7147,-1901,2667,1182,779,6896,11626,5792,-666,613,1028,-1784,-2380,-3002,-5177,-4841,-2663,-2084,-2409,-1863,1,1283,639,798,1997,1795,915,692,622,72,-394,-268,-267,-707,-1031,-985,-1065,-1349,-935,-275,-183,47,580,842,684,420,293,215,21,-287,-390,-395,-515,-519,-444,-407,-390,-386,-275,-99,-31,24,147,162,40,-41,-21,0,-104,-244,-267,-265,-320,-310,-253,-284,-319,-245,-141,-96,-80,-21,59,93,96,57,-48,-133,-154,-153,-184,-241,-265,-271,-255,-215,-172,-127,-109,-104,-80,-42,0,15,-8,-47,-63,-72,-87,-86,-92,-101,-131,-159,-162,-123,-30,4},{-4,5,0,-11,29,-51,54,-68,55,-38,-3,40,745,5842,3423,-6106,-4490,138,-130,381,4226,10881,11005,5697,4209,2248,-2009,-2753,-2543,-5128,-6633,-5655,-4782,-3706,-2554,-1636,-228,175,815,2188,1989,1353,1387,1416,931,275,-341,-798,-965,-1245,-1361,-1669,-2040,-1589,-838,-389,-23,384,607,751,970,1044,796,374,63,-43,-171,-383,-401,-327,-355,-442,-559,-588,-511,-444,-399,-248,-56,43,82,23,-1,57,91,136,83,-66,-155,-160,-175,-216,-218,-202,-198,-215,-188,-113,-63,-61,-89,-132,-129,-78,-65,-70,-118,-182,-226,-280,-293,-290,-260,-190,-146,-101,-52,3,60,57,25,2,-36,-70,-88,-91,-86,-119,-142,-134,-136,-121,-95,-45,-20,7,62,92,96,23}}, // azimuth 165 degrees + {{-2,0,-1,-6,-1,0,-2,4,-12,13,-18,5,-10,-10,20,-31,67,218,3256,5113,-1994,-7190,-2200,2371,1253,1166,7755,12421,5767,-893,759,1080,-1959,-2600,-3287,-5533,-5234,-2911,-2153,-2564,-2037,5,1335,677,953,2223,1931,1100,659,203,55,-153,-401,-454,-835,-1208,-1090,-1037,-1262,-1087,-622,-211,206,372,638,1038,983,677,445,215,-76,-375,-600,-713,-706,-630,-563,-539,-518,-339,-82,-18,9,163,232,125,-9,14,127,37,-165,-230,-276,-361,-370,-310,-326,-380,-284,-145,-103,-69,20,104,82,8,-14,-52,-87,-96,-136,-178,-227,-258,-266,-267,-229,-182,-152,-125,-113,-85,-44,-19,3,-15,-27,-22,-39,-69,-100,-106,-122,-143,-167,-177,-157,-75,33,17},{5,-5,8,0,-8,24,-42,45,-61,53,-40,10,29,675,5258,3721,-4760,-5170,-1052,586,702,3254,10595,12333,5965,2053,1280,-842,-2259,-2792,-4893,-6443,-5777,-4384,-3024,-2546,-2113,-174,819,725,1679,2166,1599,1431,1415,880,174,-462,-613,-811,-1565,-1694,-1472,-1760,-1690,-893,-240,104,327,514,896,1076,916,702,438,134,-8,-38,-204,-318,-348,-417,-522,-712,-757,-607,-518,-463,-273,-43,94,135,111,136,177,154,125,71,-68,-233,-251,-172,-161,-238,-302,-270,-226,-179,-117,-88,-92,-81,-62,-69,-64,-59,-63,-104,-163,-207,-254,-287,-288,-238,-175,-129,-103,-64,-6,43,55,18,-22,-65,-79,-74,-79,-86,-108,-129,-141,-137,-120,-85,-60,-33,13,81,115,27}}, // azimuth 170 degrees + {{-1,0,-6,0,-1,-1,3,-11,13,-22,11,-22,2,7,-20,55,306,3633,4987,-2349,-7017,-2255,1981,1133,1651,8702,12969,5755,-864,835,1027,-2066,-2875,-3626,-5782,-5548,-3209,-2241,-2655,-2223,-12,1428,718,956,2397,2262,998,510,594,144,-525,-565,-474,-934,-1385,-1252,-1227,-1486,-1013,-209,-52,-80,232,696,1003,999,862,775,496,60,-240,-481,-711,-810,-774,-749,-737,-636,-430,-195,-92,1,183,230,149,92,117,177,111,-36,-146,-268,-386,-398,-326,-306,-345,-300,-211,-166,-92,3,58,48,14,-3,-53,-107,-99,-92,-134,-191,-230,-254,-274,-247,-195,-161,-139,-125,-88,-52,-16,13,-7,-34,-34,-35,-47,-73,-110,-121,-140,-160,-175,-163,-101,-13,54,17},{-8,6,-5,5,-1,-8,21,-34,32,-48,37,-31,10,25,568,4675,4176,-3726,-5962,-1687,1201,765,2601,10281,13015,5814,476,981,97,-2105,-2942,-4527,-6261,-5762,-3908,-2643,-2620,-2266,-297,1137,1140,1298,1819,1956,1608,1188,751,145,-564,-733,-643,-1215,-1799,-1751,-1500,-1330,-943,-405,32,378,597,783,929,881,654,491,374,222,92,-160,-431,-559,-594,-643,-768,-811,-685,-527,-397,-210,24,175,189,192,247,264,182,36,-62,-170,-264,-223,-204,-260,-307,-269,-212,-258,-240,-120,-46,-29,-34,-40,-42,-76,-72,-57,-104,-140,-197,-256,-278,-278,-222,-163,-126,-100,-79,-26,16,24,17,-30,-59,-72,-75,-60,-82,-103,-129,-150,-138,-130,-108,-45,-10,35,92,25}}, // azimuth 175 degrees + {{2,-7,2,-2,2,1,-8,16,-28,22,-34,19,-12,-5,37,439,4123,4644,-2953,-6605,-2025,1616,894,2141,9629,13168,5690,-459,920,705,-2065,-2971,-4108,-6001,-5670,-3535,-2415,-2686,-2284,-163,1294,909,1258,2171,1828,1383,1148,572,16,-535,-646,-637,-1073,-1400,-1545,-1674,-1415,-682,-261,-163,137,465,741,862,834,795,727,559,288,-7,-346,-601,-699,-737,-758,-820,-806,-594,-356,-226,-103,90,222,216,186,213,234,138,1,-87,-220,-356,-342,-260,-259,-307,-306,-234,-206,-192,-90,1,24,9,-22,-50,-84,-86,-77,-115,-155,-204,-257,-272,-258,-203,-159,-136,-115,-95,-49,-2,19,2,-31,-47,-55,-59,-62,-87,-119,-134,-147,-154,-159,-108,-32,18,57,17},{2,-7,2,-2,2,1,-8,16,-28,22,-34,19,-12,-5,37,439,4123,4644,-2953,-6605,-2025,1616,894,2141,9629,13168,5690,-459,920,705,-2065,-2971,-4108,-6001,-5670,-3535,-2415,-2686,-2284,-163,1294,909,1258,2171,1828,1383,1148,572,16,-535,-646,-637,-1073,-1400,-1545,-1674,-1415,-682,-261,-163,137,465,741,862,834,795,727,559,288,-7,-346,-601,-699,-737,-758,-820,-806,-594,-356,-226,-103,90,222,216,186,213,234,138,1,-87,-220,-356,-342,-260,-259,-307,-306,-234,-206,-192,-90,1,24,9,-22,-50,-84,-86,-77,-115,-155,-204,-257,-272,-258,-203,-159,-136,-115,-95,-49,-2,19,2,-31,-47,-55,-59,-62,-87,-119,-134,-147,-154,-159,-108,-32,18,57,17}}, // azimuth 180 degrees +}; +inline constexpr std::int16_t pcm48000_p10[37][2][hrir::taps]={ + {{6,-6,10,4,-11,33,-61,78,-89,77,-51,13,29,1568,7786,2398,-5535,381,-3005,-4114,6762,5453,4107,12156,10101,-3052,-5461,2934,-1036,-12098,-10035,-1734,-2584,-6284,-1675,2213,106,843,3539,2920,1178,1879,2849,1403,-87,104,709,-324,-1291,-673,-533,-1726,-2854,-2131,-744,-261,-281,-316,-443,-466,-10,305,176,-111,-45,224,217,-57,-253,-70,-165,-526,-592,-585,-652,-414,-10,-38,-229,-117,39,-61,-96,92,126,-99,-269,-269,-220,-171,-180,-169,-132,-184,-229,-155,-38,-3,-13,2,-36,-124,-128,-11,31,-64,-83,-106,-230,-297,-258,-227,-200,-126,-125,-162,-89,64,157,176,106,-34,-110,-123,-137,-145,-117,-151,-239,-204,-111,-67,-28,-25,-104,-161,-116,-69,-59,-14},{6,-6,10,4,-11,33,-61,78,-89,77,-51,13,29,1568,7786,2398,-5535,381,-3005,-4114,6762,5453,4107,12156,10101,-3052,-5461,2934,-1036,-12098,-10035,-1734,-2584,-6284,-1675,2213,106,843,3539,2920,1178,1879,2849,1403,-87,104,709,-324,-1291,-673,-533,-1726,-2854,-2131,-744,-261,-281,-316,-443,-466,-10,305,176,-111,-45,224,217,-57,-253,-70,-165,-526,-592,-585,-652,-414,-10,-38,-229,-117,39,-61,-96,92,126,-99,-269,-269,-220,-171,-180,-169,-132,-184,-229,-155,-38,-3,-13,2,-36,-124,-128,-11,31,-64,-83,-106,-230,-297,-258,-227,-200,-126,-125,-162,-89,64,157,176,106,-34,-110,-123,-137,-145,-117,-151,-239,-204,-111,-67,-28,-25,-104,-161,-116,-69,-59,-14}}, // azimuth 0 degrees + {{-4,4,-4,4,8,-13,29,-50,61,-69,46,-20,-14,50,1203,6675,2906,-4588,131,-2247,-4204,5306,5135,3682,10663,9784,-1237,-4561,2070,-595,-10170,-9259,-2429,-2537,-5482,-1898,1607,52,658,2920,2468,1293,1900,2489,1186,2,260,794,-13,-900,-641,-576,-1323,-2312,-2070,-960,-602,-694,-301,-48,-214,-23,269,351,136,-106,-224,-261,-210,-296,-255,-318,-529,-475,-441,-522,-331,-15,-21,-190,-129,51,7,-65,14,74,-22,-185,-228,-255,-259,-207,-185,-156,-178,-209,-127,-25,9,9,29,-8,-140,-160,-29,8,-82,-116,-123,-204,-262,-213,-199,-242,-202,-160,-147,-91,23,136,187,142,10,-81,-104,-116,-136,-124,-152,-218,-186,-125,-92,-58,-26,-93,-162,-131,-89,-18},{2,1,14,-27,51,-74,78,-82,48,7,-78,126,1002,8144,4352,-6410,-539,-2430,-5262,6854,6474,3904,12707,11743,-2705,-7073,2481,100,-12135,-11597,-2685,-1940,-6312,-2685,2192,413,726,3584,3417,1468,1583,2956,1986,318,74,613,-195,-1444,-947,-811,-2035,-2882,-2268,-1042,-143,155,-74,-685,-919,-227,167,-127,-371,200,752,498,161,-10,115,11,-424,-607,-661,-773,-565,-104,-67,-238,-158,-56,-168,-148,73,141,-52,-264,-253,-193,-131,-97,-108,-97,-173,-270,-223,-90,-41,-42,-2,-25,-163,-198,-21,74,-4,-45,-108,-257,-320,-222,-160,-173,-115,-105,-148,-91,47,158,175,90,-56,-147,-148,-150,-158,-125,-166,-260,-229,-134,-73,-3,42,-60,-173,-132,-73,-52,0,8}}, // azimuth 5 degrees + {{-3,-2,5,-5,5,7,-10,24,-39,51,-60,42,-17,-2,41,1112,5902,2733,-3745,-57,-2006,-3536,4202,4586,4019,9483,8718,-140,-3456,1196,-831,-8332,-8298,-3046,-2428,-4520,-1895,966,167,726,2262,2060,1521,1852,1876,967,305,421,789,151,-680,-611,-649,-1234,-1859,-1694,-1114,-869,-675,-147,126,-110,-108,112,264,184,-114,-451,-528,-380,-365,-332,-405,-511,-370,-293,-412,-344,-56,2,-124,-95,12,-3,-34,33,90,11,-124,-215,-292,-285,-244,-213,-159,-172,-199,-125,-13,19,5,16,-6,-107,-173,-91,-30,-75,-95,-126,-210,-247,-189,-182,-244,-223,-175,-147,-76,35,119,158,125,32,-51,-99,-137,-150,-113,-127,-188,-181,-126,-96,-56,-35,-99,-166,-145,-29},{-4,28,-39,63,-79,75,-65,16,65,-147,209,638,8308,6084,-6837,-1680,-2152,-6059,7068,7298,3712,13846,13069,-3121,-8112,2311,271,-12584,-11986,-3055,-2289,-6309,-2704,2028,46,765,3913,3459,1668,1689,2853,2143,784,465,637,-173,-1354,-1343,-1458,-2088,-2740,-2495,-1222,-124,267,158,-533,-1148,-756,-349,-265,-100,435,805,641,473,252,318,194,-346,-564,-633,-809,-658,-193,-114,-300,-231,-110,-232,-266,-38,138,3,-197,-185,-162,-95,1,11,-30,-181,-319,-299,-194,-85,-18,15,-48,-217,-235,-44,98,30,-67,-129,-239,-270,-159,-94,-121,-76,-77,-151,-106,42,138,153,92,-68,-171,-175,-168,-169,-128,-164,-287,-270,-167,-90,11,93,5,-120,-116,-78,-67,-16,39,10}}, // azimuth 10 degrees + {{-1,-3,-3,3,-4,4,7,-10,22,-31,38,-47,33,-8,-3,37,907,5113,2875,-3079,-404,-1423,-3181,2991,4442,4052,8086,8039,1082,-2792,289,-419,-6492,-7801,-3538,-1962,-3747,-2263,494,397,509,1527,1917,1751,1439,1393,1221,655,382,715,364,-472,-594,-684,-1250,-1570,-1208,-1033,-1078,-556,65,-20,-378,-267,-13,87,25,-138,-371,-506,-450,-424,-370,-391,-427,-318,-283,-387,-325,-62,2,-106,-65,24,-32,-40,58,95,10,-116,-201,-273,-265,-220,-195,-159,-171,-192,-137,-49,-7,-17,-8,-14,-107,-162,-104,-46,-53,-79,-121,-203,-243,-206,-185,-191,-160,-149,-147,-87,15,99,117,91,13,-52,-83,-123,-136,-102,-114,-176,-164,-120,-92,-87,-56,-83,-148,-38},{38,-52,70,-76,55,-25,-48,146,-238,310,176,7789,8522,-6368,-3805,-1673,-6576,6100,8491,3898,14067,15078,-2315,-9737,1409,1088,-12598,-13209,-3561,-1771,-6518,-3443,2421,96,29,4101,3846,1630,1728,2968,2138,965,939,986,112,-1610,-2061,-1477,-1741,-2938,-2838,-1389,-277,166,312,-180,-1376,-1561,-798,93,446,440,629,650,707,505,407,303,-216,-449,-560,-831,-715,-213,-151,-408,-343,-155,-300,-405,-127,111,50,-138,-163,-121,-51,83,111,49,-139,-381,-413,-248,-93,-29,-14,-90,-252,-295,-105,65,-5,-61,-80,-199,-234,-109,-24,-67,-58,-62,-140,-129,5,119,149,80,-100,-211,-211,-180,-174,-138,-164,-299,-310,-205,-107,2,105,43,-87,-105,-67,-61,-27,25,-28,-16}}, // azimuth 15 degrees + {{0,0,-2,-1,2,-2,4,7,-9,20,-26,29,-30,16,6,-13,43,651,4324,3137,-2505,-706,-785,-3030,1949,4366,3790,6771,7619,2153,-2365,-320,246,-4953,-7417,-3717,-1472,-3315,-2624,249,478,52,1012,1985,1637,1017,1405,1474,691,348,844,557,-440,-635,-675,-1022,-1118,-977,-1032,-997,-504,-123,-343,-665,-496,-177,-42,-96,-126,-119,-256,-427,-494,-350,-302,-417,-385,-328,-335,-227,-62,-46,-94,-45,3,-61,-92,-3,80,38,-71,-148,-202,-198,-183,-194,-172,-170,-199,-188,-120,-55,-33,-18,-27,-89,-154,-115,-38,-51,-84,-105,-163,-225,-209,-161,-137,-112,-116,-140,-121,-33,59,94,57,-14,-63,-73,-92,-124,-106,-106,-145,-156,-115,-109,-96,-53,-79,-25},{-39,59,-55,12,33,-123,217,-294,341,-137,6406,10837,-4225,-6276,-1765,-6300,4523,8651,4393,14344,16324,-275,-9774,-687,1133,-11224,-14066,-5705,-1463,-5094,-4540,1632,955,-178,3454,3963,1988,1603,2892,2420,1036,1206,1510,338,-2038,-2287,-1037,-1552,-2976,-3077,-1997,-620,195,276,-186,-1610,-2128,-799,795,832,217,549,784,811,551,279,309,7,-314,-477,-730,-769,-255,-40,-435,-505,-266,-341,-451,-242,87,150,-103,-199,-116,7,136,181,111,-136,-370,-368,-231,-138,-92,-38,-74,-298,-411,-234,-28,20,4,-19,-130,-189,-64,40,-24,-52,-46,-114,-148,-46,103,149,84,-110,-230,-226,-218,-196,-152,-135,-264,-328,-241,-133,6,128,79,-86,-132,-83,-34,-6,23,-19,-84,-22}}, // azimuth 20 degrees + {{-5,-1,1,-2,-1,2,1,1,9,-10,17,-21,21,-17,2,23,-25,60,390,3535,3394,-1915,-948,-230,-2891,1075,4171,3390,5662,7243,2987,-1908,-635,826,-3691,-6823,-3723,-1277,-2970,-2779,-15,314,-346,819,1905,1383,907,1371,1479,875,536,817,436,-366,-419,-459,-688,-778,-967,-1239,-1015,-503,-463,-761,-956,-680,-247,-95,-68,10,72,-31,-260,-470,-425,-295,-363,-428,-343,-261,-194,-85,-90,-138,-117,-95,-116,-129,-39,96,123,16,-87,-134,-161,-173,-168,-166,-204,-256,-249,-165,-87,-57,-28,-29,-97,-149,-117,-48,-43,-74,-81,-127,-179,-165,-144,-136,-116,-105,-122,-129,-55,23,42,27,-45,-84,-87,-95,-89,-94,-88,-120,-141,-119,-117,-100,-67,-14},{19,-5,-45,94,-179,237,-265,261,-191,4422,12389,-223,-8560,-3255,-5641,2888,8588,4491,14321,18173,1917,-9004,-2080,165,-10018,-13615,-8096,-3111,-3615,-4104,346,923,125,3452,3864,1936,1810,2751,2443,1288,1348,1610,-60,-2157,-1464,-784,-1662,-2457,-3159,-2822,-1137,351,173,-989,-2070,-1823,-195,886,772,436,660,856,791,461,194,253,105,-144,-427,-730,-711,-266,-88,-423,-531,-437,-455,-446,-228,154,229,-43,-201,-118,36,119,119,28,-124,-256,-289,-263,-202,-74,-5,-88,-332,-498,-379,-100,55,48,5,-87,-123,-43,25,-6,3,-18,-138,-173,-69,89,129,65,-79,-225,-258,-253,-225,-165,-142,-241,-324,-265,-143,10,140,91,-70,-139,-113,-77,-21,23,-6,-89,-131,-33}}, // azimuth 25 degrees + {{-4,-2,-1,0,-3,-1,1,1,-2,9,-11,14,-14,7,0,-13,28,-28,60,175,2744,3516,-1207,-1153,136,-2602,267,3780,3055,4710,6758,3637,-1284,-787,1142,-2479,-5981,-3798,-1257,-2554,-2838,-403,78,-441,741,1560,1122,897,1339,1620,1070,456,622,583,65,-200,-290,-354,-775,-1387,-1430,-922,-694,-939,-1084,-1026,-689,-254,-30,51,123,207,143,-113,-405,-421,-277,-313,-373,-326,-279,-240,-182,-162,-217,-260,-185,-124,-91,18,131,156,61,-21,-67,-122,-150,-191,-201,-233,-291,-267,-210,-137,-74,-50,-38,-79,-151,-130,-49,-30,-46,-61,-99,-135,-128,-124,-146,-122,-96,-118,-124,-86,-49,-30,-24,-46,-96,-110,-80,-68,-48,-63,-112,-145,-138,-123,-118,-27},{42,-94,129,-176,184,-148,91,-38,2334,12155,4994,-8716,-6054,-5175,1601,7942,4417,13557,19373,4592,-7227,-2684,-531,-9205,-12946,-9640,-5383,-3342,-3723,-337,1230,-102,2980,4447,2243,1480,2638,2665,1528,1429,788,-412,-1084,-986,-762,-1189,-2085,-3252,-3258,-1568,29,-374,-1928,-2294,-822,433,488,612,927,1128,840,497,380,220,202,59,-113,-400,-739,-612,-267,-116,-267,-500,-540,-587,-491,-90,220,258,14,-119,-33,-14,2,17,29,-41,-212,-261,-212,-170,-86,-33,-110,-319,-498,-412,-139,34,80,72,-37,-118,-80,27,72,49,2,-128,-179,-91,41,127,95,-41,-197,-283,-271,-211,-143,-114,-214,-307,-283,-159,12,147,143,-16,-127,-140,-98,-32,20,-9,-92,-122,-93,-16}}, // azimuth 30 degrees + {{-4,-2,-1,-3,2,-3,-1,0,1,-4,7,-9,9,-8,0,12,-29,36,-30,52,53,1958,3466,-382,-1318,334,-2128,-469,3240,2820,3866,6114,4143,-498,-856,1264,-1323,-5030,-3875,-1349,-2135,-2806,-798,5,-375,344,1065,1164,1035,1215,1515,1126,613,756,880,401,-134,-339,-471,-991,-1595,-1556,-1113,-983,-1119,-1153,-995,-581,-187,32,151,220,283,246,57,-265,-365,-236,-257,-360,-401,-379,-350,-301,-260,-296,-317,-212,-79,-25,44,156,188,107,28,-34,-85,-155,-245,-248,-229,-273,-303,-243,-159,-105,-61,-43,-82,-147,-124,-44,-32,-49,-36,-45,-84,-105,-98,-108,-129,-133,-149,-153,-126,-99,-69,-40,-51,-82,-95,-68,-32,-44,-55,-116,-149,-129,-129,-31},{-91,114,-132,73,0,-108,188,647,10078,9900,-5919,-9146,-6079,704,7272,3942,12220,20552,7001,-5579,-1999,-576,-8683,-11819,-10396,-8324,-3938,-3020,-1778,783,722,2673,4074,2868,2047,2414,2682,1901,1065,-683,-488,562,-801,-972,-585,-1704,-3141,-3418,-1836,-669,-1548,-2579,-1795,-77,422,262,700,1237,1527,964,218,170,268,248,-35,-300,-444,-655,-683,-410,-83,-122,-443,-598,-650,-462,-47,179,267,174,37,-43,-122,-113,-64,16,-27,-208,-295,-246,-176,-114,-103,-125,-234,-411,-424,-235,30,139,92,-51,-174,-133,-24,71,86,5,-137,-206,-155,-33,105,136,-3,-203,-313,-304,-214,-137,-124,-191,-275,-301,-237,-66,129,166,26,-109,-173,-150,-67,-1,-37,-123,-158,-122,-17,7}}, // azimuth 35 degrees + {{-1,-1,-3,-1,-3,1,-2,-1,1,1,-3,5,-7,4,0,-5,18,-30,30,-20,42,-8,1260,3198,477,-1350,326,-1499,-1085,2550,2677,3118,5378,4485,390,-771,1197,-320,-3991,-3874,-1547,-1696,-2517,-1139,-219,-473,16,908,1196,810,989,1688,1520,915,905,966,276,-420,-467,-588,-1254,-1794,-1657,-1262,-1066,-1071,-1093,-905,-470,-97,110,216,281,394,370,143,-131,-245,-236,-331,-451,-471,-462,-482,-421,-309,-302,-310,-203,-54,43,92,159,211,141,31,-41,-99,-174,-258,-250,-223,-265,-287,-250,-184,-130,-92,-70,-92,-128,-108,-53,-34,-27,0,9,-37,-83,-96,-128,-159,-173,-175,-173,-158,-121,-78,-46,-44,-65,-70,-50,-61,-60,-58,-87,-126,-134,-30},{20,-9,-62,152,-252,334,-225,6628,13002,-428,-10675,-8489,-859,7115,3586,9666,21514,10195,-4337,-1718,599,-7363,-11228,-9950,-10367,-6270,-2724,-2380,-418,185,2674,4792,3060,2189,2918,3656,1903,-485,-1273,-168,1000,-359,-619,-326,-1678,-2711,-2953,-2276,-1841,-2614,-2563,-1069,-18,134,379,959,1420,1669,1144,218,90,200,178,-9,-420,-559,-656,-800,-484,-100,-165,-374,-481,-539,-420,-94,170,339,332,146,2,-111,-206,-151,-6,-3,-180,-354,-325,-272,-231,-81,-3,-114,-336,-380,-228,-6,169,172,-2,-205,-208,-80,29,65,38,-95,-230,-223,-102,96,192,68,-159,-296,-318,-233,-120,-90,-144,-247,-297,-280,-131,93,182,83,-82,-171,-160,-84,-24,-31,-104,-152,-165,-79,64,26}}, // azimuth 40 degrees + {{0,0,-2,-2,2,-2,2,0,1,0,1,-1,3,-2,0,9,-7,17,-23,22,-4,18,-6,699,2692,1259,-1149,148,-834,-1461,1737,2521,2509,4561,4642,1329,-531,991,460,-2876,-3682,-1680,-1229,-2298,-1615,-367,-374,-244,483,942,944,1288,1963,1862,1017,547,571,113,-570,-715,-854,-1414,-1778,-1582,-1232,-1010,-987,-1008,-774,-324,13,156,269,379,473,415,199,-53,-254,-318,-380,-516,-577,-555,-534,-434,-320,-299,-265,-148,5,97,115,138,167,117,13,-62,-98,-157,-225,-237,-223,-223,-264,-268,-213,-170,-126,-92,-86,-96,-84,-26,7,0,22,23,-25,-81,-124,-140,-163,-166,-170,-185,-176,-136,-73,-29,-24,-47,-62,-75,-68,-58,-37,-58,-111,-30},{76,-157,205,-212,190,-188,2780,12896,6755,-9273,-11366,-3780,6324,4618,5946,20884,14822,-2906,-2037,2012,-5387,-10450,-8927,-10974,-9095,-3213,-2894,-1827,-450,1400,4629,4077,2987,3099,4385,2733,-1680,-1652,56,627,169,-220,-167,-1496,-2390,-2570,-2677,-2908,-3456,-2286,-400,-176,-358,427,1435,1660,1505,1197,519,149,122,56,-155,-406,-522,-777,-971,-609,-159,-174,-403,-454,-351,-276,-119,100,390,482,256,102,-73,-245,-219,-30,14,-199,-392,-443,-408,-314,-90,64,16,-188,-311,-233,-53,165,236,119,-148,-279,-180,-52,42,24,-86,-232,-281,-167,51,221,154,-88,-263,-304,-253,-118,-55,-111,-204,-289,-309,-206,33,182,112,-28,-145,-183,-108,-24,-27,-69,-127,-172,-144,-15,91,28}}, // azimuth 45 degrees + {{0,1,-1,0,-2,0,-2,0,0,1,-2,-1,1,-2,0,-4,12,-8,8,-6,0,8,5,14,308,2019,1827,-681,-162,-252,-1498,848,2260,2067,3774,4552,2166,-59,737,965,-1618,-3140,-1979,-1161,-1894,-1688,-628,-679,-628,442,1235,1310,1573,1920,1460,626,304,271,-245,-838,-871,-959,-1355,-1516,-1373,-1175,-957,-861,-838,-607,-232,88,232,285,400,484,363,121,-76,-242,-392,-507,-583,-591,-550,-517,-441,-324,-257,-168,-58,8,63,73,68,89,73,22,-45,-100,-135,-186,-212,-220,-249,-267,-270,-239,-195,-156,-104,-64,-47,-43,-18,-1,-5,4,4,-41,-100,-115,-125,-151,-164,-184,-207,-192,-130,-65,-33,-31,-48,-78,-67,-62,-53,-36,-60,-18},{-57,26,40,-143,220,201,8957,13030,-3433,-13655,-7667,3753,6401,3197,16950,20207,547,-3747,3139,-2107,-9601,-8588,-9622,-11250,-5243,-2716,-3049,-1680,-352,3673,4568,3109,4112,5562,3032,-2044,-1151,432,-329,258,241,98,-1317,-2286,-2099,-3260,-4124,-3728,-1814,-302,-428,-351,364,1458,1946,1608,1237,645,173,211,109,-337,-562,-467,-721,-1152,-841,-325,-237,-375,-461,-287,-197,-82,138,369,575,461,211,-47,-249,-252,-49,-4,-249,-465,-511,-468,-430,-154,91,70,-55,-199,-213,-138,97,321,243,-76,-275,-240,-154,-47,-2,-78,-261,-342,-233,-17,205,211,16,-191,-293,-284,-150,-25,-64,-177,-274,-330,-283,-64,145,134,10,-111,-178,-137,-51,-15,-45,-99,-173,-188,-85,25,52,10}}, // azimuth 50 degrees + {{1,1,2,1,0,1,1,0,1,2,0,-1,1,3,-2,2,-1,11,-2,5,7,-15,18,9,29,85,1327,2053,-16,-397,106,-1216,19,1831,1800,3020,4236,2858,603,692,1365,-593,-2661,-2093,-934,-1482,-2047,-1243,-607,-173,768,1411,1289,1075,1237,1140,496,-93,-299,-504,-797,-824,-861,-1080,-1222,-1226,-1018,-737,-726,-751,-462,-87,107,187,291,324,300,272,117,-124,-353,-467,-499,-530,-530,-511,-481,-400,-260,-155,-109,-90,-54,1,11,2,39,72,27,-28,-69,-122,-175,-219,-224,-239,-267,-255,-233,-202,-157,-98,-28,-23,-46,-31,-5,-9,-32,-20,-23,-67,-96,-120,-160,-185,-182,-177,-179,-139,-76,-43,-28,-50,-61,-52,-49,-56,-67,-16},{-113,180,-211,186,-203,3322,14077,6568,-12380,-12578,-432,7205,3061,10202,23126,7755,-5457,2185,1858,-7116,-8794,-8080,-11602,-8271,-2761,-3561,-2779,-1725,937,4443,3639,3978,5848,4156,-538,-1177,419,-82,467,79,-158,-435,-2051,-2339,-3558,-5132,-4231,-1526,-203,-727,-347,540,1358,1953,1807,1471,870,143,91,188,-186,-569,-635,-763,-1128,-1030,-607,-390,-436,-448,-203,-196,-176,127,475,738,630,296,18,-156,-253,-179,-43,-202,-473,-563,-543,-490,-256,58,148,18,-161,-202,-127,55,291,329,74,-221,-280,-217,-118,-33,-80,-257,-386,-322,-120,141,252,130,-90,-242,-293,-223,-43,-2,-103,-227,-345,-356,-186,75,166,59,-81,-176,-172,-60,11,-17,-73,-154,-213,-163,-26,40,15,-1}}, // azimuth 55 degrees + {{0,0,0,1,0,0,0,-1,-1,-1,1,-1,-1,-1,1,-3,2,0,8,0,-2,12,-23,21,17,17,5,731,1900,711,-423,158,-730,-548,1210,1564,2408,3807,3404,1564,745,1147,228,-1583,-2005,-1402,-1510,-1795,-967,-90,305,573,550,598,780,819,587,72,-377,-517,-519,-532,-562,-732,-910,-897,-826,-772,-697,-652,-581,-356,-101,59,88,72,159,233,163,-19,-200,-342,-429,-423,-417,-455,-459,-397,-297,-216,-175,-149,-152,-118,-46,-44,-35,13,44,31,-14,-70,-141,-175,-191,-211,-227,-243,-237,-217,-193,-153,-93,-52,-31,-31,-39,-35,-36,-17,5,-19,-71,-109,-139,-159,-161,-153,-174,-183,-136,-84,-44,-42,-35,-40,-55,-69,-99,-27},{-43,128,-220,273,5,8394,14917,-3308,-16683,-6930,5672,5580,4001,19499,17773,-3399,-2026,4908,-2612,-8544,-7323,-9502,-11129,-4971,-2943,-3697,-2502,-1458,2572,3816,3581,5711,4321,855,288,908,-163,444,1137,-322,-539,-1220,-2321,-3867,-6055,-5032,-1756,-290,-784,-489,620,1377,1900,1938,1751,1287,343,-83,64,-98,-331,-521,-857,-1157,-1194,-885,-586,-546,-497,-253,-175,-226,28,498,831,855,542,129,-88,-242,-281,-142,-144,-336,-545,-636,-561,-355,-27,206,104,-133,-234,-149,31,245,375,211,-103,-264,-271,-194,-59,-29,-193,-401,-419,-243,7,237,247,47,-158,-283,-279,-98,39,-29,-164,-308,-382,-288,-45,144,111,-19,-144,-206,-116,15,43,-12,-109,-211,-235,-104,30,40,22,4}}, // azimuth 60 degrees + {{0,0,0,0,0,1,0,0,-2,-2,-1,0,-2,-1,0,-2,0,0,1,6,0,1,7,-18,23,21,0,-14,336,1501,1244,-160,42,-239,-770,452,1296,2071,3605,3709,1991,921,1339,867,-1072,-2161,-1428,-606,-733,-631,-359,-447,-295,28,184,160,156,169,-49,-337,-441,-280,-220,-473,-564,-445,-469,-601,-656,-589,-572,-559,-350,-194,-179,-138,-56,42,61,35,-34,-165,-256,-301,-311,-317,-371,-362,-294,-279,-256,-234,-217,-184,-152,-96,-79,-70,-21,11,27,-12,-82,-120,-149,-165,-192,-220,-215,-210,-197,-178,-161,-118,-63,-31,-37,-47,-30,-19,-17,-22,-43,-69,-107,-120,-138,-154,-151,-164,-156,-130,-89,-65,-39,-39,-67,-93,-116,-29},{83,-63,-9,52,1538,13336,10993,-12483,-15765,131,7952,3081,9985,22940,6715,-6474,3244,3559,-5750,-8254,-7122,-10344,-8842,-3515,-3795,-3534,-2581,-102,3342,3382,4504,4180,1845,1405,1200,815,934,1490,320,-423,-204,-2061,-4098,-6207,-6244,-2883,-727,-726,-670,316,1421,1955,2003,1829,1766,1075,-48,-294,-114,-129,-314,-736,-1028,-1257,-1310,-902,-627,-579,-428,-271,-195,-70,365,815,991,827,368,84,-169,-400,-294,-92,-144,-461,-667,-623,-457,-175,152,215,-22,-242,-221,-58,134,351,352,91,-214,-309,-237,-138,-9,-73,-307,-454,-397,-169,124,298,193,-43,-227,-303,-197,16,54,-92,-256,-365,-348,-168,62,124,36,-87,-193,-195,-55,64,47,-19,-138,-258,-210,-34,64,44,9,1}}, // azimuth 65 degrees + {{0,-1,0,0,0,0,0,0,0,-1,-1,-1,0,-2,-1,-1,-3,1,-3,3,2,-1,6,0,-5,17,11,-10,0,131,996,1469,324,-88,90,-667,-199,1183,1981,2995,3559,2762,1477,853,645,-140,-838,-369,103,-727,-1664,-1386,-745,-773,-903,-587,-226,-39,21,60,3,-200,-178,-66,-94,-106,-173,-300,-392,-477,-579,-647,-618,-520,-430,-371,-315,-226,-94,7,53,27,-57,-113,-171,-226,-242,-262,-279,-292,-317,-327,-305,-245,-202,-193,-147,-115,-97,-47,-2,24,-5,-64,-107,-132,-156,-183,-191,-177,-175,-188,-182,-167,-127,-80,-44,-18,-28,-42,-48,-43,-32,-34,-59,-86,-117,-138,-138,-141,-144,-142,-121,-105,-92,-91,-86,-92,-108,-26},{178,-256,266,-261,4213,16344,4367,-18375,-11677,5937,7127,2822,16764,19448,-2348,-4004,6272,1358,-7428,-7960,-7291,-9987,-6704,-3365,-4164,-3820,-2642,1487,3959,3682,3433,1649,2020,2210,926,1359,1962,1694,232,-46,-568,-3368,-6239,-7318,-4484,-1493,-1240,-1047,-10,1160,1837,2094,2011,1900,1709,802,-221,-471,-172,-72,-467,-863,-1081,-1405,-1396,-957,-666,-532,-448,-353,-99,218,596,978,1093,703,200,16,-222,-437,-255,-22,-207,-593,-716,-537,-319,-40,248,153,-134,-282,-180,7,184,374,284,-11,-262,-316,-208,-62,17,-151,-398,-452,-330,-82,225,296,101,-132,-268,-264,-112,61,15,-149,-290,-376,-306,-74,112,86,-35,-152,-230,-161,4,86,48,-47,-170,-257,-143,29,69,41,-23,-12}}, // azimuth 70 degrees + {{1,0,0,0,0,0,0,1,1,1,0,0,0,0,2,1,-1,0,3,-1,4,1,0,14,2,0,10,7,-5,12,60,579,1350,792,22,299,-131,-422,475,1510,2933,3739,2619,1148,1086,1864,1853,732,-565,-1265,-1552,-1850,-1902,-1734,-1656,-1384,-820,-321,10,228,317,214,-1,65,358,328,38,-91,-103,-203,-449,-735,-848,-779,-686,-646,-594,-455,-259,-55,75,117,118,77,15,-78,-154,-160,-197,-287,-358,-381,-362,-312,-270,-263,-231,-165,-120,-88,-49,-1,25,-4,-60,-104,-126,-129,-129,-140,-159,-165,-164,-168,-163,-142,-86,-35,-22,-33,-56,-44,-29,-30,-27,-41,-76,-103,-124,-131,-126,-129,-125,-148,-154,-141,-111,-82,-91,-24},{192,-341,431,-399,7110,17082,-2171,-20957,-6863,9615,5183,4669,21015,12891,-7056,-199,7600,-257,-8630,-7596,-7201,-9342,-5351,-3400,-4385,-4437,-2275,2646,4448,3546,1216,893,3160,1612,1019,2400,2046,1467,866,747,-1651,-5452,-7315,-6235,-3051,-1868,-1645,-734,373,1622,1999,2033,2100,1988,1606,610,-333,-375,-58,-245,-667,-796,-1154,-1641,-1423,-956,-666,-521,-542,-363,30,416,790,1061,1033,554,126,-26,-258,-351,-147,-15,-335,-695,-645,-447,-240,62,271,103,-217,-313,-141,44,212,343,214,-92,-301,-274,-155,9,6,-242,-427,-435,-254,30,270,256,10,-191,-279,-246,-46,87,-7,-187,-321,-359,-271,-17,126,45,-86,-217,-241,-113,51,93,38,-52,-185,-234,-72,73,76,21,-60,-20}}, // azimuth 75 degrees + {{1,1,1,0,-1,0,0,0,1,2,1,0,0,0,-1,0,1,-4,-1,4,-2,4,1,-1,20,-1,-2,8,-10,18,41,29,244,1023,1201,663,804,-12,-1147,44,1571,2285,2834,2778,2701,3137,3168,1877,-92,-1427,-1755,-1967,-2716,-2918,-2269,-1844,-1498,-790,-125,254,423,476,455,401,480,585,367,75,47,8,-254,-634,-928,-1022,-986,-916,-828,-642,-385,-152,29,131,189,224,184,96,-8,-103,-169,-259,-364,-403,-379,-366,-377,-348,-275,-206,-148,-112,-85,-49,-25,-6,-32,-83,-81,-65,-78,-111,-149,-151,-134,-147,-170,-184,-154,-95,-58,-29,-23,-36,-38,-44,-42,-24,-34,-67,-108,-132,-132,-141,-142,-165,-177,-170,-149,-123,-108,-24},{156,-334,467,-344,9311,16535,-6955,-21558,-2890,11519,3562,6953,22445,6866,-8790,3041,8493,-1390,-9570,-6903,-6938,-9068,-4570,-3225,-4812,-5011,-1603,3521,4355,2136,74,1934,3192,850,1727,2757,1861,1428,1393,1173,-2750,-7107,-7308,-4453,-2482,-2692,-1758,-392,609,1555,1874,2122,2170,1999,1536,518,-330,-160,103,-452,-812,-787,-1277,-1755,-1472,-905,-604,-606,-624,-351,104,523,919,1078,871,442,143,-10,-257,-280,-32,-26,-466,-747,-579,-365,-185,111,264,27,-278,-331,-125,50,221,341,132,-186,-326,-229,-73,45,-36,-298,-436,-402,-211,100,306,203,-65,-255,-304,-219,13,121,-48,-240,-344,-350,-223,6,96,-5,-141,-252,-250,-80,86,101,31,-92,-204,-201,-12,93,56,-5,-111,-36}}, // azimuth 80 degrees + {{1,0,0,-1,-1,-1,-1,-1,1,1,1,1,-1,0,-2,-1,-1,-1,-3,-1,3,-1,1,2,0,26,2,-25,5,15,51,11,-29,90,961,1912,1213,491,50,-1071,-953,203,2078,4475,5201,4174,2778,1819,1072,-51,-1628,-3025,-3276,-2983,-2839,-2452,-1888,-1208,-475,46,440,673,754,778,721,633,528,367,134,-4,-105,-391,-812,-1179,-1274,-1147,-942,-750,-522,-239,-54,94,209,266,300,247,136,-15,-177,-265,-326,-372,-385,-414,-431,-406,-316,-218,-176,-137,-109,-91,-79,-79,-57,-34,-16,-5,-44,-95,-124,-133,-122,-127,-149,-180,-192,-160,-105,-50,-13,-7,-35,-56,-60,-42,-24,-41,-90,-125,-139,-161,-165,-170,-160,-176,-182,-162,-148,-33},{136,-322,472,-301,10300,16005,-9385,-21584,-553,12465,2836,8214,22275,3050,-9486,5302,9633,-2040,-10265,-6060,-6482,-9213,-4237,-2919,-5232,-5502,-987,4308,3582,264,91,3271,2771,445,2415,2731,1485,1561,1883,998,-3939,-7585,-6147,-3392,-2754,-2853,-1463,-578,430,1504,1664,2044,2210,2100,1567,364,-222,198,183,-584,-832,-811,-1432,-1836,-1416,-816,-589,-700,-670,-319,84,550,993,1023,759,389,202,56,-236,-203,42,-31,-530,-744,-515,-321,-128,148,228,-59,-328,-306,-98,34,227,358,79,-260,-332,-181,-19,82,-35,-305,-444,-389,-154,148,322,160,-127,-271,-288,-162,58,113,-77,-266,-340,-338,-197,36,81,-41,-182,-270,-229,-39,131,116,16,-116,-203,-155,31,101,41,-28,-122,-36}}, // azimuth 85 degrees + {{1,2,1,0,1,2,-1,0,2,2,1,4,2,1,2,-2,1,1,1,0,4,3,1,4,4,15,24,-13,-20,49,29,9,-18,176,642,1017,1429,1549,1276,-501,-3050,-2048,2078,5631,6285,4079,2222,1958,1869,769,-1204,-2901,-3637,-3243,-2703,-2711,-2335,-1503,-810,-249,252,792,989,873,875,803,674,467,177,-8,-66,-193,-673,-1191,-1340,-1221,-1020,-804,-599,-354,-110,46,173,261,323,329,213,51,-125,-250,-297,-342,-384,-412,-425,-394,-322,-248,-193,-158,-126,-125,-150,-119,-65,-13,30,29,-5,-67,-109,-112,-120,-116,-110,-139,-171,-184,-143,-66,-26,-5,-16,-40,-57,-59,-54,-61,-70,-92,-123,-162,-179,-174,-151,-156,-170,-182,-176,-39},{152,-349,505,-402,9994,16089,-9477,-21722,-39,12898,2957,8053,21494,1704,-10117,6463,11147,-1954,-10755,-5477,-5698,-9489,-4491,-2637,-5458,-5944,-740,4880,2741,-1355,588,3983,2258,823,2814,2366,1260,1665,2094,651,-4843,-7519,-4715,-2740,-3163,-2721,-1159,-781,15,1184,1565,1881,2064,2260,1648,249,-96,519,232,-611,-735,-876,-1533,-1906,-1401,-684,-611,-801,-703,-309,40,481,983,969,687,375,262,123,-213,-138,99,-71,-555,-683,-472,-308,-125,138,189,-139,-377,-297,-66,22,205,350,57,-274,-350,-169,3,91,-6,-293,-458,-397,-133,164,291,123,-136,-257,-253,-147,52,95,-105,-274,-352,-340,-179,35,73,-73,-227,-279,-207,-12,125,100,26,-115,-210,-166,25,98,26,-37,-131,-40}}, // azimuth 90 degrees + {{1,1,0,0,0,0,0,-2,0,1,0,1,1,0,2,-1,-2,0,-3,2,-1,-1,4,-1,7,7,3,15,0,8,27,0,139,631,692,49,594,2013,2007,-32,-3023,-2237,2791,5459,4564,3299,2646,2155,1653,861,-876,-2267,-2740,-3106,-3000,-2600,-2211,-1732,-1223,-567,138,675,878,871,912,910,759,490,198,1,-92,-213,-584,-1044,-1198,-1113,-1010,-867,-634,-402,-205,-17,105,198,279,283,200,59,-64,-176,-292,-344,-362,-386,-377,-336,-304,-281,-222,-174,-180,-194,-168,-104,-59,-35,-6,27,11,-46,-93,-122,-120,-102,-81,-97,-146,-160,-139,-104,-67,-48,-33,-20,-62,-93,-95,-86,-64,-80,-118,-167,-191,-177,-151,-162,-169,-165,-151,-33},{201,-399,542,-569,8404,16679,-7128,-22100,-1410,13008,3858,6622,20292,2753,-10833,6154,13024,-692,-11051,-5523,-4544,-9515,-5291,-2523,-5420,-6326,-1010,5014,2340,-2225,779,4058,2057,1273,3046,2300,967,1650,2192,293,-5076,-7239,-3941,-2314,-3014,-2494,-1256,-886,-166,752,1247,1732,1958,2251,1725,316,14,660,330,-465,-627,-912,-1539,-1920,-1425,-653,-616,-825,-739,-344,-2,394,890,928,687,367,298,203,-153,-103,121,-46,-529,-635,-436,-305,-142,79,163,-158,-411,-309,-70,36,193,330,75,-242,-333,-163,5,88,13,-253,-443,-417,-158,133,289,150,-113,-231,-238,-141,39,85,-105,-287,-353,-326,-169,35,64,-72,-217,-280,-216,-26,132,125,33,-113,-220,-196,3,112,42,-44,-134,-38}}, // azimuth 95 degrees + {{1,1,0,0,0,0,0,-1,0,1,0,0,1,0,2,0,0,-1,-2,4,1,-3,1,4,8,9,-8,16,32,5,-15,128,673,856,140,-90,683,1152,1067,236,-823,470,2846,3203,2637,2533,2557,2096,1068,201,-481,-1268,-1877,-2277,-2633,-2573,-1979,-1604,-1400,-776,-98,348,588,732,902,860,649,475,302,12,-233,-327,-540,-769,-896,-949,-883,-793,-631,-420,-265,-108,28,114,159,156,125,51,-50,-150,-231,-283,-339,-340,-297,-285,-265,-251,-241,-233,-239,-193,-114,-73,-70,-71,-53,-19,-8,-40,-90,-117,-101,-73,-53,-70,-100,-102,-106,-112,-113,-94,-62,-57,-78,-90,-93,-80,-79,-101,-134,-175,-167,-167,-169,-161,-144,-111,-105,-26},{235,-403,486,-570,5762,16914,-2334,-22116,-4757,12598,5538,4504,18288,5813,-10995,3978,14756,2122,-10868,-6535,-3275,-8962,-6519,-2706,-5151,-6585,-1809,4553,2564,-2305,463,3768,2166,1557,2917,2506,1009,1344,2087,293,-4759,-7039,-3862,-2076,-2619,-2237,-1378,-970,-325,473,973,1436,1800,2179,1756,472,68,658,478,-275,-546,-896,-1461,-1870,-1503,-720,-647,-812,-737,-405,-45,295,777,888,698,371,270,281,-58,-106,99,15,-436,-641,-460,-320,-187,5,130,-134,-424,-350,-105,25,177,330,124,-191,-314,-160,-7,63,16,-233,-437,-452,-201,103,278,185,-83,-216,-233,-149,23,72,-96,-278,-355,-330,-191,22,82,-58,-221,-317,-246,-33,138,140,6,-150,-236,-198,-4,94,29,-54,-122,-32}}, // azimuth 100 degrees + {{1,0,2,1,0,0,-1,1,-1,-1,-1,-1,-1,0,0,-2,2,1,-2,1,1,-1,1,-1,12,1,-2,11,24,20,66,673,1085,259,-261,378,718,244,-154,693,2412,2794,1821,1419,1618,1671,1509,1064,483,-37,-413,-567,-913,-1523,-1753,-1763,-1852,-1582,-1078,-780,-497,-120,244,556,667,620,494,380,270,-12,-306,-449,-461,-493,-620,-686,-693,-629,-502,-427,-321,-176,-91,-28,-8,9,29,-41,-100,-118,-154,-209,-266,-275,-264,-245,-204,-224,-279,-273,-203,-116,-93,-94,-90,-112,-100,-83,-85,-76,-97,-85,-52,-60,-46,-41,-48,-60,-90,-103,-130,-155,-140,-106,-75,-67,-79,-82,-111,-150,-162,-178,-170,-171,-156,-125,-105,-89,-87,-21},{195,-263,232,-220,2570,15423,4727,-19979,-10210,10708,8081,2440,14656,10246,-9195,-151,15129,6607,-9181,-8577,-2511,-7261,-7961,-3464,-4539,-6635,-3095,3291,3145,-1557,-260,3168,2536,1706,2519,2741,1325,1068,1847,570,-3751,-6779,-4410,-2008,-2237,-2130,-1424,-934,-497,178,813,1227,1527,1979,1816,712,121,559,661,-38,-504,-782,-1303,-1748,-1586,-885,-654,-807,-736,-466,-88,213,620,864,714,392,236,316,97,-84,62,87,-292,-620,-539,-366,-234,-85,97,-74,-396,-401,-170,14,138,339,228,-109,-284,-175,5,50,-1,-219,-439,-457,-223,74,239,182,-34,-184,-221,-153,-6,75,-50,-246,-346,-343,-207,18,98,-58,-244,-297,-221,-58,103,114,-21,-154,-209,-189,-43,63,36,-36,-105,-29}}, // azimuth 105 degrees + {{0,0,0,0,1,1,1,0,0,-1,-1,-1,-1,0,0,0,1,0,-1,1,-2,6,-1,1,6,5,6,6,23,57,686,1293,405,-398,191,570,72,-336,671,2643,3158,2217,1668,1391,839,467,176,-246,-310,-63,-73,-367,-527,-468,-652,-1059,-1229,-1091,-915,-850,-687,-412,-127,155,301,345,280,142,59,-102,-303,-369,-347,-322,-374,-417,-411,-413,-366,-340,-314,-272,-256,-196,-152,-141,-153,-142,-88,-107,-121,-124,-187,-217,-206,-198,-219,-251,-214,-151,-120,-99,-101,-118,-127,-141,-146,-147,-157,-129,-83,-47,-26,-36,-21,-6,-13,-31,-81,-120,-158,-184,-159,-118,-81,-61,-74,-101,-147,-176,-181,-196,-177,-146,-107,-90,-86,-65,-62,-16},{37,29,-170,292,153,11204,11596,-13596,-16068,5912,10859,1991,9024,13842,-4075,-4798,12600,11567,-4843,-10603,-3470,-4513,-8603,-5242,-3897,-6105,-4551,1204,3347,-45,-777,2061,2884,2052,1969,2696,1896,876,1468,972,-2321,-5996,-5262,-2435,-1879,-2111,-1605,-878,-581,-77,648,1070,1324,1681,1782,1016,252,388,729,264,-458,-699,-1043,-1577,-1634,-1092,-691,-772,-779,-538,-159,168,466,758,745,443,213,298,247,18,15,100,-136,-562,-617,-444,-310,-186,14,-6,-318,-433,-253,-11,116,294,313,21,-221,-201,-15,40,-20,-199,-407,-437,-270,-2,172,166,4,-151,-195,-152,-33,70,-3,-196,-313,-319,-225,-57,35,-31,-169,-247,-234,-129,15,61,-4,-100,-184,-226,-108,59,74,-30,-118,-34}}, // azimuth 110 degrees + {{1,1,2,3,1,3,2,2,2,1,1,1,1,1,1,3,4,1,5,1,6,3,2,6,4,17,-2,26,43,662,1528,630,-570,-10,526,-21,-435,920,3165,3135,1620,1477,1797,1192,378,-434,-1218,-1171,-635,-382,-179,-98,-40,205,101,-223,-304,-429,-730,-874,-746,-546,-432,-331,-127,16,-66,-177,-220,-265,-216,-172,-213,-196,-156,-139,-150,-193,-212,-229,-280,-364,-407,-358,-349,-323,-218,-167,-140,-116,-103,-94,-120,-140,-177,-231,-222,-143,-67,-50,-69,-102,-130,-142,-172,-192,-194,-197,-175,-127,-84,-54,-28,-6,21,22,-10,-45,-109,-161,-152,-128,-127,-136,-116,-80,-88,-129,-175,-196,-192,-184,-142,-117,-96,-73,-58,-37,-45,-13},{-131,246,-359,401,-483,5260,14506,-2762,-18593,-2501,11721,4660,2820,13396,4177,-6870,6638,14580,2146,-10346,-6641,-2248,-7200,-7505,-4245,-4884,-5422,-1462,2521,1530,-374,793,2593,2679,1744,2172,2414,1064,948,1064,-814,-4407,-5700,-3437,-1908,-1927,-1868,-1068,-560,-282,478,949,1166,1435,1647,1295,523,246,582,524,-232,-707,-854,-1272,-1615,-1288,-775,-730,-801,-631,-264,97,342,608,713,538,268,258,341,154,18,40,-40,-432,-677,-536,-395,-284,-121,-7,-199,-408,-305,-57,98,218,319,164,-93,-206,-92,5,-18,-130,-335,-410,-338,-130,70,135,49,-114,-164,-134,-60,41,43,-106,-251,-310,-290,-167,3,43,-101,-238,-283,-216,-65,40,17,-88,-168,-214,-145,3,68,-22,-123,-37}}, // azimuth 115 degrees + {{0,0,1,1,1,1,1,-1,-1,-1,-1,-1,1,0,-2,3,0,2,-1,4,2,-3,0,1,21,-6,20,32,664,1719,841,-689,-229,468,-101,-479,1253,3655,3279,1470,1324,1484,706,302,-75,-1144,-1702,-1355,-937,-734,-516,72,618,506,433,692,524,-19,-385,-558,-699,-770,-712,-588,-525,-514,-485,-492,-489,-345,-143,-64,-69,-25,58,95,47,-21,-62,-157,-291,-397,-533,-598,-476,-322,-250,-239,-220,-164,-101,-61,-98,-173,-197,-147,-75,-36,1,-1,-56,-108,-162,-199,-220,-229,-220,-203,-160,-117,-103,-83,-41,20,52,6,-68,-121,-131,-111,-101,-103,-123,-151,-137,-119,-146,-178,-187,-181,-171,-148,-123,-117,-91,-55,-44,-47,-38,-7},{-102,116,-81,-46,128,695,11098,8352,-13489,-11876,7414,9335,105,7119,11555,-2768,-772,13046,9558,-5634,-10101,-2838,-3884,-8516,-6092,-3966,-5020,-3945,403,2353,638,224,1749,2874,2245,1523,2442,1726,581,775,70,-2345,-4941,-4433,-2577,-1943,-1893,-1468,-672,-408,155,890,1091,1244,1476,1458,915,296,329,572,104,-582,-832,-1021,-1393,-1394,-917,-715,-773,-687,-410,-14,203,422,654,619,423,265,363,304,51,-12,-32,-282,-641,-653,-465,-360,-269,-100,-106,-296,-305,-109,89,154,256,254,50,-137,-152,-43,-8,-47,-216,-383,-400,-262,-55,78,85,-43,-130,-119,-65,20,76,-14,-208,-328,-288,-159,-41,15,-87,-233,-298,-241,-105,-14,-2,-56,-107,-163,-179,-100,12,-2,-91,-29}}, // azimuth 120 degrees + {{0,3,2,2,2,2,0,0,1,0,2,0,0,1,2,-1,3,1,5,3,1,3,-7,23,-1,28,22,673,1941,1057,-838,-472,444,-144,-546,1653,4231,3349,1313,1409,1584,386,-357,-592,-1264,-1530,-1142,-1061,-1294,-1039,-256,286,429,774,1165,1058,707,444,156,-233,-600,-815,-864,-859,-902,-935,-895,-813,-603,-322,-164,-58,86,219,243,211,222,157,4,-147,-342,-531,-585,-536,-447,-361,-335,-332,-264,-155,-109,-145,-165,-88,-31,-42,-8,43,47,4,-73,-141,-197,-231,-219,-206,-206,-192,-145,-112,-110,-67,0,26,-18,-86,-124,-116,-74,-48,-66,-113,-133,-131,-141,-174,-200,-175,-146,-142,-139,-121,-104,-89,-69,-45,-45,-36,8,7},{65,-141,209,-278,308,-361,4220,12560,-1175,-15497,-2462,10839,3677,-631,11061,6998,-3851,6165,13538,2692,-9697,-6794,-1384,-6489,-8423,-4582,-3821,-5036,-2604,1785,1758,104,1209,2484,2647,1664,1765,2379,876,266,269,-875,-3098,-4456,-3430,-2456,-2010,-1643,-1057,-525,-229,588,1133,1156,1291,1471,1224,602,237,424,346,-333,-784,-919,-1111,-1315,-1104,-737,-714,-690,-519,-195,83,198,472,681,599,368,322,398,179,-64,-89,-173,-506,-721,-581,-398,-367,-255,-75,-161,-271,-175,55,159,163,240,145,-37,-128,-74,1,-15,-115,-310,-423,-355,-172,-16,58,16,-67,-73,-42,-7,13,-21,-115,-195,-222,-196,-150,-97,-100,-186,-248,-249,-180,-65,15,0,-80,-161,-199,-170,-59,-2,-49,-16}}, // azimuth 125 degrees + {{0,0,1,0,-1,-1,-2,-1,-1,-1,-2,-2,-2,1,-3,1,-3,2,0,-6,5,-12,20,-6,25,27,700,2158,1269,-996,-735,384,-176,-554,2085,4818,3383,1154,1559,1732,173,-793,-932,-1709,-2136,-1304,-721,-1058,-1154,-505,58,86,342,1066,1401,1070,776,750,494,-18,-413,-641,-922,-1194,-1255,-1212,-1150,-961,-638,-387,-224,5,228,324,319,325,346,244,-59,-340,-420,-459,-451,-387,-431,-512,-461,-306,-238,-271,-253,-125,-11,-13,-5,32,53,67,12,-58,-118,-195,-208,-181,-180,-196,-199,-181,-164,-118,-44,-13,-26,-72,-132,-145,-119,-75,-37,-47,-81,-128,-151,-146,-167,-190,-178,-150,-131,-138,-124,-88,-83,-70,-59,-53,-36,-3,37,13},{53,-56,21,47,-157,241,48,7740,9590,-8068,-11822,4639,9085,-1623,2143,12987,2866,-1472,10575,10491,-3377,-9898,-3226,-2436,-8491,-7079,-3270,-4334,-5041,-680,2475,510,376,2373,2618,2077,1494,2171,1719,132,63,-278,-1481,-3214,-3680,-3000,-2543,-1831,-1340,-858,-512,58,980,1195,1122,1356,1408,939,408,331,418,-59,-659,-835,-915,-1094,-1195,-889,-630,-652,-566,-353,-62,87,219,533,686,535,348,371,304,11,-164,-154,-329,-658,-694,-501,-372,-356,-185,-55,-189,-221,-44,146,155,160,169,42,-66,-55,7,-19,-89,-210,-344,-376,-283,-132,-15,53,21,-31,-51,-72,-53,16,22,-81,-194,-258,-258,-202,-131,-137,-207,-228,-181,-80,0,-12,-81,-160,-197,-185,-109,-14,-11,-8}}, // azimuth 130 degrees + {{1,2,1,0,-1,-1,-1,-1,1,-1,-1,-2,1,-2,3,-2,1,1,-3,4,-13,22,-7,32,20,754,2414,1458,-1162,-999,328,-201,-544,2613,5413,3318,974,1779,1963,2,-1206,-1292,-2022,-2439,-1624,-1048,-1222,-1026,-139,324,-29,75,775,1033,902,964,1063,756,378,178,-96,-520,-995,-1324,-1459,-1412,-1145,-875,-711,-474,-166,99,239,276,375,449,285,-13,-182,-277,-346,-298,-291,-400,-521,-527,-417,-363,-354,-251,-113,-53,-29,-8,39,84,33,-10,-42,-130,-192,-189,-136,-128,-178,-190,-192,-181,-139,-58,6,-46,-130,-158,-150,-128,-111,-77,-51,-88,-132,-153,-159,-151,-154,-140,-135,-155,-154,-130,-87,-69,-70,-55,-43,-36,-22,-3,1,-1},{-59,89,-115,108,-99,40,-28,1330,9541,5012,-10904,-6304,7929,4433,-4066,6595,12686,257,1972,12112,5819,-6986,-7589,-1368,-4684,-9045,-5089,-2929,-5410,-4013,1250,1783,-345,1375,2953,2384,1678,1659,2199,811,-334,-91,-583,-1809,-3056,-3110,-2846,-2406,-1632,-1173,-801,-455,449,1189,1054,1041,1404,1300,703,374,408,203,-412,-758,-777,-885,-1086,-1042,-731,-606,-548,-404,-210,19,110,250,506,601,451,321,319,150,-132,-215,-219,-448,-678,-625,-453,-373,-315,-109,-65,-184,-142,30,145,114,125,107,-9,-51,-1,4,-76,-155,-248,-321,-323,-220,-92,1,23,-40,-57,-32,0,26,16,-65,-193,-278,-302,-273,-216,-157,-132,-139,-143,-125,-87,-69,-92,-137,-164,-164,-127,-51,-1,1}}, // azimuth 135 degrees + {{1,1,0,0,-2,0,-1,1,-1,-1,-2,1,-2,1,-1,3,-1,-5,8,-18,19,-10,38,21,813,2699,1639,-1387,-1261,279,-221,-488,3177,6043,3224,732,1997,2197,-114,-1544,-1645,-2389,-2799,-1786,-1083,-1449,-1431,-256,684,435,310,717,813,608,601,855,835,556,356,233,-29,-539,-981,-1282,-1436,-1316,-1035,-790,-635,-419,-117,85,199,297,262,162,75,-74,-175,-177,-164,-206,-326,-447,-506,-495,-427,-298,-188,-146,-94,-69,-45,19,31,9,-23,-77,-134,-188,-173,-109,-97,-146,-188,-165,-154,-133,-57,-24,-64,-137,-159,-145,-140,-119,-95,-104,-127,-151,-173,-163,-136,-108,-101,-114,-150,-174,-133,-73,-46,-61,-58,-52,-27,-13,-22,-53,-110,-31},{1,-33,58,-97,120,-153,148,-165,2768,9650,1030,-10608,-1454,7544,-269,-3264,10447,10958,-611,5016,11123,1463,-7727,-4929,-1427,-6689,-8177,-3472,-3792,-5841,-2053,1942,529,-224,2277,3021,2156,1547,1751,1801,167,-560,-207,-664,-1977,-2914,-2732,-2570,-2205,-1613,-1042,-622,-306,634,1167,896,1000,1366,1149,644,399,296,-31,-544,-727,-682,-832,-1066,-942,-615,-524,-441,-234,-34,57,68,240,468,463,306,256,223,8,-192,-213,-236,-466,-625,-533,-435,-401,-258,-37,-59,-155,-57,64,60,37,104,97,-3,-26,10,-43,-129,-167,-210,-247,-245,-187,-130,-57,20,46,50,29,-10,-47,-103,-200,-275,-301,-289,-237,-160,-88,-85,-120,-139,-142,-127,-113,-108,-95,-92,-96,-86,-51,-6}}, // azimuth 140 degrees + {{1,0,-1,-2,-2,-2,2,-1,-1,-2,1,-2,2,-5,2,1,-9,9,-17,20,-18,44,26,910,3015,1779,-1665,-1531,254,-233,-355,3852,6602,3042,536,2234,2356,-296,-1805,-1909,-2766,-3184,-1969,-1113,-1567,-1567,-358,535,463,651,1126,985,525,435,613,453,217,332,411,109,-327,-605,-875,-1110,-1127,-971,-808,-690,-496,-258,-70,40,54,82,73,-81,-134,-73,-77,-105,-135,-217,-401,-507,-402,-240,-203,-221,-145,-80,-77,-76,-64,-26,-29,-69,-95,-164,-220,-178,-83,-70,-137,-155,-152,-138,-90,-15,-9,-99,-144,-135,-133,-143,-128,-110,-113,-149,-194,-200,-179,-128,-73,-51,-107,-170,-162,-93,-30,-20,-36,-66,-51,-42,-21,-44,-87,-129,-190,-50},{19,-22,-4,29,-72,106,-155,178,-130,3847,8815,-1509,-8646,1330,5016,-3034,-750,12557,9015,-153,6655,8701,-1160,-6711,-3258,-2520,-7658,-6609,-3015,-4948,-4973,-472,1399,-187,400,2759,2861,1947,1549,1667,1246,-186,-461,-261,-900,-2016,-2628,-2475,-2393,-2056,-1497,-844,-450,-167,597,977,850,967,1202,1038,666,380,134,-201,-533,-580,-597,-836,-1027,-802,-496,-435,-291,-105,18,28,4,207,388,310,145,132,130,-38,-186,-202,-242,-429,-512,-440,-417,-418,-250,-12,-23,-91,-38,2,-34,-17,102,119,21,-34,-40,-87,-109,-114,-178,-245,-257,-175,-64,29,93,95,54,-30,-140,-206,-225,-241,-237,-232,-228,-199,-139,-87,-101,-126,-149,-163,-126,-84,-43,-31,-56,-89,-97,-22}}, // azimuth 145 degrees + {{0,0,-2,0,-2,2,-1,-2,-3,1,-2,4,-3,2,1,-7,9,-18,25,-26,48,25,1045,3376,1863,-1997,-1778,243,-257,-160,4649,7139,2723,343,2564,2486,-582,-2083,-2116,-3099,-3561,-2160,-1127,-1676,-1715,-348,560,476,692,1169,1154,786,601,612,276,-121,-64,114,15,-268,-528,-714,-780,-727,-592,-515,-570,-523,-238,-114,-243,-141,21,-76,-234,-283,-203,-128,-90,-93,-249,-435,-369,-144,-95,-149,-127,-66,-59,-136,-144,-57,-31,-99,-133,-135,-207,-258,-195,-113,-97,-122,-133,-122,-121,-69,12,0,-78,-124,-120,-132,-155,-142,-104,-110,-160,-214,-246,-213,-114,-31,-64,-148,-180,-115,-29,3,-8,-35,-51,-62,-45,-71,-90,-117,-144,-184,-236,-59},{-17,32,-37,16,4,-47,86,-145,176,-29,4469,7693,-2563,-6381,1911,2240,-3689,1760,13155,7722,772,6682,6268,-1931,-5327,-2723,-3737,-7513,-5278,-3598,-5295,-3530,-20,631,-205,998,2842,2620,1827,1506,1516,694,-303,-32,-407,-1275,-1903,-2288,-2308,-2339,-1922,-1236,-658,-388,3,552,664,720,957,1110,944,596,295,76,-237,-483,-454,-535,-788,-888,-658,-410,-321,-214,-107,-19,-40,-40,123,251,217,78,59,67,-92,-211,-171,-174,-346,-429,-366,-374,-391,-249,-64,-26,-45,-43,-56,-92,-20,104,99,35,-20,-69,-127,-125,-102,-142,-191,-181,-94,8,92,105,44,-63,-187,-262,-253,-190,-156,-169,-219,-240,-211,-148,-104,-113,-129,-138,-105,-70,-41,-30,-27,-36,-67,-19}}, // azimuth 150 degrees + {{-1,-2,0,-1,1,0,0,-3,2,-2,4,-4,6,-3,-8,13,-21,30,-31,53,20,1213,3775,1891,-2394,-1998,254,-294,89,5540,7645,2330,188,2902,2559,-889,-2364,-2337,-3444,-3899,-2354,-1148,-1711,-1830,-310,566,454,922,1346,1040,646,751,921,383,-240,-267,-117,-397,-708,-629,-690,-738,-494,-182,-62,-212,-211,-162,-278,-203,-50,-121,-306,-408,-354,-314,-308,-256,-257,-304,-305,-196,-76,-30,5,31,17,-43,-113,-108,-66,-80,-121,-152,-182,-237,-296,-249,-137,-123,-157,-144,-109,-76,-42,14,15,-45,-89,-101,-119,-150,-123,-87,-102,-163,-229,-262,-219,-129,-67,-70,-142,-153,-62,38,45,-6,-36,-63,-77,-89,-93,-118,-127,-156,-198,-224,-215,-47},{16,-20,34,-41,26,-14,-22,60,-118,160,76,4652,6709,-2437,-4756,1031,409,-3086,3343,12931,7292,1420,5608,4680,-1532,-4284,-2964,-4464,-6681,-4792,-4344,-4723,-2484,-260,190,80,1357,2610,2405,1900,1353,1110,461,-44,136,-574,-1355,-1850,-2089,-2122,-2265,-1828,-1093,-476,-192,113,447,369,499,931,1107,863,408,169,109,-185,-400,-347,-436,-683,-741,-530,-386,-303,-211,-182,-122,-128,-93,52,145,171,99,46,-7,-152,-206,-134,-135,-272,-345,-331,-355,-352,-227,-97,-69,-63,-72,-100,-99,5,101,58,-14,-55,-92,-123,-97,-71,-81,-100,-106,-66,-7,51,37,-57,-157,-230,-246,-204,-161,-156,-183,-224,-259,-254,-178,-110,-89,-82,-84,-83,-68,-40,-4,9,-13,-6}}, // azimuth 155 degrees + {{-3,-1,-2,1,-1,-1,-4,2,-3,5,-6,5,-5,-10,10,-26,34,-39,63,14,1422,4207,1828,-2843,-2172,275,-351,404,6512,8071,1861,110,3283,2519,-1290,-2597,-2499,-3829,-4266,-2515,-1231,-1772,-1849,-201,617,353,1039,1598,1118,582,622,860,486,-69,-203,-216,-631,-1096,-1089,-1015,-822,-420,-60,224,243,44,8,88,16,-63,-131,-363,-591,-562,-415,-434,-517,-438,-280,-283,-263,-54,87,107,71,36,29,-25,-52,-29,-47,-138,-203,-206,-282,-349,-270,-174,-175,-209,-177,-107,-85,-54,14,19,-34,-79,-95,-109,-116,-77,-55,-106,-186,-252,-260,-218,-168,-134,-134,-138,-94,-5,67,83,36,-42,-114,-161,-157,-133,-122,-153,-180,-210,-220,-189,-149,-31},{-4,14,-16,30,-40,32,-26,0,35,-86,130,156,4515,6069,-1713,-4049,-268,-306,-2184,3965,12505,7434,1501,4189,4049,-690,-3784,-3463,-4492,-5836,-5006,-4641,-3786,-2000,-675,45,425,1410,2322,2332,1935,1125,671,584,321,-83,-631,-1129,-1732,-2012,-2136,-2156,-1631,-985,-396,5,263,282,171,391,845,1042,727,306,79,45,-21,-193,-256,-345,-547,-660,-547,-379,-324,-303,-257,-199,-177,-137,-8,153,180,81,72,22,-146,-229,-151,-103,-237,-310,-308,-327,-303,-187,-56,-77,-153,-148,-90,-51,-8,45,56,-1,-76,-95,-88,-48,-22,-29,-59,-107,-107,-61,4,20,-48,-142,-219,-230,-179,-160,-179,-207,-251,-278,-249,-164,-88,-53,-40,-52,-68,-47,-5,35,46,9}}, // azimuth 160 degrees + {{-2,-1,1,-3,-1,-5,2,-4,6,-6,6,-7,-8,11,-26,37,-49,73,16,1664,4645,1719,-3325,-2301,325,-431,781,7519,8419,1374,97,3679,2410,-1725,-2826,-2638,-4130,-4628,-2704,-1305,-1880,-1886,-55,788,350,1039,1774,1231,547,658,881,321,-177,-83,-63,-679,-1343,-1390,-1327,-1106,-574,-46,222,205,360,533,381,253,231,16,-396,-650,-605,-638,-721,-522,-303,-402,-551,-354,1,134,83,46,85,91,16,18,74,18,-105,-167,-212,-311,-372,-304,-213,-224,-229,-179,-140,-120,-82,9,22,-48,-75,-69,-68,-70,-43,-24,-78,-166,-240,-292,-247,-154,-124,-145,-167,-116,1,132,173,86,-47,-155,-209,-209,-178,-161,-170,-204,-214,-205,-160,-104,-91,-22},{2,-3,12,-13,23,-36,27,-28,6,18,-61,96,194,4155,5779,-850,-4029,-1342,-289,-1486,3912,12100,7779,1154,2928,4046,128,-3677,-3804,-4059,-5387,-5402,-4400,-2975,-1911,-1049,50,686,1263,2101,2310,1784,908,598,707,358,-212,-621,-838,-1437,-2089,-2243,-1995,-1432,-895,-381,79,286,248,195,320,659,867,607,253,94,71,22,-50,-105,-279,-541,-719,-624,-426,-359,-347,-329,-253,-180,-130,0,166,191,93,71,32,-120,-222,-186,-154,-230,-292,-291,-293,-287,-172,-42,-73,-173,-207,-157,-67,32,88,50,-38,-95,-100,-78,-23,-1,-41,-96,-136,-130,-81,-7,18,-32,-105,-176,-216,-221,-213,-209,-228,-274,-287,-245,-155,-60,-17,-15,-58,-71,-34,17,68,21}}, // azimuth 165 degrees + {{-4,1,-2,-2,-5,2,-4,7,-8,9,-11,-7,9,-28,38,-56,79,28,1975,5059,1509,-3809,-2376,393,-541,1249,8579,8620,895,208,4057,2176,-2229,-3005,-2780,-4441,-4925,-2900,-1389,-1949,-1945,12,945,514,1153,1847,1297,529,642,937,335,-278,-245,-125,-643,-1363,-1561,-1548,-1203,-667,-387,-88,311,543,627,639,612,520,206,-239,-578,-671,-669,-646,-531,-495,-529,-543,-411,-163,-35,41,96,66,31,51,114,157,94,-54,-126,-159,-281,-386,-341,-224,-212,-255,-233,-185,-160,-123,-41,1,-34,-52,-44,-49,-46,-20,-6,-59,-166,-238,-249,-203,-137,-132,-173,-190,-127,5,130,179,110,-23,-145,-227,-259,-237,-196,-190,-213,-239,-213,-160,-86,-37,-60,-19},{-3,3,0,9,-8,19,-29,19,-20,3,18,-50,79,187,3688,5722,-100,-4274,-1987,-12,-1091,3509,11685,8134,729,1974,4279,769,-3683,-3819,-3568,-5263,-5550,-3971,-2457,-1932,-1342,121,840,1017,1934,2334,1591,697,748,807,157,-224,-488,-671,-1162,-1984,-2213,-1945,-1410,-783,-285,50,200,259,323,400,494,574,601,365,53,76,77,-42,-137,-309,-543,-773,-729,-490,-367,-361,-318,-171,-128,-134,30,219,217,89,56,11,-136,-215,-157,-135,-259,-320,-290,-290,-282,-186,-69,-61,-121,-150,-119,-87,-18,66,62,-24,-109,-121,-84,-30,-10,-43,-117,-172,-159,-78,24,58,27,-66,-173,-239,-245,-225,-229,-255,-278,-274,-228,-129,-36,9,-23,-62,-54,-14,46,16}}, // azimuth 170 degrees + {{1,-2,-2,-5,3,-4,8,-7,11,-14,-2,7,-24,39,-56,81,52,2332,5389,1239,-4189,-2409,431,-644,1758,9561,8690,531,441,4363,1882,-2754,-3169,-2899,-4718,-5166,-3143,-1538,-1932,-1896,-7,939,710,1401,1918,1354,559,568,954,376,-334,-331,-229,-763,-1483,-1658,-1587,-1255,-827,-498,-124,165,418,655,726,735,721,422,-72,-422,-475,-420,-525,-599,-551,-590,-653,-538,-290,-114,-53,-31,3,27,39,121,228,176,0,-57,-85,-245,-381,-330,-207,-226,-271,-236,-230,-248,-178,-39,-3,-53,-58,-22,-28,-35,6,12,-81,-191,-201,-165,-135,-113,-119,-163,-209,-151,-3,120,146,92,-7,-130,-235,-272,-255,-230,-215,-234,-241,-217,-142,-66,-30,-30,-58,-17},{-2,-4,2,-1,9,-8,15,-23,9,-10,-6,24,-50,76,146,3205,5704,466,-4451,-2283,242,-880,2954,11126,8425,445,1284,4484,1218,-3561,-3632,-3242,-5157,-5483,-3627,-2099,-1957,-1534,157,828,822,1855,2272,1398,629,777,833,200,-336,-449,-403,-1041,-1767,-1981,-2008,-1466,-688,-175,-30,21,280,447,496,557,587,498,278,117,40,-83,-200,-253,-360,-636,-819,-691,-511,-395,-279,-169,-87,-106,-99,74,247,216,71,23,-4,-139,-244,-185,-129,-240,-353,-342,-318,-292,-160,-27,-29,-95,-105,-65,-71,-64,-3,33,-6,-84,-126,-127,-82,-43,-62,-130,-192,-171,-60,74,115,44,-69,-177,-237,-248,-237,-234,-254,-283,-277,-215,-108,-26,-10,-26,-46,-41,-14,0}}, // azimuth 175 degrees + {{-3,-3,-5,3,-3,8,-9,12,-17,0,-2,-18,31,-55,76,92,2739,5611,903,-4430,-2402,387,-752,2334,10419,8638,374,773,4521,1579,-3242,-3386,-3039,-4979,-5340,-3388,-1808,-1929,-1708,60,834,786,1699,2074,1334,630,646,854,332,-356,-433,-274,-863,-1672,-1795,-1747,-1466,-767,-247,-95,-3,247,572,692,682,686,489,82,-133,-80,-226,-460,-461,-458,-604,-803,-701,-365,-242,-217,-107,-1,-29,-62,97,241,207,79,0,-45,-199,-312,-241,-191,-264,-313,-301,-287,-268,-170,-38,-15,-66,-89,-60,-47,-30,18,3,-68,-131,-158,-153,-111,-75,-102,-158,-192,-148,-31,78,113,66,-31,-150,-238,-264,-253,-239,-246,-267,-268,-216,-123,-34,-12,-38,-58,-50,-10},{-3,-3,-5,3,-3,8,-9,12,-17,0,-2,-18,31,-55,76,92,2739,5611,903,-4430,-2402,387,-752,2334,10419,8638,374,773,4521,1579,-3242,-3386,-3039,-4979,-5340,-3388,-1808,-1929,-1708,60,834,786,1699,2074,1334,630,646,854,332,-356,-433,-274,-863,-1672,-1795,-1747,-1466,-767,-247,-95,-3,247,572,692,682,686,489,82,-133,-80,-226,-460,-461,-458,-604,-803,-701,-365,-242,-217,-107,-1,-29,-62,97,241,207,79,0,-45,-199,-312,-241,-191,-264,-313,-301,-287,-268,-170,-38,-15,-66,-89,-60,-47,-30,18,3,-68,-131,-158,-153,-111,-75,-102,-158,-192,-148,-31,78,113,66,-31,-150,-238,-264,-253,-239,-246,-267,-268,-216,-123,-34,-12,-38,-58,-50,-10}}, // azimuth 180 degrees +}; +inline constexpr std::int16_t pcm48000_p20[37][2][hrir::taps]={ + {{2,-7,5,-8,25,-25,42,-42,31,-12,-31,87,-142,190,189,5258,6698,-1364,-1832,-3598,-4968,3432,4499,5801,11945,8001,-1496,-2268,2114,-1884,-8912,-9276,-5092,-2597,-3894,-2570,326,27,1124,2920,2273,2042,2528,1894,450,8,58,290,610,177,71,-421,-1627,-2465,-2353,-1369,-896,-952,-136,964,930,817,1010,644,-76,-491,-613,-902,-1130,-1185,-827,-394,-456,-577,-593,-477,-157,135,144,-10,7,110,101,84,156,238,119,-150,-290,-343,-409,-421,-359,-270,-241,-284,-245,-143,-4,151,188,79,-109,-162,-101,-38,-6,-17,-88,-225,-266,-198,-138,-123,-99,-141,-211,-178,-63,57,82,10,-130,-189,-161,-116,-58,-33,-91,-149,-117,-79,31,117,94,-47,-125,-127,-194,-53},{2,-7,5,-8,25,-25,42,-42,31,-12,-31,87,-142,190,189,5258,6698,-1364,-1832,-3598,-4968,3432,4499,5801,11945,8001,-1496,-2268,2114,-1884,-8912,-9276,-5092,-2597,-3894,-2570,326,27,1124,2920,2273,2042,2528,1894,450,8,58,290,610,177,71,-421,-1627,-2465,-2353,-1369,-896,-952,-136,964,930,817,1010,644,-76,-491,-613,-902,-1130,-1185,-827,-394,-456,-577,-593,-477,-157,135,144,-10,7,110,101,84,156,238,119,-150,-290,-343,-409,-421,-359,-270,-241,-284,-245,-143,-4,151,188,79,-109,-162,-101,-38,-6,-17,-88,-225,-266,-198,-138,-123,-99,-141,-211,-178,-63,57,82,10,-130,-189,-161,-116,-58,-33,-91,-149,-117,-79,31,117,94,-47,-125,-127,-194,-53}}, // azimuth 0 degrees + {{-8,2,-4,3,-5,19,-20,33,-36,29,-15,-21,67,-104,146,224,4701,5937,-961,-1468,-2913,-4589,2403,4457,5379,10249,7816,-504,-1917,2028,-1229,-8050,-8853,-4583,-2363,-4109,-2681,462,-2,670,2646,2289,1845,2160,1590,529,289,138,320,632,138,78,-281,-1399,-2210,-2181,-1452,-948,-561,176,769,713,629,727,479,-64,-475,-682,-798,-828,-975,-924,-633,-514,-552,-619,-528,-214,133,155,-18,28,130,89,48,119,202,75,-170,-296,-332,-342,-337,-293,-220,-215,-252,-210,-123,-30,86,155,79,-98,-181,-145,-45,31,13,-68,-210,-284,-215,-137,-118,-121,-146,-179,-142,-36,63,71,-21,-135,-187,-160,-136,-102,-59,-90,-115,-82,-32,34,116,91,-15,-114,-168,-43},{-12,10,-13,27,-28,36,-28,1,30,-84,147,-194,226,-39,4616,8284,-486,-2668,-3458,-6392,3200,5602,4841,12849,10294,-1723,-3554,2368,-1286,-9453,-9787,-5627,-3208,-3933,-2547,264,-371,869,3401,2347,1858,2835,2426,780,-148,-178,256,755,247,150,-207,-1706,-2743,-2527,-1536,-1230,-1155,-151,864,961,1041,1092,649,115,-358,-671,-1105,-1365,-1181,-576,-146,-418,-555,-511,-470,-145,180,114,-106,-72,36,65,113,197,247,124,-79,-216,-356,-456,-448,-362,-247,-229,-307,-271,-138,-18,109,157,64,-102,-161,-104,-45,-29,-41,-73,-185,-256,-211,-129,-91,-93,-138,-221,-213,-93,68,134,46,-117,-200,-172,-139,-77,-11,-49,-152,-156,-96,-9,106,83,-45,-137,-144,-159,-161,-36}}, // azimuth 5 degrees + {{2,-5,-1,-2,1,-2,15,-14,27,-31,31,-24,-1,42,-67,99,347,4430,5055,-788,-1084,-2812,-4120,2330,4157,4993,9457,7050,-349,-1074,2019,-1544,-7540,-7774,-3936,-2674,-4082,-2104,375,-287,718,2509,2042,1661,1835,1327,629,418,220,453,509,26,178,-252,-1370,-2008,-1928,-1410,-946,-137,687,600,207,400,510,242,-149,-556,-705,-719,-709,-758,-757,-715,-642,-500,-571,-567,-226,102,118,-33,0,106,43,3,103,138,-3,-176,-270,-302,-284,-241,-173,-140,-194,-240,-181,-108,-60,25,75,7,-107,-160,-131,-40,2,-1,-62,-199,-258,-226,-146,-107,-110,-130,-155,-116,-26,65,63,-34,-157,-203,-192,-167,-110,-60,-60,-98,-65,-18,51,107,86,-20,-131,-38},{10,-14,31,-21,21,0,-37,76,-130,181,-201,209,-124,3599,9567,1355,-3599,-3466,-7432,1751,6869,4831,12622,12770,-509,-5426,1821,-30,-9767,-11035,-6066,-3060,-4290,-3121,739,-217,-52,3478,2945,1580,2735,2993,1242,-54,-337,-34,901,497,162,84,-1490,-2984,-2916,-2002,-1701,-1092,-13,705,1075,1151,1085,717,237,-300,-881,-1446,-1490,-879,-288,-75,-299,-463,-430,-384,-163,186,216,-144,-236,-53,-1,61,188,283,183,-59,-235,-377,-450,-431,-316,-202,-212,-279,-217,-87,-32,50,103,38,-123,-198,-168,-109,-29,-19,-46,-161,-238,-190,-99,-63,-101,-153,-240,-217,-67,99,173,104,-69,-216,-215,-161,-86,-20,-46,-135,-167,-119,-12,110,99,-42,-159,-178,-181,-148,-49,0}}, // azimuth 10 degrees + {{-3,1,-4,-2,-2,1,-1,11,-11,21,-27,26,-24,4,29,-51,76,375,3979,4467,-423,-916,-2807,-3520,2200,3550,4777,8762,6176,94,-261,1722,-1777,-6597,-6593,-3845,-2989,-3558,-1766,-42,-373,796,2179,1744,1524,1565,1158,787,612,375,358,288,181,249,-377,-1243,-1671,-1622,-1314,-798,139,667,281,-130,120,312,89,-310,-620,-619,-620,-613,-573,-573,-594,-602,-554,-553,-503,-288,-28,21,-42,-9,-24,-70,-12,85,99,-7,-152,-222,-215,-188,-145,-105,-96,-151,-213,-195,-140,-81,-41,-32,-59,-116,-133,-111,-73,-40,-27,-62,-161,-230,-192,-134,-101,-76,-103,-134,-117,-45,35,38,-31,-152,-229,-200,-169,-126,-60,-72,-85,-61,-3,59,100,84,-29,-22},{-9,22,-6,-1,31,-72,104,-145,167,-151,119,-57,2397,10105,4047,-4084,-4027,-7893,-40,7096,5239,12801,14424,1321,-5973,178,649,-8880,-12119,-7700,-3077,-3255,-4009,-12,788,-279,2682,3214,1838,2493,3112,1869,171,-351,-277,827,785,202,404,-1125,-2942,-3438,-3004,-1879,-732,-156,535,1242,1166,963,864,532,-397,-1441,-1824,-1190,-370,-268,-151,-143,-300,-294,-343,-201,162,291,-31,-270,-212,-157,-25,142,269,255,-42,-333,-406,-404,-367,-262,-200,-171,-194,-156,-59,-48,39,91,22,-167,-313,-270,-169,-57,-24,-34,-118,-207,-181,-102,-59,-94,-155,-237,-216,-71,124,242,175,-44,-246,-263,-191,-95,-25,-65,-160,-179,-136,-42,105,122,-17,-163,-205,-216,-171,-44,7,0}}, // azimuth 15 degrees + {{-5,-1,1,-3,0,-2,1,-1,12,-10,17,-20,20,-17,5,24,-39,65,333,3455,4113,-7,-975,-2645,-2859,1760,3031,4673,7872,5517,744,279,1289,-1704,-5346,-5722,-4056,-2942,-2944,-1765,-433,-315,724,1727,1573,1418,1279,1195,1063,723,258,186,361,259,182,-282,-942,-1236,-1340,-1283,-775,74,377,-39,-355,-131,214,41,-551,-656,-431,-467,-508,-466,-332,-369,-548,-572,-555,-500,-370,-176,-97,-125,-74,-102,-166,-54,99,145,47,-114,-152,-123,-108,-78,-57,-80,-138,-183,-192,-178,-150,-113,-89,-85,-129,-167,-135,-81,-37,-27,-75,-142,-166,-130,-99,-95,-74,-83,-124,-126,-71,3,20,-41,-143,-206,-213,-193,-136,-74,-67,-78,-32,16,48,91,74,11},{4,16,-26,58,-91,107,-124,111,-56,-19,99,1192,9548,7247,-3288,-5142,-8163,-1829,6550,5312,12554,16479,3554,-5905,-846,318,-8010,-11876,-9513,-4791,-2361,-3116,-1159,472,294,2578,2892,1664,2573,3164,2167,563,-192,-450,605,1056,284,650,-442,-2898,-4267,-3652,-1770,-683,-296,411,1075,1109,1010,1010,659,-559,-1888,-1878,-695,-115,-430,-252,34,-30,-212,-462,-266,222,395,110,-201,-307,-306,-92,37,159,271,-31,-357,-445,-382,-286,-206,-143,-129,-131,-119,-33,-21,17,106,37,-198,-383,-367,-264,-107,-50,-44,-75,-172,-191,-151,-73,-64,-111,-176,-194,-84,117,294,249,-16,-266,-292,-208,-127,-44,-57,-148,-206,-183,-71,93,147,13,-151,-228,-230,-175,-42,32,-35,-21}}, // azimuth 20 degrees + {{-3,-4,-2,0,-3,-2,-2,0,-1,9,-10,15,-17,13,-9,-2,22,-31,53,248,2898,3892,356,-1079,-2266,-2386,1163,2702,4424,6928,5150,1389,545,928,-1266,-4177,-5196,-4158,-2685,-2485,-1917,-695,-266,464,1405,1495,1246,1200,1317,1131,657,114,128,467,370,296,-5,-524,-951,-1439,-1459,-724,-45,-160,-469,-363,-58,89,-197,-617,-538,-256,-282,-389,-353,-196,-166,-386,-627,-663,-546,-411,-299,-273,-221,-147,-162,-172,-48,126,174,82,-28,-63,-60,-49,-51,-54,-71,-128,-182,-218,-226,-197,-148,-123,-138,-179,-187,-141,-71,-26,-37,-59,-102,-115,-89,-83,-78,-70,-85,-119,-123,-86,-39,-24,-66,-143,-185,-201,-209,-149,-67,-31,-48,-38,-9,26,71,20},{36,-46,71,-85,77,-66,14,73,-173,275,218,7838,10165,-768,-6043,-8871,-3465,5481,4953,11842,17660,6788,-4518,-2066,177,-7256,-11478,-10459,-7074,-2901,-2421,-1141,449,-199,2329,3608,1552,1861,3168,2768,836,-159,-345,399,1145,409,940,276,-3066,-5010,-3657,-1661,-1003,-289,275,631,999,1073,1063,488,-856,-1730,-1275,-479,-266,-485,-314,167,171,-242,-613,-381,241,549,289,-162,-294,-288,-209,-77,51,137,-21,-302,-479,-374,-244,-152,-65,-65,-55,-101,-53,-47,-2,125,69,-161,-409,-424,-350,-204,-56,-19,-94,-228,-228,-163,-83,-38,-49,-124,-161,-67,120,294,260,34,-234,-314,-265,-179,-45,-28,-134,-222,-226,-123,65,165,57,-139,-242,-256,-181,-44,45,12,-68,-20}}, // azimuth 25 degrees + {{-4,-2,-2,-2,1,-2,-1,-2,2,0,8,-8,14,-11,11,0,-11,33,-32,46,161,2342,3705,674,-1081,-1825,-2128,617,2458,4008,6094,4991,1855,665,828,-728,-3260,-4715,-4069,-2428,-2197,-2046,-895,-331,250,1245,1458,1090,1087,1363,1101,446,53,333,664,611,639,195,-526,-1073,-1542,-1450,-833,-437,-604,-629,-248,22,-69,-412,-532,-266,-60,-181,-325,-227,-25,-59,-370,-651,-719,-595,-459,-413,-390,-319,-206,-159,-121,-10,109,185,143,59,33,11,-32,-86,-88,-65,-111,-193,-238,-245,-226,-190,-165,-171,-190,-169,-123,-71,-33,-12,-7,-55,-95,-82,-53,-40,-49,-82,-129,-151,-121,-64,-39,-75,-135,-173,-179,-159,-110,-47,-39,-64,-49,-17,9,5},{-35,54,-55,17,15,-93,176,-262,328,-245,5242,11776,3289,-5790,-9971,-5460,4518,4169,10245,18805,9452,-2525,-1542,-230,-6959,-10369,-10682,-9679,-4241,-1948,-1920,444,721,1467,3199,2453,2030,2308,2705,1770,43,-646,208,1451,505,986,763,-3245,-4997,-3480,-1955,-1045,-332,-43,301,889,1011,710,-59,-991,-880,-335,-639,-677,-277,-44,123,-14,-309,-622,-510,107,574,442,-18,-149,-256,-337,-132,-11,38,-84,-341,-412,-311,-262,-203,12,94,16,-93,-134,-111,-29,108,105,-81,-373,-467,-394,-256,-70,-20,-119,-297,-320,-198,-58,5,-9,-67,-131,-64,96,270,281,85,-189,-337,-314,-233,-76,1,-95,-229,-259,-172,22,169,99,-87,-250,-287,-217,-62,53,48,-28,-92,-26}}, // azimuth 30 degrees + {{-2,-3,-3,-2,-3,-1,-3,-1,-3,1,-3,3,-9,9,-6,2,3,-17,33,-41,45,83,1794,3473,994,-974,-1447,-1981,163,2184,3520,5412,4849,2173,818,846,-255,-2492,-4184,-3888,-2283,-1988,-2128,-1087,-356,229,1148,1191,868,1054,1250,918,447,322,637,1015,891,456,-77,-544,-1098,-1729,-1631,-935,-695,-876,-617,-134,17,-214,-445,-276,-29,0,-152,-225,-119,-44,-90,-342,-633,-717,-640,-546,-510,-461,-357,-254,-162,-66,19,99,181,200,148,80,-3,-92,-133,-100,-69,-103,-201,-280,-287,-266,-226,-182,-172,-183,-170,-125,-71,-30,1,2,-31,-62,-67,-46,-53,-67,-106,-174,-183,-139,-85,-57,-81,-120,-150,-151,-129,-116,-80,-64,-71,-60,-59,-15},{9,9,-54,86,-145,190,-208,197,-178,2506,11274,7928,-3543,-10765,-8159,3297,4020,7343,18837,13053,-776,-1411,1319,-6052,-10812,-9467,-10793,-7487,-2081,-1860,-805,669,2080,3388,1992,2212,2906,2424,1669,584,-221,-416,1248,1212,882,352,-3112,-4026,-3246,-2710,-1038,-218,-319,-50,803,948,-47,-870,-814,193,430,-677,-914,-224,322,309,-270,-600,-662,-551,-101,390,483,220,71,-212,-413,-129,-3,-30,-137,-328,-333,-317,-304,-219,70,242,101,-92,-237,-197,-42,115,113,-73,-303,-419,-396,-272,-91,-37,-126,-309,-379,-284,-103,67,88,0,-138,-99,73,234,308,151,-140,-364,-367,-244,-94,14,-61,-209,-276,-207,-16,148,138,-24,-205,-301,-261,-115,48,88,24,-68,-130,-35}}, // azimuth 35 degrees + {{1,0,-2,-1,-1,-4,2,-1,0,-1,5,-2,5,-2,8,3,-2,10,-16,31,-30,47,26,1306,3178,1310,-773,-1134,-1842,-220,1870,3063,4801,4700,2467,977,913,181,-1816,-3627,-3661,-2188,-1817,-2109,-1106,-261,126,845,862,667,1023,1191,934,771,852,923,867,566,238,-113,-680,-1399,-1855,-1512,-959,-917,-928,-501,-70,-4,-189,-317,-115,98,37,-143,-194,-118,-44,-78,-329,-586,-684,-677,-631,-561,-452,-357,-256,-127,-23,62,126,191,228,159,49,-41,-102,-117,-106,-87,-109,-213,-312,-318,-254,-204,-186,-155,-144,-144,-116,-66,-12,9,28,14,-40,-69,-79,-70,-82,-127,-167,-176,-153,-90,-37,-38,-83,-138,-144,-128,-102,-75,-62,-72,-80,-19},{49,-92,100,-113,88,-31,-52,134,476,8590,11609,932,-10197,-11348,799,4852,4496,16589,16600,2249,-1492,2063,-3497,-10256,-9621,-10562,-9502,-3969,-2420,-1487,209,1141,3644,3364,1985,2368,2899,2657,500,-415,-99,904,1363,591,-204,-2528,-3272,-2883,-2891,-1419,-417,-295,-45,551,502,-786,-1420,-506,824,844,-344,-799,-206,424,435,-205,-653,-804,-860,-389,183,409,372,166,-110,-297,-137,-12,-29,-91,-245,-275,-345,-397,-233,141,349,148,-147,-300,-229,-89,81,105,-51,-238,-379,-381,-300,-112,-18,-74,-266,-433,-358,-168,61,148,52,-109,-132,15,188,305,217,-81,-364,-415,-300,-118,30,5,-157,-287,-251,-75,118,165,42,-136,-291,-313,-159,21,101,69,-32,-137,-129,-20}}, // azimuth 40 degrees + {{1,0,-1,-1,-3,0,-3,1,-2,-1,-1,2,-3,1,-1,6,5,-10,13,-20,27,-20,31,-4,888,2795,1581,-498,-878,-1714,-551,1546,2609,4236,4582,2690,1094,1025,563,-1276,-3076,-3341,-2108,-1589,-1892,-1155,-360,-103,383,587,772,1088,1227,1378,1213,713,490,660,474,-60,-421,-885,-1502,-1668,-1296,-1056,-1042,-816,-323,-15,-39,-150,-196,-26,65,-48,-120,-141,-105,-44,-103,-338,-562,-656,-717,-691,-529,-395,-338,-231,-83,5,59,115,169,181,112,22,-45,-95,-124,-135,-123,-148,-246,-304,-288,-252,-205,-155,-110,-113,-129,-103,-57,-17,15,29,4,-52,-86,-86,-101,-111,-128,-158,-167,-147,-80,-24,-25,-67,-126,-153,-122,-96,-62,-58,-97,-26},{-38,16,1,-65,135,-217,281,-296,4587,12621,6832,-7076,-13861,-3769,5666,3192,12293,18804,6224,-1080,2395,-589,-8812,-9641,-9644,-11189,-5933,-2644,-3184,-826,772,2620,3534,2948,3167,2258,2716,2174,-43,-603,579,1802,-52,-1297,-1373,-2499,-3002,-2732,-1590,-729,-446,56,486,-48,-1615,-1771,-4,1126,834,44,-396,-23,398,372,-11,-487,-785,-1055,-881,-244,295,416,141,-59,-107,-89,-45,-14,74,-34,-289,-392,-355,-241,62,363,239,-144,-363,-282,-124,-2,60,9,-145,-374,-431,-313,-118,10,-5,-170,-412,-412,-223,28,150,49,-83,-133,-41,116,264,266,1,-338,-452,-344,-170,-6,42,-63,-228,-286,-158,59,165,96,-64,-252,-331,-207,-20,82,81,21,-103,-189,-92,-4}}, // azimuth 45 degrees + {{1,2,2,-1,0,-3,-2,-3,3,-1,1,1,1,-2,1,1,4,9,-12,14,-16,23,-12,14,1,558,2348,1793,-166,-667,-1572,-819,1197,2187,3758,4462,2861,1216,1131,859,-814,-2472,-2842,-1907,-1449,-1807,-1345,-635,-287,212,611,1033,1397,1473,1250,755,446,372,388,74,-370,-515,-910,-1349,-1344,-1183,-1115,-931,-561,-237,-68,-38,-114,-208,-121,-2,-7,-57,-105,-88,-96,-177,-330,-539,-673,-679,-595,-460,-359,-293,-177,-82,-28,39,89,106,122,102,9,-73,-108,-151,-168,-160,-184,-222,-264,-269,-224,-170,-111,-85,-90,-92,-98,-83,-36,-1,16,-8,-61,-90,-113,-123,-123,-125,-140,-153,-133,-75,-18,-17,-56,-114,-127,-114,-89,-72,-85,-22},{-62,86,-121,121,-108,54,-31,1086,9917,12126,-876,-13850,-9948,4237,4375,7144,18590,11094,-200,2084,2192,-5678,-9583,-9043,-11234,-8461,-3313,-3699,-2435,-516,1241,3620,2936,3214,3361,2920,2633,799,280,612,1040,-499,-1826,-785,-1964,-3007,-2450,-1958,-1055,-407,105,332,-559,-2134,-2014,162,1293,900,347,-105,159,527,344,109,-250,-676,-1060,-1184,-754,-64,258,77,-36,-38,-57,3,19,165,238,-97,-402,-381,-200,7,247,245,-55,-312,-367,-257,-109,50,73,-93,-369,-481,-332,-141,31,49,-83,-293,-401,-269,-58,99,83,-63,-160,-127,6,211,293,96,-260,-471,-402,-244,-55,69,-4,-169,-277,-221,-12,141,120,-15,-200,-306,-239,-66,46,70,36,-70,-194,-165,-10,12}}, // azimuth 50 degrees + {{0,0,0,1,-1,1,-3,-1,-2,1,-1,0,-1,-1,-1,-2,3,3,8,-13,12,-9,14,-6,-2,14,308,1871,1911,198,-452,-1403,-1066,814,1821,3326,4342,3000,1291,1215,1147,-253,-1689,-2325,-1939,-1618,-1899,-1395,-556,-292,257,1111,1322,975,928,957,527,114,8,74,-116,-376,-443,-812,-1108,-1030,-1001,-1011,-789,-449,-231,-111,-130,-249,-277,-142,7,58,-7,-137,-152,-139,-226,-370,-479,-528,-576,-533,-393,-306,-271,-196,-99,-62,-21,41,71,84,48,-26,-96,-152,-176,-176,-170,-184,-205,-210,-213,-192,-144,-90,-55,-72,-96,-120,-112,-51,-11,1,-30,-85,-105,-119,-135,-136,-125,-118,-128,-118,-73,-31,-11,-35,-78,-114,-117,-112,-107,-24},{-1,15,-60,120,-192,241,-259,4547,13528,7652,-9312,-15327,-1700,6720,3833,14331,16583,2437,536,4045,-1424,-8147,-8612,-9997,-11125,-5148,-3067,-4055,-1661,-285,1918,3158,3235,3470,2878,3848,2413,278,1224,1535,-981,-2805,-575,-930,-3241,-2569,-2063,-1517,-583,134,433,-944,-2706,-2153,262,1257,882,729,334,190,487,493,355,-86,-585,-870,-1248,-1211,-511,18,-75,-141,-73,-101,18,82,220,457,214,-220,-334,-232,-62,172,237,-1,-249,-389,-364,-226,-34,113,-24,-331,-509,-381,-166,0,87,27,-130,-317,-312,-137,30,107,24,-161,-232,-122,79,270,217,-101,-411,-452,-319,-147,49,89,-75,-266,-278,-101,105,159,56,-130,-294,-268,-107,28,72,51,-41,-170,-213,-76,70,23}}, // azimuth 55 degrees + {{0,0,1,0,2,0,0,-2,0,-1,0,1,0,0,0,0,-1,7,0,7,-6,6,1,6,-1,-8,32,151,1407,1915,552,-213,-1211,-1296,444,1518,2967,4209,3064,1393,1403,1621,378,-1228,-2230,-2211,-1626,-1497,-1190,-355,214,537,682,559,604,672,425,52,-176,-132,64,-4,-273,-427,-608,-663,-687,-908,-941,-679,-440,-321,-251,-274,-342,-299,-90,73,24,-106,-151,-152,-228,-228,-225,-352,-450,-481,-426,-355,-325,-265,-211,-158,-91,-44,3,10,13,13,-70,-135,-148,-160,-169,-182,-160,-133,-164,-178,-159,-121,-68,-66,-73,-101,-128,-101,-69,-33,-23,-51,-87,-120,-138,-132,-120,-94,-97,-111,-104,-83,-17,7,-7,-60,-106,-128,-148,-36},{50,-74,64,-11,-69,125,424,8862,14163,483,-15457,-11100,5208,5504,6981,18346,9323,-976,3402,2784,-4498,-8522,-8259,-10665,-9099,-3807,-3924,-2990,-1504,-77,2480,2545,3440,3354,3182,3855,1983,1824,1806,-872,-2460,-1019,-623,-2722,-2730,-2378,-2317,-878,157,392,-1016,-2991,-2442,-55,1221,1039,880,818,516,375,444,557,282,-388,-748,-1131,-1423,-960,-352,-213,-217,-219,-287,-149,71,307,590,511,80,-163,-154,-102,60,205,93,-186,-390,-447,-337,-119,60,20,-238,-441,-438,-263,-62,88,139,32,-183,-303,-212,-48,101,116,-74,-282,-279,-85,149,262,90,-239,-436,-397,-235,-30,117,43,-183,-309,-211,7,156,137,-1,-208,-319,-209,-20,90,86,27,-117,-230,-169,12,118,31}}, // azimuth 60 degrees + {{-1,0,-2,1,-1,1,0,0,-2,-1,-2,-2,1,-2,-1,-3,0,-2,6,-2,7,-5,-1,12,-10,0,-5,41,53,995,1820,857,58,-998,-1513,62,1276,2689,4044,3187,1785,1733,1813,406,-1254,-1897,-1793,-1380,-1024,-372,57,-352,-275,233,141,22,65,-17,-207,-163,179,216,-23,-145,-138,-231,-382,-534,-817,-929,-747,-528,-406,-394,-404,-343,-224,-102,-51,-76,-103,-146,-168,-131,-110,-166,-267,-335,-384,-408,-374,-328,-305,-259,-163,-110,-99,-73,-51,-42,-54,-80,-111,-137,-161,-169,-144,-113,-106,-127,-144,-140,-114,-83,-70,-80,-103,-121,-110,-87,-69,-53,-70,-104,-129,-118,-108,-102,-90,-95,-97,-103,-51,-3,17,-12,-65,-109,-157,-42},{64,-114,150,-146,116,-116,2164,12674,11790,-7199,-17565,-4138,8418,4224,11745,17047,2646,28,4728,556,-6250,-8443,-8220,-10175,-7003,-4033,-4305,-2258,-1377,526,2252,2617,3290,2879,4007,3346,2235,3232,231,-2723,-1210,115,-1633,-3241,-2732,-2612,-1975,-286,505,-765,-3182,-2960,-417,892,1047,1089,1162,1119,581,217,488,623,52,-553,-983,-1456,-1306,-697,-423,-344,-285,-445,-476,-212,227,667,734,427,80,-5,5,38,108,103,-56,-323,-482,-486,-275,-25,42,-126,-348,-439,-388,-174,28,171,184,-7,-238,-259,-109,33,149,55,-215,-374,-281,-27,183,205,-33,-325,-418,-317,-132,64,120,-54,-279,-302,-118,81,168,105,-74,-273,-313,-146,35,113,103,-9,-186,-237,-102,65,111,25}}, // azimuth 65 degrees + {{0,-1,1,-1,1,1,2,2,1,0,1,0,-1,3,2,1,-1,4,-1,5,2,9,-3,3,22,-21,5,5,44,16,680,1646,1093,352,-774,-1738,-334,1165,2618,4150,3559,1950,1299,1367,723,-478,-1316,-1278,-428,-316,-839,-843,-751,-683,-606,-556,-372,-324,-202,45,237,314,264,306,169,-6,-15,-144,-498,-941,-1008,-768,-589,-516,-481,-389,-349,-337,-205,-92,-86,-74,-43,-29,-60,-62,-58,-172,-291,-368,-406,-395,-384,-323,-238,-192,-160,-149,-133,-108,-70,-36,-68,-105,-126,-133,-128,-118,-84,-70,-96,-130,-136,-112,-87,-83,-74,-86,-109,-122,-125,-97,-78,-61,-80,-102,-104,-102,-94,-90,-70,-68,-55,-35,-8,-7,-21,-57,-118,-33},{37,-93,156,-212,245,-265,4578,15065,7476,-13504,-16077,2577,8600,4458,15286,12554,-821,2297,4631,-1157,-7511,-8227,-7852,-9144,-5847,-4518,-4086,-2387,-1284,1280,1995,2694,3011,2883,4136,3224,3288,1999,-1711,-1303,34,-378,-1934,-3219,-3123,-2842,-1283,125,-539,-2742,-3615,-1233,519,779,1190,1323,1600,1321,415,163,543,583,-90,-758,-1320,-1510,-1047,-654,-471,-358,-524,-712,-595,-142,479,805,728,420,209,168,146,128,55,19,-160,-416,-551,-502,-208,16,-25,-212,-364,-459,-354,-76,143,241,158,-65,-239,-179,-33,118,151,-87,-344,-401,-212,28,175,144,-131,-370,-373,-217,-25,108,80,-139,-329,-263,-26,157,174,46,-159,-316,-265,-61,75,117,96,-36,-201,-198,-41,73,87,20}}, // azimuth 70 degrees + {{0,1,-1,0,-2,2,1,1,1,-1,-1,-2,1,-1,4,1,-2,1,1,-3,5,4,5,0,6,17,-32,11,18,46,-5,441,1462,1276,619,-628,-1970,-620,1464,3135,4096,2828,1321,1337,1930,1343,227,-42,-454,-1011,-1075,-1118,-1352,-1561,-1439,-1163,-950,-563,-170,73,232,477,719,596,380,258,184,79,-209,-660,-1036,-1017,-803,-620,-550,-553,-513,-491,-363,-181,-90,-16,54,72,34,16,31,-30,-172,-300,-399,-442,-439,-398,-307,-260,-233,-213,-209,-159,-104,-61,-52,-75,-80,-96,-110,-103,-94,-71,-70,-96,-113,-141,-127,-85,-70,-67,-97,-135,-155,-145,-97,-54,-45,-77,-109,-106,-101,-81,-53,-43,-41,-63,-51,-33,-17,-28,-79,-24},{-10,-32,98,-193,264,-189,6935,15901,2848,-17553,-12630,7405,7414,5734,16506,7789,-1657,4180,4334,-2372,-8562,-7747,-7230,-8246,-5463,-4640,-3886,-2847,-1083,1430,2031,2910,2594,3175,4093,3451,3225,-143,-1746,336,534,-311,-2399,-3378,-2965,-2641,-997,-442,-2167,-3918,-2514,31,312,744,1498,1784,1902,1146,386,305,554,439,-244,-998,-1492,-1360,-938,-655,-462,-523,-784,-920,-658,35,603,768,700,483,372,307,219,123,34,-27,-248,-497,-629,-495,-155,-2,-106,-253,-402,-480,-302,-25,211,266,104,-114,-221,-108,28,136,85,-226,-444,-383,-152,52,138,68,-211,-412,-331,-141,33,111,13,-219,-359,-213,55,179,124,-39,-239,-334,-221,-12,85,96,53,-89,-205,-169,-31,53,48,8}}, // azimuth 75 degrees + {{0,1,1,-1,1,-1,0,1,1,1,0,0,-1,1,-1,2,-1,-2,0,0,-3,5,1,5,6,2,5,-32,34,28,20,-24,320,1320,1417,842,-606,-1949,-228,1894,2595,2896,2548,2112,1923,2362,2587,1284,-588,-1408,-1136,-1398,-2170,-2164,-1870,-1855,-1534,-756,-170,-72,188,755,1028,843,585,513,296,91,5,-354,-828,-1073,-960,-769,-706,-707,-691,-593,-441,-266,-126,-6,90,149,149,118,89,19,-74,-231,-369,-431,-468,-444,-377,-314,-291,-285,-254,-198,-134,-96,-71,-54,-56,-61,-61,-67,-102,-125,-94,-57,-73,-130,-141,-102,-81,-92,-102,-118,-150,-148,-105,-77,-72,-68,-83,-97,-93,-66,-43,-52,-50,-58,-60,-61,-48,-39,-60,-17},{-47,31,29,-136,222,19,8676,15809,-915,-19630,-9012,10242,6197,6997,16048,4299,-1348,5481,4377,-3319,-9247,-7058,-6674,-7725,-5374,-4467,-3911,-3253,-823,1230,1916,3138,2624,3238,4253,3695,1698,-1293,-451,850,651,150,-2492,-3546,-2878,-1916,-1025,-1935,-3591,-3681,-1295,69,55,1035,1781,2163,1935,982,508,507,620,303,-481,-1122,-1383,-1265,-962,-576,-474,-761,-998,-1011,-603,111,593,757,703,564,512,413,263,141,79,-32,-304,-560,-649,-434,-131,-58,-138,-270,-437,-460,-232,30,229,269,104,-124,-193,-51,86,144,15,-292,-466,-351,-118,67,162,22,-284,-418,-284,-65,75,111,-18,-266,-330,-128,107,166,80,-61,-266,-331,-165,27,108,98,17,-130,-205,-119,17,60,24,1}}, // azimuth 80 degrees + {{0,0,1,1,-1,0,-2,0,0,1,1,1,1,0,0,-2,2,-1,-2,2,0,-1,3,4,13,2,-12,5,3,38,8,2,-16,322,1253,1606,1215,-253,-1809,-1003,1063,2842,3415,2839,2792,3260,3098,1751,359,-684,-1869,-2205,-2169,-2558,-2463,-2024,-1729,-1197,-517,-15,354,739,1046,1126,916,544,342,201,49,-195,-580,-840,-992,-1017,-913,-813,-775,-669,-442,-296,-188,-32,109,179,204,225,172,35,-87,-173,-291,-406,-461,-440,-405,-391,-346,-311,-282,-224,-151,-106,-100,-76,-42,-17,-5,-42,-123,-166,-112,-45,-45,-78,-106,-122,-118,-115,-113,-107,-106,-108,-110,-111,-112,-82,-46,-46,-54,-63,-64,-68,-57,-43,-51,-70,-71,-65,-66,-16},{-58,51,-3,-104,190,127,9430,15520,-3011,-20323,-6574,11587,5505,7428,14972,2401,-882,6381,4809,-3813,-9573,-6349,-6241,-7608,-5407,-4237,-4014,-3619,-716,1073,1650,3081,2800,3420,4467,3356,291,-1342,508,866,741,383,-2258,-3308,-2732,-1526,-1315,-3211,-4392,-3100,-759,-272,-14,1292,1999,2315,1829,918,676,717,705,217,-623,-1126,-1249,-1267,-998,-498,-554,-964,-1158,-1049,-536,72,505,734,727,608,582,486,291,193,142,-23,-339,-588,-629,-395,-164,-134,-170,-305,-468,-447,-186,68,221,250,100,-117,-182,-28,120,151,-23,-329,-472,-345,-114,68,167,-10,-344,-429,-249,-29,92,101,-41,-278,-310,-88,126,156,67,-81,-290,-333,-140,55,105,63,-25,-164,-206,-92,56,66,-13,-10}}, // azimuth 85 degrees + {{0,0,0,0,0,0,0,-1,-1,0,3,2,1,1,0,-2,0,3,-1,-1,2,-2,3,5,7,13,-16,-2,27,20,1,-2,-5,20,508,1544,2636,1537,-2263,-3454,-307,2902,3821,3483,3829,3690,2417,1915,1402,-244,-2091,-2772,-2376,-2443,-2683,-2149,-1604,-1470,-950,-5,511,625,913,1209,1070,650,375,261,72,-147,-341,-639,-978,-1161,-1088,-905,-779,-629,-438,-324,-234,-50,106,158,210,261,207,36,-109,-162,-235,-356,-418,-418,-434,-439,-399,-331,-271,-234,-175,-116,-114,-113,-44,24,3,-80,-145,-149,-113,-66,-36,-41,-77,-126,-153,-144,-117,-93,-72,-87,-132,-136,-123,-89,-38,0,-17,-79,-96,-84,-59,-47,-56,-69,-84,-101,-99,-22},{-49,39,17,-128,221,15,9095,15491,-3097,-20245,-5994,12020,5579,6793,13929,1915,-706,6968,5554,-3588,-9683,-5851,-5689,-7774,-5670,-4079,-4003,-3959,-881,1050,1432,2871,2775,3551,4712,2728,-422,-749,758,613,973,583,-2119,-2942,-2219,-1469,-1928,-3865,-4382,-2767,-988,-497,124,1300,2065,2383,1681,863,838,947,846,218,-621,-1036,-1187,-1302,-984,-494,-673,-1065,-1247,-1070,-503,-6,389,677,742,628,609,536,331,260,220,32,-327,-591,-598,-370,-208,-189,-205,-356,-479,-429,-169,71,215,255,85,-118,-163,-8,137,163,-19,-339,-481,-335,-101,57,139,-40,-350,-422,-238,-11,89,96,-44,-281,-302,-65,151,165,66,-93,-301,-321,-119,53,76,29,-47,-173,-198,-77,64,64,-32,-16}}, // azimuth 90 degrees + {{0,0,0,0,0,-1,0,-1,0,2,2,0,1,-1,-1,-1,-2,2,1,-1,-2,-1,0,7,0,9,-1,-14,24,30,4,-36,15,-16,477,1814,2629,1419,-2261,-3763,-429,2691,3987,4510,3645,2594,2589,2612,1023,-937,-1675,-2216,-2721,-2572,-2131,-1934,-1832,-1359,-784,-239,282,605,859,954,920,794,515,220,31,-16,-211,-639,-1020,-1152,-1089,-939,-724,-531,-394,-334,-231,-54,76,148,181,197,131,9,-91,-161,-222,-300,-362,-401,-445,-462,-397,-319,-255,-209,-185,-138,-125,-104,-35,-3,-50,-126,-132,-103,-99,-72,-37,-38,-74,-129,-153,-142,-105,-62,-71,-107,-145,-135,-92,-67,-24,5,-23,-75,-106,-94,-66,-54,-55,-87,-111,-111,-100,-22},{-18,-16,81,-191,280,-234,7685,15633,-1194,-19535,-7196,11596,6409,5310,12917,2710,-949,7129,6616,-2538,-9602,-5801,-4872,-7918,-6254,-4143,-3872,-4204,-1354,1033,1354,2633,2613,3384,4698,2416,-423,-207,651,383,1059,813,-1840,-2744,-1835,-1406,-2304,-4100,-4152,-2627,-1411,-725,157,1225,1972,2290,1631,838,852,1125,1118,316,-576,-870,-1114,-1326,-1001,-554,-744,-1101,-1274,-1091,-541,-109,260,581,706,628,613,563,389,320,282,137,-262,-574,-568,-386,-246,-229,-250,-399,-514,-438,-170,62,195,244,91,-113,-168,13,163,164,-9,-320,-455,-342,-127,40,100,-60,-334,-405,-240,-19,82,82,-54,-280,-290,-51,170,177,61,-85,-277,-314,-137,24,38,-7,-51,-157,-204,-94,49,53,-21,-10}}, // azimuth 95 degrees + {{1,0,-1,1,-1,-1,-1,0,0,0,2,0,1,-1,-2,0,1,0,2,0,-1,-2,1,6,0,5,-1,10,2,29,19,-31,0,178,1267,2130,1336,-94,-1968,-2472,246,3455,4513,3555,2472,2515,2793,2093,266,-1300,-1763,-1805,-2020,-2301,-2057,-1573,-1372,-1156,-702,-183,82,330,631,717,738,672,518,304,97,-27,-287,-685,-1023,-1121,-977,-786,-625,-471,-329,-234,-179,-88,67,152,107,45,-1,-47,-93,-150,-202,-268,-345,-389,-427,-426,-356,-279,-224,-197,-174,-149,-119,-80,-72,-83,-102,-123,-109,-87,-74,-64,-51,-55,-99,-141,-133,-98,-68,-67,-98,-130,-142,-107,-53,-23,-17,-30,-49,-70,-94,-97,-71,-62,-84,-128,-127,-86,-67,-15},{31,-86,154,-235,296,-375,5378,15342,2549,-17841,-9833,10003,7940,3578,11396,4743,-1269,6444,7917,-554,-9132,-6406,-3873,-7636,-7122,-4536,-3722,-4258,-2072,862,1432,2428,2432,3005,4368,2443,52,137,454,302,983,943,-1343,-2555,-1810,-1487,-2266,-3803,-3991,-2764,-1701,-822,12,1003,1802,2094,1634,868,778,1206,1383,555,-451,-727,-957,-1263,-1078,-664,-771,-1086,-1244,-1102,-616,-223,142,476,624,612,608,581,444,383,359,240,-154,-512,-550,-412,-270,-245,-278,-423,-531,-461,-203,45,161,229,128,-72,-156,7,177,175,21,-265,-411,-348,-169,8,74,-44,-296,-387,-233,-33,63,60,-52,-237,-269,-51,170,178,86,-34,-221,-307,-189,-13,29,-15,-51,-147,-202,-116,32,77,17,-2}}, // azimuth 100 degrees + {{1,1,0,0,0,0,0,2,2,2,1,0,-1,0,0,1,2,3,2,0,0,2,4,3,6,2,0,11,19,5,16,20,150,1096,1869,1037,5,-853,-1913,-866,2398,4478,3644,1915,2011,2838,2084,580,-424,-1213,-1790,-1743,-1426,-1484,-1693,-1372,-729,-566,-596,-225,98,71,151,466,571,431,353,351,215,-155,-539,-748,-900,-989,-848,-608,-465,-384,-246,-102,-81,-63,46,100,-1,-113,-128,-139,-152,-145,-187,-271,-351,-389,-354,-313,-287,-232,-190,-185,-161,-113,-94,-124,-153,-123,-93,-111,-109,-82,-60,-58,-69,-89,-126,-127,-86,-56,-54,-89,-117,-121,-112,-71,-29,-4,-13,-52,-74,-78,-78,-81,-86,-105,-127,-132,-101,-61,-44,-10},{71,-127,170,-192,178,-229,2689,13675,7466,-14284,-13139,6735,9729,2449,8711,7501,-728,4587,8885,2389,-7762,-7698,-3136,-6513,-8101,-5331,-3629,-4172,-2940,390,1580,2273,2235,2519,3911,2613,631,456,306,254,848,1030,-712,-2360,-1964,-1690,-2199,-3164,-3639,-3055,-2092,-841,-40,640,1455,1837,1646,963,714,1136,1472,875,-182,-592,-790,-1118,-1137,-826,-774,-1027,-1197,-1114,-717,-339,10,350,527,551,558,600,501,415,412,332,-26,-418,-522,-452,-317,-271,-287,-415,-542,-495,-278,-13,106,193,158,-12,-117,-26,148,175,62,-184,-379,-371,-219,-45,47,-17,-232,-366,-268,-69,30,36,-30,-194,-256,-95,131,187,114,23,-167,-302,-232,-68,11,-30,-69,-156,-212,-124,26,97,34,-1}}, // azimuth 105 degrees + {{0,0,0,0,0,1,1,1,1,1,0,-1,-1,-2,0,0,0,0,0,-2,0,4,1,3,-2,9,0,6,18,3,10,191,1142,1802,781,-231,-487,-1194,-1116,1525,4349,3796,1765,1878,2509,1587,527,-180,-1131,-1615,-1312,-1211,-1445,-1205,-677,-519,-559,-228,79,-167,-256,-12,23,7,146,273,279,167,-4,-282,-661,-848,-775,-692,-665,-543,-344,-214,-98,-4,16,33,7,-59,-126,-210,-254,-261,-240,-197,-235,-337,-359,-292,-254,-226,-185,-190,-190,-161,-118,-101,-152,-181,-154,-130,-117,-113,-109,-98,-84,-82,-107,-131,-117,-80,-50,-61,-87,-94,-105,-104,-72,-47,-37,-26,-29,-51,-91,-98,-72,-91,-128,-145,-135,-108,-74,-59,-61,-15},{64,-86,78,-31,-55,109,542,10070,11878,-8027,-15674,1429,10813,2909,4853,9575,1698,2077,8575,5803,-4816,-9073,-3542,-4486,-8560,-6697,-3694,-3849,-3845,-520,1697,2217,2047,2014,3417,2873,1095,798,387,102,663,1098,0,-2001,-2264,-1877,-2167,-2656,-3081,-3089,-2543,-1098,4,423,1008,1449,1588,1166,730,959,1371,1132,221,-386,-626,-940,-1129,-956,-792,-946,-1129,-1119,-806,-440,-117,218,429,486,473,590,581,442,414,388,133,-281,-474,-471,-379,-310,-287,-354,-510,-531,-362,-100,41,138,179,66,-62,-44,107,164,104,-91,-333,-396,-262,-81,18,12,-147,-311,-307,-142,9,25,-5,-125,-241,-156,64,205,157,51,-97,-255,-240,-112,-37,-65,-101,-132,-172,-118,20,89,34,-1}}, // azimuth 110 degrees + {{0,0,0,0,1,2,2,1,0,1,-1,-1,0,-2,-1,1,-1,0,0,1,1,1,4,-4,9,-1,8,5,3,23,182,1226,1911,662,-500,-490,-839,-893,1429,4059,3465,1737,1956,2438,1475,209,-515,-1136,-1654,-1514,-1025,-1014,-1167,-745,-80,170,113,129,216,82,-211,-192,-94,-269,-265,48,118,-171,-400,-507,-661,-749,-636,-467,-438,-439,-277,-52,78,128,128,64,-60,-171,-242,-298,-342,-361,-324,-337,-405,-345,-242,-182,-147,-150,-130,-138,-148,-115,-119,-153,-170,-136,-128,-160,-146,-109,-99,-126,-145,-132,-133,-122,-66,-40,-49,-72,-97,-92,-78,-61,-46,-41,-54,-52,-49,-63,-81,-102,-111,-124,-135,-141,-110,-79,-66,-71,-95,-25},{-1,28,-77,132,-209,262,-294,5138,13334,717,-15058,-5529,9528,5325,973,8967,6122,603,6231,8457,-71,-8982,-5654,-2501,-7499,-8430,-4469,-3235,-4382,-2063,1425,2346,1884,1505,2850,3183,1460,1013,813,39,301,1044,675,-1301,-2480,-2184,-2108,-2383,-2678,-2777,-2698,-1648,-196,378,682,1013,1360,1319,862,772,1132,1235,610,-83,-447,-753,-1041,-1035,-823,-898,-1060,-1087,-887,-534,-264,68,322,417,421,494,603,488,371,382,265,-93,-402,-482,-416,-357,-317,-302,-432,-525,-462,-225,-30,48,151,126,0,-49,55,147,115,-29,-263,-393,-313,-122,-16,9,-70,-246,-314,-217,-48,15,-4,-61,-205,-221,-24,168,179,74,-35,-168,-240,-178,-110,-117,-113,-92,-111,-126,-41,51,10,-9}}, // azimuth 115 degrees + {{-1,0,0,1,2,2,2,0,0,-1,-1,-2,-1,-2,0,-2,-1,-1,-1,1,-2,5,-7,5,5,9,-2,4,17,190,1348,2031,573,-706,-553,-696,-733,1565,4154,3392,1501,1731,2424,1408,-4,-516,-1253,-2104,-1713,-946,-1115,-1235,-461,125,92,369,855,667,127,74,222,-111,-480,-407,-281,-321,-438,-561,-687,-749,-659,-521,-416,-344,-301,-238,-133,26,218,286,171,2,-118,-207,-320,-399,-401,-421,-534,-548,-401,-277,-153,-80,-98,-96,-81,-77,-97,-143,-143,-103,-104,-133,-169,-177,-136,-108,-143,-195,-201,-168,-121,-72,-37,-45,-56,-74,-80,-65,-62,-38,-39,-52,-62,-73,-78,-85,-98,-122,-135,-142,-119,-108,-80,-79,-79,-92,-157,-44},{-59,90,-109,101,-82,21,-5,1129,10253,8790,-9187,-11493,4418,8256,-386,4657,10210,2487,2611,8654,5190,-5820,-8270,-2457,-4769,-9247,-6349,-2920,-4008,-3743,245,2522,1930,1057,2142,3384,1973,926,1317,492,-128,685,1113,-347,-2270,-2494,-2131,-2246,-2532,-2446,-2370,-2091,-768,257,529,730,1064,1289,1008,704,879,1191,894,206,-214,-520,-869,-1010,-886,-856,-982,-1026,-901,-619,-388,-119,220,385,398,411,528,509,353,326,334,98,-281,-449,-415,-367,-350,-292,-333,-460,-490,-344,-115,-30,69,149,68,-29,13,127,110,6,-165,-321,-331,-193,-47,3,-16,-150,-280,-244,-98,3,2,-46,-136,-215,-115,99,158,100,35,-71,-205,-250,-160,-102,-101,-64,-71,-131,-102,-18,-7,-7}}, // azimuth 120 degrees + {{-1,-1,2,1,1,2,0,0,-1,-1,-2,0,-1,-1,-2,-2,0,0,2,0,4,-4,3,-3,16,6,-4,16,213,1474,2193,515,-933,-650,-601,-554,1808,4318,3314,1396,1784,2378,1052,-342,-555,-1227,-2231,-1973,-1158,-1110,-1263,-683,118,384,496,784,897,686,443,370,244,-84,-385,-404,-427,-757,-1000,-974,-912,-811,-586,-367,-275,-232,-142,-45,29,165,310,287,108,-48,-115,-230,-363,-405,-530,-664,-621,-511,-343,-201,-137,-77,-54,-35,-44,-82,-87,-79,-51,-56,-106,-168,-201,-147,-127,-169,-211,-240,-209,-148,-87,-49,-44,-56,-57,-52,-55,-41,-34,-35,-48,-63,-78,-91,-107,-125,-132,-132,-130,-124,-86,-75,-66,-88,-110,-145,-191,-47},{-22,1,21,-69,119,-190,229,-237,4550,11605,716,-12262,-3509,8232,2190,-860,9799,7901,753,5679,8547,53,-8445,-5033,-2282,-7711,-8547,-3907,-3023,-4542,-1838,2077,2224,810,1372,3127,2696,962,1225,1377,10,7,1036,545,-1503,-2576,-2241,-2164,-2528,-2424,-1929,-1974,-1460,-202,405,564,834,1138,1047,696,689,1027,1034,449,-42,-260,-596,-893,-933,-862,-882,-955,-894,-683,-480,-286,41,333,399,352,422,458,319,250,300,223,-126,-374,-380,-354,-346,-320,-290,-377,-451,-392,-229,-127,-46,101,108,2,-28,70,95,16,-89,-221,-294,-253,-126,-35,-11,-72,-190,-227,-129,-30,-28,-57,-101,-161,-157,-23,96,92,54,-16,-142,-233,-198,-104,-82,-92,-83,-125,-160,-116,-42,-3}}, // azimuth 125 degrees + {{0,1,1,1,1,1,0,-1,0,-2,-1,-1,-1,-2,0,-1,2,3,-2,4,-7,5,-4,11,9,2,13,239,1626,2358,445,-1135,-752,-604,-412,2162,4597,3249,1273,1863,2405,890,-618,-899,-1443,-2326,-2119,-1253,-1113,-1318,-764,85,286,440,975,1048,606,488,776,702,168,-101,-51,-295,-854,-1209,-1311,-1266,-1054,-747,-478,-349,-240,-98,40,153,238,307,259,108,17,-28,-128,-234,-389,-592,-673,-659,-559,-383,-289,-242,-156,-65,-42,-77,-63,12,53,9,-31,-79,-168,-177,-144,-164,-216,-243,-234,-221,-184,-116,-54,-52,-79,-65,-41,-43,-41,-17,-6,-29,-65,-88,-111,-129,-134,-137,-156,-151,-111,-78,-51,-53,-76,-127,-167,-171,-136,-27},{35,-63,67,-67,42,-9,-57,97,499,7801,8948,-5537,-9638,2871,5889,-2468,3538,12196,4147,1470,7994,5967,-4270,-7698,-2720,-4328,-9023,-6348,-2726,-3917,-3846,424,2453,880,720,2452,3073,1670,820,1622,1005,-220,338,914,-343,-2148,-2396,-2099,-2411,-2618,-1994,-1481,-1585,-923,66,450,663,972,1052,746,550,785,1006,667,142,-87,-302,-668,-892,-853,-799,-863,-868,-715,-515,-385,-167,179,386,365,330,397,297,146,197,251,42,-261,-316,-299,-330,-322,-261,-286,-391,-389,-291,-199,-161,-27,98,53,-33,-8,66,21,-48,-116,-203,-248,-199,-110,-52,-14,-49,-128,-144,-81,-59,-76,-71,-99,-153,-134,-5,64,30,9,-36,-140,-189,-139,-108,-125,-119,-120,-173,-169,-61,0}}, // azimuth 130 degrees + {{0,1,2,2,0,0,-2,0,-1,1,0,0,-2,0,1,1,2,0,5,-6,5,-6,12,5,9,16,265,1812,2531,356,-1333,-848,-592,-300,2487,4921,3250,1218,1962,2426,685,-898,-1019,-1548,-2680,-2501,-1361,-1064,-1285,-709,123,274,388,840,1034,746,475,632,743,552,341,207,-11,-524,-1090,-1436,-1503,-1304,-982,-690,-528,-369,-163,6,198,396,449,277,43,-30,-18,-29,-172,-417,-521,-586,-621,-511,-421,-362,-294,-221,-169,-182,-148,-10,121,118,74,53,-53,-153,-178,-159,-153,-230,-282,-251,-220,-195,-128,-57,-55,-81,-81,-78,-70,-30,13,13,-22,-50,-81,-122,-147,-144,-148,-164,-167,-138,-82,-40,-27,-62,-123,-168,-168,-121,-68,-12},{1,11,-40,60,-87,104,-119,103,-113,2016,9310,4775,-8056,-5051,4983,1221,-2727,8802,11141,1466,3547,8400,2491,-6263,-5784,-2468,-6479,-8442,-4365,-2847,-4347,-2158,1787,1386,211,1671,2858,2460,1159,1073,1629,568,-162,430,504,-1080,-2328,-2100,-2200,-2643,-2416,-1509,-1188,-1216,-493,197,502,796,1052,871,496,536,788,718,345,82,-100,-414,-745,-812,-722,-771,-816,-708,-524,-401,-313,-63,257,395,325,299,288,124,60,143,129,-97,-275,-255,-274,-317,-264,-206,-282,-367,-317,-226,-214,-172,-22,68,17,-59,-17,7,-33,-52,-113,-193,-230,-185,-105,-16,44,0,-96,-117,-82,-91,-90,-70,-109,-179,-133,-2,34,12,20,-30,-143,-190,-167,-163,-177,-140,-111,-123,-77,-10}}, // azimuth 135 degrees + {{0,1,0,-1,-1,-3,-2,-4,-1,-2,-2,-4,-2,-4,-2,0,-3,3,-12,4,-12,7,3,7,19,302,2006,2733,247,-1575,-938,-590,-154,2869,5216,3202,1175,2169,2491,441,-1207,-1249,-1634,-2771,-2760,-1737,-1334,-1224,-573,187,453,479,729,953,716,395,543,675,478,409,515,342,-257,-847,-1197,-1389,-1383,-1133,-858,-753,-619,-341,-60,167,368,494,416,139,-72,-66,-96,-274,-370,-436,-536,-492,-420,-411,-367,-296,-257,-304,-344,-206,30,139,139,112,65,11,-101,-189,-173,-185,-243,-264,-266,-255,-207,-122,-64,-59,-67,-97,-115,-108,-64,11,34,-10,-68,-101,-120,-131,-139,-158,-185,-185,-154,-100,-42,-34,-64,-121,-149,-145,-121,-79,-64,-16},{-16,25,-24,-3,23,-59,94,-145,168,-130,3665,9142,1099,-7632,-1407,3657,-2197,244,12065,8302,619,5425,7182,-291,-6417,-4310,-3397,-7493,-6912,-3339,-3411,-3862,-460,1619,179,669,2356,2636,1963,1014,1285,1365,338,-76,406,75,-1604,-2090,-1881,-2456,-2705,-2072,-1137,-1023,-909,-197,288,556,903,1048,630,332,512,620,433,201,75,-113,-484,-769,-698,-600,-699,-714,-543,-392,-356,-285,-15,283,339,244,223,166,17,23,88,1,-161,-223,-203,-251,-289,-219,-170,-249,-307,-275,-243,-234,-156,-23,11,-48,-78,-44,-47,-53,-42,-98,-189,-217,-146,-50,50,81,4,-81,-105,-102,-123,-105,-77,-137,-185,-108,-2,31,22,8,-87,-204,-223,-216,-192,-135,-61,-44,-70,-18}}, // azimuth 140 degrees + {{3,1,-1,0,-3,0,-1,1,-1,0,-3,-2,-1,1,2,-1,5,-9,8,-12,9,0,14,21,358,2268,2926,75,-1814,-1002,-591,7,3348,5565,3095,1094,2391,2605,202,-1521,-1460,-1812,-2894,-2874,-1924,-1536,-1410,-642,322,654,667,849,928,677,375,399,476,374,383,496,378,-64,-542,-925,-1167,-1133,-952,-853,-868,-832,-565,-190,102,321,430,365,197,89,-41,-281,-359,-341,-406,-436,-437,-384,-306,-266,-251,-322,-385,-308,-156,-31,77,142,116,70,3,-91,-128,-139,-182,-231,-266,-278,-259,-200,-112,-38,-33,-83,-110,-116,-103,-60,-6,16,-20,-71,-110,-127,-116,-110,-137,-169,-179,-147,-92,-41,-32,-86,-113,-124,-119,-112,-77,-33,-61,-20},{16,-22,34,-40,27,-14,-13,50,-105,146,84,4903,8012,-1038,-5966,-18,1188,-3041,3914,12837,5672,1036,6186,5497,-1793,-5896,-3755,-4407,-7339,-5531,-3145,-3626,-2791,285,650,-76,1419,2438,2357,1671,1021,1310,1078,218,-36,331,-368,-1700,-1744,-1949,-2587,-2579,-1796,-899,-863,-675,9,456,656,865,942,559,237,291,381,305,138,64,-121,-533,-713,-559,-496,-612,-569,-399,-346,-357,-270,20,251,247,184,167,87,-29,-11,19,-61,-156,-172,-196,-266,-254,-157,-130,-199,-243,-261,-263,-236,-140,-36,-45,-100,-106,-87,-78,-28,0,-81,-198,-200,-85,34,108,76,-27,-91,-95,-103,-134,-112,-78,-134,-158,-87,-7,8,-24,-51,-149,-238,-232,-177,-122,-63,-14,-32,-12}}, // azimuth 145 degrees + {{1,0,-1,-3,0,-2,0,0,1,-4,-1,0,1,2,0,4,-10,11,-14,11,-3,15,23,418,2566,3145,-170,-2111,-1022,-573,173,3877,5926,2963,1000,2632,2700,-103,-1819,-1640,-1998,-3043,-2996,-2084,-1733,-1477,-634,235,666,900,1061,957,710,464,332,280,206,244,394,304,-154,-554,-754,-885,-858,-700,-595,-696,-852,-696,-321,-16,213,342,304,150,-29,-148,-176,-280,-438,-430,-394,-433,-388,-243,-169,-250,-340,-292,-196,-151,-36,90,76,34,19,-37,-110,-138,-110,-121,-200,-265,-285,-262,-210,-101,-9,-22,-79,-124,-124,-102,-45,13,0,-63,-119,-140,-136,-115,-100,-110,-154,-175,-140,-65,-14,-41,-95,-133,-128,-118,-95,-69,-42,-33,-68,-21},{-2,13,-14,28,-43,45,-42,29,-4,-42,77,421,5569,6733,-1768,-4608,-316,-592,-2166,6608,12196,4050,1655,6025,4202,-2415,-5450,-3726,-4916,-6666,-4707,-3217,-3302,-1933,51,36,322,1736,2341,2196,1464,1030,1240,805,106,72,111,-639,-1405,-1660,-2141,-2504,-2353,-1603,-862,-700,-374,182,555,675,787,884,593,107,-80,154,315,161,6,-201,-489,-557,-470,-472,-507,-439,-353,-343,-383,-283,36,232,179,113,136,73,-58,-80,-37,-57,-146,-190,-223,-259,-214,-111,-87,-153,-214,-266,-277,-238,-134,-45,-74,-151,-158,-101,-52,-2,-9,-102,-174,-140,-37,56,98,53,-34,-87,-91,-108,-140,-99,-65,-114,-148,-114,-75,-68,-54,-70,-159,-213,-183,-138,-96,-41,-13,-4}}, // azimuth 150 degrees + {{0,0,-3,0,-2,1,0,1,-4,1,-1,1,3,-2,6,-13,12,-14,14,-10,18,22,477,2901,3394,-448,-2464,-1046,-517,359,4440,6299,2801,927,2890,2809,-429,-2209,-1812,-2171,-3203,-3051,-2224,-1964,-1572,-573,289,669,932,1203,1090,743,539,417,218,41,121,288,107,-366,-683,-791,-841,-708,-422,-319,-470,-593,-494,-306,-130,97,282,255,-36,-252,-203,-215,-285,-289,-378,-529,-522,-324,-193,-234,-273,-170,-101,-186,-153,39,138,76,-40,-87,-110,-171,-172,-96,-103,-190,-228,-252,-267,-201,-80,-3,-28,-87,-117,-121,-94,-38,13,-7,-78,-145,-195,-185,-126,-80,-94,-147,-169,-121,-43,8,-11,-85,-141,-147,-116,-85,-53,-45,-47,-54,-65,-16},{-1,2,4,-7,17,-38,44,-54,50,-43,10,9,738,5722,5831,-1714,-4122,-1147,-1214,-851,7975,11232,3269,1885,5519,3500,-2622,-5187,-3810,-4918,-5947,-4361,-3145,-2763,-1726,-401,15,614,1791,2313,2013,1330,1008,1088,584,107,107,-144,-608,-1115,-1726,-2282,-2407,-2036,-1406,-928,-569,-82,323,511,615,834,888,507,-66,-272,2,213,220,44,-285,-486,-446,-377,-455,-473,-379,-347,-369,-398,-243,49,189,150,96,134,53,-127,-143,-66,-62,-148,-219,-245,-240,-168,-72,-73,-142,-225,-272,-261,-230,-127,-49,-73,-142,-178,-143,-76,-3,-14,-102,-148,-106,-32,39,88,65,-18,-89,-108,-130,-124,-51,-39,-134,-208,-186,-115,-71,-45,-58,-131,-167,-165,-148,-110,-58,-7}}, // azimuth 155 degrees + {{-2,-3,0,-3,0,-1,0,-5,0,-3,2,2,-3,4,-15,14,-20,16,-15,15,24,542,3253,3663,-754,-2849,-1066,-475,552,5070,6688,2600,860,3166,2896,-756,-2592,-2037,-2382,-3375,-3084,-2270,-2179,-1735,-532,379,726,962,1320,1203,707,604,543,175,-42,108,229,-89,-608,-918,-968,-884,-697,-400,-220,-203,-228,-223,-123,16,176,223,-3,-245,-244,-250,-375,-366,-290,-371,-513,-529,-421,-321,-218,-62,-37,-141,-155,-33,109,130,49,-33,-93,-199,-274,-193,-113,-155,-207,-214,-221,-224,-178,-74,-5,-24,-79,-124,-137,-100,-19,19,-28,-104,-166,-223,-223,-138,-74,-101,-173,-177,-100,-11,40,2,-91,-144,-127,-93,-80,-70,-48,-57,-72,-61,-50,-11},{1,-3,7,1,0,9,-29,37,-49,53,-55,41,-28,952,5606,5386,-1536,-4274,-1716,-1098,163,8470,10458,2864,1738,5062,3213,-2677,-5057,-3777,-4595,-5441,-4223,-2836,-2405,-1931,-582,147,709,1876,2243,1848,1236,887,941,553,106,-65,-126,-452,-1081,-1688,-2363,-2355,-1678,-1158,-932,-563,119,435,392,589,924,843,321,-120,-222,-113,84,218,61,-290,-508,-465,-381,-405,-436,-414,-347,-342,-349,-195,53,218,182,95,87,-25,-167,-171,-99,-72,-140,-208,-250,-251,-150,-51,-62,-146,-248,-265,-221,-176,-99,-42,-44,-121,-192,-178,-116,-42,-43,-95,-103,-70,-26,16,66,74,5,-79,-140,-146,-83,-14,-50,-177,-246,-194,-108,-58,-16,-25,-92,-166,-187,-173,-149,-32}}, // azimuth 160 degrees + {{-4,1,-2,0,-2,1,-6,0,-1,2,3,-2,6,-18,17,-20,19,-16,16,22,602,3607,3969,-1036,-3267,-1087,-423,709,5709,7121,2404,795,3450,2980,-1073,-2962,-2256,-2610,-3588,-3136,-2276,-2312,-1885,-556,447,862,1003,1305,1391,818,538,605,225,-138,54,304,-112,-873,-1177,-1124,-1046,-822,-434,-219,-167,-19,117,136,263,424,215,-124,-246,-286,-351,-440,-437,-386,-460,-566,-576,-503,-329,-66,42,-65,-118,-64,31,134,140,59,-28,-105,-185,-269,-280,-184,-154,-223,-239,-229,-212,-135,-25,35,-16,-102,-133,-118,-88,-31,17,-31,-123,-189,-222,-205,-145,-90,-105,-167,-190,-123,-8,79,57,-57,-139,-131,-80,-55,-37,-49,-80,-99,-67,-22,-48,-18},{-10,4,-4,6,0,2,6,-23,28,-43,45,-53,45,-38,1041,5400,5209,-1516,-4600,-1848,-759,730,8544,9901,2513,1415,4788,3124,-2710,-4925,-3548,-4209,-5181,-4031,-2434,-2387,-2161,-539,184,807,1942,2086,1730,1100,717,923,640,-49,-243,64,-321,-1145,-1744,-2263,-2114,-1570,-1033,-692,-467,69,393,369,569,926,780,194,-109,-54,-36,-71,-14,7,-230,-570,-622,-465,-389,-392,-358,-319,-312,-269,-113,120,220,166,94,18,-116,-222,-176,-77,-81,-160,-223,-273,-273,-180,-51,-41,-147,-216,-218,-195,-161,-76,2,-25,-131,-201,-210,-174,-104,-62,-52,-85,-89,-48,11,75,64,-5,-91,-141,-141,-93,-34,-42,-156,-239,-194,-112,-21,6,-10,-113,-208,-231,-232,-54}}, // azimuth 165 degrees + {{1,-3,1,-2,0,-6,1,-1,3,2,-3,7,-20,16,-23,23,-20,15,19,671,3967,4286,-1309,-3719,-1128,-376,848,6371,7592,2219,739,3740,3025,-1421,-3302,-2492,-2868,-3791,-3216,-2299,-2413,-1995,-577,462,1002,1181,1246,1367,1028,635,603,238,-245,-30,346,-87,-952,-1405,-1389,-1179,-931,-594,-287,-110,40,152,357,565,493,333,172,-134,-370,-404,-459,-532,-479,-525,-728,-785,-505,-101,10,-64,-59,-34,-38,12,131,181,85,-36,-84,-168,-291,-290,-193,-203,-268,-253,-244,-236,-145,10,84,2,-105,-135,-135,-104,-27,4,-42,-138,-203,-225,-200,-127,-90,-118,-185,-200,-127,-18,56,61,-7,-87,-117,-100,-54,-20,-21,-87,-139,-124,-54,-18,-67,-22},{1,-8,1,-2,5,0,1,5,-20,19,-36,39,-45,38,-25,1026,5177,5126,-1616,-4795,-1692,-488,975,8414,9424,2199,1135,4633,3070,-2679,-4663,-3226,-3944,-4996,-3691,-2211,-2563,-2193,-501,189,956,1889,1946,1628,887,645,1053,624,-255,-256,148,-240,-1097,-1840,-2055,-1819,-1593,-975,-373,-235,-85,185,400,600,825,712,292,-2,-16,66,-81,-278,-244,-320,-609,-732,-606,-395,-266,-239,-225,-212,-199,-69,161,247,125,28,-7,-147,-240,-170,-66,-91,-209,-269,-307,-306,-187,-34,14,-67,-165,-202,-201,-143,-35,32,-22,-153,-213,-214,-183,-118,-77,-84,-104,-100,-58,21,95,82,-34,-132,-166,-127,-62,-3,-21,-139,-197,-175,-87,-26,7,-51,-162,-236,-265,-62}}, // azimuth 170 degrees + {{-5,2,-3,-1,-7,0,-1,3,2,-3,5,-19,16,-26,26,-26,20,10,758,4327,4562,-1552,-4133,-1173,-341,971,7023,8035,2057,719,4017,3053,-1819,-3628,-2660,-3178,-4023,-3231,-2318,-2510,-2061,-606,422,1089,1432,1337,1199,1047,868,684,251,-272,-184,295,3,-985,-1583,-1578,-1392,-1066,-619,-351,-206,27,286,365,410,653,694,344,-21,-182,-332,-525,-522,-493,-710,-951,-790,-343,-139,-111,-17,16,-31,-93,-32,148,187,98,25,-45,-187,-314,-266,-162,-188,-284,-320,-299,-240,-116,37,73,-25,-100,-116,-120,-111,-63,-23,-51,-118,-193,-232,-212,-128,-66,-103,-185,-208,-132,-14,75,60,-27,-107,-115,-64,-16,7,-29,-94,-171,-154,-84,-35,-43,-123,-39},{-2,2,-7,2,-1,5,1,0,5,-20,19,-31,35,-35,32,-9,957,4942,5000,-1719,-4746,-1458,-365,1067,8114,8940,2017,950,4453,3021,-2493,-4302,-2989,-3759,-4670,-3389,-2239,-2636,-2123,-545,245,1059,1782,1826,1422,717,790,1127,437,-334,-241,145,-121,-1020,-1801,-1922,-1670,-1423,-862,-307,-101,-42,35,309,617,775,709,434,98,-55,18,-91,-393,-549,-628,-720,-704,-559,-372,-225,-111,-50,-88,-152,-89,130,243,129,17,-25,-140,-254,-207,-87,-110,-258,-332,-336,-296,-148,21,49,-44,-127,-169,-170,-136,-37,32,-28,-130,-215,-232,-189,-121,-72,-99,-150,-132,-62,45,115,48,-67,-163,-149,-82,-14,38,-25,-112,-165,-143,-100,-57,-46,-66,-158,-254,-66}}, // azimuth 175 degrees + {{2,-2,-1,-8,2,-3,3,1,-3,5,-21,18,-29,27,-31,23,2,859,4656,4805,-1701,-4499,-1282,-329,1052,7625,8479,1993,799,4231,3041,-2172,-3964,-2836,-3482,-4312,-3280,-2293,-2590,-2095,-594,335,1103,1651,1607,1190,813,984,939,248,-284,-224,167,-26,-961,-1703,-1791,-1555,-1206,-705,-363,-170,48,150,244,524,772,709,446,140,-82,-183,-302,-435,-621,-867,-860,-629,-452,-319,-173,-9,59,-38,-150,-82,120,216,148,44,-50,-176,-265,-247,-145,-145,-273,-344,-345,-271,-105,37,64,-21,-126,-139,-131,-114,-49,-15,-42,-127,-191,-232,-218,-123,-61,-93,-171,-190,-101,33,89,42,-66,-130,-125,-70,2,37,5,-108,-175,-179,-96,-48,-43,-82,-193,-56},{2,-2,-1,-8,2,-3,3,1,-3,5,-21,18,-29,27,-31,23,2,859,4656,4805,-1701,-4499,-1282,-329,1052,7625,8479,1993,799,4231,3041,-2172,-3964,-2836,-3482,-4312,-3280,-2293,-2590,-2095,-594,335,1103,1651,1607,1190,813,984,939,248,-284,-224,167,-26,-961,-1703,-1791,-1555,-1206,-705,-363,-170,48,150,244,524,772,709,446,140,-82,-183,-302,-435,-621,-867,-860,-629,-452,-319,-173,-9,59,-38,-150,-82,120,216,148,44,-50,-176,-265,-247,-145,-145,-273,-344,-345,-271,-105,37,64,-21,-126,-139,-131,-114,-49,-15,-42,-127,-191,-232,-218,-123,-61,-93,-171,-190,-101,33,89,42,-66,-130,-125,-70,2,37,5,-108,-175,-179,-96,-48,-43,-82,-193,-56}}, // azimuth 180 degrees +}; +inline constexpr std::int16_t pcm48000_p30[31][2][hrir::taps]={ + {{-4,19,-24,41,-54,53,-48,20,39,-102,169,299,5288,5984,214,-2497,-7586,-3014,5566,4395,9015,11679,2991,-2400,1818,2064,-5549,-8074,-6851,-5569,-3651,-3042,-1654,-693,-505,1870,2768,1587,2003,2459,1790,1148,877,-197,-496,70,-496,-379,-325,-1030,-1552,-1716,-1342,-960,-414,-92,-107,219,898,1311,1201,1059,919,183,-914,-1527,-1645,-1345,-1148,-1364,-1416,-1092,-460,52,178,123,104,185,154,126,283,408,349,85,-186,-325,-406,-490,-501,-370,-298,-326,-345,-254,-85,103,225,157,-8,-145,-146,-95,-26,51,34,-118,-313,-321,-226,-138,-94,-138,-226,-265,-178,-29,110,151,55,-95,-176,-166,-118,-64,-63,-122,-196,-195,-137,-40,65,86,24,-68,-100,-62,1,34,-1,-8},{-4,19,-24,41,-54,53,-48,20,39,-102,169,299,5288,5984,214,-2497,-7586,-3014,5566,4395,9015,11679,2991,-2400,1818,2064,-5549,-8074,-6851,-5569,-3651,-3042,-1654,-693,-505,1870,2768,1587,2003,2459,1790,1148,877,-197,-496,70,-496,-379,-325,-1030,-1552,-1716,-1342,-960,-414,-92,-107,219,898,1311,1201,1059,919,183,-914,-1527,-1645,-1345,-1148,-1364,-1416,-1092,-460,52,178,123,104,185,154,126,283,408,349,85,-186,-325,-406,-490,-501,-370,-298,-326,-345,-254,-85,103,225,157,-8,-145,-146,-95,-26,51,34,-118,-313,-321,-226,-138,-94,-138,-226,-265,-178,-29,110,151,55,-95,-176,-166,-118,-64,-63,-122,-196,-195,-137,-40,65,86,24,-68,-100,-62,1,34,-1,-8}}, // azimuth 0 degrees + {{3,6,10,-8,29,-43,59,-65,73,-36,16,47,854,5448,4343,-168,-2908,-6639,-778,4363,4240,9647,9260,1640,-932,2393,763,-5163,-6838,-6740,-4948,-2876,-2920,-1849,-717,30,1740,2080,1712,2075,2050,1623,1215,497,-466,-11,222,-444,-156,-341,-1076,-1572,-1622,-1227,-750,-235,-124,59,768,1122,745,704,886,486,-274,-1001,-1349,-1305,-1025,-959,-1113,-1137,-967,-423,-1,-38,-67,56,160,89,55,220,352,306,70,-170,-343,-438,-438,-392,-303,-247,-244,-222,-126,-27,96,154,69,-61,-148,-114,-72,-32,21,17,-102,-240,-262,-220,-128,-78,-116,-204,-227,-140,-29,93,121,37,-71,-141,-140,-93,-49,-64,-138,-204,-201,-128,-3,87,75,3,-59,-69,-38,17,51,14},{28,-34,49,-65,56,-45,2,67,-149,227,194,5771,7050,253,-3061,-8825,-3818,6410,5405,9997,12645,3252,-3328,1132,2428,-6103,-9396,-7478,-5272,-3515,-3653,-1616,-44,-654,1577,3234,1951,1854,2429,2047,1191,908,66,-537,-176,-598,-377,-427,-1288,-1710,-1644,-1148,-934,-497,50,-223,-575,482,1744,1585,1237,1171,382,-755,-1427,-1782,-1697,-1546,-1523,-1228,-944,-591,-25,398,326,123,203,168,132,303,446,424,98,-203,-329,-439,-500,-462,-337,-332,-416,-430,-303,-106,104,263,260,72,-183,-203,-105,-7,63,28,-136,-361,-367,-245,-150,-99,-127,-229,-281,-183,14,194,197,58,-123,-212,-200,-151,-46,-12,-99,-192,-215,-145,-26,74,99,13,-66,-104,-72,6,41,8,-69,-23}}, // azimuth 6 degrees + {{-3,0,5,8,-7,22,-35,41,-48,47,-24,7,34,655,4488,4115,257,-2290,-5443,-1514,3221,4169,8297,8379,2616,-273,1964,1140,-3810,-6289,-6459,-4439,-2765,-3083,-2001,-626,-137,1162,1941,1687,1758,1863,1680,1185,292,-271,314,279,-434,-201,-287,-955,-1447,-1465,-1095,-537,-105,-266,-114,741,1092,485,175,498,428,-300,-959,-1096,-1044,-920,-830,-781,-799,-910,-659,-228,-79,-141,-113,36,5,-30,108,236,228,43,-148,-295,-396,-404,-331,-210,-163,-172,-150,-87,-47,25,91,31,-92,-168,-153,-122,-64,-7,-2,-83,-201,-240,-232,-166,-95,-92,-155,-200,-159,-48,75,98,21,-82,-149,-166,-118,-59,-67,-138,-196,-181,-125,-40,36,49,-15,-75,-86,-44,25,11},{-30,55,-72,51,-33,-18,96,-188,264,63,5849,8284,875,-3711,-9968,-4676,6758,5900,11251,14136,3160,-3750,786,1951,-6493,-9933,-8481,-5961,-2710,-3272,-2454,74,58,1475,2813,2156,2307,2261,1909,1400,1082,260,-452,-250,-776,-368,-407,-1551,-1947,-1788,-1078,-662,-329,-145,-620,-687,360,1493,1825,1538,1089,510,-400,-1247,-2016,-2168,-1773,-1359,-946,-967,-682,39,468,479,214,179,179,129,239,384,490,218,-232,-444,-484,-466,-422,-332,-344,-446,-463,-314,-117,119,336,326,97,-188,-230,-133,-27,46,13,-154,-400,-437,-336,-188,-92,-115,-214,-279,-139,62,225,235,80,-125,-265,-267,-155,-2,33,-62,-205,-256,-201,-37,116,106,8,-94,-108,-80,8,48,19,-41,-143,-45}}, // azimuth 12 degrees + {{-1,-3,0,2,9,-8,17,-27,26,-30,20,2,-13,35,423,3538,3949,741,-1586,-4613,-2256,2542,3786,6881,7839,3348,185,1770,1604,-2804,-5590,-5670,-4121,-2909,-3028,-1994,-749,-428,752,1695,1494,1543,1745,1694,1178,354,25,362,146,-364,-70,-199,-824,-1114,-1119,-895,-532,-370,-529,-175,595,661,164,92,331,313,-162,-788,-941,-824,-685,-639,-663,-637,-747,-715,-451,-226,-150,-183,-176,-154,-71,39,59,82,69,-56,-217,-284,-285,-253,-136,-52,-82,-135,-124,-77,-12,28,-7,-89,-177,-210,-173,-79,-4,-16,-102,-189,-223,-207,-139,-81,-80,-129,-149,-118,-56,36,65,2,-109,-177,-164,-122,-80,-62,-86,-135,-160,-145,-92,-23,5,-23,-66,-72,-32,-1},{43,-62,41,-16,-39,130,-212,289,-98,5342,9462,2512,-4103,-11127,-5903,6401,6432,11608,15675,4803,-4261,78,2007,-6976,-10381,-8978,-7283,-3083,-2096,-2225,-737,99,2123,2897,1607,2285,2715,1836,1196,1310,613,-341,-258,-841,-365,-309,-1698,-2213,-1875,-1062,-616,-342,-518,-688,-280,108,1149,2020,1576,915,509,-54,-1004,-2398,-2704,-1536,-680,-856,-1224,-780,97,675,587,162,168,181,118,253,342,414,266,-156,-519,-550,-448,-426,-337,-325,-383,-423,-352,-137,181,411,367,145,-177,-277,-181,-40,67,4,-186,-433,-505,-418,-248,-99,-104,-184,-229,-145,48,275,339,138,-156,-312,-271,-122,39,73,-63,-226,-287,-227,-64,112,139,24,-100,-152,-91,1,86,56,-16,-103,-214,-59}}, // azimuth 18 degrees + {{-2,0,-6,1,1,9,-8,15,-20,16,-12,1,25,-34,46,214,2643,3725,1281,-939,-4021,-2697,1946,3152,5719,7363,3807,654,1730,1900,-1968,-4614,-4776,-4024,-3039,-2790,-1990,-1005,-687,411,1374,1314,1418,1661,1778,1234,299,79,361,212,-170,-3,-17,-426,-751,-1010,-1031,-739,-582,-718,-357,280,289,42,168,293,229,9,-533,-809,-650,-509,-540,-601,-587,-638,-648,-554,-391,-241,-234,-302,-333,-198,-44,-19,32,80,25,-88,-151,-169,-163,-81,-31,-62,-109,-152,-148,-72,-2,-20,-102,-193,-231,-188,-99,-50,-52,-94,-166,-195,-164,-93,-54,-71,-101,-124,-114,-71,-15,7,-30,-97,-148,-158,-140,-90,-48,-63,-114,-152,-151,-118,-58,-24,-24,-45,-68,-18},{-38,14,4,-74,157,-235,303,-253,4325,10135,4897,-3486,-12380,-7517,5557,6387,12035,16394,6441,-2612,-758,1174,-6326,-10523,-9941,-8518,-3825,-1978,-1881,-274,-121,1528,3414,2220,1752,2177,2304,1437,946,870,55,-197,-948,-361,-54,-1776,-2412,-2033,-945,-567,-1201,-792,94,-143,-219,1065,1912,1491,917,572,-122,-1266,-2538,-2547,-1120,-379,-798,-1273,-860,96,662,612,225,128,167,165,246,288,387,275,-159,-543,-617,-519,-425,-322,-287,-298,-375,-338,-145,171,441,431,220,-178,-334,-221,-63,60,4,-181,-474,-586,-494,-302,-102,-58,-166,-283,-209,23,309,405,207,-113,-287,-246,-110,44,68,-62,-246,-321,-266,-92,105,139,36,-98,-171,-138,-6,98,101,11,-95,-189,-195,-38}}, // azimuth 24 degrees + {{2,-3,1,-5,2,-1,7,-6,10,-13,7,-2,-14,37,-44,48,66,1824,3397,1780,-363,-3401,-2969,1235,2555,4733,6763,4148,1178,1661,2032,-1092,-3561,-3997,-3904,-3076,-2548,-2017,-1281,-865,82,1043,1247,1369,1603,1676,1005,324,359,396,268,137,264,170,-326,-730,-1091,-1150,-902,-898,-984,-464,176,120,-73,168,392,346,87,-389,-642,-541,-425,-483,-592,-576,-552,-574,-587,-523,-407,-342,-369,-387,-278,-124,-10,63,97,88,20,-72,-112,-87,-39,-48,-90,-124,-158,-179,-139,-61,-64,-106,-162,-216,-213,-169,-88,-40,-59,-118,-157,-126,-73,-43,-48,-99,-146,-147,-103,-32,-9,-33,-78,-125,-151,-152,-108,-61,-63,-100,-126,-135,-111,-74,-39,-38,-65,-17},{-30,56,-119,189,-245,282,-277,2899,10073,7502,-1412,-12971,-10123,4587,5812,11355,17713,8018,-1399,32,1308,-6757,-10128,-9592,-10741,-5377,-1493,-2227,-698,730,1765,2652,2400,2720,1946,1410,1733,1457,686,-3,277,-825,-633,243,-1528,-2516,-2114,-1102,-1102,-1709,-491,438,-74,-180,722,1668,1601,1012,537,-514,-1826,-2343,-1565,-808,-809,-666,-847,-825,-124,401,543,329,218,196,133,187,286,473,299,-191,-531,-705,-637,-475,-283,-154,-216,-332,-317,-133,172,462,465,212,-146,-317,-254,-107,40,33,-146,-492,-665,-539,-295,-65,-32,-175,-338,-282,-28,274,413,262,10,-169,-211,-133,25,97,-39,-253,-361,-308,-130,73,149,64,-83,-179,-155,-23,101,123,49,-80,-180,-177,-112,-22}}, // azimuth 30 degrees + {{-5,2,-2,0,-4,2,-3,5,-4,5,-1,-2,7,-22,39,-39,38,-1,1144,2929,2138,208,-2709,-3134,512,2047,3820,6086,4428,1664,1524,2129,-192,-2621,-3263,-3633,-3076,-2391,-2023,-1442,-1023,-166,905,1122,1054,1370,1595,1040,486,539,601,608,328,118,65,-340,-785,-1155,-1276,-1154,-1135,-994,-365,100,-61,-67,251,467,437,94,-319,-493,-469,-415,-469,-564,-539,-508,-590,-661,-609,-511,-412,-342,-331,-259,-135,-36,87,133,72,55,7,-86,-80,-24,-26,-106,-182,-181,-180,-181,-136,-96,-85,-141,-216,-216,-173,-82,-13,-13,-62,-133,-131,-79,-58,-69,-101,-141,-149,-117,-62,-7,-24,-82,-123,-146,-145,-114,-66,-55,-81,-111,-117,-104,-72,-60,-71,-18},{74,-144,193,-190,159,-116,1391,9015,9827,1622,-11984,-13361,2835,5945,9085,18259,10615,-34,176,2040,-5110,-10662,-9560,-10794,-7956,-2638,-1933,-1124,174,1882,3513,2446,2288,2551,1860,1197,1028,1269,217,-50,-511,-530,283,-1279,-2359,-1861,-1759,-2393,-1417,461,95,-215,193,390,1186,1680,1347,311,-1322,-2141,-1503,-682,-858,-1133,-621,-401,-574,-440,-28,384,418,333,226,13,138,411,494,289,-112,-480,-761,-765,-588,-251,-37,-165,-294,-263,-73,165,415,432,202,-95,-300,-301,-181,32,85,-137,-502,-646,-515,-304,-93,-53,-166,-331,-318,-127,143,373,347,143,-95,-224,-164,17,120,9,-220,-370,-369,-217,21,151,101,-56,-192,-178,-29,100,127,51,-62,-169,-181,-111,-76,-15}}, // azimuth 36 degrees + {{-1,-4,2,-2,-1,-3,1,-1,1,-2,4,5,-9,11,-23,33,-27,16,-3,611,2350,2345,733,-1928,-3133,-274,1573,3016,5386,4607,2067,1460,2168,598,-1744,-2584,-3246,-3061,-2293,-1902,-1483,-1004,-335,366,687,1011,1478,1495,996,846,996,676,379,189,-23,-136,-444,-837,-1219,-1326,-1200,-1142,-868,-312,9,-48,-5,228,443,442,104,-302,-433,-386,-412,-456,-528,-584,-579,-642,-665,-598,-482,-341,-293,-275,-205,-122,-67,6,102,96,54,17,-65,-94,-54,-50,-101,-173,-226,-226,-201,-162,-120,-102,-126,-164,-169,-127,-57,-12,-11,-67,-123,-130,-111,-84,-74,-87,-121,-149,-141,-96,-38,-20,-65,-107,-130,-137,-103,-67,-50,-75,-101,-110,-105,-85,-76,-17},{-93,105,-65,-25,119,188,6829,11331,5422,-9241,-16248,-638,6786,6820,16608,13490,2246,349,2580,-2993,-10058,-9476,-10799,-9705,-3926,-2966,-1995,210,1210,2981,3380,3307,2328,1493,2094,1314,619,183,379,-327,-968,501,-696,-2275,-1890,-2571,-3192,-1197,921,295,-258,47,228,990,1593,1286,4,-1731,-2000,-833,-340,-699,-989,-702,-300,-421,-561,-289,157,311,299,229,-3,131,434,453,371,61,-435,-750,-804,-649,-280,-51,-132,-242,-186,-18,151,349,355,210,-60,-310,-310,-243,-46,65,-89,-390,-584,-508,-336,-130,-45,-157,-323,-364,-226,59,332,387,201,-65,-212,-210,-32,127,64,-154,-344,-387,-300,-61,138,133,-15,-177,-207,-76,84,133,74,-46,-162,-201,-120,-54,-56,-15}}, // azimuth 42 degrees + {{-2,-1,-2,1,0,-1,-2,0,0,-1,1,3,10,-10,13,-17,20,-8,-3,16,258,1741,2342,1190,-1095,-2971,-1075,1117,2406,4673,4625,2454,1467,2096,1264,-940,-1973,-2776,-2945,-2087,-1578,-1484,-1393,-826,157,739,1036,1426,1542,1307,987,751,455,187,-42,-289,-342,-477,-783,-1073,-1163,-1152,-1114,-682,-158,-45,-124,-10,205,357,344,51,-262,-360,-353,-391,-502,-619,-628,-590,-598,-561,-470,-365,-305,-253,-183,-178,-172,-140,-44,75,83,41,-36,-96,-97,-80,-45,-91,-195,-254,-256,-204,-164,-133,-89,-79,-83,-95,-109,-73,-42,-38,-58,-115,-134,-129,-109,-79,-88,-126,-152,-145,-117,-54,-15,-38,-89,-128,-117,-90,-61,-61,-85,-97,-104,-105,-83,-17},{-38,114,-204,290,-362,3790,11116,9550,-4022,-17749,-6465,7377,5730,13306,15338,5131,1284,2581,-172,-7967,-10261,-10158,-10339,-5941,-3743,-3052,-1009,457,2613,3100,3509,3695,1979,1814,1641,1369,431,-416,-51,-544,108,-374,-1740,-2157,-3660,-3384,-931,567,592,178,-98,-62,758,1526,1030,-368,-1659,-1495,-515,-416,-454,-515,-566,-404,-595,-622,-306,47,120,54,62,23,225,381,368,478,283,-288,-703,-751,-584,-381,-163,-52,-126,-174,-67,120,305,338,218,-23,-298,-368,-295,-124,23,-28,-217,-440,-508,-383,-156,-5,-92,-320,-431,-298,6,315,399,217,-46,-209,-222,-88,86,101,-75,-285,-391,-329,-97,116,150,34,-129,-204,-128,29,121,96,10,-123,-198,-147,-48,-20,-69,-24}}, // azimuth 48 degrees + {{1,-1,-2,-2,0,-1,-2,0,-3,0,-4,2,3,9,-8,7,-5,2,9,-15,21,83,1163,2150,1550,-328,-2605,-1784,599,1958,3999,4528,2749,1555,1995,1721,-196,-1402,-2137,-2491,-1999,-1827,-1781,-1321,-708,-8,685,1285,1571,1261,927,811,541,131,-129,-277,-458,-335,-286,-571,-829,-1030,-1077,-880,-457,-179,-224,-206,-26,132,213,196,9,-221,-324,-370,-480,-573,-616,-589,-469,-430,-426,-367,-317,-247,-187,-182,-225,-232,-146,-63,-17,9,-18,-74,-89,-83,-83,-95,-133,-184,-239,-243,-208,-158,-95,-53,-28,-36,-79,-113,-103,-70,-49,-67,-108,-143,-155,-117,-96,-101,-123,-141,-124,-111,-80,-37,-37,-63,-94,-106,-88,-81,-69,-81,-86,-85,-99,-24},{123,-162,151,-116,904,8438,12384,3311,-15029,-14462,5222,7122,8781,15992,8162,2278,3034,1810,-4285,-9535,-10023,-11101,-7641,-3958,-4481,-2301,-497,1025,2782,3365,4167,2603,2257,2730,1410,795,194,-73,-738,-192,373,-1462,-2897,-4085,-3455,-1241,-35,816,699,-127,-178,569,1225,615,-571,-1156,-977,-467,-519,-322,-81,-332,-311,-648,-918,-437,25,58,-125,-225,-147,112,339,434,529,412,-59,-499,-657,-562,-392,-238,-65,-5,-120,-148,-5,169,326,284,62,-248,-470,-405,-213,-21,61,-73,-336,-486,-393,-152,5,-44,-263,-444,-357,-101,207,397,284,-4,-216,-274,-165,27,112,-10,-241,-361,-332,-149,82,173,88,-78,-198,-178,-27,92,105,26,-76,-175,-157,-68,-29,-35,-103,-33}}, // azimuth 54 degrees + {{3,0,-1,-1,-1,-1,1,0,1,-3,0,-1,4,5,6,-3,4,2,-8,18,-18,21,23,713,1830,1758,334,-2106,-2320,19,1660,3484,4315,2910,1706,1930,2014,585,-602,-1620,-2725,-2248,-1418,-1420,-1298,-645,216,815,983,954,801,662,423,99,-77,-244,-316,-313,-150,-55,-339,-611,-806,-903,-706,-391,-356,-419,-230,-55,3,59,59,-66,-230,-340,-442,-520,-520,-475,-403,-306,-307,-351,-313,-239,-203,-222,-234,-244,-238,-185,-148,-110,-56,-44,-72,-88,-94,-128,-137,-126,-151,-190,-212,-192,-127,-49,-14,-19,-42,-82,-117,-124,-86,-66,-88,-115,-136,-146,-135,-106,-90,-101,-123,-127,-126,-89,-37,-26,-46,-78,-84,-97,-90,-71,-62,-60,-78,-21},{93,-192,283,-362,3755,11911,10468,-6185,-19785,-3966,9999,6012,12891,12717,3417,2949,3239,-154,-7036,-9709,-10024,-10058,-5825,-4428,-3436,-1782,-814,1914,2540,3702,3884,2082,2905,2807,1792,549,-233,103,-166,72,-820,-2979,-4532,-3925,-1764,-615,483,949,171,-73,377,826,362,-748,-823,-269,-316,-602,-383,125,35,-210,-460,-888,-801,-327,36,-20,-345,-429,-235,67,445,663,544,151,-285,-472,-467,-382,-259,-76,53,-33,-139,-138,-25,198,314,193,-138,-486,-528,-340,-97,88,73,-189,-451,-399,-176,8,40,-151,-374,-401,-233,48,298,342,127,-167,-304,-279,-102,75,81,-120,-338,-348,-203,27,174,155,-2,-174,-213,-92,69,113,73,-42,-150,-179,-100,-34,-30,-53,-111,-31}}, // azimuth 60 degrees + {{1,1,0,0,-2,-1,-2,0,-1,0,-3,-3,-1,2,2,1,-1,0,2,-14,18,-13,11,11,418,1461,1809,860,-1580,-2658,-553,1445,3134,4064,2960,1904,2140,2485,961,-821,-1423,-1967,-1815,-1265,-1118,-842,-488,-177,199,452,436,270,144,-23,-15,154,-90,-299,-93,175,155,-147,-371,-659,-844,-675,-516,-514,-467,-274,-173,-162,-91,-74,-162,-282,-382,-400,-355,-346,-315,-237,-205,-266,-299,-227,-235,-287,-257,-242,-281,-303,-244,-184,-165,-115,-67,-78,-110,-132,-135,-119,-114,-119,-138,-159,-144,-98,-45,-34,-49,-63,-90,-120,-136,-119,-97,-93,-100,-129,-140,-120,-105,-99,-117,-132,-121,-108,-84,-54,-37,-37,-54,-88,-100,-83,-56,-58,-72,-17},{-36,-12,77,154,7006,13595,5527,-14895,-16803,5784,9437,6682,14284,8082,2353,3522,2598,-1980,-8757,-9363,-9356,-8387,-5680,-4872,-2407,-1717,-481,1895,2728,3946,2641,2433,3549,2538,1767,703,186,99,358,108,-2796,-4863,-4174,-2681,-1530,-188,876,397,-112,453,704,11,-857,-647,253,60,-528,-447,99,375,-46,-339,-548,-890,-787,-264,-46,-257,-466,-514,-353,94,607,717,406,-77,-302,-287,-309,-249,-95,84,90,-74,-217,-191,23,231,238,-17,-378,-582,-483,-232,13,140,-8,-304,-418,-254,-28,74,8,-203,-386,-357,-131,145,305,224,-46,-267,-351,-267,-46,95,22,-213,-342,-284,-88,134,190,93,-101,-229,-175,3,130,119,23,-110,-193,-178,-80,-30,-23,-54,-93,-22}}, // azimuth 66 degrees + {{1,2,1,1,1,-1,0,0,1,0,3,-1,-1,0,3,2,2,5,1,3,-14,21,-2,3,17,279,1151,1744,1262,-1161,-2910,-1019,1373,3059,3913,3116,2396,2012,1724,1057,80,-659,-1506,-1413,-756,-883,-1153,-970,-652,-421,-165,-169,-346,-105,220,325,254,3,24,209,342,365,24,-394,-727,-834,-683,-589,-560,-517,-431,-371,-265,-159,-222,-280,-263,-213,-182,-213,-211,-154,-144,-183,-214,-247,-277,-299,-301,-281,-299,-333,-304,-255,-238,-195,-124,-92,-110,-120,-107,-108,-98,-80,-71,-67,-94,-122,-119,-86,-60,-66,-73,-94,-128,-142,-125,-101,-82,-74,-92,-123,-137,-123,-113,-106,-103,-101,-98,-90,-53,-36,-34,-43,-59,-75,-82,-72,-58,-13},{-127,156,-191,1216,9741,13551,-697,-19876,-9983,11262,7327,8048,13265,5135,2726,3520,2115,-3845,-9668,-8468,-8304,-7413,-6095,-4477,-2190,-2135,220,1912,2814,3643,2000,2822,3649,2565,1496,661,1059,738,265,-1174,-4001,-4761,-3783,-2406,-1067,-33,433,50,160,624,24,-873,-775,344,681,-128,-521,-129,619,429,-281,-447,-639,-864,-693,-317,-250,-399,-571,-605,-317,190,562,574,266,-120,-172,-170,-183,-70,87,205,57,-189,-295,-167,75,197,70,-235,-524,-577,-397,-164,90,137,-84,-333,-367,-135,67,117,-6,-257,-383,-295,-47,191,253,89,-201,-361,-359,-218,16,104,-50,-262,-315,-203,3,154,165,29,-169,-232,-116,76,153,107,-18,-173,-229,-174,-63,-10,-20,-63,-83,-19}}, // azimuth 72 degrees + {{0,1,0,1,2,-1,-1,1,-1,1,2,1,-3,-1,-1,1,0,3,3,2,-2,-13,24,-3,8,0,238,992,1658,1503,-1042,-3196,-1185,1680,3548,4075,2451,1472,2111,2544,1562,365,-25,-750,-1305,-1200,-1228,-1481,-1586,-1213,-925,-941,-560,33,248,271,518,642,263,77,436,637,260,-232,-471,-725,-847,-663,-595,-698,-713,-580,-414,-322,-285,-263,-181,-86,-53,-42,-79,-99,-81,-123,-179,-257,-312,-297,-334,-355,-327,-323,-327,-332,-288,-226,-188,-163,-148,-102,-75,-82,-71,-71,-50,-16,-39,-103,-168,-156,-97,-81,-80,-96,-117,-124,-137,-122,-86,-64,-67,-103,-140,-148,-135,-93,-78,-99,-106,-103,-86,-58,-29,-19,-33,-61,-78,-85,-72,-14},{-154,235,-346,2307,11532,12385,-6106,-21069,-3286,13069,5481,8807,11498,3980,3227,3629,1864,-5559,-9872,-7276,-7385,-7217,-6265,-3891,-2537,-2434,419,1951,3145,2900,1799,3387,3447,2320,1283,1038,1541,1003,184,-2266,-4353,-4060,-3368,-2366,-1203,-122,107,-239,316,211,-867,-961,70,980,553,-231,-273,366,919,258,-432,-528,-716,-824,-648,-421,-394,-493,-659,-622,-270,190,432,387,153,-39,-47,-112,-36,129,270,264,-48,-294,-293,-113,69,85,-100,-372,-568,-549,-366,-124,124,132,-114,-345,-304,-45,132,136,-38,-289,-364,-209,13,175,177,-49,-319,-427,-350,-128,67,88,-98,-287,-283,-146,51,154,121,-24,-194,-206,-58,112,155,71,-68,-194,-232,-151,-41,-7,-37,-88,-76,-14}}, // azimuth 78 degrees + {{0,1,1,1,2,3,0,1,1,0,3,1,1,-1,-2,-1,6,-1,5,5,5,-6,-2,33,-2,-4,-25,354,1020,1620,1451,-1469,-3289,-279,2746,3075,2476,2337,2577,2587,2679,2066,748,-300,-1055,-1401,-1726,-1966,-1811,-1867,-1956,-1387,-446,-4,27,357,854,903,492,356,463,378,278,97,-240,-615,-798,-715,-692,-810,-857,-731,-601,-483,-297,-181,-133,-68,24,102,79,-13,-56,-97,-189,-262,-303,-320,-348,-377,-359,-336,-333,-339,-299,-245,-245,-238,-179,-103,-51,-38,-41,-53,-49,-9,-22,-96,-148,-150,-121,-118,-109,-97,-103,-106,-109,-102,-104,-97,-73,-74,-104,-135,-132,-96,-80,-86,-100,-98,-81,-70,-37,-27,-32,-38,-48,-68,-90,-23},{-147,246,-386,2902,12337,11224,-9295,-20398,938,13224,4311,8612,10185,3851,3554,3974,1902,-6620,-9775,-6236,-6761,-7374,-6190,-3408,-2999,-2705,452,1807,3095,2565,1834,3649,3466,1947,976,1586,1773,638,41,-2087,-4069,-3907,-2936,-2062,-1586,-604,-119,-304,-43,-488,-1114,-556,562,1154,557,-142,35,806,1036,118,-507,-577,-745,-837,-644,-427,-459,-585,-699,-622,-303,125,300,237,120,7,9,12,131,280,385,292,-95,-326,-269,-98,22,-16,-200,-433,-587,-529,-343,-99,138,117,-124,-310,-220,17,156,140,-61,-281,-311,-154,38,149,108,-148,-392,-442,-321,-66,106,81,-122,-293,-256,-106,75,158,102,-52,-191,-163,-10,112,129,49,-87,-182,-197,-116,-30,-28,-55,-88,-73,-13}}, // azimuth 84 degrees + {{-1,-1,0,0,2,2,2,0,0,-2,0,0,0,1,-2,-3,1,4,-1,6,1,2,-4,28,10,-19,-28,57,641,1215,1711,772,-2094,-2384,172,2365,3491,3033,2430,2848,3335,2834,1244,-58,-830,-1513,-1946,-2182,-2279,-2378,-2136,-1366,-666,-213,159,592,876,860,836,657,267,49,196,287,-48,-452,-713,-816,-815,-826,-840,-854,-749,-517,-287,-151,-86,-28,52,152,183,88,-61,-150,-189,-253,-327,-346,-346,-380,-393,-355,-312,-300,-288,-291,-298,-261,-189,-102,-42,-21,-35,-50,-44,-52,-71,-81,-89,-111,-145,-148,-130,-112,-89,-92,-97,-97,-117,-122,-96,-71,-74,-94,-118,-121,-99,-72,-68,-85,-81,-74,-62,-44,-25,-30,-43,-60,-80,-20},{-142,230,-368,2705,12194,10958,-9735,-19580,2078,13118,3572,7575,9651,4211,3811,4319,2436,-6648,-9737,-5555,-6327,-7623,-6206,-3116,-3245,-3146,302,1739,2705,2195,2056,3894,3392,1691,952,1785,1506,440,267,-1801,-3565,-3439,-2784,-2029,-1668,-977,-585,-581,-439,-904,-1109,-325,735,1189,608,134,374,956,1065,168,-494,-625,-802,-855,-584,-371,-515,-664,-733,-649,-359,-4,172,150,73,19,61,117,261,379,429,307,-52,-286,-276,-136,-40,-64,-236,-487,-604,-518,-327,-96,109,96,-127,-268,-148,55,153,120,-56,-251,-284,-132,40,118,53,-202,-419,-437,-290,-43,98,68,-124,-283,-236,-86,81,144,95,-45,-176,-147,-12,104,113,38,-81,-169,-171,-93,-31,-51,-83,-96,-69,-12}}, // azimuth 90 degrees + {{0,-1,0,1,3,2,2,0,0,-1,-1,1,2,1,-1,-2,-2,3,3,6,-5,7,8,19,12,-28,7,-26,431,1152,1890,1792,-1651,-4048,-778,3167,3783,2876,2833,3123,2963,2767,1711,3,-1253,-1640,-1657,-2251,-2800,-2491,-1680,-1177,-924,-205,497,672,700,938,1048,512,-23,-43,131,237,44,-314,-664,-914,-893,-775,-799,-845,-727,-500,-292,-147,-33,38,91,171,176,70,-85,-177,-193,-271,-358,-359,-364,-384,-377,-332,-254,-259,-319,-316,-289,-255,-183,-79,-28,-58,-65,-58,-90,-112,-83,-22,-41,-123,-146,-132,-112,-105,-100,-87,-104,-123,-123,-120,-98,-66,-62,-85,-118,-118,-84,-49,-51,-81,-90,-80,-65,-46,-25,-36,-42,-53,-79,-20},{-125,171,-264,1786,11052,11723,-7585,-19077,334,13146,3384,5767,9775,4804,3967,4597,3400,-5487,-9857,-5282,-5813,-7884,-6540,-3078,-3103,-3706,-135,1669,2365,1890,1872,4105,3529,1421,1074,1856,1047,281,773,-1323,-3307,-2976,-2418,-2043,-1875,-1236,-855,-1022,-886,-962,-1049,-442,676,1231,695,359,617,1017,1056,250,-364,-564,-858,-885,-496,-300,-539,-719,-802,-681,-438,-173,79,86,7,-6,114,204,287,411,461,331,7,-220,-255,-182,-106,-86,-238,-505,-608,-524,-332,-124,52,74,-115,-252,-135,72,156,110,-55,-232,-271,-148,15,88,26,-209,-412,-418,-280,-58,64,33,-124,-263,-222,-87,61,122,91,-32,-170,-158,-28,98,109,28,-80,-162,-159,-89,-42,-73,-104,-107,-77,-14}}, // azimuth 96 degrees + {{-1,0,0,1,2,2,2,-1,0,-2,0,1,2,0,0,-3,1,2,-3,7,-7,6,8,19,5,-15,-3,8,502,1600,2701,852,-3835,-3693,1440,3835,3226,2962,3075,2664,2479,2616,1217,-761,-1327,-1324,-1868,-2626,-2460,-1775,-1545,-1187,-436,265,460,493,896,1074,686,124,-113,-79,3,156,6,-440,-725,-801,-827,-831,-767,-641,-541,-470,-320,-120,45,126,159,156,60,-58,-123,-162,-237,-325,-374,-401,-407,-355,-300,-261,-233,-283,-308,-272,-250,-222,-150,-57,-54,-107,-120,-143,-167,-100,1,4,-87,-136,-114,-96,-80,-80,-98,-123,-137,-129,-129,-113,-72,-61,-88,-112,-117,-71,-38,-43,-65,-93,-85,-75,-54,-44,-31,-30,-40,-76,-129,-35},{-57,34,-32,582,8669,12870,-3042,-18037,-3950,12507,4350,3189,10046,5979,3756,4803,4603,-3138,-9849,-5585,-4970,-7982,-7233,-3541,-2607,-4115,-1006,1582,2064,1789,1563,3880,3761,1406,1109,1822,893,167,1002,-586,-2842,-2861,-2225,-1772,-1923,-1681,-1092,-1163,-1175,-1067,-1029,-565,398,1129,894,528,660,1001,1108,375,-248,-388,-755,-901,-496,-238,-471,-715,-863,-760,-515,-290,-26,29,-22,-31,132,263,284,374,439,381,88,-171,-224,-183,-125,-114,-225,-441,-573,-543,-362,-173,-15,47,-83,-214,-166,43,166,118,-33,-213,-260,-169,-33,61,33,-154,-348,-388,-293,-104,25,23,-108,-245,-210,-97,35,119,90,-27,-161,-147,-27,80,100,30,-69,-141,-139,-94,-59,-82,-99,-106,-101,-21}}, // azimuth 102 degrees + {{-1,0,2,2,1,1,1,-1,-1,-1,0,2,2,-1,-1,-1,4,3,-2,-1,0,10,5,12,1,2,-12,178,1359,2706,1442,-2449,-3892,-527,2892,3716,3561,2858,2164,2422,2683,1360,-509,-1019,-1008,-1575,-2266,-2297,-1794,-1474,-1106,-521,32,439,579,685,896,812,281,-136,-220,-146,-6,-72,-349,-618,-718,-682,-721,-787,-679,-437,-340,-365,-285,-97,125,251,188,33,-89,-153,-169,-205,-309,-396,-426,-437,-398,-283,-204,-223,-281,-275,-214,-211,-197,-145,-112,-98,-111,-161,-246,-246,-123,-8,7,-56,-117,-110,-76,-67,-58,-70,-99,-144,-169,-141,-110,-87,-71,-86,-130,-125,-77,-32,-24,-54,-81,-95,-78,-60,-40,-30,-21,-39,-84,-137,-154,-35},{43,-118,181,-192,5192,12859,3152,-14833,-9409,9603,6646,579,9105,8305,3412,4486,5751,220,-8940,-6746,-3860,-7555,-8078,-4560,-2276,-3989,-2284,1261,1874,1725,1365,3344,3900,1485,1125,1787,953,191,962,205,-2123,-2752,-2243,-1697,-1759,-1967,-1416,-1200,-1266,-1097,-1051,-683,74,819,1038,724,617,853,1072,587,-75,-236,-534,-804,-568,-226,-334,-658,-872,-833,-598,-400,-154,-14,-7,-32,111,287,265,300,365,393,191,-104,-199,-184,-107,-99,-184,-339,-495,-537,-404,-225,-101,-5,-36,-145,-182,-30,133,122,7,-159,-244,-205,-91,20,47,-44,-229,-338,-311,-173,-17,29,-60,-213,-226,-110,18,103,86,-1,-112,-131,-38,58,75,29,-26,-88,-121,-111,-66,-72,-98,-107,-105,-23}}, // azimuth 108 degrees + {{1,2,2,2,2,0,1,0,-1,2,2,3,-1,2,2,0,5,2,3,-5,7,6,12,6,-4,17,126,1323,2696,1271,-2027,-3199,-936,2044,3515,3745,2926,2132,2427,2532,1179,-535,-1061,-1142,-1582,-1884,-1928,-1750,-1476,-1065,-332,276,458,516,742,999,814,259,-93,-162,-189,-199,-237,-486,-762,-761,-654,-622,-633,-596,-455,-309,-229,-191,-135,4,215,267,95,-65,-170,-221,-239,-296,-399,-503,-496,-396,-295,-244,-224,-200,-215,-204,-144,-112,-90,-88,-114,-157,-228,-292,-281,-164,-45,-20,-64,-107,-91,-60,-52,-47,-57,-73,-95,-139,-158,-136,-87,-59,-90,-129,-134,-95,-43,-25,-42,-62,-82,-83,-59,-34,-6,-14,-48,-105,-137,-124,-101,-21},{80,-126,134,-172,1742,10204,9050,-8158,-13459,3294,8870,-214,5690,11054,4426,3163,6147,3940,-5975,-8454,-3500,-5970,-8788,-5990,-2547,-3392,-3525,310,1827,1636,1333,2619,3891,1757,945,1771,1178,302,680,875,-1044,-2569,-2300,-1717,-1771,-2136,-1627,-1153,-1357,-1191,-887,-692,-274,381,971,904,612,655,877,737,150,-90,-281,-628,-600,-286,-220,-554,-818,-827,-676,-530,-305,-49,24,-3,69,252,241,198,261,330,253,-17,-176,-189,-117,-64,-100,-213,-387,-487,-437,-303,-196,-87,-17,-80,-166,-95,40,68,26,-90,-219,-246,-153,-20,44,38,-86,-250,-302,-239,-88,6,-27,-150,-219,-139,-35,43,74,54,-33,-117,-88,2,55,37,10,-40,-99,-118,-80,-67,-102,-109,-89,-18}}, // azimuth 114 degrees + {{3,2,2,1,0,1,1,0,2,2,2,1,0,1,3,3,0,3,-4,9,0,7,7,3,14,177,1519,2677,862,-2052,-2642,-789,1724,3563,3905,2647,1814,2530,2725,1009,-812,-1202,-1282,-1783,-2031,-1829,-1562,-1382,-981,-222,389,590,782,942,905,839,549,16,-297,-208,-49,-261,-759,-1009,-930,-829,-717,-592,-475,-330,-263,-213,-120,-28,91,192,198,98,-10,-94,-214,-304,-344,-422,-530,-574,-466,-324,-302,-270,-193,-143,-113,-116,-68,-5,-20,-85,-186,-291,-345,-285,-162,-93,-89,-105,-113,-111,-89,-37,-15,-52,-80,-83,-97,-125,-123,-102,-83,-85,-114,-134,-119,-73,-46,-49,-71,-85,-77,-56,-17,-1,-12,-70,-127,-141,-106,-67,-73,-20},{-1,36,-93,143,-72,5212,11319,1301,-12549,-5140,7856,2053,854,11232,8188,1998,4770,6664,-691,-8567,-5217,-3743,-8164,-7758,-3643,-2673,-4155,-1452,1579,1589,1363,1969,3482,2296,818,1585,1419,632,370,929,286,-1809,-2404,-1810,-1771,-2354,-1978,-1061,-1217,-1406,-915,-484,-337,-79,601,1001,693,481,627,706,382,28,-95,-340,-521,-407,-216,-382,-695,-758,-696,-614,-467,-164,53,55,31,155,228,115,108,213,257,84,-131,-175,-145,-82,-34,-58,-222,-411,-445,-370,-274,-171,-53,-36,-130,-146,-58,-7,-15,-64,-175,-249,-200,-73,27,68,18,-128,-226,-243,-176,-76,-31,-67,-160,-165,-110,-39,43,82,46,-80,-134,-66,14,47,33,-8,-66,-109,-92,-67,-87,-100,-80,-17}}, // azimuth 120 degrees + {{3,0,-1,0,-3,0,-1,0,1,-1,-2,0,-2,1,2,-2,1,-9,7,-1,8,-2,-3,13,297,1835,2643,330,-2239,-2261,-477,1833,3754,3940,2407,1753,2598,2460,609,-891,-1120,-1477,-2143,-2040,-1736,-1874,-1577,-711,9,412,666,952,1080,1029,965,644,117,-163,-90,-55,-267,-660,-1064,-1195,-1117,-933,-702,-545,-354,-141,-81,-111,-7,203,305,230,77,-32,-88,-156,-260,-383,-498,-578,-571,-504,-464,-384,-280,-213,-131,-105,-59,26,45,26,-66,-194,-281,-316,-282,-195,-130,-144,-151,-142,-155,-123,-63,-25,-32,-65,-85,-100,-99,-96,-77,-75,-104,-122,-135,-119,-91,-70,-71,-100,-114,-89,-43,-2,3,-45,-103,-141,-119,-96,-71,-61,-102,-29},{-52,75,-84,58,-67,981,7982,8834,-4813,-10581,1441,4962,-1412,6496,12331,4163,2007,6579,4834,-4668,-7605,-3477,-5582,-8577,-5781,-2633,-3613,-3419,342,1653,1308,1653,2674,2695,1122,1219,1574,968,440,513,881,-394,-1881,-2047,-1850,-2291,-2477,-1365,-907,-1363,-1172,-517,-172,-148,135,750,852,447,363,532,500,169,-41,-125,-296,-422,-354,-272,-512,-664,-613,-574,-563,-380,-17,115,59,46,140,99,-29,41,187,161,-49,-148,-149,-128,-62,16,-25,-257,-414,-394,-315,-246,-133,-29,-83,-173,-154,-99,-91,-97,-121,-197,-240,-153,-17,63,68,-20,-120,-180,-208,-164,-88,-27,-68,-163,-173,-116,-12,56,59,-11,-124,-115,-40,10,22,4,-16,-67,-92,-81,-70,-81,-83,-19}}, // azimuth 126 degrees + {{3,0,0,-1,1,0,0,1,1,-1,2,0,3,3,1,1,-5,4,-1,20,-6,9,9,487,2249,2539,-285,-2440,-1944,-158,2186,4163,3901,2089,1779,2777,2275,122,-1262,-1305,-1593,-2190,-2005,-1704,-2005,-1747,-815,-13,615,836,963,1180,1132,994,727,281,-19,-14,66,-139,-629,-1026,-1108,-1140,-1186,-994,-674,-432,-268,-111,30,121,223,336,332,182,24,-101,-210,-247,-297,-498,-653,-610,-548,-477,-407,-347,-211,-144,-132,-44,63,119,52,-73,-151,-195,-232,-245,-203,-180,-180,-173,-207,-200,-139,-67,-17,-43,-84,-87,-75,-80,-70,-45,-51,-85,-123,-128,-117,-99,-71,-73,-118,-138,-102,-31,13,0,-64,-137,-134,-103,-58,-46,-68,-93,-122,-31},{16,-43,73,-102,121,-158,2429,9045,5313,-7380,-6586,3124,678,221,11065,10031,1663,3336,7146,2139,-6315,-5941,-3561,-6825,-7692,-4266,-2721,-3969,-2079,1125,1339,1450,2046,2395,1805,1068,1397,1332,761,316,612,556,-623,-1619,-2100,-2253,-2529,-2049,-976,-1048,-1318,-755,-187,-54,27,394,769,597,267,293,429,281,19,-40,-144,-294,-399,-343,-336,-506,-505,-449,-484,-521,-266,69,138,61,1,30,-47,-101,32,152,67,-86,-120,-136,-133,-50,44,-36,-244,-356,-325,-278,-220,-70,-26,-133,-224,-223,-158,-118,-97,-136,-221,-216,-115,15,94,68,-19,-100,-154,-169,-121,-49,-39,-122,-173,-145,-82,-8,21,26,-39,-99,-80,-51,-15,9,40,6,-61,-91,-69,-58,-87,-23}}, // azimuth 132 degrees + {{-1,-2,-2,-1,-2,-1,0,-2,-3,-1,-2,4,-1,2,-3,-7,3,-8,16,-8,16,13,781,2697,2282,-981,-2594,-1627,189,2687,4643,3766,1758,1946,2962,1920,-385,-1497,-1515,-1973,-2462,-1947,-1468,-1935,-1893,-871,24,549,825,1090,1287,1113,951,819,330,-71,100,266,-107,-641,-896,-940,-1047,-1148,-1029,-829,-663,-436,-226,-88,115,359,432,314,201,129,-4,-202,-324,-361,-442,-604,-759,-637,-399,-349,-323,-282,-217,-124,-41,53,51,-10,-23,-29,-101,-186,-187,-189,-202,-211,-249,-257,-245,-175,-61,-17,-43,-90,-112,-110,-84,-32,-16,-49,-89,-115,-120,-118,-98,-85,-117,-138,-133,-98,-37,3,-31,-115,-143,-126,-91,-67,-46,-57,-84,-107,-124,-30},{4,-4,-11,35,-73,102,-57,3561,8835,2642,-7358,-3917,1663,-1232,3837,12623,7133,908,4504,6672,141,-6486,-4996,-4167,-6999,-6571,-3543,-3017,-3682,-1012,1189,1232,1713,1832,1933,1573,1079,1380,1270,569,186,558,426,-553,-1610,-2379,-2552,-2304,-1510,-991,-1190,-986,-408,-106,46,284,541,622,452,247,210,222,92,-7,-53,-187,-368,-449,-303,-253,-346,-392,-386,-417,-446,-189,100,145,15,-75,-63,-128,-115,42,115,21,-72,-113,-167,-153,-31,56,-33,-203,-289,-272,-241,-167,-46,-52,-178,-275,-262,-183,-120,-87,-137,-210,-201,-106,27,105,95,20,-60,-118,-122,-82,-58,-76,-124,-133,-121,-87,-39,16,36,-21,-74,-83,-44,4,52,60,12,-59,-84,-78,-96,-26}}, // azimuth 138 degrees + {{-1,-1,-1,0,2,0,-1,-3,0,0,5,-2,5,-4,-1,1,-6,18,-10,29,45,1188,3162,1862,-1737,-2660,-1269,593,3317,5103,3534,1489,2219,3137,1457,-938,-1689,-1750,-2337,-2648,-2016,-1479,-1851,-1766,-724,70,501,858,1108,1237,1132,964,753,333,5,52,184,-58,-554,-842,-870,-850,-927,-925,-738,-632,-581,-459,-262,32,306,452,405,249,121,12,-99,-233,-371,-567,-790,-713,-471,-388,-321,-286,-272,-198,-152,-65,-11,-41,-9,52,33,-49,-116,-136,-130,-182,-263,-295,-304,-269,-169,-57,-31,-54,-70,-103,-105,-73,-37,-14,-43,-83,-100,-111,-94,-82,-106,-126,-149,-142,-77,-7,-7,-73,-134,-142,-111,-72,-40,-46,-55,-76,-87,-103,-123,-29},{-23,18,-20,3,12,-47,65,110,4140,8156,1331,-6508,-3257,-164,-818,6683,12189,5109,925,5035,5993,-906,-6240,-4682,-4470,-6556,-5785,-3286,-3108,-3182,-478,1061,1318,1572,1430,1856,1432,1031,1494,1201,300,-9,663,525,-718,-1816,-2567,-2509,-1879,-1293,-1106,-1117,-695,-255,-80,180,446,543,529,474,239,-16,7,27,-3,-117,-356,-436,-390,-257,-160,-212,-334,-410,-420,-368,-128,105,110,-45,-120,-108,-157,-129,14,86,-21,-119,-150,-190,-158,-40,36,-40,-177,-249,-244,-225,-151,-46,-67,-190,-312,-318,-225,-124,-70,-128,-227,-241,-130,23,118,128,61,-50,-130,-142,-109,-71,-72,-107,-146,-157,-126,-58,17,42,-10,-81,-90,-52,9,57,57,-33,-123,-141,-118,-25}}, // azimuth 144 degrees + {{-3,-3,-1,0,-1,-4,-3,-1,0,4,-4,5,-8,2,-3,-4,12,-10,30,116,1713,3581,1254,-2520,-2636,-866,1074,4051,5483,3168,1317,2596,3191,858,-1483,-1829,-1989,-2772,-2820,-2005,-1530,-1791,-1697,-678,293,657,867,1097,1218,1124,848,650,354,-13,10,118,-184,-698,-885,-707,-668,-814,-757,-521,-435,-496,-510,-407,-147,217,385,295,202,146,64,-81,-191,-380,-733,-839,-683,-455,-250,-248,-312,-254,-152,-128,-164,-132,-2,55,30,21,-49,-114,-82,-90,-199,-287,-311,-313,-278,-181,-73,-34,-69,-107,-98,-75,-48,-20,-27,-67,-115,-131,-114,-90,-85,-113,-147,-164,-139,-63,-3,-32,-113,-146,-126,-102,-76,-43,-26,-53,-78,-97,-124,-118,-76,-13},{13,-26,18,-17,9,5,-30,41,229,4225,7552,1068,-5902,-3743,-1094,444,7995,11189,4112,1010,5098,5512,-1310,-5982,-4575,-4315,-6010,-5358,-3106,-3013,-2783,-306,1023,1262,1120,1348,1905,1196,1136,1646,983,-54,59,982,379,-1053,-1952,-2496,-2206,-1622,-1249,-1080,-972,-544,-163,37,211,438,664,608,393,98,-103,-66,-48,-21,-161,-450,-497,-342,-181,-153,-180,-293,-431,-437,-312,-23,162,72,-75,-82,-84,-171,-152,-22,22,-51,-125,-192,-218,-164,-34,44,-52,-176,-222,-212,-187,-113,-14,-51,-209,-330,-318,-214,-121,-79,-134,-229,-224,-109,30,119,131,69,-32,-139,-184,-131,-46,-10,-67,-159,-210,-153,-24,81,77,-21,-92,-89,-23,22,40,-4,-87,-138,-143,-31}}, // azimuth 150 degrees + {{-2,1,-1,1,-3,-1,1,1,6,-3,5,-9,9,-8,3,6,-4,29,244,2369,3917,439,-3286,-2493,-419,1660,4892,5724,2673,1284,3088,3125,88,-2041,-1926,-2222,-3174,-2978,-2007,-1618,-1697,-1461,-652,351,842,985,1194,1234,1053,823,573,219,-29,-6,-25,-338,-810,-1005,-845,-615,-505,-539,-466,-288,-240,-357,-365,-66,189,193,118,73,78,60,-34,-266,-560,-712,-731,-593,-395,-332,-260,-158,-142,-190,-232,-136,24,46,-14,5,2,-74,-111,-110,-117,-191,-272,-305,-303,-244,-155,-74,-60,-88,-99,-105,-80,-13,34,4,-73,-141,-159,-140,-120,-104,-118,-155,-170,-129,-46,-1,-38,-102,-136,-130,-93,-52,-28,-30,-49,-80,-107,-114,-79,-39,-33,-9},{-4,12,-24,14,-16,7,4,-28,35,248,3946,7174,1372,-5680,-4466,-1225,1473,8100,10346,3789,926,4897,5263,-1259,-5704,-4444,-3946,-5551,-5054,-2968,-2882,-2554,-293,983,888,775,1543,1738,1046,1415,1605,616,-139,399,989,65,-1208,-2029,-2246,-1864,-1575,-1216,-986,-852,-449,-110,132,198,384,786,698,224,-46,-68,-97,-76,11,-181,-519,-611,-409,-176,-176,-270,-354,-401,-351,-210,31,190,116,-38,-67,-85,-181,-182,-85,-39,-80,-156,-239,-258,-180,-51,23,-46,-157,-225,-213,-146,-53,9,-57,-207,-314,-294,-220,-145,-93,-123,-194,-201,-114,-8,79,106,52,-66,-179,-189,-97,9,15,-80,-188,-201,-117,16,98,63,-31,-98,-79,-61,-28,-3,-20,-77,-141,-38}}, // azimuth 156 degrees + {{0,-1,-1,-6,-1,-1,3,3,-3,5,-13,11,-13,9,-6,7,18,449,3119,4106,-542,-3982,-2230,57,2313,5774,5799,2109,1421,3615,2897,-773,-2566,-2029,-2511,-3527,-3059,-2028,-1738,-1624,-1173,-548,367,1006,1079,1207,1298,1086,812,496,157,-19,-121,-258,-526,-904,-1099,-1006,-713,-451,-340,-281,-200,-195,-251,-55,229,267,119,-22,-49,-20,-61,-258,-433,-568,-687,-612,-471,-416,-348,-214,-136,-178,-246,-153,64,120,39,-12,-41,-73,-130,-167,-135,-152,-229,-273,-296,-281,-212,-108,-57,-81,-104,-117,-113,-77,-14,52,39,-57,-155,-196,-165,-128,-131,-166,-209,-201,-123,-27,-1,-45,-95,-114,-108,-76,-43,-29,-32,-67,-96,-122,-104,-51,5,4,-63,-22},{11,-6,12,-18,10,-8,-2,12,-31,40,202,3482,6899,1844,-5563,-4957,-1032,1965,7582,9767,3822,751,4528,5165,-892,-5351,-4261,-3535,-5101,-4795,-2916,-2743,-2422,-318,780,413,767,1606,1435,1197,1600,1316,418,136,544,696,-47,-1231,-2013,-1963,-1627,-1501,-1224,-909,-670,-332,-59,63,154,486,820,639,130,-108,0,20,-39,-50,-244,-524,-676,-629,-363,-219,-311,-379,-342,-228,-47,125,176,122,54,1,-119,-240,-218,-106,-60,-130,-224,-289,-273,-186,-72,5,-34,-145,-211,-188,-125,-21,39,-35,-176,-269,-268,-224,-144,-74,-101,-185,-203,-138,-44,34,64,3,-117,-179,-136,-33,31,5,-84,-151,-145,-65,30,71,44,-49,-103,-116,-86,-37,7,5,-67,-24}}, // azimuth 162 degrees + {{-1,-1,-7,0,-2,5,0,-1,2,-14,13,-20,18,-19,19,6,753,3931,4116,-1633,-4562,-1898,531,3077,6666,5683,1541,1730,4133,2494,-1691,-3017,-2142,-2860,-3858,-3096,-2061,-1827,-1505,-900,-397,370,1136,1265,1178,1284,1129,781,501,171,12,-164,-516,-858,-1091,-1109,-1063,-839,-480,-273,-209,-218,-173,-53,195,439,419,227,44,-35,-150,-350,-438,-503,-649,-697,-611,-461,-335,-259,-200,-229,-244,-137,27,142,135,91,31,-47,-152,-242,-217,-161,-174,-243,-310,-328,-269,-162,-65,-25,-69,-128,-138,-108,-59,7,47,27,-59,-166,-190,-163,-127,-130,-210,-276,-244,-128,-25,-4,-50,-91,-93,-67,-45,-30,-17,-30,-61,-120,-150,-117,-29,30,21,-30,-82,-24},{1,11,-7,9,-15,6,0,-10,20,-37,49,119,2904,6596,2405,-5275,-5216,-897,2002,6772,9331,4081,578,4033,5155,-313,-4903,-4062,-3125,-4627,-4622,-2939,-2598,-2296,-435,405,128,814,1429,1336,1437,1492,1042,549,377,387,485,-59,-1209,-1821,-1786,-1556,-1397,-1183,-814,-458,-209,-129,-94,111,603,854,487,109,22,48,88,1,-183,-369,-565,-733,-802,-637,-365,-239,-271,-301,-149,58,200,247,151,52,-15,-133,-238,-252,-160,-91,-178,-283,-302,-284,-228,-117,-17,-29,-118,-178,-171,-119,-33,48,22,-116,-240,-262,-208,-125,-72,-108,-204,-242,-183,-83,2,19,-50,-147,-176,-107,-4,58,30,-64,-132,-112,-36,13,12,-23,-72,-105,-110,-86,-27,18,4,-3}}, // azimuth 168 degrees + {{0,-7,3,-2,6,0,1,-1,-10,12,-22,27,-31,37,-1,1169,4758,3916,-2764,-4981,-1518,997,3937,7521,5381,1044,2218,4572,1905,-2605,-3373,-2303,-3244,-4123,-3093,-2143,-1933,-1278,-605,-241,425,1152,1464,1267,1181,1189,785,385,232,172,-156,-736,-1188,-1343,-1210,-1107,-870,-452,-263,-288,-291,-143,100,387,574,535,385,188,-60,-239,-320,-426,-594,-779,-804,-655,-457,-313,-278,-264,-190,-37,9,5,145,228,137,8,-87,-189,-254,-227,-169,-196,-287,-328,-323,-279,-158,-18,12,-59,-126,-139,-103,-45,34,82,13,-129,-197,-161,-108,-102,-164,-253,-286,-233,-122,-36,-31,-74,-90,-62,-46,-29,3,31,10,-64,-122,-148,-125,-53,35,43,-15,-67,-83,-19},{2,-2,12,-5,8,-10,-2,5,-15,28,-41,53,48,2285,6148,2994,-4697,-5302,-945,1779,5844,8871,4488,529,3451,5100,390,-4279,-3836,-2777,-4168,-4483,-2986,-2438,-2158,-676,-1,3,762,1232,1410,1524,1282,999,766,423,200,373,-57,-1049,-1605,-1739,-1493,-1273,-1058,-630,-318,-238,-235,-124,85,526,844,600,197,42,80,63,-50,-250,-532,-746,-816,-756,-639,-530,-334,-152,-116,-63,43,192,298,225,37,-78,-111,-220,-271,-191,-127,-180,-288,-329,-333,-273,-126,-3,-10,-107,-144,-132,-113,-31,62,56,-72,-203,-220,-177,-123,-86,-130,-222,-268,-216,-114,-26,6,-58,-153,-173,-90,26,86,62,-26,-105,-106,-61,-33,-34,-38,-56,-87,-82,-43,-10,4,2}}, // azimuth 174 degrees + {{-7,3,-2,8,-4,4,-5,-8,10,-21,29,-39,49,8,1688,5521,3521,-3825,-5226,-1179,1423,4871,8268,4956,684,2819,4899,1165,-3478,-3626,-2521,-3695,-4319,-3056,-2273,-2033,-1014,-321,-74,569,1130,1503,1433,1145,1109,862,332,157,338,-100,-902,-1419,-1617,-1366,-1159,-943,-502,-249,-287,-346,-151,165,461,652,659,446,71,-79,-22,-148,-408,-619,-800,-860,-733,-529,-420,-393,-251,-20,63,-15,59,258,269,78,-82,-122,-188,-256,-211,-148,-212,-310,-338,-344,-287,-146,-7,1,-82,-123,-127,-103,-51,43,85,-25,-165,-217,-172,-106,-91,-149,-259,-303,-227,-114,-35,-32,-83,-119,-116,-66,3,59,64,-3,-81,-112,-115,-106,-57,-5,-16,-52,-50,-42,-45,-11},{-7,3,-2,8,-4,4,-5,-8,10,-21,29,-39,49,8,1688,5521,3521,-3825,-5226,-1179,1423,4871,8268,4956,684,2819,4899,1165,-3478,-3626,-2521,-3695,-4319,-3056,-2273,-2033,-1014,-321,-74,569,1130,1503,1433,1145,1109,862,332,157,338,-100,-902,-1419,-1617,-1366,-1159,-943,-502,-249,-287,-346,-151,165,461,652,659,446,71,-79,-22,-148,-408,-619,-800,-860,-733,-529,-420,-393,-251,-20,63,-15,59,258,269,78,-82,-122,-188,-256,-211,-148,-212,-310,-338,-344,-287,-146,-7,1,-82,-123,-127,-103,-51,43,85,-25,-165,-217,-172,-106,-91,-149,-259,-303,-227,-114,-35,-32,-83,-119,-116,-66,3,59,64,-3,-81,-112,-115,-106,-57,-5,-16,-52,-50,-42,-45,-11}}, // azimuth 180 degrees +}; +inline constexpr std::int16_t pcm48000_p40[29][2][hrir::taps]={ + {{12,-14,6,-9,22,-18,27,-31,5,6,-60,109,-164,222,-147,2808,5784,2213,-3208,-12878,-9367,6634,11194,14540,13223,1896,-4048,-400,3108,-1486,-4882,-5794,-6415,-3791,-3264,-3317,-1864,-1837,-593,1501,1841,2286,2560,2322,2241,1672,696,420,-3,-1621,-1191,-441,-1848,-2081,-1196,-753,-535,-204,174,430,436,301,405,773,1191,1099,622,253,-107,-555,-908,-1226,-1512,-1494,-1385,-1311,-1205,-933,-290,252,303,210,322,406,207,113,126,1,-141,-211,-272,-409,-386,-240,-236,-361,-411,-350,-309,-188,-14,129,113,49,64,41,44,56,39,-74,-232,-276,-246,-210,-180,-172,-169,-160,-162,-108,-45,-46,-62,-58,-70,-97,-76,-59,-67,-76,-76,-65,-74,-108,-134,-122,-74,-44,-35,-6},{12,-14,6,-9,22,-18,27,-31,5,6,-60,109,-164,222,-147,2808,5784,2213,-3208,-12878,-9367,6634,11194,14540,13223,1896,-4048,-400,3108,-1486,-4882,-5794,-6415,-3791,-3264,-3317,-1864,-1837,-593,1501,1841,2286,2560,2322,2241,1672,696,420,-3,-1621,-1191,-441,-1848,-2081,-1196,-753,-535,-204,174,430,436,301,405,773,1191,1099,622,253,-107,-555,-908,-1226,-1512,-1494,-1385,-1311,-1205,-933,-290,252,303,210,322,406,207,113,126,1,-141,-211,-272,-409,-386,-240,-236,-361,-411,-350,-309,-188,-14,129,113,49,64,41,44,56,39,-74,-232,-276,-246,-210,-180,-172,-169,-160,-162,-108,-45,-46,-62,-58,-70,-97,-76,-59,-67,-76,-76,-65,-74,-108,-134,-122,-74,-44,-35,-6}}, // azimuth 0 degrees + {{-6,9,-8,3,-7,15,-7,12,-4,-21,28,-73,100,-116,136,-100,1611,4878,2863,-1394,-9734,-11166,1804,8896,12467,14411,5929,-2392,-1445,2189,-311,-3114,-4096,-5835,-4614,-3249,-2995,-2161,-2220,-1262,867,1295,1591,2366,2290,2042,2043,1488,807,254,-1408,-1443,-479,-1572,-1955,-1193,-779,-483,-172,43,157,342,294,256,807,1401,1053,247,57,72,-423,-915,-1138,-1347,-1306,-1105,-968,-911,-949,-689,-49,294,169,105,211,152,-5,-5,27,-83,-195,-214,-321,-404,-339,-228,-195,-316,-381,-320,-196,-84,24,117,116,74,27,38,43,13,-49,-148,-216,-240,-197,-172,-191,-185,-159,-147,-128,-96,-84,-73,-55,-33,-29,-52,-90,-101,-73,-70,-60,-44,-76,-134,-150,-126,-94,-20},{-13,3,-10,20,-14,17,-12,-32,53,-111,152,-192,203,-155,2070,6546,3436,-2362,-13155,-13179,5641,12690,15412,16225,3320,-5348,-1908,3027,-661,-5044,-6164,-7328,-4269,-2656,-3761,-2505,-1613,-699,1238,1925,2599,2812,2328,2412,1963,820,164,91,-1274,-1644,-723,-1616,-2162,-1464,-833,-507,-257,50,450,556,242,427,614,776,1400,1334,371,-222,-377,-711,-1177,-1616,-1721,-1714,-1722,-1363,-828,-368,52,433,528,449,458,345,250,194,32,-125,-259,-362,-441,-359,-285,-309,-343,-423,-423,-346,-175,2,156,182,97,72,15,29,71,57,-67,-270,-348,-313,-241,-183,-173,-191,-169,-140,-92,-37,-31,-35,-41,-63,-90,-80,-90,-109,-86,-76,-91,-112,-124,-117,-89,-61,-37,-15,-6,-2}}, // azimuth 6 degrees + {{5,-3,8,-8,1,-5,13,-9,15,-10,-8,12,-48,77,-94,117,-78,1678,4259,2477,-1393,-8951,-9301,1650,7225,11320,13183,5343,-1402,-359,1794,-563,-2519,-3694,-5479,-4320,-2865,-2699,-2312,-2125,-964,621,938,1487,2147,2068,1974,1968,1527,953,43,-1449,-1088,-485,-1501,-1620,-1039,-615,-321,-194,-113,11,232,143,195,845,1290,850,102,-148,-68,-279,-775,-1136,-1192,-1018,-922,-866,-753,-776,-645,-227,126,176,24,-11,-22,-48,-33,-71,-100,-139,-217,-307,-297,-255,-255,-229,-241,-314,-345,-216,-52,61,104,88,51,9,25,38,15,-62,-145,-193,-193,-173,-184,-195,-206,-189,-160,-124,-94,-99,-72,-17,-2,-12,-54,-108,-117,-82,-38,-53,-50,-75,-109,-127,-158,-39},{-4,-7,16,-1,0,18,-67,81,-127,150,-147,110,-49,1266,6747,5044,-1191,-12815,-16890,3251,14380,15972,18498,6310,-5953,-4095,2754,117,-5286,-6187,-8068,-5385,-2168,-3316,-3045,-2109,-744,1390,1809,2491,3204,2564,2376,2126,1091,159,17,-1036,-1682,-1037,-1704,-2158,-1597,-1012,-579,-150,120,355,699,337,213,227,446,1686,1802,522,-182,-356,-566,-946,-1491,-1892,-2214,-2137,-1315,-632,-554,-233,499,821,687,571,377,246,269,126,-92,-297,-429,-475,-414,-317,-275,-298,-465,-523,-399,-155,36,151,241,189,131,30,-14,58,81,-32,-270,-428,-413,-306,-202,-171,-215,-182,-120,-93,-41,-13,2,-2,-18,-59,-101,-119,-127,-103,-100,-130,-133,-109,-86,-77,-69,-34,-1,13,5,-1}}, // azimuth 13 degrees + {{-8,5,-3,6,-4,0,-2,9,-6,7,-3,-16,16,-43,60,-69,77,-58,1130,3503,2613,-387,-6784,-8637,-499,5036,9487,12134,6261,274,-47,1385,2,-1754,-3029,-4858,-4041,-2587,-2656,-2395,-1941,-1129,50,612,1221,1823,1949,1928,1888,1578,966,64,-1049,-794,-359,-1118,-1284,-900,-625,-526,-404,-231,-193,-20,22,137,731,1088,668,126,-81,-64,-121,-599,-1027,-1016,-845,-786,-795,-704,-641,-582,-399,-133,69,40,-95,-211,-199,-49,-42,-171,-182,-158,-232,-230,-187,-220,-256,-263,-246,-251,-193,-67,23,67,72,52,7,-12,-5,-3,-38,-100,-156,-185,-186,-213,-216,-201,-192,-171,-135,-76,-71,-52,-6,-2,-23,-60,-101,-131,-101,-53,-19,-35,-76,-116,-148,-38},{-7,12,5,-8,26,-75,83,-129,146,-124,75,-10,961,6855,6329,-229,-13651,-19638,2047,16049,17665,19787,7390,-5436,-5120,1509,486,-5598,-6950,-8536,-6234,-2215,-2833,-2726,-2255,-1327,1477,2372,2544,2959,2801,2734,2079,1064,131,42,-854,-1700,-1268,-1946,-2190,-1631,-1163,-707,-162,391,554,824,445,-136,-158,442,1686,1847,697,-221,-424,-412,-714,-1376,-2157,-2633,-2160,-1061,-648,-777,-309,601,1056,902,626,372,272,298,146,-91,-327,-449,-522,-493,-313,-217,-294,-498,-558,-435,-178,51,213,305,235,174,82,30,51,66,-31,-277,-448,-477,-388,-278,-229,-222,-185,-152,-119,-24,39,47,42,27,-39,-93,-113,-128,-143,-175,-156,-97,-64,-75,-99,-77,-34,4,18,6,16,8}}, // azimuth 19 degrees + {{-1,-6,3,-3,6,-3,0,-1,7,-6,8,-5,-9,10,-31,49,-56,64,-49,1027,3025,2435,-146,-5873,-7635,-1150,3994,8673,10897,6053,1073,277,1261,189,-1395,-2704,-4274,-3522,-2432,-2616,-2285,-1776,-1200,-244,460,1113,1709,1853,1671,1628,1579,1080,121,-743,-416,-208,-907,-1136,-965,-812,-680,-441,-419,-412,-28,-1,50,705,995,480,97,159,108,-204,-609,-892,-907,-777,-729,-722,-692,-660,-506,-342,-224,-76,-31,-106,-265,-276,-76,-50,-193,-217,-126,-149,-211,-181,-196,-253,-251,-207,-157,-124,-115,-16,77,73,38,-28,-45,-15,10,-19,-107,-178,-184,-182,-210,-225,-203,-162,-150,-98,-53,-55,-39,-29,-22,-22,-48,-99,-122,-104,-55,-40,-27,-70,-150,-40},{-4,23,-26,46,-86,78,-99,74,-11,-75,183,122,5675,7834,2616,-10726,-22831,-4341,15722,18446,21505,11182,-3769,-5667,163,759,-4869,-7024,-9229,-7845,-2732,-2515,-2719,-1906,-1518,533,2177,3119,3146,2390,2813,2583,1326,93,-113,-474,-1389,-1430,-2171,-2258,-1610,-1444,-929,-260,342,676,1152,566,-563,-19,638,980,1641,1133,-173,-648,-325,-326,-1334,-2383,-2574,-1912,-1019,-840,-996,-460,630,1210,934,570,418,339,359,231,-82,-373,-492,-519,-481,-333,-258,-285,-445,-545,-455,-239,-10,179,337,298,209,107,27,85,108,-12,-254,-442,-480,-439,-355,-277,-278,-264,-206,-136,-34,48,85,72,45,-19,-71,-83,-126,-177,-190,-160,-92,-58,-89,-102,-85,-51,-28,-2,8,3,29,9}}, // azimuth 26 degrees + {{-3,0,-5,1,-2,4,-2,0,-2,2,-1,1,2,-10,13,-27,34,-37,32,-27,579,2355,2462,738,-3935,-7112,-2852,2365,6876,9759,6784,2222,567,1178,597,-858,-1974,-3447,-3239,-2328,-2508,-2232,-1686,-1406,-628,316,952,1264,1378,1507,1717,1804,1323,421,-262,-181,-203,-856,-1182,-1082,-976,-912,-660,-490,-382,-112,-177,-10,698,901,443,233,375,202,-247,-583,-772,-846,-792,-718,-716,-732,-620,-404,-318,-311,-239,-117,-96,-220,-228,-153,-143,-165,-165,-124,-160,-221,-228,-200,-163,-177,-199,-174,-102,-38,-13,16,18,-6,-18,-31,-31,-23,-58,-119,-166,-173,-169,-201,-218,-195,-143,-96,-73,-55,-67,-61,-39,-30,-20,-46,-85,-120,-107,-90,-75,-55,-84,-26},{35,-35,54,-82,62,-66,15,68,-171,295,-233,4619,8496,4874,-8141,-24577,-9306,14796,19019,22707,13884,-2172,-5659,-610,1486,-4587,-7613,-9308,-9474,-4026,-2326,-2602,-1820,-1393,698,1869,2815,3697,2719,2521,2451,1727,403,-357,-536,-1143,-1194,-2359,-2674,-1497,-1425,-1267,-369,464,789,1178,508,-470,342,655,608,1412,1059,-238,-843,-414,-236,-1461,-2517,-2151,-1309,-1083,-1099,-810,-319,482,1043,950,637,353,275,432,346,-71,-384,-497,-598,-538,-307,-223,-257,-444,-525,-385,-237,-44,156,349,328,203,109,28,84,133,53,-186,-419,-495,-451,-355,-296,-330,-355,-275,-163,-25,66,71,80,79,6,-63,-88,-130,-143,-120,-102,-107,-111,-98,-90,-82,-70,-55,-26,4,13,36,53,14}}, // azimuth 32 degrees + {{4,-2,1,-4,2,0,4,0,1,0,3,1,1,5,-6,11,-19,23,-26,28,-21,484,2016,2291,933,-3217,-6480,-3198,1720,6095,8837,6528,2561,854,1177,681,-574,-1591,-2896,-2839,-2203,-2399,-2069,-1575,-1390,-668,75,532,1045,1441,1628,1811,1951,1433,427,-180,-203,-400,-898,-1119,-1265,-1288,-877,-483,-502,-427,-156,-178,47,771,932,415,247,372,191,-269,-637,-757,-847,-835,-735,-678,-628,-551,-386,-323,-338,-247,-128,-85,-170,-181,-128,-182,-189,-142,-175,-238,-243,-213,-174,-147,-143,-143,-129,-60,-8,-22,-31,-13,1,-15,-45,-69,-72,-73,-111,-154,-149,-161,-189,-190,-173,-106,-67,-60,-60,-70,-60,-47,-32,-35,-47,-86,-119,-116,-100,-92,-90,-21},{-16,36,-42,-13,34,-110,183,-248,296,-324,2278,8204,7475,-1927,-22141,-18943,9572,18848,21887,19057,2358,-5164,-2183,1632,-2091,-7183,-9249,-10726,-6260,-3180,-3069,-1524,-1582,-90,2057,2875,3589,2850,2817,2768,1674,713,-2,-429,-1183,-1076,-1922,-2990,-1898,-1405,-1450,-694,279,898,1017,462,131,531,364,417,1280,1179,-134,-1000,-730,-465,-1337,-2244,-1770,-1053,-1236,-1238,-537,-37,235,543,755,800,521,219,292,330,66,-163,-364,-662,-707,-401,-175,-181,-363,-464,-384,-294,-104,154,364,321,164,99,35,60,110,89,-74,-322,-449,-448,-379,-302,-342,-389,-320,-212,-73,24,58,69,82,35,-70,-110,-123,-104,-56,-52,-96,-129,-119,-87,-84,-106,-90,-46,4,28,32,44,48,11}}, // azimuth 39 degrees + {{0,1,-1,0,-4,0,-1,2,-1,0,-2,1,-1,0,5,-7,8,-20,17,-17,18,-21,401,1723,2107,1127,-2569,-5978,-3473,1148,5391,8070,6244,2796,1109,1180,754,-329,-1226,-2393,-2489,-2069,-2246,-1831,-1457,-1598,-1033,-57,651,1133,1489,1745,1925,1897,1140,215,-166,-280,-453,-956,-1432,-1380,-1049,-725,-529,-493,-313,-204,-245,300,964,749,240,247,349,89,-333,-649,-831,-933,-816,-613,-580,-620,-543,-382,-313,-269,-212,-144,-68,-100,-130,-125,-214,-268,-223,-231,-273,-253,-214,-174,-142,-92,-54,-75,-79,-49,-16,-23,-35,-27,-53,-88,-105,-96,-78,-107,-139,-148,-158,-160,-162,-130,-92,-80,-63,-62,-65,-70,-76,-61,-48,-60,-83,-121,-130,-132,-127,-28},{1,13,-70,84,-143,165,-161,119,-65,671,6819,9073,2780,-17482,-24953,2636,18971,20164,20849,7278,-3371,-2762,1378,56,-6583,-9000,-10576,-8392,-4358,-4075,-2418,-1384,-575,1538,3005,4283,3298,2536,2971,2278,947,-206,-227,-866,-1223,-1689,-3026,-2317,-1523,-1623,-925,172,791,632,570,953,664,21,403,1184,1082,25,-920,-1237,-1205,-1367,-1621,-1322,-1115,-1186,-1003,-450,189,405,270,265,566,674,370,112,102,133,39,-220,-540,-711,-576,-266,-143,-237,-347,-392,-321,-114,138,341,337,149,13,-23,12,90,93,-43,-248,-388,-400,-359,-299,-319,-379,-325,-237,-145,-35,43,55,47,-6,-98,-128,-109,-60,-45,-56,-85,-106,-81,-79,-106,-138,-126,-77,-12,41,45,32,36,26,2}}, // azimuth 45 degrees + {{2,1,2,-2,1,-2,-1,1,2,1,-1,-3,-1,-1,-3,9,-7,5,-15,10,-7,1,-5,208,1269,1894,1544,-1268,-5244,-4273,-49,4112,7178,6315,3365,1483,1170,923,58,-673,-1707,-2128,-1807,-1990,-2047,-1780,-1526,-865,9,675,1156,1525,1605,1550,1497,872,179,-31,-352,-815,-1032,-1086,-1203,-1073,-642,-354,-388,-438,-210,65,404,708,540,200,162,213,17,-362,-707,-875,-836,-675,-548,-579,-631,-487,-300,-247,-231,-178,-107,-46,-39,-110,-188,-269,-349,-328,-268,-267,-269,-247,-172,-61,-14,-27,-73,-83,-41,-12,-26,-64,-75,-97,-118,-115,-108,-106,-107,-108,-115,-120,-128,-122,-120,-106,-79,-60,-58,-81,-97,-95,-66,-64,-65,-95,-126,-148,-162,-38},{45,-83,62,-60,1,82,-185,301,-394,3681,9155,7746,-7367,-27270,-11259,16264,19357,20549,13533,487,-2685,-128,2506,-3202,-9138,-10519,-9456,-5576,-5148,-3974,-1913,-1678,571,2528,4257,4231,2944,3326,2620,1465,406,-140,-732,-1291,-1171,-2679,-2979,-1896,-1744,-1224,-239,475,359,666,1413,898,141,312,881,1058,365,-537,-1411,-1887,-1510,-1176,-1060,-1152,-1140,-789,-436,55,441,419,147,190,478,442,164,30,106,67,-122,-316,-520,-605,-440,-187,-111,-270,-387,-306,-137,74,261,346,213,1,-69,-61,10,89,40,-145,-350,-398,-330,-261,-244,-308,-316,-264,-209,-98,30,54,12,-29,-115,-142,-101,-53,-39,-72,-91,-94,-62,-49,-83,-115,-126,-107,-45,19,53,51,39,35,-10,-9}}, // azimuth 51 degrees + {{1,1,0,2,0,0,-2,1,-1,2,-1,-1,-2,0,-1,1,12,-8,6,-14,10,-8,1,0,199,1123,1726,1583,-1037,-4938,-4203,-237,3835,6710,5860,3269,1627,1197,944,251,-383,-1238,-1795,-1943,-2177,-1865,-1309,-1094,-661,107,734,1036,1155,1193,1231,1103,649,177,-345,-621,-523,-698,-1090,-1193,-759,-372,-422,-417,-244,-80,74,380,530,271,101,123,53,-189,-470,-631,-735,-739,-626,-553,-549,-500,-359,-256,-220,-172,-122,-75,-44,-82,-165,-255,-343,-380,-330,-287,-313,-292,-176,-69,-36,-37,-34,-31,-33,-42,-38,-57,-95,-102,-118,-148,-148,-130,-93,-67,-68,-86,-114,-109,-109,-106,-95,-89,-76,-70,-71,-96,-105,-102,-82,-86,-98,-138,-177,-42},{12,-65,79,-140,169,-171,134,-89,558,6700,10012,3180,-19613,-25247,5491,20433,18639,17672,6083,-1215,-1100,2232,1697,-6527,-10600,-10784,-7433,-4883,-5300,-3255,-2550,-1265,1222,3426,5087,3482,3363,3813,2300,829,40,-3,-1173,-1488,-1812,-2973,-2598,-2189,-1591,-568,-11,-6,500,1674,1210,233,549,779,759,578,-55,-1103,-2231,-1967,-1092,-878,-1004,-1058,-754,-424,-21,276,423,379,138,153,188,144,115,126,30,-143,-196,-299,-459,-495,-293,-71,-146,-349,-359,-190,21,196,330,266,17,-103,-116,-80,20,66,-33,-265,-406,-363,-252,-158,-204,-267,-257,-243,-164,-30,63,10,-63,-117,-169,-129,-71,-42,-77,-108,-102,-77,-60,-69,-75,-82,-79,-72,-19,25,48,51,38,5,-55,-17}}, // azimuth 58 degrees + {{1,1,1,0,2,-1,1,-3,-1,0,3,1,-1,-2,0,0,2,12,-8,7,-12,10,-4,-1,13,129,909,1525,1671,-408,-4427,-4422,-746,3211,6122,5585,3320,1867,1318,1099,596,-83,-1149,-1792,-1567,-1516,-1383,-987,-831,-653,-241,306,618,712,841,901,789,261,-71,4,-187,-392,-589,-882,-877,-638,-396,-264,-337,-355,-138,139,272,172,82,74,-30,-195,-265,-277,-459,-686,-703,-573,-440,-405,-395,-299,-230,-190,-100,-93,-141,-124,-125,-222,-323,-332,-335,-384,-372,-287,-183,-117,-94,-47,-6,11,9,-20,-52,-74,-93,-109,-125,-168,-183,-141,-83,-52,-51,-51,-75,-88,-82,-89,-109,-110,-85,-55,-49,-89,-115,-134,-111,-104,-97,-105,-150,-39},{-58,41,-37,-32,111,-215,311,-450,2753,9114,9291,-6203,-28168,-12429,17775,19180,17274,12072,1671,-988,682,4381,-1129,-9290,-10841,-9511,-6191,-5781,-4171,-2667,-3351,-804,1822,4370,4456,3213,4385,3635,1933,767,270,-553,-1514,-1395,-2528,-3045,-2604,-2232,-1108,-509,-418,198,1383,1571,526,483,994,783,531,129,-664,-1909,-2323,-1419,-949,-790,-808,-777,-388,-73,135,239,454,334,64,-22,-134,-32,176,149,-145,-265,-185,-255,-394,-341,-97,-24,-216,-353,-294,-122,126,308,304,97,-138,-206,-190,-74,62,17,-181,-381,-385,-268,-144,-94,-187,-223,-213,-190,-97,7,14,-66,-118,-176,-171,-127,-96,-81,-106,-124,-129,-100,-81,-68,-54,-30,-22,-33,-6,14,33,23,1,-47,-83,-19}}, // azimuth 64 degrees + {{0,0,1,1,1,1,-1,1,-2,0,-1,3,0,-1,-2,0,-1,6,9,-8,8,-12,11,-9,12,1,184,945,1491,1592,-853,-4641,-3939,-133,3584,5867,4941,2951,1860,1469,1073,284,-267,-730,-1068,-1082,-1174,-1107,-941,-1006,-961,-518,97,357,458,612,462,274,406,461,88,-191,-144,-373,-870,-822,-347,-322,-511,-448,-278,-94,106,119,-59,-58,-36,-145,-198,-192,-234,-461,-646,-568,-422,-361,-359,-319,-259,-210,-129,-120,-183,-191,-173,-188,-259,-315,-326,-385,-392,-300,-229,-176,-127,-60,2,13,19,-1,-37,-75,-116,-129,-144,-163,-165,-153,-104,-65,-59,-42,-52,-64,-67,-84,-106,-105,-82,-69,-68,-80,-104,-143,-146,-140,-119,-95,-103,-26},{-75,87,-118,92,-41,-61,174,-261,4663,10370,6856,-14858,-28302,-109,21270,16814,15507,8183,630,-763,2401,4964,-4056,-10281,-9931,-8155,-6396,-6242,-3224,-2934,-3173,-466,2156,4712,3396,3371,4985,3378,1700,1007,715,-960,-1791,-1438,-2518,-3219,-2982,-1800,-903,-993,-441,801,1514,1023,416,868,1111,623,346,-195,-1220,-2143,-1868,-1105,-964,-744,-603,-447,-201,22,185,288,365,176,38,-179,-318,-71,203,115,-216,-250,-175,-254,-319,-172,30,-43,-236,-301,-232,-62,158,303,249,-16,-233,-258,-203,-46,51,-39,-270,-431,-305,-147,-73,-106,-170,-151,-175,-146,-47,15,-44,-119,-130,-162,-164,-155,-129,-104,-113,-143,-145,-109,-86,-51,-14,17,6,-4,21,21,15,-8,-32,-64,-69,-15}}, // azimuth 71 degrees + {{0,2,0,1,2,1,2,1,0,-1,1,0,3,-1,2,-3,1,3,7,4,-4,7,-11,18,-2,18,-24,234,986,1508,1457,-1345,-4755,-3346,587,3788,5336,4386,2712,1687,1282,1075,775,372,-183,-561,-897,-1181,-1248,-1377,-1388,-1178,-710,-167,61,113,80,417,875,723,402,253,281,-16,-571,-618,-544,-659,-684,-506,-348,-332,-128,76,-95,-283,-117,32,-126,-238,-180,-192,-339,-465,-457,-388,-320,-284,-265,-231,-212,-179,-198,-244,-228,-205,-206,-263,-334,-340,-313,-310,-307,-245,-149,-66,-7,17,13,-10,-34,-59,-108,-154,-160,-138,-128,-138,-129,-96,-65,-49,-46,-38,-49,-68,-77,-87,-88,-84,-81,-77,-96,-135,-158,-156,-127,-96,-68,-13},{-55,77,-129,151,-148,100,-44,226,6128,11033,3222,-21416,-23854,9204,20743,14355,13544,6143,593,-417,4106,4260,-6473,-10124,-8440,-7141,-7124,-6197,-2770,-3628,-2931,101,2672,4139,2495,3819,4889,3040,1858,1492,852,-1138,-1437,-1480,-2737,-3260,-2958,-1693,-1156,-1183,-228,928,1225,644,449,1157,1059,432,204,-510,-1481,-1946,-1363,-935,-994,-658,-396,-210,-129,58,264,286,178,14,-22,-296,-440,-104,235,81,-250,-221,-145,-215,-224,-27,92,-71,-227,-219,-163,-48,164,264,128,-138,-266,-258,-211,-41,30,-120,-348,-382,-207,-86,-36,-100,-140,-113,-126,-95,-28,-10,-96,-131,-131,-152,-166,-181,-148,-145,-152,-152,-144,-110,-78,-33,15,38,16,17,45,42,0,-39,-54,-65,-53,-12}}, // azimuth 77 degrees + {{0,0,0,-1,1,-1,3,-1,-1,-2,-2,-1,0,0,-2,-1,-4,1,-1,8,-3,1,-6,4,20,-1,-7,-15,527,1222,1661,646,-3152,-4670,-1389,2238,4311,4586,3354,2010,1608,1944,1616,846,272,-186,-637,-1285,-1512,-1472,-1648,-1543,-1221,-664,-225,-360,-50,753,987,763,683,681,408,87,-56,-417,-893,-993,-751,-531,-496,-407,-254,-118,-84,-205,-137,-2,-95,-232,-200,-83,-128,-300,-452,-454,-333,-253,-255,-277,-251,-229,-251,-273,-255,-209,-211,-260,-301,-301,-276,-298,-322,-285,-202,-92,-20,0,-18,-43,-49,-77,-108,-129,-143,-141,-132,-125,-119,-114,-98,-69,-52,-46,-48,-52,-65,-90,-103,-93,-87,-97,-110,-129,-145,-156,-134,-99,-70,-14},{-38,56,-111,150,-176,160,-150,531,6739,11171,705,-23880,-19769,12985,19050,12648,12445,5788,784,67,5094,3252,-7645,-9427,-7271,-6693,-7432,-5996,-2889,-4115,-2922,254,3104,3698,1862,4045,4697,2617,1950,1982,868,-1242,-861,-1112,-2965,-3462,-2618,-1566,-1670,-1291,1,750,767,380,613,1208,826,394,184,-639,-1507,-1625,-972,-922,-1001,-535,-264,-169,-156,112,276,229,72,-96,-114,-387,-463,-111,216,68,-272,-205,-92,-166,-148,42,96,-90,-200,-168,-147,-44,165,216,14,-230,-261,-239,-209,-34,4,-181,-376,-327,-151,-83,-29,-69,-118,-113,-105,-55,-27,-51,-116,-114,-130,-173,-173,-174,-164,-188,-190,-168,-142,-102,-65,-31,5,25,17,29,46,45,10,-41,-69,-68,-44,-9}}, // azimuth 84 degrees + {{1,0,2,-1,2,1,1,0,0,1,1,2,0,3,-1,1,-1,2,-1,6,4,-1,1,0,35,-5,3,-55,243,995,1569,1418,-1663,-4771,-2719,1253,3509,4135,3491,2670,2274,2341,2101,1238,405,-203,-528,-1137,-1752,-1652,-1605,-1815,-1661,-881,-474,-623,102,944,993,893,974,880,355,297,333,-459,-1210,-1171,-726,-596,-625,-465,-350,-248,-94,25,9,-96,-152,-195,-142,-46,-55,-184,-404,-461,-350,-255,-253,-291,-245,-255,-312,-295,-247,-194,-195,-251,-274,-263,-260,-262,-272,-273,-231,-135,-48,-34,-49,-58,-75,-98,-93,-71,-94,-142,-143,-106,-86,-96,-107,-82,-54,-54,-53,-47,-58,-79,-100,-100,-87,-98,-103,-108,-120,-132,-115,-80,-62,-14},{-31,48,-96,133,-159,150,-145,501,6598,11164,-26,-23768,-17558,13461,17246,11125,11995,6318,1200,611,5640,2766,-8115,-8791,-6202,-6368,-7412,-5758,-3189,-4620,-3107,150,2957,3420,1681,3935,4456,2418,1926,2080,911,-1007,-300,-685,-2750,-3337,-2512,-1525,-1891,-1501,-88,436,259,138,687,1093,600,393,269,-553,-1336,-1320,-694,-823,-961,-440,-166,-162,-227,81,289,174,3,-154,-215,-447,-450,-117,144,33,-213,-156,-74,-111,-67,84,96,-76,-180,-167,-127,-25,135,156,-38,-267,-291,-216,-167,-40,-21,-188,-352,-313,-149,-65,-20,-52,-88,-102,-97,-39,-18,-56,-123,-104,-120,-183,-176,-159,-162,-202,-210,-187,-143,-85,-50,-34,-12,10,8,38,65,56,28,-14,-46,-61,-48,-10}}, // azimuth 90 degrees + {{0,-1,0,0,0,0,1,1,-2,0,-2,-2,-3,1,-1,-2,-4,2,-2,0,0,-4,5,-5,32,-3,-9,-43,144,880,1564,1671,-985,-4736,-3594,685,3382,4183,3822,3145,2552,2413,2174,1163,333,-222,-763,-1219,-1692,-1783,-1768,-1907,-1602,-1146,-845,-141,522,671,971,1352,1182,636,465,570,108,-782,-1295,-1094,-774,-729,-663,-591,-490,-261,40,218,109,-82,-149,-128,-125,-102,-61,-161,-377,-463,-375,-292,-270,-264,-258,-295,-346,-311,-231,-190,-181,-203,-269,-305,-240,-185,-219,-250,-234,-177,-137,-110,-85,-112,-131,-88,-40,-49,-96,-132,-122,-92,-79,-81,-82,-81,-86,-80,-75,-71,-71,-85,-104,-115,-102,-90,-89,-102,-99,-97,-80,-69,-85,-21},{-41,53,-93,112,-115,80,-45,178,5687,11054,1553,-21625,-18353,11145,16250,10183,12168,7324,1681,863,5613,3384,-7655,-8722,-5658,-6033,-7229,-5744,-3246,-4876,-3630,-126,2533,3125,1592,3820,4418,2346,1988,1948,773,-748,123,-326,-2453,-2890,-2328,-1696,-1951,-1516,-346,-33,-121,35,642,864,455,425,359,-347,-1057,-1153,-642,-695,-858,-414,-142,-170,-264,39,242,120,-3,-165,-243,-451,-445,-159,47,26,-155,-123,-62,-92,-34,84,110,-45,-179,-185,-134,-23,97,114,-35,-242,-289,-227,-160,-42,-24,-161,-317,-318,-185,-83,-9,-50,-93,-85,-92,-41,-11,-45,-113,-115,-117,-166,-173,-164,-157,-193,-207,-188,-163,-105,-55,-33,-25,-12,-2,32,78,75,38,-3,-29,-40,-38,-10}}, // azimuth 96 degrees + {{0,0,2,0,2,1,1,1,1,0,0,0,-1,3,-1,0,-3,3,1,3,-4,-5,8,5,27,-8,-1,-49,225,1007,1772,1677,-1701,-5338,-3353,1272,3920,4654,4271,3192,2184,2145,1926,801,25,-381,-895,-1497,-1801,-1678,-1835,-1799,-1439,-1312,-550,416,592,691,1158,1453,1061,652,687,316,-480,-1012,-1086,-960,-906,-763,-697,-703,-461,-137,146,246,158,43,-22,-45,-141,-200,-166,-170,-329,-508,-455,-290,-229,-262,-293,-321,-332,-268,-198,-179,-160,-195,-284,-273,-190,-151,-179,-226,-231,-214,-183,-156,-173,-174,-101,-16,-24,-87,-106,-93,-71,-70,-76,-67,-61,-63,-92,-104,-93,-91,-93,-103,-110,-103,-92,-81,-75,-84,-72,-66,-59,-68,-84,-20},{-45,48,-74,65,-40,-23,93,-177,4076,10460,4627,-17299,-20531,6171,15395,9490,12467,8997,2295,982,5097,4701,-6060,-8960,-5536,-5685,-6933,-5982,-3263,-4662,-4380,-765,1915,2939,1432,3273,4667,2571,1973,1863,723,-676,224,166,-1977,-2476,-2139,-1667,-1870,-1690,-578,-432,-578,-121,558,677,284,399,500,-76,-722,-1029,-680,-588,-770,-391,-164,-203,-269,-8,200,42,-19,-141,-210,-393,-473,-214,-30,16,-106,-123,-45,-74,-54,57,117,-13,-162,-191,-159,-73,53,103,-19,-194,-244,-220,-193,-66,-3,-122,-281,-323,-212,-124,-43,-47,-110,-92,-87,-39,-3,-43,-104,-118,-113,-151,-166,-162,-154,-174,-189,-185,-182,-136,-77,-43,-41,-34,-15,30,80,84,46,-2,-18,-12,-13,-5}}, // azimuth 103 degrees + {{0,1,1,1,1,0,2,0,0,-2,1,0,0,1,1,0,1,1,0,6,-10,0,-3,20,16,-11,-6,-8,536,1553,2254,347,-4373,-5374,-871,3161,4708,4950,3999,2572,2017,1924,1012,94,-303,-848,-1373,-1717,-1780,-1758,-1624,-1377,-1573,-944,420,634,548,1128,1493,1097,788,973,569,-446,-1070,-1010,-826,-959,-968,-824,-791,-613,-269,28,118,162,277,257,127,-4,-115,-263,-334,-278,-352,-516,-528,-340,-219,-284,-334,-326,-260,-182,-152,-141,-205,-251,-204,-173,-148,-152,-191,-219,-254,-238,-224,-257,-245,-136,-22,-31,-89,-104,-74,-40,-47,-61,-60,-49,-50,-68,-88,-115,-120,-119,-129,-125,-122,-93,-63,-72,-65,-59,-50,-59,-65,-50,-56,-15},{-31,14,-20,-14,52,-111,157,-269,1830,8492,8380,-9438,-21815,-2708,13206,9127,12088,11945,3536,826,4079,6067,-2588,-8875,-5972,-5248,-6551,-6354,-3628,-3861,-5012,-1922,938,2568,1586,2170,4516,3297,2121,1739,874,-438,-145,521,-1162,-1996,-2017,-1650,-1371,-1761,-1124,-709,-934,-489,306,535,190,243,605,322,-318,-859,-787,-473,-685,-488,-184,-246,-233,-61,109,-8,-58,-96,-151,-265,-444,-303,-85,10,-77,-144,-82,-70,-73,-30,94,42,-140,-186,-173,-131,-35,72,41,-119,-198,-176,-190,-130,-21,-72,-211,-304,-250,-172,-117,-79,-124,-111,-91,-57,-1,-23,-87,-110,-105,-152,-163,-147,-139,-147,-164,-174,-197,-168,-119,-80,-68,-57,-23,21,76,83,40,-2,8,23,4,-2}}, // azimuth 109 degrees + {{0,0,0,2,0,3,2,1,-1,-1,0,1,2,0,1,-1,4,-1,2,-1,-6,-3,1,18,1,6,-33,228,1230,2388,1421,-3060,-5921,-2654,2254,4675,5227,4296,2752,2149,2223,1463,167,-469,-885,-1401,-1838,-1910,-1636,-1590,-1402,-1336,-1159,25,735,631,1020,1470,1252,899,952,735,-115,-886,-1126,-946,-858,-935,-963,-974,-705,-309,-109,3,80,211,350,353,180,20,-54,-260,-437,-441,-449,-496,-500,-420,-337,-328,-321,-246,-170,-125,-121,-183,-211,-173,-135,-128,-149,-161,-208,-259,-260,-287,-308,-248,-144,-81,-94,-116,-100,-64,-31,-32,-53,-59,-40,-25,-48,-87,-108,-113,-126,-131,-139,-148,-130,-90,-45,-43,-54,-66,-66,-51,-40,-39,-56,-16},{0,-23,22,-50,65,-78,64,-65,349,5540,9892,-1160,-18951,-11337,8292,9154,10663,14501,6231,498,2864,6354,1258,-7397,-6820,-4953,-6127,-6551,-4425,-3184,-4902,-3137,-22,1856,1879,1431,3717,3839,2488,1818,987,46,-435,374,-391,-1586,-1846,-1727,-1080,-1404,-1513,-1050,-1057,-801,-43,377,171,142,554,616,71,-619,-837,-482,-555,-628,-303,-242,-192,-91,1,-51,-76,-41,-109,-154,-338,-346,-127,13,-38,-164,-143,-111,-101,-84,34,82,-103,-195,-163,-145,-112,6,72,-37,-147,-141,-138,-166,-94,-40,-119,-246,-274,-221,-176,-118,-130,-137,-115,-86,-14,5,-40,-100,-113,-147,-163,-120,-116,-123,-137,-157,-188,-184,-147,-119,-96,-72,-30,12,65,70,31,21,35,40,13,-1}}, // azimuth 116 degrees + {{0,0,1,2,2,1,1,-1,-1,0,1,2,0,0,0,3,2,2,-1,-4,-2,-1,13,-1,3,-11,164,1231,2587,1448,-3088,-5912,-2883,2139,4976,5592,4300,2469,1940,2216,1650,390,-346,-969,-1774,-2203,-2117,-1803,-1666,-1278,-1097,-1161,-47,944,769,988,1483,1325,1011,987,764,-39,-859,-1074,-893,-861,-965,-995,-1032,-820,-370,-124,-77,-24,150,336,368,246,159,144,-19,-267,-473,-587,-557,-483,-481,-528,-513,-395,-213,-92,-95,-160,-153,-77,-73,-120,-133,-117,-158,-212,-221,-290,-364,-322,-206,-126,-124,-149,-161,-127,-73,-34,-10,-43,-63,-39,-18,-18,-64,-109,-128,-116,-101,-120,-156,-155,-108,-58,-35,-41,-59,-87,-60,-27,-16,-41,-97,-28},{15,-28,10,-16,-2,21,-61,96,-182,1880,7985,6875,-9479,-17318,-2075,7530,8389,15083,11790,1691,813,5182,5032,-3105,-7332,-5223,-5390,-6413,-5513,-3323,-3930,-4282,-1403,758,1801,1275,2268,3903,3029,2037,1254,663,-282,-150,276,-933,-1677,-1718,-1118,-973,-1455,-1387,-1283,-1037,-469,77,135,59,411,745,522,-160,-718,-607,-459,-668,-518,-312,-219,-113,-80,-105,-153,-7,11,-70,-188,-312,-166,-2,6,-138,-220,-197,-171,-120,-40,58,-40,-173,-157,-140,-147,-92,26,29,-50,-89,-116,-162,-141,-47,-40,-143,-256,-267,-230,-161,-137,-193,-167,-113,-41,13,-6,-69,-119,-131,-142,-115,-98,-91,-98,-135,-169,-186,-159,-150,-139,-101,-50,1,24,32,47,62,57,44,24,4}}, // azimuth 122 degrees + {{-1,0,2,0,1,1,-1,-1,-1,0,1,0,-1,-2,1,3,0,1,-4,-2,-4,8,5,-1,-7,104,1155,2704,1654,-2908,-5945,-3275,1852,5121,5931,4483,2399,1822,2190,1654,359,-274,-727,-1632,-2315,-2426,-2116,-1875,-1496,-1017,-970,-328,867,1138,1128,1416,1256,1064,1106,813,99,-690,-1079,-1000,-783,-790,-1033,-1139,-868,-401,-196,-196,-80,99,261,345,239,149,207,127,-61,-241,-486,-626,-594,-528,-553,-625,-571,-353,-121,-87,-141,-86,-16,-5,-47,-95,-110,-161,-201,-246,-328,-332,-272,-211,-184,-176,-161,-151,-139,-122,-73,-31,-21,-39,-47,-26,-29,-50,-88,-121,-120,-109,-109,-136,-150,-105,-65,-50,-60,-89,-72,-61,-37,-29,-42,-71,-116,-31},{3,2,-21,11,-27,28,-35,17,-15,150,4074,8897,1006,-14399,-11529,1972,6320,12511,16019,6276,-310,2711,6059,1866,-5524,-6127,-4845,-5835,-6027,-4310,-3258,-4302,-2868,-297,1162,1476,1308,3052,3517,2292,1461,1136,320,-498,324,-138,-1428,-1665,-1321,-872,-1199,-1379,-1459,-1337,-672,-207,-27,1,251,691,768,303,-365,-650,-523,-586,-618,-462,-356,-189,-122,-125,-193,-96,71,17,-57,-211,-205,-46,34,-59,-257,-272,-221,-171,-101,-13,-11,-128,-151,-138,-161,-165,-63,31,10,-41,-99,-143,-157,-82,-16,-67,-190,-270,-252,-216,-173,-200,-216,-153,-86,-21,-18,-56,-97,-112,-118,-116,-95,-79,-74,-115,-151,-170,-163,-153,-167,-141,-86,-34,-17,-2,46,79,78,59,30,4}}, // azimuth 129 degrees + {{1,1,1,1,0,-2,-2,-2,0,2,-1,-2,-2,0,3,-1,-1,-6,-3,-6,2,7,-4,0,84,1174,2874,1698,-3076,-6085,-3373,1895,5448,6308,4562,2265,1759,2203,1664,235,-492,-800,-1597,-2220,-2352,-2225,-2112,-1821,-1132,-840,-555,639,1425,1424,1519,1260,1021,1078,764,229,-475,-1107,-1147,-779,-622,-905,-1165,-940,-392,-170,-245,-166,7,202,295,194,133,184,159,26,-120,-291,-470,-563,-599,-636,-681,-653,-454,-288,-214,-91,-14,20,27,-1,-3,-60,-143,-221,-315,-332,-272,-205,-202,-242,-230,-184,-161,-152,-132,-95,-63,-48,-34,-32,-29,-29,-59,-98,-118,-106,-104,-132,-151,-131,-92,-47,-33,-73,-116,-117,-62,-28,-22,-54,-96,-109,-105,-24},{3,9,-6,-9,-3,-10,17,-27,33,-66,597,5186,8074,-2489,-14180,-8552,1314,7536,15703,13987,3104,-357,3732,5635,69,-5705,-5369,-4785,-5711,-5447,-3742,-3481,-3928,-1902,52,1164,1184,1537,3244,2914,1648,1430,1177,-96,-175,520,-633,-1469,-1469,-1150,-942,-1274,-1380,-1533,-1130,-351,-175,-218,44,553,829,655,222,-293,-586,-599,-589,-515,-530,-432,-206,-171,-139,-145,-68,26,63,20,-163,-141,-10,23,-119,-284,-270,-221,-159,-93,-36,-52,-110,-135,-165,-190,-166,-48,28,10,-45,-102,-136,-126,-39,-4,-64,-186,-259,-240,-198,-176,-215,-202,-154,-105,-51,-42,-63,-90,-77,-67,-75,-83,-75,-70,-105,-138,-144,-142,-158,-157,-122,-83,-66,-29,40,88,97,90,73,15}}, // azimuth 135 degrees + {{1,1,1,-1,-2,-2,-1,0,1,-1,-1,-1,0,2,0,2,-7,-1,-7,3,5,-4,4,176,1648,3238,894,-4375,-6239,-2398,3048,6404,6613,4048,1799,1833,2307,1375,-165,-767,-1115,-1923,-2389,-2294,-2105,-2060,-1839,-1155,-755,-676,372,1521,1790,1784,1281,989,1051,622,111,-496,-1110,-1243,-893,-534,-715,-1046,-909,-353,-40,-160,-170,-24,121,182,109,98,155,147,48,-133,-306,-368,-368,-482,-678,-755,-698,-556,-352,-194,-132,-73,-3,57,98,49,-18,-114,-264,-316,-259,-198,-209,-249,-241,-199,-194,-228,-202,-131,-81,-52,-42,-49,-46,-22,-12,-39,-90,-127,-126,-122,-140,-147,-133,-82,-35,-20,-47,-95,-108,-93,-46,-31,-48,-92,-113,-101,-114,-30},{10,2,4,-9,-7,-2,-2,4,-15,25,-60,1299,6344,6396,-5876,-13466,-6670,2019,10822,16874,10404,857,215,4637,4734,-1707,-5706,-4778,-4693,-5516,-4842,-3390,-3647,-3253,-1160,266,1105,996,2021,3158,2041,1467,1615,727,-192,320,199,-926,-1380,-1434,-1039,-1089,-1424,-1416,-1331,-794,-274,-186,-200,212,781,794,488,185,-222,-594,-707,-546,-437,-567,-467,-248,-161,-137,-158,-91,-18,71,16,-130,-100,-20,-6,-138,-245,-241,-208,-153,-98,-34,-54,-129,-183,-212,-217,-153,-33,4,-32,-71,-89,-119,-103,-25,-11,-75,-176,-234,-231,-192,-176,-202,-201,-187,-139,-77,-57,-70,-66,-45,-57,-66,-72,-77,-87,-117,-133,-140,-143,-146,-139,-129,-117,-59,12,79,97,89,90,21}}, // azimuth 141 degrees + {{3,0,-1,-1,-3,0,1,0,-2,-2,-2,1,3,-1,1,-7,0,-8,-1,5,-2,4,190,1838,3512,703,-4957,-6509,-2185,3525,7030,7025,3910,1540,1899,2462,1314,-411,-1024,-1337,-2117,-2530,-2384,-2163,-2039,-1761,-1104,-557,-597,-65,1184,1941,2013,1377,1026,1071,564,102,-356,-1118,-1499,-1081,-517,-621,-929,-792,-333,-51,-43,11,22,5,83,79,44,94,125,39,-148,-343,-382,-312,-407,-588,-711,-786,-593,-275,-170,-190,-186,-68,81,99,58,-7,-128,-213,-191,-182,-238,-264,-245,-214,-213,-236,-249,-220,-163,-100,-49,-40,-42,-38,-27,-21,-27,-65,-106,-136,-163,-169,-170,-134,-86,-46,-44,-60,-62,-68,-54,-64,-73,-88,-81,-84,-90,-124,-182,-47},{0,10,1,-1,-8,-9,0,-6,3,-12,14,-1,1974,6894,4544,-7818,-12708,-5713,3800,13427,15886,7467,-126,833,5141,3668,-2843,-5372,-4252,-4526,-5294,-4337,-3229,-3543,-2601,-823,325,925,1107,2395,2502,1514,1736,1421,411,135,383,-102,-959,-1420,-1344,-1054,-1314,-1505,-1324,-995,-618,-306,-142,-35,402,757,679,447,223,-193,-653,-724,-497,-387,-490,-474,-352,-219,-156,-180,-147,-87,8,-13,-74,-28,-1,-36,-122,-161,-170,-191,-172,-90,-32,-94,-186,-228,-242,-242,-161,-55,-42,-47,-47,-88,-133,-87,0,6,-70,-169,-226,-221,-168,-159,-204,-229,-220,-146,-80,-65,-71,-58,-37,-40,-39,-62,-102,-132,-128,-119,-133,-134,-130,-145,-147,-86,-22,45,79,77,85,21}}, // azimuth 148 degrees + {{1,-2,-2,-2,1,3,1,-2,-1,0,3,1,-1,1,-8,3,-9,4,-1,6,4,395,2576,3726,-684,-6494,-6344,-709,5086,8111,7035,3048,1126,2213,2598,854,-913,-1342,-1779,-2503,-2681,-2417,-2255,-2102,-1594,-864,-269,-322,-22,1097,1883,2010,1419,1001,938,481,116,-361,-1164,-1619,-1334,-739,-630,-764,-625,-271,40,148,179,157,77,16,-9,68,138,45,-125,-281,-357,-343,-337,-463,-703,-825,-623,-277,-148,-213,-259,-174,-11,59,33,-42,-87,-53,-37,-113,-212,-248,-243,-227,-238,-262,-276,-264,-208,-154,-106,-58,-29,-26,-27,-4,11,-16,-66,-118,-137,-144,-181,-200,-168,-102,-67,-69,-68,-64,-45,-13,-20,-71,-95,-105,-91,-92,-113,-145,-154,-34},{-3,1,10,1,1,-7,-10,4,-12,10,-15,12,15,1849,6526,4425,-7227,-12622,-6220,4347,13621,14774,6925,-176,695,5032,3446,-2660,-4862,-3794,-4174,-5041,-4083,-3084,-3291,-2411,-921,104,802,1327,2110,1797,1533,1870,1255,608,329,258,-75,-910,-1387,-1330,-1204,-1405,-1564,-1212,-700,-500,-398,-131,222,443,519,632,574,262,-203,-550,-587,-453,-325,-372,-494,-538,-398,-255,-242,-223,-224,-132,-2,40,55,38,-17,-72,-45,-46,-145,-204,-147,-71,-114,-208,-262,-319,-344,-209,-55,-36,-65,-77,-87,-96,-32,33,2,-90,-163,-175,-172,-162,-176,-206,-218,-204,-149,-112,-115,-99,-39,-1,-13,-46,-82,-128,-160,-146,-118,-100,-97,-122,-145,-111,-51,4,32,37,50,14}}, // azimuth 154 degrees + {{-3,-2,-1,0,1,2,-3,-1,-1,3,2,-1,2,-10,4,-10,5,-3,7,7,458,2925,4004,-1177,-7342,-6560,-163,5910,8857,7316,2738,862,2367,2765,681,-1241,-1573,-2060,-2807,-2806,-2490,-2364,-2170,-1574,-762,-70,-81,15,981,1873,2070,1427,910,840,409,68,-198,-985,-1696,-1527,-951,-801,-803,-548,-198,28,189,382,342,115,32,87,169,91,-46,-159,-349,-417,-370,-353,-571,-911,-851,-475,-157,-98,-192,-159,-59,6,2,-70,-111,-36,55,-25,-165,-192,-166,-201,-284,-314,-286,-267,-267,-221,-149,-102,-69,-32,-5,-2,9,26,8,-64,-110,-126,-152,-173,-184,-171,-157,-127,-86,-64,-70,-60,-22,1,-13,-62,-93,-114,-102,-114,-120,-103,-126,-34},{-5,-1,2,7,1,2,-9,-10,3,-14,11,-20,17,51,2108,6514,3505,-7885,-12313,-5240,5701,13684,13406,5836,-454,1086,5035,2695,-2819,-4306,-3382,-4042,-4778,-3714,-2948,-3111,-2215,-916,51,895,1430,1615,1411,1740,1823,1197,740,322,250,-156,-965,-1345,-1391,-1274,-1483,-1550,-998,-529,-423,-362,-33,315,383,481,650,561,142,-232,-284,-355,-419,-355,-388,-500,-629,-598,-449,-325,-261,-271,-169,-5,124,147,55,6,24,65,-4,-142,-195,-165,-123,-161,-253,-337,-390,-353,-213,-90,-55,-51,-57,-68,-63,-16,30,1,-85,-149,-158,-155,-156,-164,-174,-194,-199,-163,-141,-132,-102,-35,7,-18,-65,-117,-151,-153,-134,-101,-71,-74,-103,-108,-84,-37,0,12,17,4}}, // azimuth 161 degrees + {{-4,-3,1,2,-1,-5,-1,-3,4,0,-2,-4,-12,3,-15,9,-15,15,6,858,3889,3800,-3217,-8799,-5801,1817,7759,9789,6737,1616,811,2934,2664,-82,-1813,-1867,-2534,-3227,-2883,-2514,-2518,-2197,-1383,-484,186,146,219,1073,1921,2061,1463,878,503,196,-14,-348,-956,-1563,-1571,-1188,-950,-826,-574,-207,71,274,408,427,257,140,291,285,38,-137,-247,-349,-398,-432,-613,-900,-927,-648,-373,-279,-233,-50,98,112,32,-103,-138,-15,101,8,-163,-202,-133,-127,-232,-332,-366,-344,-317,-259,-182,-124,-89,-86,-57,-13,21,46,35,-16,-76,-115,-127,-142,-170,-183,-183,-180,-173,-133,-105,-102,-80,-36,-14,-19,-35,-76,-95,-107,-113,-132,-117,-104,-139,-37},{1,-4,-1,0,8,0,1,-5,-14,5,-17,15,-20,16,21,1615,5869,4119,-6484,-12027,-5880,4795,12344,12794,6441,-66,713,4544,2909,-2011,-3753,-3014,-3617,-4463,-3600,-2836,-2948,-2277,-1119,-137,847,1192,1089,1292,1785,1807,1361,867,430,248,-193,-838,-1311,-1408,-1318,-1527,-1410,-906,-548,-398,-216,66,151,283,569,681,455,88,-33,21,-125,-394,-450,-441,-581,-737,-768,-676,-490,-296,-188,-154,-71,146,233,100,26,122,191,37,-156,-221,-178,-154,-242,-321,-379,-404,-360,-267,-141,-45,-7,-34,-80,-75,-1,53,15,-64,-131,-153,-144,-121,-121,-155,-188,-201,-171,-146,-142,-120,-75,-40,-39,-61,-102,-143,-153,-108,-51,-49,-81,-93,-85,-79,-53,-23,-8,-1}}, // azimuth 167 degrees + {{-3,2,3,0,-4,0,-1,5,2,0,-2,-12,5,-16,13,-15,16,9,952,4300,4057,-3805,-9665,-5983,2441,8720,10530,6876,1242,645,3251,2812,-399,-2214,-2105,-2787,-3567,-3036,-2529,-2634,-2295,-1384,-384,409,358,350,1049,1842,2066,1508,1004,483,50,-104,-503,-940,-1399,-1528,-1285,-1138,-900,-590,-254,11,200,385,375,358,435,435,265,18,-55,-141,-316,-414,-578,-818,-943,-801,-612,-527,-380,-214,-5,167,159,41,-55,47,147,46,-95,-158,-156,-156,-184,-244,-310,-367,-392,-355,-272,-165,-90,-65,-62,-62,-39,20,60,44,-10,-69,-103,-131,-132,-138,-161,-177,-192,-174,-157,-155,-134,-78,-38,-32,-33,-41,-52,-71,-66,-88,-122,-130,-111,-102,-112,-27},{5,1,-4,1,2,10,1,3,-5,-9,8,-15,17,-21,23,28,1601,5604,3714,-6357,-11410,-5288,4817,11502,11909,6114,54,891,4236,2614,-1706,-3243,-2678,-3403,-4207,-3395,-2696,-2786,-2233,-1180,-166,818,929,797,1266,1774,1860,1433,913,506,104,-251,-768,-1284,-1373,-1409,-1440,-1223,-901,-585,-366,-35,168,83,209,598,760,422,81,37,99,0,-307,-535,-630,-689,-802,-833,-718,-557,-335,-152,-43,8,67,164,179,138,157,156,23,-145,-244,-218,-182,-264,-350,-401,-405,-357,-270,-142,-43,-18,-50,-78,-49,17,51,17,-58,-114,-129,-122,-110,-134,-160,-168,-178,-172,-167,-167,-148,-93,-56,-49,-60,-87,-114,-121,-71,-34,-72,-106,-93,-80,-82,-73,-50,-9}}, // azimuth 174 degrees + {{0,3,0,-6,-1,-2,7,1,-1,-2,-14,5,-17,11,-16,13,6,1028,4668,4368,-4264,-10509,-6307,2920,9686,11315,7055,940,493,3547,2979,-715,-2669,-2357,-2978,-3904,-3280,-2564,-2696,-2372,-1395,-364,593,629,503,1083,1735,2014,1546,1013,549,38,-148,-617,-1120,-1320,-1453,-1349,-1193,-978,-650,-309,11,157,200,230,472,711,482,160,33,41,-4,-233,-488,-717,-842,-858,-795,-692,-594,-409,-205,-11,130,98,36,98,195,169,55,-37,-128,-221,-239,-200,-210,-319,-422,-420,-358,-268,-169,-95,-54,-50,-58,-44,6,42,18,-23,-64,-108,-130,-137,-139,-148,-164,-179,-187,-189,-184,-151,-93,-54,-58,-59,-54,-66,-79,-71,-64,-102,-113,-103,-108,-105,-85,-18},{0,3,0,-6,-1,-2,7,1,-1,-2,-14,5,-17,11,-16,13,6,1028,4668,4368,-4264,-10509,-6307,2920,9686,11315,7055,940,493,3547,2979,-715,-2669,-2357,-2978,-3904,-3280,-2564,-2696,-2372,-1395,-364,593,629,503,1083,1735,2014,1546,1013,549,38,-148,-617,-1120,-1320,-1453,-1349,-1193,-978,-650,-309,11,157,200,230,472,711,482,160,33,41,-4,-233,-488,-717,-842,-858,-795,-692,-594,-409,-205,-11,130,98,36,98,195,169,55,-37,-128,-221,-239,-200,-210,-319,-422,-420,-358,-268,-169,-95,-54,-50,-58,-44,6,42,18,-23,-64,-108,-130,-137,-139,-148,-164,-179,-187,-189,-184,-151,-93,-54,-58,-59,-54,-66,-79,-71,-64,-102,-113,-103,-108,-105,-85,-18}}, // azimuth 180 degrees +}; +inline constexpr std::int16_t pcm48000_p50[23][2][hrir::taps]={ + {{-2,20,-53,65,-94,95,-78,31,39,474,4295,4538,2273,-7342,-16815,-2377,11395,13985,15446,5726,-2842,-1473,2553,1175,-3441,-4336,-6325,-5460,-2364,-3125,-3207,-2323,-1201,274,883,2183,2711,1923,2056,2231,1422,321,0,-267,-285,-498,-2138,-2347,-1518,-1426,-855,64,343,45,406,852,719,518,-11,-116,453,619,179,-162,41,3,-462,-651,-769,-1033,-1347,-1504,-1260,-832,-516,-341,-82,151,105,133,250,201,189,200,63,-207,-299,-211,-214,-264,-317,-331,-414,-441,-321,-224,-172,-190,-154,-81,15,150,219,190,50,-49,-73,-97,-110,-152,-246,-281,-235,-182,-137,-131,-131,-113,-115,-122,-87,-63,-88,-83,-65,-61,-35,-17,-45,-64,-66,-79,-85,-112,-130,-110,-64,-32,-45,-15},{-2,20,-53,65,-94,95,-78,31,39,474,4295,4538,2273,-7342,-16815,-2377,11395,13985,15446,5726,-2842,-1473,2553,1175,-3441,-4336,-6325,-5460,-2364,-3125,-3207,-2323,-1201,274,883,2183,2711,1923,2056,2231,1422,321,0,-267,-285,-498,-2138,-2347,-1518,-1426,-855,64,343,45,406,852,719,518,-11,-116,453,619,179,-162,41,3,-462,-651,-769,-1033,-1347,-1504,-1260,-832,-516,-341,-82,151,105,133,250,201,189,200,63,-207,-299,-211,-214,-264,-317,-331,-414,-441,-321,-224,-172,-190,-154,-81,15,150,219,190,50,-49,-73,-97,-110,-152,-246,-281,-235,-182,-137,-131,-131,-113,-115,-122,-87,-63,-88,-83,-65,-61,-35,-17,-45,-64,-66,-79,-85,-112,-130,-110,-64,-32,-45,-15}}, // azimuth 0 degrees + {{20,-11,27,-26,10,-3,-39,76,-119,174,-126,1986,4332,3206,-905,-12422,-12154,2639,10470,15866,13579,2552,-2254,-543,1464,-441,-2036,-3603,-5543,-3711,-3083,-3528,-2433,-2144,-1328,179,1329,1939,1766,1862,1948,2255,1889,675,149,-441,-734,-1528,-2253,-1673,-1374,-909,-195,139,16,9,504,574,493,271,-189,110,789,806,207,-183,-119,-386,-688,-597,-779,-1183,-1395,-1217,-774,-520,-481,-287,125,217,-64,-160,-21,94,130,149,13,-235,-258,-182,-224,-330,-358,-336,-375,-395,-359,-242,-154,-116,-36,22,83,152,177,153,54,-49,-83,-132,-192,-223,-221,-197,-183,-137,-140,-202,-188,-114,-49,-9,-18,-86,-151,-148,-88,6,59,4,-85,-131,-109,-66,-44,-69,-133,-154,-110,-20},{31,-73,82,-105,95,-64,-9,94,333,4694,5323,2844,-7895,-19875,-3256,13974,15817,16793,6307,-3429,-2384,2235,1444,-4252,-5150,-6752,-6183,-2359,-2772,-3175,-2545,-1372,588,1125,2150,2959,2295,2157,2233,1520,232,-262,-437,-281,-297,-2155,-2741,-1820,-1482,-905,67,452,99,468,927,874,782,21,-295,314,489,258,111,10,-107,-296,-535,-827,-1130,-1411,-1679,-1678,-1083,-311,-148,-291,-21,346,437,387,345,326,228,99,-155,-366,-390,-333,-211,-286,-430,-453,-359,-275,-252,-172,-145,-108,-64,16,150,212,182,60,-65,-130,-130,-129,-182,-276,-295,-226,-185,-142,-106,-108,-98,-97,-118,-107,-103,-82,-37,-57,-86,-52,-18,-40,-75,-90,-99,-118,-123,-90,-47,-33,-29,-28,-35,-8}}, // azimuth 8 degrees + {{-6,16,-9,20,-17,3,0,-36,60,-88,128,-94,1577,3656,2983,-233,-9881,-11054,640,8230,13437,12466,3807,-926,-108,1547,-75,-1690,-2904,-4681,-3752,-3090,-3149,-2290,-2152,-1495,6,1012,1452,1533,1695,1782,2168,1923,775,250,-132,-502,-1310,-1886,-1452,-1247,-916,-407,-142,-108,-13,304,326,301,194,-59,210,786,823,300,-156,-309,-382,-489,-656,-892,-1095,-1166,-1024,-684,-386,-364,-384,-128,106,26,-155,-219,-98,67,91,4,-143,-227,-243,-255,-276,-362,-428,-382,-298,-279,-237,-160,-75,-8,18,81,114,129,120,64,-11,-94,-120,-152,-220,-240,-219,-200,-165,-146,-155,-160,-116,-58,-39,-27,-76,-119,-120,-97,-16,27,-11,-74,-99,-114,-97,-77,-61,-91,-151,-40},{-72,83,-112,81,-24,-75,171,77,4698,6167,3805,-7285,-22726,-5918,15974,17777,18130,7212,-3621,-2642,1594,1586,-4435,-6233,-7460,-6792,-2556,-2669,-2893,-2340,-1657,445,1418,2478,2876,2292,2552,2332,1450,279,-320,-595,-391,-191,-2084,-2950,-2112,-1625,-934,-25,441,228,561,943,924,1044,305,-439,-199,275,624,355,-137,-171,-258,-442,-703,-1086,-1467,-2032,-2127,-1126,-54,-96,-460,-37,450,584,652,496,310,241,176,-119,-457,-468,-325,-265,-419,-456,-370,-357,-317,-252,-137,-90,-63,-26,31,138,226,238,75,-109,-183,-190,-173,-202,-293,-312,-270,-231,-134,-74,-86,-98,-97,-104,-105,-96,-66,-40,-72,-91,-49,-12,-36,-92,-145,-157,-132,-91,-42,-33,-40,-7,12,-16,-20,-4}}, // azimuth 16 degrees + {{0,-5,11,-8,14,-12,-4,2,-35,51,-69,90,-74,1159,3041,2791,484,-7525,-10153,-1163,6057,11101,11576,4937,253,328,1539,192,-1268,-2204,-3953,-3648,-2903,-2828,-2233,-2130,-1568,-244,633,1097,1316,1550,1591,1846,1894,1082,545,176,-258,-1005,-1628,-1407,-1247,-1053,-652,-328,-138,-133,-69,151,368,239,34,299,764,774,351,-23,-306,-498,-551,-676,-894,-995,-950,-853,-668,-422,-299,-303,-234,-41,30,-92,-206,-213,-101,21,-26,-159,-224,-303,-352,-309,-297,-351,-366,-277,-177,-128,-114,-73,-18,11,48,77,103,104,59,-28,-103,-125,-164,-223,-255,-241,-189,-147,-116,-114,-132,-108,-78,-51,-34,-68,-117,-116,-74,-30,1,-34,-93,-116,-111,-108,-85,-65,-79,-20},{51,-82,47,45,-154,276,-207,4219,6941,5056,-5272,-24587,-10757,16583,19880,19420,9083,-3502,-3078,1353,2031,-4357,-7089,-8200,-8014,-2946,-2492,-2990,-1887,-1499,176,1267,2761,3332,2117,2416,2661,1647,179,-357,-584,-524,-38,-1929,-3221,-2438,-1734,-882,-84,279,201,766,1107,870,1234,683,-691,-751,428,885,122,-273,-58,-158,-429,-570,-960,-1677,-2227,-2116,-1114,-158,-183,-392,7,557,746,675,506,391,342,210,-140,-476,-494,-357,-290,-415,-472,-430,-384,-298,-222,-79,-52,-59,-5,43,161,282,282,100,-108,-204,-228,-234,-224,-278,-347,-320,-261,-144,-61,-75,-81,-103,-122,-81,-29,-14,-67,-115,-86,-42,-2,-19,-115,-190,-167,-93,-57,-54,-55,-30,36,36,-13,-22,-40,-13}}, // azimuth 24 degrees + {{-3,0,-2,9,-5,10,-6,-8,8,-33,43,-51,58,-49,821,2492,2588,1064,-5521,-9239,-2591,4183,9097,10647,5664,1254,751,1471,436,-847,-1627,-3243,-3376,-2658,-2564,-2180,-2023,-1594,-499,334,816,1005,1221,1421,1772,1995,1388,812,450,1,-883,-1649,-1436,-1262,-1164,-767,-479,-383,-344,-77,222,340,336,200,256,680,845,395,-126,-361,-461,-573,-764,-904,-820,-744,-811,-725,-433,-235,-227,-232,-117,4,-28,-131,-232,-282,-152,-62,-201,-314,-344,-354,-305,-263,-261,-265,-209,-130,-77,-56,-67,-49,-6,36,80,87,52,1,-74,-119,-134,-187,-234,-236,-197,-146,-108,-81,-95,-109,-92,-89,-72,-45,-59,-95,-115,-84,-43,-30,-48,-117,-138,-110,-91,-77,-63,-14},{-13,-54,149,-251,348,-379,3102,7369,6336,-1730,-23969,-17846,14236,21815,20541,12150,-2065,-3592,332,2838,-2879,-7932,-8766,-9175,-4426,-2639,-2987,-1787,-1401,325,1178,2552,3701,2438,2387,2516,1844,501,-468,-614,-641,2,-1484,-3312,-2965,-2066,-845,-49,198,103,677,1344,1022,1311,930,-833,-1001,505,953,-3,-544,-261,-77,-199,-403,-1007,-1987,-2255,-1643,-967,-494,-369,-335,113,664,773,591,486,447,369,267,-59,-493,-604,-447,-235,-287,-488,-545,-457,-284,-153,-28,-23,-68,-36,52,179,265,293,148,-67,-195,-265,-263,-231,-287,-363,-362,-289,-169,-86,-76,-123,-118,-92,-69,-14,-16,-55,-90,-85,-67,-48,-40,-125,-179,-117,-76,-76,-64,-51,-16,13,4,-19,-14,-5,-2,2}}, // azimuth 32 degrees + {{3,-3,-1,-2,5,-3,7,-2,-10,11,-31,34,-41,39,-31,560,2029,2361,1468,-3903,-8331,-3620,2679,7437,9638,6026,2062,1112,1426,674,-484,-1176,-2603,-2986,-2405,-2368,-2054,-1858,-1565,-709,-88,409,829,1194,1429,1716,2028,1604,966,505,20,-890,-1675,-1444,-1207,-1229,-1071,-674,-296,-303,-122,279,509,443,133,236,712,711,179,-181,-243,-432,-698,-805,-767,-705,-743,-775,-654,-432,-256,-179,-149,-81,1,-34,-163,-268,-311,-294,-265,-280,-300,-315,-347,-330,-236,-153,-137,-138,-137,-97,-34,-19,-22,-13,9,40,32,-25,-79,-125,-157,-167,-167,-177,-194,-171,-114,-62,-51,-90,-116,-107,-92,-62,-42,-68,-125,-152,-112,-66,-47,-71,-120,-148,-130,-82,-48,-9},{-122,217,-268,275,-262,1550,7041,7490,2319,-19616,-25099,7716,23132,20856,15508,1076,-3538,-665,2767,-488,-7584,-9141,-9924,-6249,-3443,-3759,-1752,-1383,-75,1494,2521,3899,2701,2462,2831,1839,623,-299,-557,-821,-79,-909,-3156,-3336,-2517,-1169,-105,152,142,574,1336,1300,1384,838,-671,-633,274,600,255,-656,-731,-212,-36,-263,-1074,-2019,-2196,-1285,-632,-710,-593,-194,282,534,502,558,620,459,325,311,32,-484,-643,-432,-266,-270,-410,-529,-511,-334,-104,35,-13,-84,0,66,109,202,268,204,-11,-191,-253,-251,-209,-270,-365,-369,-313,-195,-104,-107,-158,-117,-57,-76,-54,-30,-56,-66,-46,-75,-99,-96,-119,-116,-85,-65,-75,-59,-24,-10,-15,-47,-45,-9,11,17,2,-4}}, // azimuth 40 degrees + {{-3,3,0,-1,-2,5,-1,5,2,-7,13,-25,28,-32,31,-18,395,1679,2146,1687,-2753,-7499,-4217,1646,6197,8638,6065,2610,1416,1420,838,-201,-853,-2025,-2507,-2154,-2156,-1839,-1681,-1697,-1067,-252,435,846,1159,1384,1621,1900,1527,890,456,8,-889,-1613,-1403,-1343,-1400,-946,-468,-380,-365,134,494,459,424,183,83,438,600,197,-248,-312,-370,-649,-776,-705,-679,-697,-692,-599,-416,-251,-110,-36,-37,-53,-91,-176,-306,-376,-378,-356,-310,-308,-324,-302,-247,-164,-116,-111,-91,-89,-74,-19,19,22,-20,-49,-37,-44,-91,-144,-163,-154,-127,-108,-129,-162,-131,-64,-28,-33,-82,-114,-93,-68,-62,-70,-102,-147,-163,-133,-84,-55,-63,-103,-119,-111,-85,-16},{111,-98,33,95,114,5439,8287,6020,-11501,-29325,-4120,22499,21443,17590,6069,-2267,-1554,1979,2393,-5945,-9789,-9753,-7760,-4506,-4845,-2887,-1500,-778,1223,2434,4344,3389,2351,3194,2354,883,-237,-463,-848,-433,-378,-2525,-3681,-3114,-1509,-323,-152,100,581,1265,1611,1483,655,-421,-221,275,248,297,-439,-1047,-602,-123,-214,-1125,-1983,-1915,-1031,-521,-688,-543,-138,326,506,261,248,559,651,436,224,-13,-336,-539,-508,-308,-228,-368,-475,-490,-355,-127,19,48,-32,-17,55,67,142,216,194,22,-192,-245,-233,-181,-195,-323,-350,-318,-231,-125,-115,-153,-113,-62,-86,-81,-70,-76,-69,-49,-79,-125,-111,-93,-88,-81,-68,-57,-34,-11,8,-18,-62,-66,-44,-6,8,18,1,-5}}, // azimuth 48 degrees + {{-1,-2,3,-1,2,-2,3,0,2,1,-5,12,-24,22,-26,24,-12,320,1448,1968,1734,-2162,-6869,-4362,1165,5439,7714,5775,2873,1624,1393,944,52,-620,-1569,-2012,-1856,-2005,-1813,-1615,-1577,-996,-196,477,782,986,1197,1319,1544,1365,839,381,-60,-822,-1624,-1544,-1136,-1059,-851,-566,-395,-42,333,448,446,249,-95,-35,426,497,21,-298,-236,-304,-624,-726,-630,-665,-700,-610,-484,-359,-227,-81,1,-29,-115,-158,-225,-369,-396,-360,-386,-403,-342,-233,-191,-205,-173,-116,-83,-49,-28,-18,-14,1,-4,-59,-103,-126,-130,-143,-156,-138,-106,-86,-90,-104,-116,-95,-41,-1,-14,-70,-114,-100,-86,-92,-100,-128,-158,-178,-148,-109,-58,-40,-58,-89,-127,-32},{130,-254,367,-443,2609,7869,8437,-1416,-25988,-19397,15706,23353,18291,11113,818,-1378,233,4145,-1236,-9789,-10466,-8761,-5312,-5244,-4584,-2303,-2012,238,1867,3985,4616,2722,3235,3224,1623,49,-398,-661,-855,-296,-1642,-3407,-3733,-2382,-581,-310,-228,340,1105,1778,1734,755,-167,-85,251,317,300,-300,-1057,-883,-418,-413,-1062,-1811,-1774,-1049,-498,-429,-317,-178,200,538,292,10,198,615,591,253,-6,-226,-430,-531,-383,-211,-282,-424,-464,-375,-179,-5,92,51,-40,1,53,89,176,188,43,-195,-303,-256,-174,-119,-215,-308,-297,-236,-170,-127,-105,-101,-70,-92,-99,-103,-123,-86,-82,-121,-152,-109,-58,-62,-87,-77,-44,-30,-15,10,20,-28,-60,-77,-52,-9,13,10,-48,-17}}, // azimuth 56 degrees + {{-5,0,-1,0,-1,1,-4,2,-1,2,-2,-3,10,-24,18,-24,33,-19,336,1350,1869,1640,-2265,-6561,-3967,1338,5222,6936,5212,2807,1651,1388,1028,263,-457,-1264,-1635,-1766,-1885,-1473,-1267,-1325,-946,-217,435,534,602,871,1071,1302,1168,764,355,-296,-966,-1214,-1106,-1037,-1023,-757,-461,-279,154,449,244,11,16,26,9,216,285,-18,-208,-183,-293,-561,-665,-641,-676,-627,-471,-369,-324,-226,-83,-19,-73,-174,-237,-283,-354,-396,-401,-395,-364,-287,-201,-170,-174,-158,-107,-47,1,17,-12,-49,-61,-69,-111,-161,-188,-169,-131,-118,-99,-80,-71,-77,-90,-85,-57,-11,10,-17,-81,-133,-136,-113,-105,-113,-143,-184,-180,-154,-97,-51,-25,-41,-100,-29},{-77,34,60,30,5178,9011,6579,-12986,-29405,-2160,23342,19963,14811,5826,-233,-740,2702,4191,-5591,-11091,-9953,-7158,-5161,-5649,-3206,-2755,-2146,686,2675,4838,3713,3161,4093,2823,966,-55,-306,-1019,-597,-825,-2768,-3851,-3340,-1365,-561,-617,65,772,1450,1855,1252,242,-23,164,407,441,-89,-913,-990,-609,-695,-1111,-1623,-1627,-1204,-703,-300,-97,5,77,358,405,75,-38,294,562,338,58,-116,-352,-507,-423,-202,-188,-372,-462,-391,-240,-71,88,128,16,-61,-7,45,117,184,91,-142,-347,-354,-254,-123,-119,-225,-241,-228,-195,-139,-75,-82,-78,-65,-112,-137,-166,-124,-111,-174,-195,-148,-67,-54,-83,-83,-37,-29,-35,-6,25,8,-33,-55,-72,-44,-21,-10,-46,-83,-20}}, // azimuth 64 degrees + {{-3,-3,0,-2,2,-1,0,-3,3,-5,4,-4,4,0,-19,14,-16,38,-33,470,1377,1891,1280,-3188,-6429,-2873,2234,5437,6165,4401,2467,1573,1469,1076,357,-472,-1234,-1282,-1392,-1531,-1185,-1099,-1204,-1023,-368,242,203,278,702,962,1060,1082,628,-61,-188,-326,-849,-1177,-1071,-762,-616,-456,-70,145,-8,-91,40,71,-6,1,93,113,5,-43,-99,-388,-622,-631,-600,-597,-520,-357,-304,-309,-250,-138,-59,-128,-225,-271,-330,-393,-390,-308,-296,-356,-306,-190,-137,-134,-117,-64,-24,3,-1,-52,-111,-139,-143,-154,-170,-173,-148,-107,-83,-70,-61,-68,-76,-74,-52,-21,-4,-9,-56,-114,-153,-146,-121,-122,-130,-152,-172,-174,-142,-97,-41,-18,-44,-14},{-186,268,-316,1090,6743,9545,2408,-21712,-24146,9679,23265,17373,12141,3496,-533,-319,4989,2570,-8297,-10668,-8833,-6441,-6115,-5136,-2478,-3299,-1827,716,3219,4617,3022,3847,4444,2691,705,177,-106,-1078,-752,-1593,-3285,-4044,-2777,-798,-935,-723,391,1113,1558,1480,843,257,101,401,643,247,-532,-1081,-709,-662,-1275,-1551,-1569,-1298,-936,-455,-77,76,159,268,428,256,-64,-37,333,451,156,-66,-226,-475,-496,-231,-86,-229,-438,-438,-301,-161,7,133,129,2,-61,-13,34,150,151,-44,-280,-415,-353,-244,-142,-141,-176,-163,-179,-155,-86,-42,-45,-40,-84,-135,-179,-182,-132,-188,-235,-204,-115,-63,-91,-102,-56,-3,-22,-23,15,18,-22,-34,-32,-34,-32,-42,-46,-89,-81,-13}}, // azimuth 72 degrees + {{1,-2,0,-1,1,1,1,-1,1,3,-3,7,-6,13,-15,1,10,9,6,25,787,1546,1974,89,-4980,-5675,-674,3666,5645,5222,3477,2004,1521,1578,897,188,-393,-904,-991,-1317,-1339,-1063,-1178,-1293,-1146,-443,108,19,144,643,1064,892,580,666,504,26,-399,-807,-1091,-1032,-639,-376,-491,-491,-194,51,33,-23,36,56,53,7,46,169,55,-282,-569,-600,-534,-518,-502,-412,-295,-307,-326,-281,-178,-87,-152,-271,-368,-371,-286,-245,-254,-330,-365,-259,-148,-87,-74,-71,-55,-52,-35,-54,-134,-184,-182,-144,-129,-145,-130,-105,-72,-54,-62,-53,-52,-58,-52,-37,-21,-22,-42,-79,-130,-160,-150,-127,-107,-109,-143,-168,-155,-121,-73,-28,-12,-2},{-175,306,-439,1872,7545,9585,-1731,-25298,-17597,14756,21040,15716,10743,2727,-823,459,6138,886,-9334,-9683,-7639,-6370,-6816,-4652,-2523,-3598,-1536,935,3372,3731,2702,4297,4297,2595,1021,604,-53,-801,-788,-2255,-3572,-3786,-2253,-994,-1289,-468,506,1047,1418,1203,615,147,298,753,663,11,-686,-891,-583,-922,-1540,-1644,-1405,-1147,-783,-204,-6,103,227,372,452,145,-106,-52,294,392,97,-144,-337,-481,-407,-126,-35,-254,-427,-397,-275,-122,46,143,112,-11,-47,-3,56,142,74,-123,-336,-427,-352,-240,-150,-153,-137,-125,-135,-105,-50,-4,-11,-25,-98,-152,-186,-173,-157,-242,-251,-192,-115,-94,-122,-98,-36,-1,-16,9,34,3,-38,-33,-16,-10,-14,-29,-58,-109,-77,-10}}, // azimuth 80 degrees + {{0,-1,-2,0,-2,2,-1,-1,-3,4,-4,3,-5,1,3,-13,21,-3,23,-56,390,1280,1880,1346,-2962,-6275,-2774,2307,4875,5330,4120,2576,1590,1553,1412,653,129,-370,-882,-1258,-1420,-1202,-1181,-1458,-1448,-863,-202,-85,-63,454,793,556,847,1294,856,219,-126,-441,-977,-1119,-641,-546,-933,-920,-305,70,-2,2,56,60,117,167,98,31,33,-102,-412,-641,-584,-415,-402,-438,-371,-296,-342,-377,-250,-143,-170,-260,-325,-302,-253,-206,-223,-317,-348,-267,-152,-90,-72,-67,-88,-105,-103,-117,-163,-197,-175,-131,-121,-125,-100,-69,-61,-74,-66,-35,-34,-50,-68,-67,-39,-35,-48,-73,-125,-157,-157,-125,-88,-94,-108,-138,-155,-139,-104,-41,-15,-5},{-144,267,-416,1981,7647,9509,-3475,-25172,-14319,14894,19022,14998,10712,2753,-909,1142,6238,135,-9152,-8749,-6752,-6333,-7003,-4675,-2924,-3780,-1587,962,3369,3138,2270,4304,4183,2399,1316,1211,236,-710,-732,-2176,-3671,-3646,-1892,-1318,-1568,-350,445,857,1113,963,468,65,458,918,645,-58,-592,-651,-569,-1060,-1565,-1605,-1332,-1097,-717,-114,-10,68,254,409,427,108,-117,-88,233,358,116,-171,-390,-436,-345,-118,-59,-231,-371,-388,-280,-132,51,132,71,-8,-22,14,63,112,24,-160,-342,-418,-374,-257,-140,-150,-149,-132,-105,-67,-30,15,8,-27,-94,-137,-179,-181,-190,-253,-244,-198,-144,-133,-135,-100,-43,-8,-16,16,39,1,-42,-40,-14,6,8,-4,-52,-106,-67,-8}}, // azimuth 88 degrees + {{0,-1,-2,1,-1,2,0,1,-2,5,-2,4,-3,-3,5,-10,29,-7,23,-54,264,1181,1872,1609,-2269,-6185,-3482,1741,4500,5226,4464,2966,1789,1647,1477,762,247,-263,-733,-1265,-1604,-1390,-1344,-1494,-1504,-983,-202,-159,-74,350,338,692,1423,1354,828,502,79,-574,-874,-716,-805,-1118,-1181,-814,-350,-159,-25,55,114,172,188,284,245,-15,-180,-87,-218,-611,-639,-431,-338,-358,-390,-369,-379,-356,-264,-218,-239,-261,-221,-205,-233,-224,-240,-279,-271,-204,-116,-96,-120,-117,-117,-142,-166,-186,-188,-158,-133,-127,-121,-99,-61,-43,-46,-65,-64,-31,-30,-53,-72,-73,-54,-52,-61,-76,-115,-146,-139,-107,-76,-65,-68,-107,-152,-150,-105,-50,-26,-6},{-127,229,-347,1486,7013,9664,-2284,-23111,-14868,11918,17619,15072,11617,3373,-805,1415,6014,505,-8415,-8181,-6090,-6112,-6813,-4910,-3415,-4008,-1922,609,3021,3022,2069,3882,4008,2438,1422,1454,721,-462,-686,-1841,-3210,-3409,-2072,-1483,-1531,-582,87,737,952,585,249,141,505,867,678,104,-397,-527,-460,-964,-1475,-1552,-1337,-1054,-774,-200,-13,50,234,370,457,150,-153,-133,174,354,178,-117,-384,-432,-303,-115,-81,-225,-343,-356,-277,-170,9,115,66,-3,0,31,55,89,22,-133,-329,-411,-367,-276,-150,-140,-151,-152,-112,-42,-14,15,14,-8,-65,-106,-150,-179,-200,-243,-235,-211,-160,-147,-146,-103,-55,-22,-21,14,39,3,-31,-26,-6,20,30,15,-23,-70,-53,-8}}, // azimuth 96 degrees + {{0,-1,-1,-1,-1,1,-1,1,-1,4,-2,6,-7,-3,-4,-5,31,-9,16,-55,367,1320,2054,1354,-3158,-6383,-2730,2381,4731,5167,4366,3059,2005,1806,1394,347,-163,-382,-864,-1415,-1639,-1568,-1620,-1621,-1290,-628,-168,0,68,-124,450,1472,1474,1028,845,577,-161,-654,-549,-739,-1233,-1415,-1015,-556,-475,-300,-103,36,272,346,273,219,226,95,-125,-224,-359,-508,-577,-500,-342,-317,-382,-436,-400,-321,-285,-259,-241,-226,-210,-175,-180,-271,-278,-199,-158,-121,-106,-130,-174,-201,-189,-203,-225,-197,-143,-127,-145,-135,-105,-64,-38,-47,-51,-47,-39,-49,-60,-61,-79,-86,-82,-70,-64,-82,-113,-141,-135,-94,-47,-29,-55,-112,-151,-151,-98,-44,-43,-12},{-105,155,-193,600,5406,9717,1680,-18774,-18240,5718,16050,15629,13353,4928,-531,1093,5633,2141,-6901,-8207,-5754,-5602,-6535,-5217,-3656,-4295,-2642,-93,2277,3010,1970,3417,3917,2498,1594,1518,958,-259,-368,-1289,-2707,-2926,-2172,-1680,-1558,-869,-329,407,835,346,-18,148,413,715,803,345,-172,-440,-315,-649,-1301,-1464,-1356,-1131,-886,-376,-90,-9,192,331,465,233,-129,-192,60,327,276,4,-334,-453,-310,-112,-75,-223,-355,-353,-265,-206,-66,66,71,22,-7,31,37,63,51,-77,-266,-389,-363,-289,-193,-154,-147,-156,-144,-75,-27,5,6,10,-28,-78,-121,-156,-184,-244,-241,-219,-176,-149,-155,-127,-77,-41,-42,-12,18,3,-24,-16,12,26,34,26,6,-41,-56,-12}}, // azimuth 104 degrees + {{1,-4,-2,-1,2,-1,0,-1,2,3,-2,5,-8,5,-15,13,12,5,-2,7,753,1783,2274,-211,-5498,-5769,-222,4018,5268,4971,3878,2558,2046,2022,947,-153,-571,-965,-1305,-1682,-1722,-1599,-1776,-1652,-907,-101,188,103,-225,154,1345,1585,1177,959,645,89,-349,-354,-636,-1224,-1519,-1211,-595,-463,-504,-375,-175,214,451,370,222,151,179,179,1,-309,-482,-538,-556,-422,-345,-408,-445,-418,-360,-319,-281,-220,-173,-205,-229,-212,-221,-203,-172,-126,-76,-96,-133,-174,-220,-260,-288,-262,-198,-122,-111,-146,-147,-113,-56,-36,-43,-53,-53,-38,-33,-48,-68,-76,-96,-111,-88,-56,-53,-71,-108,-125,-109,-64,-14,-29,-69,-127,-141,-117,-61,-24,-79,-27},{-37,18,27,-73,3057,8567,6380,-11218,-20656,-3566,12324,15839,15535,7799,206,339,4748,4285,-4015,-8192,-6072,-5027,-5976,-5605,-3802,-4183,-3577,-1129,1172,2816,1985,2655,3916,2803,1736,1569,1188,-193,-328,-475,-1960,-2522,-2084,-1629,-1607,-1295,-706,34,591,179,-204,84,241,448,881,673,68,-339,-189,-240,-975,-1358,-1329,-1194,-1031,-628,-249,-96,134,262,407,312,-42,-187,-44,246,318,146,-181,-437,-361,-128,-49,-206,-348,-350,-301,-247,-123,0,34,37,10,8,4,36,77,0,-166,-317,-343,-306,-232,-180,-162,-160,-166,-109,-64,-31,-13,16,3,-52,-69,-114,-157,-217,-253,-232,-188,-141,-139,-146,-116,-66,-55,-39,-6,1,-16,-14,23,39,36,39,23,-36,-45,-7}}, // azimuth 112 degrees + {{-3,0,-1,-1,2,-1,-2,-2,4,-3,5,-6,2,-6,-6,19,-8,23,-42,403,1545,2505,1110,-4217,-6910,-2207,3390,5461,5455,4356,2714,1961,2223,1516,206,-435,-991,-1602,-2072,-2020,-1702,-1791,-1722,-1114,-297,263,431,-2,-58,1261,1798,1173,981,712,62,-267,-216,-545,-1184,-1524,-1307,-698,-430,-425,-444,-403,69,492,406,186,117,125,173,155,-68,-299,-475,-588,-478,-396,-472,-495,-467,-432,-362,-253,-175,-167,-179,-214,-280,-261,-155,-80,-53,-87,-113,-130,-182,-221,-298,-351,-282,-180,-144,-159,-162,-130,-88,-60,-47,-45,-48,-58,-58,-56,-57,-55,-71,-115,-130,-100,-72,-50,-58,-67,-89,-92,-58,-42,-42,-75,-114,-143,-103,-59,-37,-59,-137,-40},{32,-66,101,-155,872,5610,8982,-1260,-17692,-13613,4233,14134,17191,12197,2439,-491,3024,5511,362,-6749,-6959,-4910,-5219,-5718,-4331,-3737,-4058,-2402,-229,2011,2279,1839,3310,3284,2159,1701,1378,117,-578,-91,-1021,-1907,-1842,-1674,-1467,-1473,-1202,-427,298,93,-391,-125,196,246,646,880,444,-139,-194,76,-434,-1202,-1322,-1137,-1043,-909,-571,-249,43,201,327,352,59,-162,-105,118,271,234,5,-276,-352,-212,-63,-151,-316,-343,-322,-290,-203,-80,-12,9,4,1,-17,-14,70,78,-44,-220,-300,-289,-262,-200,-190,-191,-168,-131,-90,-81,-66,-12,16,-24,-35,-63,-126,-179,-228,-233,-199,-139,-123,-151,-150,-98,-62,-60,-33,-7,-14,-23,11,47,54,39,8,-5,-8,-2}}, // azimuth 120 degrees + {{-3,-2,-2,1,-3,-1,-3,3,0,3,-4,-3,-2,-13,14,-10,20,-34,258,1451,2717,1571,-3803,-7355,-3138,3191,5868,5933,4638,2678,1818,2175,1615,290,-319,-794,-1588,-2258,-2380,-2157,-2077,-1832,-1160,-277,296,533,233,30,1318,1999,1226,983,689,-36,-286,-203,-514,-1199,-1572,-1353,-706,-331,-407,-449,-389,-3,482,430,172,71,39,100,82,-47,-124,-285,-456,-409,-401,-564,-612,-520,-476,-454,-324,-134,-45,-142,-319,-296,-169,-138,-69,-18,-52,-125,-180,-172,-250,-360,-335,-221,-167,-200,-206,-186,-153,-77,-45,-43,-43,-63,-49,-57,-89,-93,-82,-91,-123,-133,-107,-70,-62,-65,-72,-67,-43,-20,-29,-65,-98,-144,-150,-119,-56,-37,-57,-112,-171,-44},{17,-15,0,27,-61,2048,7350,6722,-7633,-17833,-7821,7696,16407,16603,7550,-32,800,4594,4253,-2499,-7121,-5641,-4577,-5324,-4998,-3732,-3769,-3421,-1653,481,2148,1719,2120,3196,2693,2156,1678,566,-593,-248,-325,-1244,-1244,-1540,-1619,-1364,-1411,-940,-159,-69,-464,-339,21,211,466,716,675,232,-72,125,0,-752,-1237,-1108,-930,-970,-869,-582,-177,128,208,295,140,-118,-138,-13,188,262,146,-80,-239,-216,-133,-120,-248,-335,-309,-295,-274,-201,-110,-50,-22,-30,-31,-31,17,96,58,-80,-221,-265,-257,-233,-210,-209,-179,-140,-104,-115,-134,-90,-13,5,-22,-30,-91,-150,-172,-198,-201,-169,-130,-131,-146,-130,-95,-84,-59,-24,-18,-29,-20,30,51,22,3,30,45,10}}, // azimuth 128 degrees + {{-1,-1,1,-2,0,-3,3,0,3,-1,-3,-2,-11,10,-9,19,-26,244,1551,3015,1573,-4254,-7760,-3133,3614,6463,6420,4717,2435,1699,2200,1535,89,-464,-853,-1655,-2271,-2381,-2293,-2356,-2198,-1394,-225,364,589,564,200,1199,2237,1549,948,544,-79,-281,-377,-666,-1113,-1530,-1512,-854,-197,-180,-416,-425,49,566,443,169,91,11,-23,-27,-90,-211,-262,-252,-255,-359,-545,-600,-599,-610,-515,-334,-146,-64,-148,-237,-217,-167,-95,-6,-9,-98,-148,-163,-233,-323,-323,-238,-197,-224,-222,-188,-173,-156,-121,-72,-43,-24,-9,-47,-84,-93,-89,-98,-135,-162,-149,-108,-68,-49,-60,-77,-74,-21,14,4,-32,-103,-153,-167,-126,-93,-63,-63,-83,-125,-175,-44},{-12,15,-15,9,-13,131,3033,7941,3891,-10813,-16380,-4652,10310,17772,14259,4303,-410,1916,4935,2893,-3928,-6594,-4732,-4504,-5126,-4427,-3442,-3541,-2913,-1144,896,1852,1422,2188,2816,2588,2309,1183,-204,-533,-156,-594,-694,-896,-1726,-1518,-1296,-1216,-617,-407,-687,-485,-27,50,321,653,621,393,195,233,166,-369,-852,-912,-870,-889,-907,-805,-583,-202,108,161,122,-52,-154,-115,30,262,270,85,-97,-131,-101,-134,-189,-270,-296,-294,-303,-293,-254,-178,-91,-39,-45,-46,-31,41,99,46,-72,-197,-263,-258,-197,-181,-194,-175,-143,-119,-145,-146,-98,-30,-9,-29,-55,-110,-133,-149,-183,-181,-136,-106,-118,-144,-141,-118,-95,-47,-22,-32,-32,-3,18,7,13,57,72,15}}, // azimuth 136 degrees + {{0,4,-2,-2,-1,4,1,5,-3,-2,-2,-11,9,-8,18,-23,337,1939,3425,979,-5599,-8083,-2057,4924,7312,6666,4316,1959,1724,2298,1275,-306,-790,-1108,-1913,-2478,-2354,-2229,-2434,-2224,-1387,-309,237,599,858,459,1192,2331,1722,924,514,-59,-346,-552,-834,-1181,-1512,-1495,-975,-256,-57,-277,-307,110,597,510,237,107,-32,-84,-67,-123,-301,-338,-250,-236,-309,-476,-532,-547,-651,-612,-364,-119,-117,-211,-175,-107,-62,-24,-5,-33,-113,-162,-216,-304,-299,-222,-193,-236,-273,-224,-151,-139,-156,-127,-97,-76,-25,7,-21,-76,-93,-91,-100,-128,-168,-180,-148,-81,-38,-55,-80,-48,-2,14,10,-17,-71,-130,-149,-140,-112,-88,-78,-101,-118,-123,-116,-26},{-7,-8,10,-9,5,-16,281,3602,7769,1988,-11886,-15271,-2782,12081,17607,11930,2876,-170,2344,4887,2009,-4413,-5822,-4130,-4372,-4857,-4042,-3147,-3303,-2611,-804,952,1465,1230,2040,2613,2745,2128,529,-363,-367,-296,-186,-166,-1220,-1819,-1308,-1199,-956,-702,-948,-861,-223,133,219,461,574,460,293,316,328,-44,-562,-645,-509,-648,-873,-934,-758,-552,-324,-84,13,-30,-141,-138,-81,96,287,261,121,-16,-42,-72,-127,-169,-241,-296,-338,-353,-344,-292,-205,-122,-83,-52,-26,-21,46,100,63,-58,-191,-236,-209,-159,-168,-195,-186,-152,-121,-131,-143,-112,-51,-29,-38,-57,-105,-138,-151,-141,-109,-91,-103,-130,-153,-160,-125,-73,-37,-25,-22,-7,-15,-15,18,57,68,15}}, // azimuth 144 degrees + {{1,-3,-3,-2,3,0,3,-4,-2,-5,-8,4,-12,18,-21,477,2440,3778,77,-7101,-8223,-766,6327,8190,6797,3782,1556,1900,2435,909,-790,-1140,-1441,-2214,-2652,-2374,-2269,-2500,-2125,-1201,-166,231,428,937,778,1047,2077,1987,1104,394,-53,-250,-711,-1145,-1207,-1437,-1621,-1157,-276,47,-223,-210,217,624,590,387,200,-114,-203,-55,-76,-291,-387,-359,-392,-453,-453,-429,-545,-684,-579,-329,-179,-110,-105,-172,-142,11,118,61,-93,-192,-231,-269,-261,-222,-247,-291,-283,-231,-180,-183,-181,-137,-102,-91,-70,-27,-32,-69,-71,-58,-67,-110,-156,-181,-191,-165,-114,-90,-86,-73,-51,-17,12,16,-24,-81,-118,-128,-123,-113,-98,-110,-131,-144,-128,-83,-50,-10},{-16,3,-12,8,-8,1,-9,333,3690,7353,1275,-11874,-14632,-1884,12582,16633,10551,2634,-20,2331,4777,1594,-4290,-5063,-3681,-4171,-4608,-3726,-2885,-3168,-2429,-661,759,1135,1059,1871,2603,2742,1684,258,-221,-432,-53,471,-277,-1585,-1639,-1163,-1091,-924,-1069,-1201,-702,-110,279,551,457,269,341,428,402,145,-220,-424,-334,-213,-433,-861,-1047,-788,-536,-480,-376,-215,-125,-96,-78,-22,121,220,271,246,115,-4,-80,-84,-131,-253,-354,-400,-391,-376,-321,-240,-168,-100,-52,-25,-15,40,109,90,-38,-164,-200,-179,-157,-180,-194,-184,-153,-111,-114,-135,-125,-64,-37,-58,-77,-106,-138,-132,-82,-64,-87,-122,-141,-156,-155,-110,-66,-36,-17,8,-11,-41,-19,24,55,15}}, // azimuth 152 degrees + {{-1,-3,-1,5,1,4,-6,-2,-4,-5,4,-11,18,-11,736,3141,3984,-1386,-8841,-7905,1124,7987,8993,6637,3021,1215,2227,2547,399,-1343,-1509,-1867,-2606,-2821,-2374,-2297,-2545,-2052,-972,98,405,534,1054,1001,930,1612,1920,1240,472,73,-324,-896,-1232,-1230,-1441,-1644,-1279,-476,49,-26,-81,240,580,664,579,284,-98,-208,-71,-35,-223,-361,-446,-555,-570,-518,-524,-657,-697,-542,-264,21,7,-190,-185,5,151,135,30,-82,-212,-272,-215,-191,-271,-345,-322,-272,-236,-198,-186,-160,-128,-96,-49,-18,-17,-45,-79,-85,-60,-55,-84,-142,-196,-196,-154,-111,-101,-105,-101,-79,-32,18,19,-26,-81,-115,-117,-96,-69,-77,-107,-141,-140,-131,-88,-37,-63,-21},{-1,-15,3,-12,9,-9,2,-7,305,3423,6884,1347,-11151,-14103,-1877,11920,15408,9977,2948,64,2136,4571,1498,-3775,-4351,-3288,-3896,-4343,-3463,-2712,-3061,-2319,-745,462,886,896,1750,2534,2471,1386,302,-227,-313,585,668,-655,-1593,-1468,-1105,-1020,-1104,-1384,-1171,-535,-48,452,689,380,57,232,556,441,8,-239,-202,-80,-84,-313,-770,-1102,-969,-702,-552,-527,-461,-223,-28,26,46,119,157,233,350,272,52,-118,-144,-151,-249,-360,-436,-470,-444,-324,-224,-195,-157,-103,-28,36,81,94,51,-36,-121,-160,-175,-188,-203,-194,-159,-131,-126,-123,-119,-111,-74,-68,-97,-92,-87,-120,-131,-96,-75,-83,-102,-130,-149,-145,-111,-65,-30,3,-11,-64,-57,-5,21,6}}, // azimuth 160 degrees + {{-4,0,6,-1,3,-8,-2,-7,-2,2,-11,18,9,1119,3968,3912,-3305,-10513,-7070,3402,9709,9595,6139,2129,1069,2701,2536,-290,-1934,-1863,-2306,-3013,-2978,-2405,-2395,-2521,-1844,-765,238,598,807,1279,1350,953,946,1536,1348,488,135,-240,-1049,-1393,-1189,-1358,-1685,-1365,-591,-81,9,80,325,520,645,650,289,-63,-45,112,-13,-306,-400,-449,-532,-625,-694,-743,-838,-798,-488,-53,107,-48,-128,-14,135,181,144,47,-122,-207,-147,-156,-304,-383,-330,-313,-337,-296,-219,-179,-171,-108,-25,-32,-36,6,-5,-58,-98,-87,-74,-107,-150,-180,-179,-155,-110,-84,-107,-133,-115,-53,-3,-14,-60,-83,-109,-112,-77,-51,-53,-89,-110,-143,-148,-100,-51,-66,-107,-27},{3,0,-14,3,-11,9,-9,-1,-1,223,2914,6335,1933,-9753,-13575,-2715,10404,14141,9872,3598,257,1817,4240,1691,-2986,-3703,-2919,-3578,-4069,-3257,-2598,-2939,-2310,-966,152,673,783,1629,2302,2142,1308,331,-178,256,1009,382,-774,-1393,-1399,-1065,-1052,-1352,-1539,-1034,-376,59,476,568,329,130,258,499,420,52,-119,-62,-6,-59,-343,-676,-972,-1133,-987,-646,-490,-514,-352,-81,122,179,138,125,196,334,335,105,-147,-194,-175,-266,-382,-446,-455,-438,-364,-274,-210,-154,-83,-7,29,61,83,51,-33,-111,-146,-166,-176,-189,-182,-167,-149,-121,-95,-83,-112,-113,-91,-90,-79,-80,-121,-154,-130,-84,-48,-54,-101,-141,-145,-97,-56,-35,-31,-68,-87,-42,3,3}}, // azimuth 168 degrees + {{1,7,1,2,-9,0,-8,1,0,-8,16,53,1641,4845,3512,-5511,-11921,-5783,5862,11378,9932,5377,1279,1131,3255,2389,-1121,-2555,-2235,-2740,-3377,-3086,-2477,-2550,-2455,-1581,-469,364,676,1139,1575,1641,1156,498,862,1267,673,87,-343,-1105,-1397,-1135,-1299,-1681,-1443,-686,-137,43,135,330,486,612,629,230,-58,154,317,29,-309,-434,-458,-449,-652,-888,-992,-1020,-741,-279,-76,-99,-46,80,183,206,179,139,44,-16,-34,-123,-285,-366,-340,-344,-372,-384,-344,-262,-207,-140,-51,-21,-30,-1,29,20,-27,-90,-114,-104,-119,-172,-196,-175,-125,-80,-81,-109,-143,-123,-55,-38,-65,-80,-99,-128,-113,-63,-37,-38,-52,-91,-143,-149,-90,-43,-75,-115,-80,-12},{7,-1,1,-11,0,-10,4,-5,-7,7,127,2270,5654,2771,-7771,-12910,-4189,8274,12830,9967,4473,648,1425,3777,2052,-2041,-3107,-2589,-3202,-3722,-3139,-2549,-2759,-2362,-1268,-174,505,734,1421,1939,1870,1276,343,219,896,922,120,-567,-1218,-1398,-1066,-1151,-1584,-1558,-838,-222,109,314,374,354,401,519,312,124,185,168,25,-136,-258,-409,-568,-770,-1029,-1166,-908,-495,-359,-328,-153,100,216,189,157,181,231,208,102,-74,-208,-251,-297,-365,-411,-425,-418,-373,-297,-202,-120,-64,-25,-2,47,70,30,-46,-102,-116,-130,-148,-184,-205,-183,-128,-79,-79,-96,-126,-123,-88,-72,-69,-82,-123,-160,-131,-66,-28,-32,-65,-112,-144,-121,-63,-37,-76,-111,-79,-27,-3}}, // azimuth 176 degrees +}; +inline constexpr std::int16_t pcm48000_p60[19][2][hrir::taps]={ + {{15,-13,-20,72,-140,192,-168,2048,4291,4559,1860,-11770,-10843,7090,11493,9293,5204,1180,2378,3033,1959,-2864,-5803,-5495,-5309,-2995,-2561,-2953,-1594,-917,-48,692,1512,2036,1601,1685,1370,1224,686,-182,140,175,144,-435,-1470,-1987,-1989,-1367,-944,-408,188,543,608,306,379,691,673,453,156,-300,-530,-371,-200,-207,-173,-160,-343,-486,-624,-627,-534,-783,-1221,-1302,-749,-67,183,213,163,8,-76,-66,-8,33,58,79,-32,-242,-413,-436,-259,-95,-102,-191,-344,-435,-385,-299,-128,73,100,-9,-113,-141,-41,99,102,-39,-125,-134,-114,-55,-33,-58,-123,-209,-260,-245,-167,-70,-63,-132,-155,-146,-103,-42,-6,-1,-23,-69,-93,-34,23,21,-20,-89,-173,-198,-110,-14},{15,-13,-20,72,-140,192,-168,2048,4291,4559,1860,-11770,-10843,7090,11493,9293,5204,1180,2378,3033,1959,-2864,-5803,-5495,-5309,-2995,-2561,-2953,-1594,-917,-48,692,1512,2036,1601,1685,1370,1224,686,-182,140,175,144,-435,-1470,-1987,-1989,-1367,-944,-408,188,543,608,306,379,691,673,453,156,-300,-530,-371,-200,-207,-173,-160,-343,-486,-624,-627,-534,-783,-1221,-1302,-749,-67,183,213,163,8,-76,-66,-8,33,58,79,-32,-242,-413,-436,-259,-95,-102,-191,-344,-435,-385,-299,-128,73,100,-9,-113,-141,-41,99,102,-39,-125,-134,-114,-55,-33,-58,-123,-209,-260,-245,-167,-70,-63,-132,-155,-146,-103,-42,-6,-1,-23,-69,-93,-34,23,21,-20,-89,-173,-198,-110,-14}}, // azimuth 0 degrees + {{-33,30,-30,-2,40,-99,147,-91,2045,3808,4088,954,-10981,-8948,6304,10371,8989,4882,1168,2024,2886,1934,-2411,-4702,-4803,-4743,-2730,-2510,-2849,-1842,-1086,-207,389,1317,1904,1610,1678,1373,1222,667,-127,98,222,213,-424,-1315,-1751,-1791,-1264,-850,-463,-31,401,505,195,230,519,641,502,161,-230,-420,-298,-115,-191,-189,-103,-435,-697,-568,-445,-558,-869,-1070,-957,-604,-196,88,231,138,-135,-245,-146,-38,-20,-5,22,-43,-195,-336,-376,-302,-168,-92,-161,-311,-382,-351,-263,-132,43,107,-3,-86,-115,-71,28,54,-39,-118,-105,-91,-51,-10,-39,-115,-183,-237,-231,-161,-98,-81,-134,-172,-165,-89,-17,-13,-32,-39,-40,-57,-27,-4,3,-38,-72,-117,-179,-45},{16,-65,129,-190,231,-231,1846,4811,5085,3259,-11962,-13981,7091,13187,9694,5772,1216,2510,3295,2185,-2945,-6792,-6317,-5949,-3382,-2635,-3098,-1406,-675,88,886,1744,2315,1532,1536,1390,1251,669,-345,223,317,130,-347,-1520,-2238,-2253,-1511,-1012,-460,302,715,659,370,486,797,789,558,213,-405,-706,-552,-291,-51,-88,-244,-341,-426,-544,-538,-514,-886,-1473,-1551,-822,37,225,106,191,190,115,105,68,18,72,163,8,-338,-545,-458,-205,-69,-102,-170,-341,-460,-418,-304,-72,92,97,-19,-183,-194,-4,168,128,-29,-157,-201,-128,-18,18,-29,-153,-264,-287,-254,-162,-49,-52,-124,-131,-147,-130,-32,32,20,-21,-81,-111,-45,29,47,-14,-118,-186,-165,-79,-26,-3}}, // azimuth 10 degrees + {{17,-33,28,-27,7,20,-63,110,-23,1902,3342,3654,469,-9860,-7726,5282,9417,8565,4655,1238,1874,2783,1894,-1773,-3812,-4302,-4222,-2525,-2445,-2790,-1970,-1163,-382,179,1187,1789,1557,1624,1375,1144,637,15,140,250,210,-388,-1152,-1630,-1688,-1163,-840,-603,-172,330,369,-2,225,712,675,395,114,-190,-334,-261,-68,-115,-339,-374,-443,-523,-452,-465,-640,-803,-831,-689,-461,-282,-107,111,140,-80,-281,-291,-179,-98,-44,-4,-73,-222,-315,-317,-260,-184,-126,-138,-222,-286,-287,-225,-123,11,77,-9,-99,-107,-71,-22,-13,-63,-106,-85,-44,-8,9,-47,-124,-172,-205,-209,-172,-108,-95,-128,-169,-163,-88,-16,-6,-35,-37,-43,-48,-39,-12,-23,-38,-57,-118,-35},{-95,176,-227,229,-220,1359,5145,5550,4900,-10597,-17531,5448,14993,10041,6383,1695,2605,3336,2661,-2449,-7697,-7088,-6673,-4056,-2826,-3389,-1240,-435,289,1161,1788,2644,1716,1316,1250,1290,772,-525,118,443,231,-227,-1438,-2335,-2604,-1779,-1127,-536,300,765,767,442,579,943,919,663,318,-329,-864,-884,-400,-21,-139,-209,-278,-431,-556,-491,-375,-840,-1664,-1822,-892,132,188,19,289,342,219,186,136,84,107,178,-22,-393,-568,-475,-248,-112,-77,-111,-333,-511,-462,-233,12,75,74,-38,-219,-192,19,153,136,8,-213,-278,-157,-31,52,28,-141,-297,-349,-310,-162,-23,-11,-100,-170,-201,-125,19,64,37,-34,-112,-121,-58,16,34,-43,-137,-155,-122,-65,-34,-23,-5}}, // azimuth 20 degrees + {{-3,14,-29,26,-27,12,5,-36,78,35,1766,2960,3303,50,-9034,-6753,4616,8692,8053,4311,1317,1846,2645,1856,-1230,-3150,-3842,-3652,-2293,-2442,-2696,-1940,-1196,-525,40,1111,1642,1393,1511,1373,1124,643,149,191,242,179,-404,-1112,-1531,-1524,-1115,-931,-643,-240,37,236,294,450,624,535,302,65,-112,-199,-251,-249,-311,-345,-269,-366,-516,-464,-443,-581,-662,-635,-549,-477,-387,-168,72,118,-76,-289,-389,-321,-160,-99,-91,-118,-208,-281,-290,-203,-133,-131,-116,-133,-177,-221,-223,-133,-26,13,-46,-120,-125,-87,-54,-48,-75,-84,-51,-8,15,-4,-52,-112,-160,-191,-193,-164,-131,-113,-128,-152,-161,-98,-16,-1,-22,-59,-63,-56,-33,-24,-34,-50,-80,-22},{138,-167,134,-45,550,5019,6022,6478,-6721,-20828,566,16709,10859,7003,2580,2781,3373,2796,-758,-7939,-8229,-6993,-5059,-3271,-3874,-1463,-223,229,1574,1904,2765,2070,1351,1222,1083,927,-474,-132,436,279,97,-1198,-2345,-2794,-2127,-1347,-686,254,723,738,541,652,1036,1078,798,491,-197,-986,-1110,-428,-83,-383,-218,-132,-394,-518,-442,-378,-811,-1558,-1821,-1114,-93,259,136,241,436,395,179,94,167,200,196,-26,-371,-538,-510,-328,-138,-61,-104,-298,-501,-473,-194,33,105,106,-85,-238,-142,25,129,166,8,-256,-292,-185,-60,61,56,-116,-281,-353,-347,-209,-20,61,-64,-219,-245,-120,36,104,95,-21,-124,-142,-74,12,19,-58,-115,-110,-106,-75,-18,10,-16,-9}}, // azimuth 30 degrees + {{11,-4,10,-22,23,-27,17,-4,-13,52,92,1669,2678,3027,-401,-8524,-5911,4328,8205,7464,3878,1438,1890,2499,1780,-858,-2646,-3396,-3122,-2116,-2427,-2513,-1831,-1207,-607,-34,1005,1430,1234,1448,1399,1091,610,264,209,148,58,-460,-1014,-1386,-1443,-1111,-939,-853,-429,318,523,274,405,519,395,281,155,-43,-392,-575,-305,-44,-187,-431,-455,-384,-335,-408,-532,-530,-561,-575,-457,-333,-194,-9,44,-121,-282,-374,-416,-328,-186,-77,-91,-209,-259,-226,-139,-71,-65,-81,-113,-128,-163,-206,-173,-81,-38,-84,-143,-158,-114,-48,-22,-44,-58,-36,-7,11,5,-35,-89,-141,-182,-186,-165,-136,-127,-131,-138,-129,-75,-29,-17,-33,-52,-64,-56,-42,-32,-36,-56,-15},{37,-143,266,-245,3842,6475,7333,-356,-20801,-8958,16240,13230,7334,4086,2935,3697,2712,1245,-6428,-9498,-7499,-5917,-3855,-4652,-2399,-97,-196,1599,2270,2902,2498,1479,1471,1073,942,-352,-417,389,168,260,-662,-2036,-2985,-2586,-1533,-959,35,699,653,520,679,1077,1241,954,651,23,-964,-1208,-569,-194,-500,-407,-161,-278,-417,-460,-406,-733,-1380,-1642,-1224,-455,117,261,346,456,364,191,131,189,163,184,110,-262,-551,-573,-398,-184,-70,-102,-272,-471,-448,-180,-25,77,162,-55,-233,-157,-22,122,168,11,-241,-307,-228,-100,49,54,-93,-258,-363,-365,-239,-49,73,-58,-234,-241,-157,-10,103,124,17,-95,-143,-129,-46,-6,-29,-68,-89,-135,-109,-20,31,8,-58,-18}}, // azimuth 40 degrees + {{2,6,1,7,-18,22,-31,27,-18,14,18,198,1684,2497,2771,-1308,-8414,-4587,4690,7840,6666,3298,1592,1947,2373,1620,-729,-2310,-3036,-2625,-1933,-2378,-2273,-1671,-1160,-662,-51,990,1250,1080,1391,1400,991,506,266,106,28,-25,-451,-959,-1290,-1289,-1315,-1191,-497,79,322,354,290,312,371,468,366,-73,-478,-541,-302,-39,-95,-394,-471,-269,-187,-324,-472,-493,-466,-502,-513,-444,-337,-230,-104,-34,-138,-302,-441,-494,-375,-181,-58,-86,-179,-201,-154,-73,-23,-36,-72,-114,-133,-162,-208,-195,-127,-88,-126,-175,-166,-106,-21,17,-17,-48,-37,-10,11,6,-30,-72,-132,-183,-191,-171,-141,-133,-129,-116,-105,-76,-53,-42,-36,-48,-59,-71,-55,-36,-47,-13},{-215,317,-368,1719,6273,7460,5466,-14237,-19352,9372,17225,8100,5236,3529,4151,2692,2685,-2843,-10191,-8537,-6398,-4633,-4858,-4170,-620,-433,739,2406,3013,3214,1796,1607,1467,1144,16,-863,166,169,173,-208,-1507,-2729,-3083,-1999,-1130,-295,536,626,475,603,964,1353,1199,806,220,-861,-1051,-622,-473,-542,-532,-317,-267,-357,-449,-446,-668,-1164,-1425,-1152,-644,-192,188,474,520,297,162,128,175,174,153,169,-91,-453,-617,-510,-260,-90,-83,-204,-415,-453,-222,-61,52,133,4,-159,-181,-91,69,137,40,-161,-304,-277,-139,1,33,-32,-213,-364,-376,-277,-86,37,-38,-204,-245,-196,-73,81,123,49,-64,-133,-157,-106,-37,3,-12,-79,-143,-153,-47,33,31,-38,-102,-28}}, // azimuth 50 degrees + {{-6,8,1,3,-2,-10,16,-28,35,-37,49,-29,421,1808,2452,2341,-2987,-8356,-2424,5625,7474,5597,2663,1753,1977,2316,1307,-924,-2165,-2688,-2132,-1812,-2296,-2003,-1529,-1059,-604,46,987,1060,960,1332,1333,743,278,218,43,5,-88,-466,-876,-1396,-1494,-1075,-589,-231,25,225,259,237,303,441,321,-128,-354,-283,-252,-229,-185,-229,-323,-284,-147,-216,-427,-470,-347,-357,-505,-535,-448,-361,-281,-149,-97,-240,-394,-441,-425,-336,-156,-23,-54,-136,-139,-92,-44,-21,-35,-89,-158,-172,-173,-212,-219,-164,-121,-140,-173,-148,-78,-1,29,-6,-29,-21,-9,1,-11,-42,-77,-126,-177,-190,-169,-140,-129,-121,-114,-98,-68,-55,-45,-49,-55,-63,-66,-55,-55,-14},{-72,201,-156,4306,7359,8172,-2666,-22312,-6032,18036,12137,5632,4289,4425,3554,2590,1572,-7421,-10660,-7203,-5208,-4773,-5544,-2182,-633,-613,1860,2738,3502,2744,1838,1839,1458,960,-743,-526,169,13,86,-951,-2204,-3195,-2725,-1427,-664,240,596,404,557,826,1194,1398,1058,489,-627,-1037,-473,-506,-705,-619,-420,-337,-419,-455,-459,-615,-980,-1224,-1062,-675,-318,47,344,515,391,151,96,107,163,173,181,59,-302,-556,-577,-406,-164,-48,-99,-313,-450,-286,-105,-2,103,55,-69,-156,-165,-15,83,60,-55,-253,-306,-187,-55,-6,11,-93,-304,-387,-313,-146,-21,-16,-123,-229,-244,-153,27,124,83,-20,-121,-185,-154,-43,41,25,-63,-135,-157,-89,19,36,-10,-73,-103,-25}}, // azimuth 60 degrees + {{-1,-3,11,-3,10,-13,8,-4,-5,21,-28,60,-30,875,2002,2558,1081,-5662,-7235,1002,6751,6715,4155,2176,1921,2075,2258,606,-1384,-2090,-2246,-1752,-1876,-2127,-1737,-1335,-866,-511,241,962,891,903,1213,1108,435,146,204,51,31,-120,-703,-1262,-1177,-849,-737,-489,-233,-23,176,259,280,170,15,-18,-27,-88,-187,-323,-333,-165,-101,-251,-297,-215,-276,-349,-289,-266,-418,-563,-519,-443,-426,-332,-195,-215,-328,-352,-353,-358,-250,-64,27,-32,-104,-101,-59,-40,-52,-90,-155,-192,-189,-203,-243,-219,-136,-97,-133,-163,-118,-38,26,26,-7,-14,-3,-1,-21,-42,-56,-77,-128,-172,-174,-149,-136,-137,-122,-99,-73,-54,-48,-71,-72,-56,-52,-56,-68,-17},{155,-192,949,5897,8227,6577,-11327,-20889,5463,18120,8430,4867,4284,4548,2840,3212,-858,-9959,-9548,-6153,-4891,-5503,-4779,-1143,-1201,-248,2213,3111,3375,2259,2299,2087,1487,461,-702,-134,-146,18,-212,-1600,-2835,-3302,-2203,-1008,-260,382,451,415,662,980,1390,1280,787,-62,-946,-624,-356,-609,-692,-553,-365,-488,-564,-506,-534,-853,-1089,-970,-775,-418,63,259,273,384,331,134,8,72,189,186,127,-98,-408,-587,-529,-279,-91,-39,-154,-376,-361,-188,-53,60,52,7,-44,-172,-160,-11,64,42,-145,-299,-255,-126,-44,0,11,-178,-327,-327,-241,-99,-16,-34,-168,-258,-234,-86,72,112,49,-74,-189,-218,-103,42,75,-22,-114,-143,-105,-25,27,13,-42,-77,-98,-24}}, // azimuth 70 degrees + {{0,-4,7,2,6,-2,-9,14,-24,32,-27,43,-24,287,1544,2298,2300,-2410,-7892,-3037,5003,6956,5059,2741,2127,2080,2309,1689,-583,-1857,-1950,-1714,-1787,-2011,-1716,-1549,-1165,-670,-206,493,787,819,886,1054,823,239,119,191,189,-207,-660,-755,-874,-777,-625,-636,-540,-230,121,206,89,-127,-135,140,188,25,-116,-249,-299,-233,-111,-185,-386,-316,-142,-154,-239,-265,-346,-492,-528,-515,-553,-529,-374,-212,-207,-285,-322,-324,-240,-65,48,19,-54,-79,-66,-69,-101,-135,-174,-206,-214,-220,-248,-225,-135,-80,-100,-144,-138,-67,7,18,-8,-13,-3,-5,-14,-27,-55,-84,-112,-132,-143,-145,-150,-145,-123,-100,-73,-60,-58,-82,-87,-70,-48,-44,-80,-23},{216,-345,1842,6632,8735,3859,-15773,-16470,10572,16119,7015,4733,4268,4106,2875,3461,-2813,-10541,-8363,-5469,-5156,-5977,-3820,-1024,-1602,143,2111,3108,3137,2060,2508,2350,1652,171,-501,170,-156,-77,-593,-1992,-3255,-3291,-1737,-681,-187,261,453,526,613,1026,1477,1158,434,-401,-684,-422,-554,-538,-500,-486,-475,-596,-623,-586,-618,-981,-1040,-806,-610,-120,307,262,171,314,344,131,-84,24,206,191,65,-201,-479,-585,-439,-188,-49,-64,-219,-348,-286,-171,-29,70,24,15,-44,-185,-162,-43,54,29,-193,-310,-234,-122,-35,39,-15,-217,-300,-278,-195,-93,-10,-36,-199,-275,-219,-55,64,88,28,-118,-225,-205,-65,64,62,-51,-116,-111,-59,-3,17,-12,-61,-80,-97,-24}}, // azimuth 80 degrees + {{-1,-5,2,4,1,6,-16,15,-22,23,-8,17,9,88,1241,2174,2509,-983,-7294,-4751,3686,6836,5292,3015,2298,2277,2402,2059,-28,-1684,-1994,-1620,-1624,-2142,-1746,-1427,-1406,-905,-280,335,477,609,967,1033,813,410,293,219,-91,-236,-276,-580,-827,-600,-522,-703,-622,-304,-50,-56,-177,-187,-19,166,198,88,-18,-61,-157,-275,-300,-322,-383,-278,-74,-64,-209,-276,-279,-373,-498,-576,-663,-715,-531,-195,-86,-234,-360,-305,-140,0,49,25,-13,-55,-81,-105,-154,-199,-228,-233,-231,-236,-236,-203,-128,-69,-74,-120,-130,-85,-23,-6,-18,-29,-27,-10,-1,-10,-59,-103,-104,-99,-113,-137,-155,-144,-120,-98,-80,-78,-69,-88,-96,-86,-60,-57,-100,-29},{193,-329,1982,6766,8831,2480,-16252,-14272,10974,15073,6938,4780,4016,3821,3213,3405,-3273,-10195,-7711,-5035,-5345,-6179,-3644,-1130,-1709,-15,1965,2932,2759,2063,2576,2387,1827,403,-291,183,86,86,-926,-2338,-3353,-3193,-1552,-574,-305,112,463,553,567,935,1364,1068,301,-376,-413,-407,-728,-447,-241,-447,-607,-642,-640,-621,-694,-995,-1003,-810,-481,78,373,224,143,311,342,140,-109,-38,157,183,73,-232,-515,-559,-368,-156,-58,-69,-224,-330,-271,-173,-31,49,37,47,-57,-193,-163,-62,34,7,-188,-307,-257,-139,-27,59,-23,-202,-264,-263,-171,-76,-13,-39,-195,-273,-227,-73,47,73,6,-136,-226,-194,-62,44,35,-45,-77,-78,-41,11,15,-28,-82,-96,-85,-18}}, // azimuth 90 degrees + {{-3,-4,4,2,1,7,-14,12,-25,21,-9,21,3,87,1242,2238,2525,-1184,-7373,-4508,3915,6768,5018,2905,2425,2438,2559,2173,-52,-1718,-1992,-1771,-1743,-2127,-1869,-1472,-1295,-981,-362,409,464,429,931,1287,866,328,456,103,-373,-24,-92,-678,-786,-549,-520,-612,-518,-314,-279,-418,-317,28,131,82,119,141,154,64,-104,-256,-449,-529,-396,-161,-32,-86,-210,-257,-203,-271,-466,-632,-790,-819,-543,-157,-63,-256,-368,-246,-40,56,64,55,3,-64,-106,-142,-206,-271,-277,-254,-238,-232,-221,-172,-106,-54,-62,-105,-112,-93,-45,-19,-36,-56,-53,-17,0,-29,-67,-78,-69,-77,-110,-133,-141,-130,-109,-97,-89,-89,-80,-91,-97,-91,-84,-92,-111,-27},{154,-250,1415,6223,8781,3214,-14091,-15038,8185,15178,7690,4854,3764,3743,3563,3460,-2357,-9371,-7628,-4746,-5162,-6208,-4148,-1434,-1673,-464,1481,2767,2657,1792,2524,2506,1824,734,100,277,144,339,-702,-2495,-3487,-3020,-1432,-788,-569,82,415,400,505,830,1104,929,417,-90,-201,-438,-815,-404,-69,-341,-664,-682,-605,-608,-691,-981,-1015,-860,-497,94,355,260,185,274,315,183,-62,-104,69,174,107,-176,-472,-534,-373,-183,-62,-61,-204,-322,-293,-191,-59,26,42,70,-17,-182,-174,-72,10,-2,-170,-298,-281,-161,-35,51,1,-158,-232,-252,-173,-61,-4,-30,-177,-271,-236,-100,25,66,2,-134,-220,-189,-74,19,28,-19,-40,-52,-31,17,13,-39,-92,-105,-77,-13}}, // azimuth 100 degrees + {{-3,-6,8,-1,4,-1,-7,8,-26,30,-24,46,-39,285,1585,2536,2173,-3127,-7901,-2149,5629,6577,4188,2535,2519,2578,2707,1840,-578,-1959,-2016,-1817,-2167,-2380,-1736,-1506,-1339,-717,-79,404,474,641,1088,1241,886,536,130,-278,79,100,-532,-716,-707,-672,-527,-435,-419,-419,-461,-478,-203,120,165,64,82,264,240,-2,-109,-261,-560,-594,-309,-134,-161,-137,-119,-181,-209,-253,-430,-734,-889,-709,-394,-185,-189,-289,-294,-140,31,87,104,73,-11,-86,-145,-198,-271,-306,-274,-247,-242,-234,-205,-129,-58,-41,-75,-109,-99,-71,-34,-32,-71,-83,-63,-42,-37,-38,-31,-19,-40,-81,-113,-121,-107,-98,-97,-103,-103,-94,-83,-87,-90,-115,-113,-98,-105,-25},{64,-78,502,4805,8441,5335,-9535,-16788,2092,15143,9527,5049,3585,3635,3936,3714,-450,-7882,-8018,-4649,-4691,-5967,-4937,-2074,-1660,-1072,808,2270,2739,1778,2053,2541,2001,971,310,521,384,378,-331,-2037,-3398,-3108,-1449,-918,-939,-166,386,293,298,629,839,770,568,269,70,-355,-888,-476,66,-175,-642,-733,-558,-532,-633,-914,-1049,-934,-629,-83,265,296,245,237,266,229,25,-131,-21,141,146,-57,-367,-505,-410,-258,-99,-51,-187,-318,-319,-238,-117,0,44,64,36,-129,-191,-88,-14,1,-138,-300,-309,-200,-57,32,20,-105,-201,-236,-190,-72,3,-19,-153,-265,-254,-132,-9,41,3,-108,-203,-208,-119,-13,28,1,-16,-34,-33,-2,2,-35,-92,-108,-81,-16}}, // azimuth 110 degrees + {{-3,0,9,-3,11,-13,12,-12,-1,13,-11,47,-34,885,2248,2903,202,-6694,-6420,2622,7277,5526,3000,2359,2597,2736,2683,668,-1589,-2052,-1928,-2123,-2645,-2397,-1745,-1514,-1102,-386,430,587,481,1013,1371,1134,768,346,-186,-18,279,-269,-716,-893,-830,-555,-498,-454,-434,-463,-420,-218,23,82,75,121,281,330,53,-130,-141,-351,-574,-464,-220,-233,-308,-170,-31,-72,-225,-347,-554,-785,-720,-455,-279,-296,-339,-260,-146,-42,59,135,125,30,-56,-120,-200,-283,-294,-244,-233,-257,-260,-216,-144,-77,-39,-55,-103,-111,-69,-23,-23,-71,-97,-94,-86,-81,-50,-5,11,0,-48,-87,-92,-71,-66,-87,-105,-108,-102,-96,-80,-97,-114,-115,-106,-98,-97,-22},{-54,110,-135,2607,7196,7437,-2866,-16065,-6937,12108,12607,6071,3533,3253,4178,4081,1780,-5043,-8432,-5197,-3978,-5379,-5552,-3151,-1702,-1661,-179,1552,2581,2029,1671,2275,2118,1362,512,495,669,604,5,-1458,-2816,-3041,-1795,-1065,-1125,-582,109,283,183,294,473,594,685,605,353,-130,-772,-672,36,65,-491,-793,-588,-402,-507,-775,-1035,-1017,-805,-388,46,232,269,237,230,244,129,-70,-94,58,179,93,-213,-454,-450,-324,-182,-94,-158,-299,-344,-296,-207,-65,60,76,40,-63,-179,-117,-20,-8,-97,-274,-343,-254,-99,12,27,-58,-166,-211,-203,-110,-15,-23,-113,-224,-261,-184,-66,6,2,-64,-159,-219,-177,-59,19,15,-7,-23,-37,-34,-14,-29,-71,-104,-98,-21}}, // azimuth 120 degrees + {{-6,10,-2,7,-6,-1,6,-19,26,-34,57,-52,431,1953,3092,1822,-4839,-8222,-274,7182,6661,3638,2330,2519,2680,2941,1544,-1252,-2234,-1952,-2035,-2744,-2834,-2040,-1824,-1508,-606,297,726,685,1007,1348,1282,1030,477,-192,-15,472,-114,-745,-915,-987,-763,-587,-556,-546,-467,-372,-147,134,119,27,89,336,407,78,-166,-197,-322,-447,-377,-335,-388,-320,-236,-202,-81,-54,-262,-571,-726,-577,-356,-279,-362,-414,-302,-166,-68,7,92,138,70,-50,-158,-235,-272,-248,-208,-229,-272,-270,-220,-166,-108,-57,-68,-111,-114,-77,-43,-29,-55,-103,-119,-116,-105,-76,-37,-9,-8,-35,-71,-64,-27,-27,-81,-120,-119,-105,-90,-97,-120,-142,-121,-96,-93,-99,-90,-19},{-58,66,-74,511,4492,7851,3964,-9579,-14608,2402,14339,9373,4112,2780,3788,4485,3528,-881,-7124,-6789,-3736,-4258,-5555,-4539,-2196,-1807,-1372,415,2012,2344,1531,1880,2176,1595,970,512,633,767,510,-702,-2185,-2652,-1983,-1344,-1305,-960,-318,142,184,77,54,281,635,805,753,186,-524,-706,-175,192,-224,-698,-676,-382,-349,-554,-845,-1054,-974,-682,-308,-8,187,243,232,234,210,93,-71,-53,138,232,12,-335,-457,-385,-276,-186,-156,-235,-349,-360,-284,-162,11,123,67,-34,-130,-154,-39,-1,-67,-189,-315,-306,-177,-38,21,-6,-102,-176,-197,-163,-70,-23,-63,-156,-230,-232,-140,-30,-5,-40,-105,-174,-193,-119,-23,19,7,-16,-33,-54,-32,-21,-43,-80,-94,-22}}, // azimuth 130 degrees + {{6,1,4,0,-10,11,-25,29,-28,33,-22,220,1762,3281,2619,-3752,-8956,-2054,7084,7501,4079,2402,2486,2668,3038,1902,-1114,-2432,-2092,-2088,-2782,-3046,-2256,-1921,-1774,-966,113,817,798,1077,1568,1443,1036,617,-60,-163,485,154,-642,-1035,-1140,-794,-712,-773,-655,-526,-389,-163,219,307,129,130,366,470,127,-226,-261,-346,-444,-317,-300,-444,-434,-293,-203,-165,-156,-271,-521,-661,-478,-219,-189,-328,-395,-308,-186,-98,-49,41,118,57,-55,-200,-307,-269,-171,-143,-222,-286,-259,-206,-179,-137,-85,-72,-105,-128,-91,-59,-55,-68,-92,-110,-122,-110,-83,-65,-54,-43,-57,-73,-46,1,-2,-56,-106,-131,-120,-85,-85,-136,-164,-144,-110,-90,-73,-69,-73,-17},{44,-87,116,-147,1398,5663,7209,-41,-13061,-10113,8230,13564,6860,2867,2798,4236,4375,2618,-2968,-7303,-5078,-3255,-4495,-5283,-3589,-1808,-1946,-1057,812,2165,1894,1350,2042,1833,1241,850,584,712,699,152,-1305,-2223,-1861,-1474,-1444,-1282,-808,-136,157,-15,-200,-115,369,680,963,789,-167,-663,-321,180,-15,-504,-624,-467,-314,-398,-538,-816,-1057,-949,-649,-356,-80,133,221,256,234,218,102,-51,21,223,221,-98,-373,-440,-381,-273,-209,-198,-279,-366,-344,-251,-117,69,155,34,-97,-156,-124,-19,-3,-95,-223,-302,-262,-120,-17,10,-22,-114,-174,-187,-130,-49,-28,-86,-174,-219,-194,-98,-34,-42,-69,-101,-149,-147,-74,-13,10,-9,-25,-54,-60,-27,-16,-43,-68,-16}}, // azimuth 140 degrees + {{4,1,1,-14,14,-26,26,-26,20,-4,136,1726,3558,3085,-3463,-9503,-2771,7357,8095,4289,2428,2547,2766,3150,1980,-1361,-2778,-2210,-2165,-2954,-3300,-2327,-1887,-1899,-1077,58,763,783,1150,1685,1577,1223,774,-29,-348,450,383,-654,-1132,-1104,-853,-865,-882,-697,-640,-522,-205,220,409,302,290,474,528,219,-206,-407,-444,-357,-271,-390,-468,-424,-363,-291,-192,-177,-412,-673,-622,-280,-73,-137,-230,-266,-226,-163,-124,-74,5,66,17,-139,-297,-308,-206,-155,-170,-196,-207,-225,-237,-200,-136,-75,-67,-103,-117,-109,-96,-71,-66,-92,-117,-105,-81,-90,-87,-67,-63,-86,-92,-42,-2,-2,-42,-84,-117,-114,-80,-91,-127,-138,-134,-135,-100,-60,-28,-31,-66,-18},{6,14,-48,82,-91,2098,6035,6078,-3054,-13906,-5936,10799,12040,5220,2312,3083,4287,4146,1819,-4041,-6617,-3970,-3121,-4496,-4875,-2932,-1754,-2010,-848,1005,2105,1486,1373,1994,1493,1159,818,655,685,476,-248,-1467,-1646,-1442,-1541,-1373,-1191,-679,-14,11,-263,-400,-79,407,759,1110,596,-328,-495,9,216,-277,-559,-483,-345,-362,-441,-482,-748,-1006,-1007,-719,-386,-143,60,207,282,252,218,133,30,77,209,155,-139,-399,-476,-403,-292,-217,-203,-270,-352,-342,-219,-83,71,147,17,-143,-182,-115,-17,7,-92,-227,-284,-226,-96,-24,-9,-41,-111,-161,-167,-109,-50,-30,-87,-179,-209,-166,-98,-61,-51,-63,-100,-127,-102,-48,-11,-4,-18,-45,-73,-60,-22,-14,-28,-8}}, // azimuth 150 degrees + {{-1,1,-18,17,-30,25,-28,10,2,109,1822,3955,3413,-3753,-10166,-2766,8085,8529,4274,2415,2632,2927,3302,1888,-1840,-3239,-2352,-2300,-3196,-3491,-2411,-1925,-1903,-1026,151,851,739,1081,1717,1630,1248,950,291,-457,117,525,-518,-1336,-1202,-802,-890,-1006,-734,-603,-644,-440,104,501,440,391,581,622,339,-129,-471,-533,-345,-250,-410,-497,-511,-421,-282,-244,-331,-602,-770,-591,-236,-20,-3,-82,-153,-120,-68,-84,-118,-46,43,-61,-284,-379,-288,-197,-184,-182,-174,-198,-229,-231,-222,-149,-55,-43,-104,-148,-137,-121,-89,-71,-107,-132,-122,-103,-89,-82,-80,-89,-104,-102,-80,-48,-32,-50,-101,-133,-114,-86,-104,-128,-126,-136,-130,-116,-66,-32,-32,-50,-98,-29},{-31,31,-18,-16,44,6,2411,5875,5072,-4651,-13419,-3349,11341,10746,4359,2190,3208,4085,3967,1367,-4222,-5761,-3339,-2983,-4329,-4499,-2595,-1814,-2025,-778,1044,1886,1209,1381,1791,1379,1203,801,713,558,185,-446,-1087,-1190,-1583,-1476,-1152,-1169,-573,-42,-159,-462,-505,-34,495,891,975,442,-126,-255,54,55,-360,-470,-406,-365,-441,-456,-436,-620,-924,-1094,-799,-401,-176,2,162,287,288,235,153,87,110,139,64,-181,-416,-489,-435,-291,-191,-188,-229,-314,-336,-228,-99,32,123,40,-147,-218,-126,-20,12,-77,-213,-257,-202,-97,-39,-33,-50,-87,-135,-152,-104,-50,-33,-87,-174,-205,-155,-95,-73,-58,-73,-102,-103,-69,-28,-8,-13,-35,-65,-90,-64,-26,-13,-3}}, // azimuth 160 degrees + {{5,-20,19,-30,30,-26,10,7,106,2018,4447,3691,-4312,-10946,-2444,9101,8937,4141,2371,2799,3188,3472,1658,-2492,-3753,-2499,-2456,-3515,-3717,-2379,-1914,-1997,-898,447,1022,809,1092,1653,1627,1231,960,583,-262,-131,369,-402,-1433,-1355,-827,-942,-996,-645,-505,-663,-602,-123,419,635,564,600,620,442,-12,-445,-457,-312,-327,-425,-460,-531,-485,-302,-253,-482,-824,-849,-532,-179,-9,57,82,41,34,31,-29,-71,-2,-2,-200,-364,-353,-277,-249,-212,-137,-135,-209,-253,-246,-202,-85,12,-13,-95,-158,-161,-113,-51,-59,-109,-132,-139,-120,-82,-47,-51,-73,-98,-101,-75,-60,-46,-68,-100,-124,-115,-90,-84,-90,-104,-101,-101,-78,-44,-10,-19,-47,-77,-113,-29},{18,-38,38,-27,2,22,66,2387,5466,4448,-5021,-12618,-2400,10911,9949,4055,2223,3139,3800,3827,1293,-3850,-5023,-2960,-2790,-4080,-4223,-2476,-1846,-2025,-806,953,1601,1013,1304,1654,1431,1216,823,751,335,-80,-313,-600,-1193,-1721,-1193,-1047,-1125,-522,-154,-339,-641,-495,70,637,857,754,524,169,-117,-117,-127,-277,-399,-452,-442,-490,-451,-375,-496,-831,-1070,-851,-459,-177,-31,119,273,266,223,169,102,61,45,-8,-205,-409,-479,-421,-298,-172,-116,-187,-301,-348,-256,-109,6,84,37,-120,-224,-148,-24,-15,-92,-172,-204,-174,-115,-73,-42,-54,-67,-95,-138,-110,-63,-39,-78,-157,-193,-152,-89,-73,-79,-85,-91,-88,-58,-23,-1,-15,-52,-86,-98,-69,-42,-9}}, // azimuth 170 degrees + {{-22,23,-36,30,-28,7,9,96,2222,4956,4004,-4807,-11738,-2217,10054,9360,4037,2304,2973,3490,3657,1416,-3207,-4343,-2691,-2612,-3817,-3978,-2407,-1869,-2031,-849,737,1279,894,1194,1596,1528,1230,888,720,44,-222,50,-354,-1401,-1600,-931,-1001,-1049,-557,-321,-538,-707,-360,259,684,712,679,586,338,-11,-293,-301,-268,-371,-479,-471,-501,-474,-337,-375,-682,-946,-870,-547,-171,11,97,152,174,222,122,-7,-23,47,-9,-260,-414,-420,-343,-265,-175,-112,-189,-269,-276,-250,-171,-42,45,21,-88,-193,-175,-78,-42,-81,-121,-148,-168,-143,-84,-38,-42,-64,-95,-123,-101,-57,-43,-85,-141,-158,-129,-87,-83,-92,-89,-89,-87,-64,-24,-9,-19,-54,-83,-102,-96,-20},{-22,23,-36,30,-28,7,9,96,2222,4956,4004,-4807,-11738,-2217,10054,9360,4037,2304,2973,3490,3657,1416,-3207,-4343,-2691,-2612,-3817,-3978,-2407,-1869,-2031,-849,737,1279,894,1194,1596,1528,1230,888,720,44,-222,50,-354,-1401,-1600,-931,-1001,-1049,-557,-321,-538,-707,-360,259,684,712,679,586,338,-11,-293,-301,-268,-371,-479,-471,-501,-474,-337,-375,-682,-946,-870,-547,-171,11,97,152,174,222,122,-7,-23,47,-9,-260,-414,-420,-343,-265,-175,-112,-189,-269,-276,-250,-171,-42,45,21,-88,-193,-175,-78,-42,-81,-121,-148,-168,-143,-84,-38,-42,-64,-95,-123,-101,-57,-43,-85,-141,-158,-129,-87,-83,-92,-89,-89,-87,-64,-24,-9,-19,-54,-83,-102,-96,-20}}, // azimuth 180 degrees +}; +inline constexpr std::int16_t pcm48000_p70[13][2][hrir::taps]={ + {{-1,-10,-1,5,16,-14,26,-45,51,-54,39,-6,-54,113,26,2656,4057,4906,-110,-13248,-6841,9547,10644,6541,3359,3195,3463,2323,531,-4378,-6562,-5947,-4526,-2804,-3197,-2197,-461,58,777,1376,2291,2071,1245,1293,1191,976,-151,-681,-189,-107,-193,-782,-1398,-1961,-1930,-1274,-733,-103,447,870,896,659,695,876,634,151,-221,-519,-635,-614,-506,-635,-668,-390,-215,-38,-16,-177,-267,-365,-626,-976,-1054,-676,-137,133,43,-105,-62,86,97,-49,-121,-75,-110,-268,-368,-330,-200,-69,0,-66,-234,-325,-310,-229,-140,-39,-39,-171,-250,-180,-10,87,60,-64,-140,-111,-57,34,86,36,-84,-182,-231,-205,-125,-72,-114,-199,-231,-209,-91,18,33,-19,-41,-29,-50,-14},{-1,-10,-1,5,16,-14,26,-45,51,-54,39,-6,-54,113,26,2656,4057,4906,-110,-13248,-6841,9547,10644,6541,3359,3195,3463,2323,531,-4378,-6562,-5947,-4526,-2804,-3197,-2197,-461,58,777,1376,2291,2071,1245,1293,1191,976,-151,-681,-189,-107,-193,-782,-1398,-1961,-1930,-1274,-733,-103,447,870,896,659,695,876,634,151,-221,-519,-635,-614,-506,-635,-668,-390,-215,-38,-16,-177,-267,-365,-626,-976,-1054,-676,-137,133,43,-105,-62,86,97,-49,-121,-75,-110,-268,-368,-330,-200,-69,0,-66,-234,-325,-310,-229,-140,-39,-39,-171,-250,-180,-10,87,60,-64,-140,-111,-57,34,86,36,-84,-182,-231,-205,-125,-72,-114,-199,-231,-209,-91,18,33,-19,-41,-29,-50,-14}}, // azimuth 0 degrees + {{-1,-1,-7,-1,1,14,-8,21,-37,37,-40,22,6,-54,99,14,2161,3507,4184,276,-11170,-7277,7366,10221,6929,3402,2684,3212,2406,1022,-3036,-5481,-5274,-4162,-2643,-2841,-2346,-972,-400,256,964,1897,1909,1373,1464,1292,1075,161,-549,-262,-112,-156,-686,-1266,-1712,-1752,-1265,-784,-211,240,584,734,592,593,793,664,277,-82,-438,-622,-657,-445,-417,-678,-545,-230,-109,-120,-165,-189,-275,-501,-758,-837,-617,-230,38,-6,-191,-236,-158,-69,-76,-111,-85,-120,-216,-292,-267,-155,-120,-91,-67,-152,-238,-282,-260,-158,-51,-33,-138,-240,-208,-71,48,55,-55,-123,-92,-30,46,92,75,-31,-149,-205,-206,-151,-115,-149,-195,-222,-205,-117,-8,46,20,-39,-61,-14},{-8,-1,4,19,-15,38,-59,62,-66,48,2,-66,143,-25,3052,4682,5745,31,-15211,-7281,11373,11141,6171,3550,3918,3657,2028,396,-5404,-7733,-6416,-4919,-3196,-3623,-2099,20,425,1356,1870,2596,2291,1214,1060,1052,875,-508,-836,-101,-46,-106,-825,-1553,-2210,-2145,-1354,-732,75,609,957,1093,761,762,1083,717,23,-399,-555,-589,-709,-702,-699,-609,-433,-166,105,-13,-156,-207,-381,-794,-1262,-1222,-606,9,72,-72,86,277,301,167,-46,-96,-42,-120,-354,-497,-412,-167,23,22,-80,-227,-328,-328,-238,-85,37,-41,-226,-274,-159,14,110,67,-98,-181,-136,-52,66,112,29,-127,-239,-268,-205,-93,-28,-82,-195,-235,-201,-80,21,36,31,-3,-50,-74,-56,-10}}, // azimuth 15 degrees + {{1,-1,1,-6,-2,1,15,-6,17,-27,26,-23,7,20,-58,95,-17,1653,3011,3598,860,-9136,-7922,5106,9655,7171,3610,2440,2931,2387,1546,-1765,-4459,-4618,-3831,-2529,-2565,-2394,-1364,-738,-42,574,1489,1797,1384,1478,1368,1139,396,-357,-261,-158,-168,-629,-1145,-1476,-1613,-1253,-833,-327,34,253,655,777,575,602,655,431,-11,-464,-600,-596,-490,-470,-626,-512,-251,-187,-231,-107,-4,-173,-445,-590,-559,-497,-397,-212,-101,-165,-267,-291,-281,-228,-115,-37,-106,-226,-257,-224,-146,-87,-62,-64,-123,-166,-196,-212,-178,-109,-76,-136,-218,-229,-136,-23,11,-38,-78,-49,10,65,94,69,-8,-97,-189,-218,-174,-137,-157,-199,-200,-190,-131,-33,34,40,-6,-6},{1,0,29,-24,44,-64,66,-64,33,33,-110,207,-164,3114,5276,6511,1122,-16264,-9103,12297,11758,5715,3927,4724,3962,1659,508,-5649,-8828,-6921,-5018,-3738,-4340,-2117,247,561,1874,2349,2918,2474,1298,1114,875,701,-725,-1034,-124,-63,-14,-662,-1565,-2470,-2389,-1453,-819,120,762,1004,1084,824,912,1245,788,64,-401,-613,-556,-837,-939,-715,-714,-535,-15,171,-90,-168,-77,-310,-918,-1406,-1285,-588,-52,34,115,254,356,374,216,18,-46,-20,-159,-477,-586,-400,-127,9,0,-64,-221,-336,-332,-196,-8,70,-46,-244,-272,-140,11,96,48,-120,-226,-187,-69,60,125,57,-135,-280,-322,-238,-67,19,-54,-188,-244,-218,-117,37,124,68,-35,-100,-125,-70,5,8}}, // azimuth 30 degrees + {{-3,0,-1,-1,-4,-3,-2,10,-5,14,-23,18,-21,5,14,-47,79,-10,1407,2654,3216,771,-8141,-7625,4047,9017,6956,3562,2394,2731,2320,1767,-1035,-3660,-4019,-3365,-2374,-2444,-2269,-1478,-916,-232,325,1204,1577,1293,1424,1389,1158,492,-181,-293,-277,-224,-605,-1040,-1346,-1483,-1160,-855,-562,-68,504,714,555,480,572,597,355,-62,-426,-599,-660,-536,-393,-490,-532,-352,-161,-123,-96,-3,-46,-290,-485,-474,-473,-513,-391,-196,-181,-323,-379,-337,-299,-203,-55,-52,-193,-247,-183,-105,-56,-16,-26,-105,-150,-150,-170,-219,-195,-126,-145,-215,-244,-181,-75,-7,-4,-17,-8,21,62,83,51,-18,-85,-164,-212,-191,-156,-163,-195,-194,-161,-104,-31,7,-1,-3},{-11,38,-29,44,-50,31,-4,-52,129,-203,282,-316,2262,5622,6892,4220,-14147,-14393,10070,13778,5819,4144,5321,4755,1534,1164,-4419,-9716,-7592,-5391,-4118,-4856,-3155,166,399,1737,2783,3230,2980,1484,1311,1153,709,-799,-1395,-283,-175,-78,-442,-1356,-2398,-2711,-1757,-903,11,734,1055,1065,796,948,1343,1002,210,-337,-543,-582,-941,-976,-772,-943,-719,-68,204,-17,-164,-65,-247,-859,-1323,-1174,-699,-359,47,430,413,293,272,218,96,14,5,-176,-516,-605,-400,-157,-49,-9,-28,-221,-345,-299,-140,16,69,-1,-195,-280,-182,-20,77,49,-117,-264,-235,-113,29,128,87,-124,-305,-337,-244,-86,24,-7,-152,-252,-279,-143,76,151,84,-59,-155,-159,-69,35,23,-4}}, // azimuth 45 degrees + {{-8,1,-1,1,-1,-4,-3,1,7,-4,11,-21,20,-26,20,-8,-15,46,73,1487,2505,2995,-346,-8470,-6058,4814,8528,6141,3128,2473,2605,2269,1710,-997,-3273,-3553,-2819,-2165,-2433,-2018,-1335,-945,-324,293,1140,1296,1106,1390,1401,1071,374,-191,-390,-312,-185,-629,-1066,-1225,-1342,-1338,-764,73,170,182,550,569,373,453,507,157,-299,-524,-484,-368,-412,-583,-598,-369,-158,-168,-205,-36,118,-4,-258,-396,-445,-551,-628,-487,-268,-275,-383,-369,-329,-317,-204,-18,-22,-160,-191,-125,-50,-24,-2,-25,-132,-188,-166,-179,-248,-239,-162,-147,-211,-244,-164,-57,5,15,9,10,24,54,57,18,-28,-83,-154,-198,-190,-166,-172,-172,-147,-126,-90,-43,-9,0},{22,-1,6,14,-54,84,-124,151,-143,115,-54,548,4879,6803,7386,-6122,-19597,506,16049,8215,3915,5109,5963,2463,1341,-1015,-8908,-9420,-5907,-4389,-5056,-4645,-782,46,845,2671,3122,3635,2279,1484,1511,1179,8,-1691,-953,-247,-251,-270,-1048,-2124,-2876,-2192,-1192,-301,623,1027,1015,832,921,1235,1223,547,-146,-449,-656,-880,-812,-804,-1177,-944,-238,22,-56,-47,5,-192,-696,-1135,-1064,-730,-481,-128,399,633,361,112,123,146,78,-11,-113,-392,-593,-473,-259,-85,-6,-26,-161,-311,-310,-144,28,90,39,-115,-241,-246,-106,38,60,-75,-259,-273,-169,-27,103,117,-53,-280,-349,-259,-115,19,38,-110,-271,-293,-146,45,134,89,-46,-167,-172,-98,27,46,-93,-39}}, // azimuth 60 degrees + {{-3,-6,2,-2,2,-6,-2,-4,7,-2,6,-4,-9,12,-28,41,-46,53,-37,447,1899,2637,2388,-3623,-9027,-1737,7096,7588,4502,2582,2673,2430,2344,1105,-1818,-3238,-3090,-2237,-2141,-2426,-1636,-1072,-770,-277,537,1239,936,970,1477,1340,637,16,-159,-309,-304,-300,-623,-1231,-1663,-1109,-379,-222,-129,84,301,410,352,344,377,75,-305,-285,-110,-204,-474,-588,-487,-401,-369,-227,-115,-70,38,112,-21,-245,-351,-490,-696,-747,-534,-299,-343,-416,-334,-263,-217,-84,46,-19,-135,-117,-42,-14,-37,-59,-121,-203,-211,-180,-228,-286,-212,-121,-134,-204,-201,-106,-16,11,6,13,18,25,33,25,-5,-46,-100,-162,-183,-166,-141,-138,-138,-131,-113,-64,-20,-2},{38,-28,38,-42,21,10,-62,130,-198,264,-302,1933,6052,7810,4566,-13764,-15351,9369,14408,5433,4054,5817,4936,1599,1572,-3761,-10230,-7973,-5038,-4588,-5557,-3447,-161,-185,1218,2740,3495,3275,1894,1983,1770,1008,-604,-1456,-645,-554,-288,-483,-1676,-2794,-2815,-1751,-748,186,878,1025,818,856,1090,1277,971,163,-249,-517,-839,-785,-576,-990,-1333,-652,-48,-164,-245,10,26,-425,-903,-1016,-812,-514,-166,190,479,483,237,60,45,90,27,-46,-210,-498,-543,-393,-193,-44,2,-48,-234,-335,-232,-41,86,117,9,-175,-277,-205,-42,31,-5,-182,-308,-246,-108,33,106,46,-151,-313,-320,-182,-17,81,-21,-239,-315,-219,-30,100,110,-4,-127,-184,-154,-45,35,-29,-148,-43}}, // azimuth 75 degrees + {{1,-4,0,-2,3,-3,-2,-3,6,5,1,8,-14,18,-29,29,-14,17,14,128,1471,2455,2759,-1414,-8468,-4593,5374,7878,5044,2735,2770,2643,2423,1962,-847,-2947,-3011,-2386,-2158,-2477,-1923,-1215,-801,-407,111,1032,1121,805,1083,1363,979,109,-118,-119,-262,-228,-721,-1421,-1284,-710,-484,-331,-165,27,274,239,159,187,156,13,-112,-72,-47,-203,-347,-297,-358,-620,-635,-284,-16,-20,-4,87,56,-98,-217,-359,-668,-915,-780,-437,-303,-358,-359,-283,-168,11,129,33,-84,-67,-21,-19,-80,-134,-177,-221,-220,-218,-249,-258,-187,-108,-104,-152,-163,-113,-40,2,-13,-10,6,13,16,12,-3,-45,-81,-116,-140,-135,-109,-103,-123,-131,-97,-54,-43,-10},{35,-27,41,-49,36,-19,-25,92,-158,232,-281,2304,6345,8017,2632,-15162,-12468,10869,13185,5030,4177,5631,4405,1791,1551,-4513,-9986,-7143,-4643,-4957,-5699,-2924,-311,-456,1171,2493,3376,3069,1792,2163,2095,1150,-652,-1217,-409,-512,-399,-724,-2006,-3099,-2821,-1532,-508,322,887,894,770,896,1041,1234,817,-7,-262,-479,-754,-675,-589,-1011,-1172,-549,-137,-292,-306,8,-43,-538,-887,-894,-715,-349,93,316,372,325,218,108,11,-5,2,-28,-246,-515,-538,-386,-149,-6,10,-70,-243,-321,-219,-27,103,130,12,-177,-278,-189,-27,17,-51,-224,-315,-246,-89,51,88,16,-163,-293,-275,-139,21,95,-58,-271,-299,-188,-19,100,89,-41,-142,-182,-135,-49,-10,-55,-144,-41}}, // azimuth 90 degrees + {{0,-4,2,-1,3,-3,-1,-5,7,3,2,5,-13,19,-30,32,-22,32,-2,178,1585,2603,2677,-2227,-8765,-3536,6234,7671,4437,2524,2896,2810,2557,1849,-981,-2954,-2947,-2323,-2399,-2771,-1937,-1204,-902,-348,385,1088,999,890,1170,1161,802,326,-10,-235,-117,-431,-1213,-1156,-826,-756,-614,-385,-62,180,222,155,21,-96,-14,205,203,-88,-297,-232,-27,-85,-513,-784,-639,-323,-108,-4,46,55,58,-20,-150,-331,-653,-933,-873,-519,-301,-352,-409,-307,-42,146,129,46,-11,-18,-38,-77,-138,-216,-241,-231,-248,-293,-280,-178,-103,-103,-126,-148,-125,-87,-41,-19,-48,-45,-28,-6,-6,-22,-37,-63,-79,-92,-97,-106,-92,-88,-95,-105,-97,-69,-79,-22},{32,-19,29,-28,6,16,-58,109,-151,193,-226,1460,5700,7774,3914,-12129,-14226,7353,13895,6020,3896,5067,4697,2371,1791,-2984,-9097,-7329,-4423,-4724,-5822,-3703,-603,-614,360,2078,3134,2930,1798,2151,2201,1495,-25,-995,-461,-320,-125,-724,-2179,-3072,-2877,-1658,-607,173,751,756,745,864,889,1067,746,83,-146,-309,-530,-669,-629,-822,-1012,-641,-290,-310,-338,-81,-36,-470,-858,-894,-683,-323,86,307,333,251,213,191,36,-62,-35,-1,-171,-469,-563,-445,-190,11,26,-85,-222,-285,-247,-101,66,144,50,-130,-245,-206,-63,3,-48,-205,-319,-275,-128,22,86,35,-123,-260,-264,-137,5,80,-20,-223,-297,-213,-56,65,82,-23,-129,-174,-146,-84,-41,-54,-120,-35}}, // azimuth 105 degrees + {{-4,-4,2,-1,1,-4,-3,-5,10,-5,8,-14,4,-3,-17,27,-40,70,-68,721,2244,3068,1318,-6161,-8156,1778,8359,6243,2970,2538,3116,2772,2620,669,-2339,-3109,-2604,-2414,-2933,-2784,-1770,-1227,-773,-58,1016,1455,904,970,1383,1181,450,3,113,-35,-599,-969,-844,-965,-1089,-739,-545,-335,28,290,268,-6,-130,26,247,255,86,-141,-287,-159,-36,-293,-679,-719,-462,-299,-237,-76,71,119,78,-25,-202,-489,-726,-776,-614,-453,-461,-483,-363,-87,78,92,130,95,12,-43,-90,-160,-242,-233,-214,-268,-320,-300,-205,-107,-67,-96,-152,-167,-117,-52,-12,-43,-93,-72,-38,-32,-42,-49,-63,-71,-83,-93,-74,-64,-57,-64,-59,-83,-105,-94,-98,-25},{16,9,-4,16,-40,55,-72,76,-57,28,24,179,3762,6947,6331,-4989,-16019,-1785,13666,9124,3790,4142,5024,3494,2237,-221,-6755,-8063,-4762,-4023,-5379,-5046,-1785,-608,-509,1020,2497,3124,1922,1737,2336,1816,704,-500,-407,-246,-51,-173,-1708,-2980,-3030,-1860,-882,-352,462,688,612,756,745,811,691,254,47,-27,-211,-574,-649,-589,-791,-786,-544,-312,-304,-203,-20,-275,-694,-916,-800,-446,-100,159,290,263,211,220,153,21,-47,-16,-70,-315,-515,-519,-330,-89,10,-48,-175,-253,-256,-179,-24,105,102,-29,-183,-229,-128,-29,-30,-140,-273,-290,-191,-46,54,59,-43,-186,-248,-182,-62,38,45,-97,-248,-266,-137,12,64,27,-85,-173,-163,-120,-46,-34,-96,-29}}, // azimuth 120 degrees + {{-6,1,-2,2,-7,-2,-6,7,-1,3,-4,-9,12,-33,35,-45,50,-41,359,2039,3249,2456,-4426,-9379,-783,8349,7332,3395,2369,3169,2953,2763,1373,-2031,-3442,-2800,-2410,-3020,-3268,-2113,-1437,-1220,-390,925,1682,1235,1185,1480,1243,709,154,7,-136,-515,-779,-831,-1031,-1146,-929,-771,-451,-87,151,238,86,-36,83,451,497,92,-215,-182,-40,-167,-465,-683,-664,-432,-320,-353,-261,-29,137,75,-53,-143,-388,-661,-634,-379,-340,-544,-572,-357,-133,-22,83,151,72,-5,-40,-101,-201,-247,-188,-184,-267,-319,-280,-184,-108,-81,-84,-134,-178,-159,-89,-17,-35,-84,-76,-67,-71,-63,-50,-51,-78,-98,-106,-89,-42,-16,-14,-52,-83,-94,-87,-89,-114,-30},{-9,27,-11,16,-14,-4,22,-54,86,-110,133,-151,971,4736,6869,3321,-10032,-12820,5285,13228,6426,3097,4211,4747,3104,2004,-2109,-7431,-6290,-3709,-4134,-5419,-4019,-1188,-911,-374,1252,2614,2634,1529,1857,2127,1436,300,-331,-106,-40,91,-741,-2225,-2999,-2371,-1158,-810,-208,460,520,604,595,538,532,408,228,135,165,-154,-632,-521,-406,-699,-875,-587,-237,-219,-152,-113,-360,-735,-908,-707,-368,-94,74,191,230,216,230,185,67,-18,-39,-127,-356,-522,-471,-297,-130,-55,-94,-185,-234,-211,-133,-20,82,69,-73,-208,-221,-116,-40,-60,-157,-256,-246,-145,-25,39,14,-83,-185,-225,-156,-29,38,8,-115,-224,-227,-110,11,20,-24,-115,-172,-152,-79,-26,-50,-17}}, // azimuth 135 degrees + {{1,-3,3,-6,-2,-7,10,-1,3,-2,-13,16,-36,38,-48,47,-38,318,2181,3659,2783,-4632,-9980,-713,9097,7609,3268,2444,3341,3054,2798,1238,-2450,-3864,-2936,-2532,-3331,-3497,-2120,-1458,-1355,-489,953,1761,1335,1400,1741,1467,751,57,51,-87,-610,-936,-856,-937,-1268,-1111,-766,-468,-236,31,248,51,-112,219,679,668,262,-92,-180,-127,-162,-471,-857,-765,-433,-348,-330,-213,-83,2,1,-93,-300,-513,-519,-351,-219,-316,-449,-357,-230,-163,-92,6,90,31,-70,-137,-204,-215,-166,-129,-187,-273,-290,-224,-143,-101,-70,-90,-156,-206,-167,-77,-44,-74,-94,-72,-61,-79,-84,-55,-52,-75,-113,-130,-93,-39,6,-12,-55,-100,-102,-74,-66,-92,-122,-30},{0,-4,25,-13,21,-25,11,1,-28,61,-96,134,-166,1274,4698,6263,1526,-11047,-10228,7163,12238,5464,2699,4083,4533,3061,1884,-2527,-6838,-5260,-3275,-4007,-5142,-3548,-1169,-1136,-488,1164,2471,2275,1384,1830,1916,1238,342,-120,-7,109,-37,-1124,-2306,-2552,-1690,-1077,-859,-106,296,431,508,365,247,309,420,328,293,220,-128,-437,-363,-333,-747,-970,-599,-212,-167,-184,-151,-310,-683,-841,-654,-395,-202,-47,86,152,241,311,189,45,37,37,-161,-434,-498,-434,-335,-212,-102,-62,-131,-199,-199,-138,-35,66,40,-113,-246,-230,-98,-33,-47,-134,-217,-215,-142,-25,22,-17,-101,-178,-189,-113,-15,27,-21,-106,-153,-170,-121,-66,-51,-54,-79,-115,-131,-80,-18,0}}, // azimuth 150 degrees + {{-2,3,-8,0,-6,13,-4,6,-5,-9,14,-37,47,-61,66,-68,469,2665,4272,2597,-6220,-10290,1292,10295,7134,2822,2735,3683,3089,2711,506,-3503,-4250,-2958,-2781,-3787,-3676,-1894,-1334,-1327,-239,1335,1828,1227,1534,1835,1500,863,94,-49,-145,-467,-1010,-1291,-1144,-1205,-1147,-749,-406,-242,49,203,-16,-118,229,703,778,430,6,-93,-24,-220,-670,-866,-679,-573,-503,-282,-101,-73,-71,-119,-311,-509,-571,-411,-188,-149,-217,-220,-145,-52,-25,-67,-55,-25,-100,-233,-300,-257,-168,-116,-121,-172,-233,-234,-183,-143,-93,-40,-70,-181,-241,-169,-68,-42,-79,-113,-108,-98,-78,-44,-37,-66,-106,-126,-121,-69,-8,3,-44,-103,-118,-102,-62,-73,-89,-93,-115,-30},{-12,0,-4,19,-14,15,-23,8,-3,-28,50,-86,115,-146,1111,4136,5611,1330,-10162,-9622,6352,11700,5516,2457,3726,4323,3101,2103,-1849,-5911,-4788,-3029,-3639,-4781,-3513,-1353,-1273,-763,803,2167,2067,1275,1741,1809,1238,562,24,31,72,-239,-1240,-2096,-1932,-1343,-1231,-816,-91,117,295,314,140,35,236,497,506,423,142,-15,-139,-334,-478,-752,-907,-683,-311,-155,-166,-175,-232,-468,-735,-702,-439,-280,-175,-15,64,184,265,159,54,51,68,-143,-442,-524,-441,-307,-217,-130,-66,-88,-159,-216,-178,-74,10,-10,-126,-250,-232,-102,-33,-40,-117,-183,-197,-144,-47,-16,-38,-94,-152,-161,-107,-25,7,-26,-84,-133,-152,-134,-116,-101,-73,-72,-92,-98,-73,-14}}, // azimuth 165 degrees + {{3,-9,1,-6,17,-7,12,-13,0,7,-31,51,-74,94,-110,774,3385,4961,1954,-8362,-10018,4095,11224,6232,2474,3217,4044,3120,2455,-665,-4768,-4525,-2929,-3181,-4316,-3637,-1617,-1287,-1073,243,1780,1970,1190,1629,1826,1359,778,128,6,-92,-395,-1130,-1688,-1449,-1273,-1261,-682,-177,-149,117,251,15,-95,223,615,704,477,95,-9,-9,-243,-652,-833,-764,-659,-428,-234,-127,-115,-125,-237,-560,-699,-518,-290,-183,-121,-62,6,114,117,24,0,23,-85,-310,-441,-408,-270,-161,-114,-87,-124,-175,-200,-197,-125,-34,-25,-100,-211,-230,-131,-55,-33,-89,-147,-154,-122,-63,-39,-33,-63,-113,-148,-122,-35,20,-1,-71,-128,-154,-113,-73,-77,-99,-98,-82,-86,-21},{3,-9,1,-6,17,-7,12,-13,0,7,-31,51,-74,94,-110,774,3385,4961,1954,-8362,-10018,4095,11224,6232,2474,3217,4044,3120,2455,-665,-4768,-4525,-2929,-3181,-4316,-3637,-1617,-1287,-1073,243,1780,1970,1190,1629,1826,1359,778,128,6,-92,-395,-1130,-1688,-1449,-1273,-1261,-682,-177,-149,117,251,15,-95,223,615,704,477,95,-9,-9,-243,-652,-833,-764,-659,-428,-234,-127,-115,-125,-237,-560,-699,-518,-290,-183,-121,-62,6,114,117,24,0,23,-85,-310,-441,-408,-270,-161,-114,-87,-124,-175,-200,-197,-125,-34,-25,-100,-211,-230,-131,-55,-33,-89,-147,-154,-122,-63,-39,-33,-63,-113,-148,-122,-35,20,-1,-71,-128,-154,-113,-73,-77,-99,-98,-82,-86,-21}}, // azimuth 180 degrees +}; +inline constexpr std::int16_t pcm48000_p80[7][2][hrir::taps]={ + {{16,-1,6,3,-26,47,-72,96,-92,88,-56,546,3248,4493,5312,-3519,-13198,-1093,10744,7336,3177,3528,4984,3106,1828,-313,-5231,-6352,-4795,-3443,-3812,-3868,-1315,-213,304,1396,1982,2317,1538,1162,1129,957,396,-645,-391,-17,2,-260,-919,-1473,-2021,-1745,-1137,-709,-224,211,726,987,885,1001,1056,523,-166,-670,-731,-451,-167,-268,-802,-957,-570,-249,-248,-179,25,77,29,-76,-320,-665,-854,-666,-253,-160,-460,-574,-271,71,126,72,62,-28,-126,-112,-67,-107,-139,-74,-99,-219,-349,-390,-282,-146,-82,-182,-333,-357,-185,26,90,23,-91,-119,-65,32,121,145,35,-135,-201,-197,-141,-72,-65,-159,-244,-256,-199,-64,28,33,-44,-162,-232,-158,6,135,140,27},{16,-1,6,3,-26,47,-72,96,-92,88,-56,546,3248,4493,5312,-3519,-13198,-1093,10744,7336,3177,3528,4984,3106,1828,-313,-5231,-6352,-4795,-3443,-3812,-3868,-1315,-213,304,1396,1982,2317,1538,1162,1129,957,396,-645,-391,-17,2,-260,-919,-1473,-2021,-1745,-1137,-709,-224,211,726,987,885,1001,1056,523,-166,-670,-731,-451,-167,-268,-802,-957,-570,-249,-248,-179,25,77,29,-76,-320,-665,-854,-666,-253,-160,-460,-574,-271,71,126,72,62,-28,-126,-112,-67,-107,-139,-74,-99,-219,-349,-390,-282,-146,-82,-182,-333,-357,-185,26,90,23,-91,-119,-65,32,121,145,35,-135,-201,-197,-141,-72,-65,-159,-244,-256,-199,-64,28,33,-44,-162,-232,-158,6,135,140,27}}, // azimuth 0 degrees + {{-6,16,2,3,7,-21,40,-59,81,-73,70,-37,472,2824,3842,4295,-3678,-12573,-1525,10613,8333,3533,2737,4244,3182,2222,494,-4130,-5720,-4505,-3170,-3345,-3688,-1703,-457,-69,737,1619,2187,1493,1234,1254,1030,638,-342,-406,-93,-11,-261,-923,-1487,-1896,-1621,-1091,-582,-88,249,585,741,712,866,1035,581,-96,-538,-714,-563,-356,-396,-668,-788,-529,-180,-153,-127,86,132,16,-79,-150,-409,-762,-839,-497,-197,-386,-644,-543,-192,109,179,84,-68,-132,-64,26,26,-77,-136,-163,-230,-275,-323,-330,-207,-95,-130,-253,-330,-235,-60,52,35,-67,-94,-29,64,121,136,71,-61,-152,-194,-172,-118,-114,-170,-212,-207,-156,-57,10,12,-9,-24,-56,-78,-36,15,7},{12,-4,15,-39,60,-81,89,-67,41,15,289,3377,5202,6741,-1214,-14256,-4069,10461,7654,3329,4127,5596,3201,1447,-249,-5654,-7023,-5028,-3916,-4111,-4063,-1478,-89,534,1703,2086,2590,1845,991,1173,1149,222,-963,-484,1,-120,-133,-613,-1462,-2159,-1913,-1418,-911,-213,402,963,1071,816,871,1029,530,-179,-516,-552,-321,12,-233,-1004,-1068,-586,-478,-423,-99,41,-15,9,-81,-377,-722,-847,-579,-158,-104,-435,-480,-89,167,173,151,98,-80,-243,-170,-77,-68,-32,-87,-256,-357,-353,-280,-139,-79,-88,-145,-305,-347,-180,-17,31,-21,-107,-120,-61,38,147,171,35,-139,-212,-199,-131,-65,-86,-187,-256,-256,-206,-173,-115,-45,-23,34,89,130,69,-42,-69,-70,-16}}, // azimuth 30 degrees + {{-5,-8,16,-10,12,-11,-3,16,-42,68,-87,103,-94,818,2838,3653,2958,-6413,-11547,1525,10882,7634,3177,2691,3833,2775,2385,263,-3963,-4981,-3858,-2790,-3282,-3321,-1548,-674,-200,486,1511,1996,1256,1297,1389,1043,474,-254,-295,-213,-62,-383,-1073,-1527,-1811,-1511,-998,-343,204,380,600,630,496,685,807,404,-173,-577,-623,-431,-308,-527,-833,-748,-417,-111,-58,-29,147,139,31,10,-66,-364,-790,-915,-574,-310,-486,-719,-635,-291,67,241,130,-75,-96,4,74,33,-81,-156,-218,-244,-246,-317,-374,-278,-119,-100,-216,-279,-208,-87,7,1,-53,-56,-16,48,85,94,37,-60,-138,-193,-175,-124,-119,-161,-183,-174,-140,-67,-19,-24,-32,-23,-24,-62,-70,-14},{-17,34,-52,43,-33,-4,59,-116,185,-187,2257,5237,7314,4273,-11487,-11539,6842,9900,4198,3895,5711,4309,1448,705,-3941,-7649,-5834,-4216,-4231,-4511,-2384,-319,242,1435,1796,2537,2596,1234,1159,1434,776,-796,-1001,-163,-245,-99,-189,-1193,-2262,-2285,-1716,-1136,-239,479,937,994,685,673,962,751,117,-335,-505,-261,66,-91,-869,-1257,-844,-607,-575,-285,36,73,18,-39,-310,-666,-754,-521,-274,-236,-315,-263,-86,67,177,148,48,9,-83,-188,-207,-175,-91,-58,-218,-395,-386,-254,-49,33,-33,-162,-363,-405,-242,-29,76,15,-141,-229,-116,60,169,165,70,-119,-275,-294,-207,-67,-4,-83,-327,-479,-423,-162,206,371,226,-115,-270,-192,20,149,130,-78,-343,-101}}, // azimuth 60 degrees + {{-5,-7,7,5,-4,10,-24,32,-48,45,-33,16,21,179,2125,3293,3609,-2419,-11684,-4246,9118,9509,4420,2338,3521,3258,2522,1705,-2219,-4586,-4018,-2899,-2877,-3601,-2341,-1011,-634,8,1019,2003,1457,1085,1589,1333,619,-111,-238,-224,-222,-195,-779,-1447,-1841,-1627,-895,-317,-83,224,631,582,407,560,646,317,-82,-340,-412,-352,-392,-485,-665,-778,-616,-266,-48,-11,125,201,137,51,-27,-170,-540,-904,-847,-498,-420,-650,-743,-496,-72,210,204,39,-21,46,103,78,-57,-190,-250,-264,-275,-320,-361,-274,-126,-102,-187,-263,-221,-112,-27,-11,-51,-38,-5,10,34,59,39,-45,-129,-176,-179,-143,-106,-101,-112,-122,-120,-75,-27,-46,-60,-55,-45,-70,-106,-27},{-13,29,-56,59,-65,45,-9,-51,120,-48,2942,5817,7808,1728,-13776,-8345,8977,8747,3735,4306,5682,3569,1350,205,-4987,-7427,-5238,-4087,-4368,-4415,-1976,-144,214,1166,1809,2697,2284,1268,1551,1571,543,-855,-714,-314,-433,18,-340,-1682,-2546,-2236,-1555,-807,35,718,1000,674,508,754,903,534,-22,-345,-385,-72,154,-203,-976,-1194,-839,-709,-637,-270,71,113,66,-89,-421,-684,-596,-320,-297,-398,-277,-39,-4,-31,61,149,202,37,-211,-298,-287,-84,53,-147,-398,-418,-252,-94,-31,-31,-84,-226,-352,-325,-156,-4,22,-56,-196,-211,-69,80,170,139,-13,-200,-316,-299,-129,39,-4,-261,-475,-418,-182,164,351,170,-168,-318,-163,38,175,74,-118,-268,-358,-87}}, // azimuth 90 degrees + {{-3,-6,15,-2,5,1,-13,27,-48,60,-66,68,-45,434,2506,3592,3228,-4792,-11779,-834,10498,8274,3260,2430,3859,3221,2614,1046,-3081,-4637,-3570,-2720,-3316,-3625,-2056,-1105,-744,76,1369,2200,1447,1218,1594,1324,487,-334,-277,-241,-199,-229,-997,-1771,-1881,-1172,-538,-455,-157,464,584,327,396,659,580,100,-149,-120,-237,-479,-472,-345,-611,-894,-648,-207,-71,-5,105,122,153,129,0,-284,-656,-833,-684,-461,-515,-711,-683,-318,72,143,72,83,104,86,77,23,-113,-217,-242,-265,-358,-413,-314,-160,-93,-134,-206,-218,-156,-80,-31,-51,-76,-46,-16,6,21,30,-16,-93,-137,-159,-144,-104,-77,-80,-95,-101,-79,-47,-39,-51,-57,-71,-97,-107,-83,-16},{-13,29,-40,26,-12,-25,72,-122,173,-199,1675,4877,6903,4324,-9823,-11748,5422,10342,4555,3397,5217,4579,2001,1037,-3002,-6968,-5604,-3864,-4111,-4724,-2873,-637,-314,490,1409,2464,2480,1406,1621,1817,1075,-382,-802,-237,-425,-243,-239,-1397,-2459,-2282,-1506,-905,-316,469,966,662,534,737,772,473,-14,-242,-303,-83,176,-20,-658,-1053,-872,-784,-759,-410,-7,138,88,-42,-283,-563,-599,-360,-248,-386,-404,-147,4,-30,31,140,170,70,-137,-280,-259,-109,-6,-99,-308,-389,-304,-180,-40,-5,-56,-146,-295,-339,-227,-55,15,-29,-139,-216,-131,12,115,136,61,-99,-246,-276,-177,-36,23,-48,-247,-371,-314,-122,76,172,89,-126,-207,-136,38,130,99,-63,-244,-69}}, // azimuth 120 degrees + {{-7,7,11,-9,18,-32,39,-41,36,-16,-12,63,34,2031,3697,4190,-1488,-11518,-5024,9197,9499,3762,2205,3963,3852,2665,1635,-2394,-5033,-4053,-2843,-3274,-4136,-2554,-1078,-1127,-346,1194,2331,1862,1416,1738,1415,688,-109,-338,-397,-278,-75,-840,-1773,-1969,-1283,-647,-629,-283,384,454,224,414,702,664,330,52,-106,-262,-411,-377,-204,-493,-941,-809,-368,-201,-169,4,162,135,23,12,-147,-585,-811,-540,-319,-530,-723,-542,-161,11,18,108,102,17,22,30,-44,-135,-110,-110,-275,-427,-403,-250,-131,-97,-119,-199,-252,-201,-103,-22,-17,-73,-88,-78,-25,49,51,-16,-98,-143,-161,-147,-97,-58,-69,-94,-104,-91,-41,-14,-18,-36,-71,-123,-145,-88,-17,2},{18,-15,25,-40,44,-49,34,-3,-41,100,-52,2351,4823,6072,327,-12065,-6501,8949,8961,3390,3168,5085,4068,2107,739,-3791,-6387,-4625,-3325,-4141,-4595,-2226,-718,-716,311,1548,2539,2014,1423,1851,1704,820,-477,-570,-217,-301,-208,-780,-1817,-2319,-1755,-948,-709,-371,431,716,521,668,774,622,226,-108,-207,-187,-75,41,-46,-654,-987,-763,-722,-669,-338,22,179,76,-89,-258,-501,-606,-419,-214,-361,-519,-269,-24,-29,-18,155,245,10,-242,-266,-204,-85,9,-82,-296,-383,-264,-136,-123,-139,-104,-129,-255,-318,-197,-54,-17,-37,-117,-172,-126,3,96,71,-17,-112,-196,-220,-125,-17,4,-95,-200,-201,-126,-44,-32,-66,-169,-234,-140,10,71,59,17,-41,-15}}, // azimuth 150 degrees + {{5,12,-8,21,-36,43,-45,37,-10,-24,79,-8,2167,4202,4982,-810,-11702,-5367,9298,9171,3371,2556,4540,4061,2464,1193,-3067,-5704,-4294,-3013,-3738,-4418,-2424,-908,-1007,-179,1377,2479,1912,1499,1885,1571,728,-294,-408,-326,-296,-130,-912,-1881,-2096,-1389,-704,-669,-354,314,449,344,594,779,629,278,40,-107,-252,-344,-177,6,-539,-1010,-764,-532,-485,-291,9,178,117,-32,-147,-361,-591,-554,-331,-367,-587,-492,-187,-46,-51,44,162,72,-89,-115,-113,-151,-125,-84,-143,-268,-305,-234,-204,-183,-139,-147,-210,-294,-231,-69,-4,-6,-67,-120,-109,-48,46,62,-17,-103,-176,-205,-144,-53,-9,-61,-130,-147,-108,-27,-4,-24,-53,-115,-167,-172,-130,-82,-46,-9},{5,12,-8,21,-36,43,-45,37,-10,-24,79,-8,2167,4202,4982,-810,-11702,-5367,9298,9171,3371,2556,4540,4061,2464,1193,-3067,-5704,-4294,-3013,-3738,-4418,-2424,-908,-1007,-179,1377,2479,1912,1499,1885,1571,728,-294,-408,-326,-296,-130,-912,-1881,-2096,-1389,-704,-669,-354,314,449,344,594,779,629,278,40,-107,-252,-344,-177,6,-539,-1010,-764,-532,-485,-291,9,178,117,-32,-147,-361,-591,-554,-331,-367,-587,-492,-187,-46,-51,44,162,72,-89,-115,-113,-151,-125,-84,-143,-268,-305,-234,-204,-183,-139,-147,-210,-294,-231,-69,-4,-6,-67,-120,-109,-48,46,62,-17,-103,-176,-205,-144,-53,-9,-61,-130,-147,-108,-27,-4,-24,-53,-115,-167,-172,-130,-82,-46,-9}}, // azimuth 180 degrees +}; +inline constexpr std::int16_t pcm48000_p90[1][2][hrir::taps]={ + {{9,-26,41,-56,65,-56,47,-11,323,2804,4716,5780,-1242,-11324,-3481,8404,6580,2586,3719,5177,3406,1794,-122,-4173,-5554,-4005,-3156,-3940,-3805,-1742,-694,-62,866,1534,2292,1795,1128,1259,1050,14,-832,-187,437,394,28,-859,-1842,-2290,-1825,-1088,-466,-52,271,539,460,484,825,899,534,36,-313,-373,-352,-133,-66,-615,-1111,-941,-461,-350,-164,152,36,-129,-121,-93,-224,-524,-649,-465,-305,-484,-683,-456,3,189,92,41,14,-92,-203,-208,-109,-3,82,5,-260,-464,-380,-129,17,-54,-344,-585,-544,-262,40,137,12,-78,-3,90,166,179,114,-42,-219,-277,-255,-197,-130,-99,-145,-197,-202,-135,-21,60,58,-19,-90,-141,-100,0,75,33,-64,-124,-155,-38},{9,-26,41,-56,65,-56,47,-11,323,2804,4716,5780,-1242,-11324,-3481,8404,6580,2586,3719,5177,3406,1794,-122,-4173,-5554,-4005,-3156,-3940,-3805,-1742,-694,-62,866,1534,2292,1795,1128,1259,1050,14,-832,-187,437,394,28,-859,-1842,-2290,-1825,-1088,-466,-52,271,539,460,484,825,899,534,36,-313,-373,-352,-133,-66,-615,-1111,-941,-461,-350,-164,152,36,-129,-121,-93,-224,-524,-649,-465,-305,-484,-683,-456,3,189,92,41,14,-92,-203,-208,-109,-3,82,5,-260,-464,-380,-129,17,-54,-344,-585,-544,-262,40,137,12,-78,-3,90,166,179,114,-42,-219,-277,-255,-197,-130,-99,-145,-197,-202,-135,-21,60,58,-19,-90,-141,-100,0,75,33,-64,-124,-155,-38}}, // azimuth 0 degrees +}; +inline constexpr Row rows48000[elevationCount]={ + {-40,29,az_m40,pcm48000_m40}, + {-30,31,az_m30,pcm48000_m30}, + {-20,37,az_m20,pcm48000_m20}, + {-10,37,az_m10,pcm48000_m10}, + {0,37,az_p0,hrir::normal48000}, + {10,37,az_p10,pcm48000_p10}, + {20,37,az_p20,pcm48000_p20}, + {30,31,az_p30,pcm48000_p30}, + {40,29,az_p40,pcm48000_p40}, + {50,23,az_p50,pcm48000_p50}, + {60,19,az_p60,pcm48000_p60}, + {70,13,az_p70,pcm48000_p70}, + {80,7,az_p80,pcm48000_p80}, + {90,1,az_p90,pcm48000_p90}, +}; +// END GENERATED MEASUREMENT ARRAYS +// Geometry update only (once per 64 PCM frames), never per audio sample. +inline void interpolate(float azimuth,float elevation,bool use44100, + EarBank& destination) noexcept { + if(!std::isfinite(azimuth)||!std::isfinite(elevation)) { + for(auto& ear:destination)ear.fill(0.f); + return; + } + float normalized=std::fmod(azimuth,360.f); + if(normalized<0.f)normalized+=360.f; + const bool swapped=normalized>180.f; + const float absolute=swapped?360.f-normalized:normalized; + const float el=std::clamp(elevation,static_cast(elevationMin), + static_cast(elevationMax)); + const Row* rows=use44100?rows44100:rows48000; + int high=0; + while(highrows[high].elevation)++high; + const int low=std::max(0,high-1); + const float blend=low==high?0.f:(el-rows[low].elevation)/ + (rows[high].elevation-rows[low].elevation); + struct Pair {const std::int16_t (*a)[hrir::taps]; + const std::int16_t (*b)[hrir::taps];float t;}; + // Span calculated once per elevation, not inside FIR tap loops. + const auto span=[&](const Row& row) noexcept { + int h=0; + while(hrow.angles[h])++h; + const int l=std::max(0,h-1); + const float t=l==h?0.f:std::clamp((absolute-row.angles[l])/ + static_cast(row.angles[h]-row.angles[l]),0.f,1.f); + return Pair{row.pcm[l],row.pcm[h],t}; + }; + const Pair lower=span(rows[low]),upper=span(rows[high]); + constexpr float scale=1.f/32768.f; + for(int ear=0;ear<2;++ear){ + const int measuredEar=swapped?1-ear:ear; + for(int k=0;k #include #include +#if defined(SONKU_P82_MULTIBAND_ROOM_RESEARCH) && SONKU_P82_MULTIBAND_ROOM_RESEARCH +#include "SonKuRoomMaterials.h" +#endif // Compact eight-line stereo FDN for musical late ambience. The 8x8 Hadamard // feedback matrix is orthogonal (unit-energy): stability depends solely on @@ -29,6 +32,16 @@ class SonKuMusicalReverb final { preset_=SonKuReverbPreset::StudioGlue; configure(); // All room-aware coefficients prepared once OFF the PCM callback. +#if defined(SONKU_P82_MULTIBAND_ROOM_RESEARCH) && SONKU_P82_MULTIBAND_ROOM_RESEARCH + constexpr double pi=3.14159265358979323846; + multibandRoom_=true; // compile-time isolated research-only mode + bandLowAlpha_=static_cast(1.-std::exp(-2.*pi*250./rate)); + bandHighAlpha_=static_cast(1.-std::exp(-2.*pi*4800./rate)); + for(int room=0;room<3;++room) + preparedBands_[room]=prepareBandProgram(static_cast(room)); + targetBandGain_=preparedBands_[0].gains; + bandGain_=targetBandGain_; +#endif prepared_[0]=makeCoefficients(.78f,5900.f); prepared_[1]=makeCoefficients(1.28f,7000.f); prepared_[2]=makeCoefficients(2.05f,6000.f); @@ -41,6 +54,9 @@ class SonKuMusicalReverb final { void reset() noexcept { for(auto& line:memory_)line.fill(0.f); lowpass_.fill(0.f); +#if defined(SONKU_P82_MULTIBAND_ROOM_RESEARCH) && SONKU_P82_MULTIBAND_ROOM_RESEARCH + bandLow_.fill(0.f);bandWide_.fill(0.f); +#endif write_=0;amount_=0.f;validFrames_=0; // The target amount is a CONTROL-side setting and survives resetting // host transport/processor so the same program can restart cleanly. @@ -69,7 +85,20 @@ class SonKuMusicalReverb final { preset!=SonKuReverbPreset::AiryChamber && preset!=SonKuReverbPreset::LargeRoom)|| !std::isfinite(amount)||amount<0.f||amount>1.f)return false; - if(!active() && amount>0.f){validFrames_=0;lowpass_.fill(0.f);} + if(!active() && amount>0.f){ + validFrames_=0;lowpass_.fill(0.f); +#if defined(SONKU_P82_MULTIBAND_ROOM_RESEARCH) && SONKU_P82_MULTIBAND_ROOM_RESEARCH + bandLow_.fill(0.f);bandWide_.fill(0.f); +#endif + } +#if defined(SONKU_P82_MULTIBAND_ROOM_RESEARCH) && SONKU_P82_MULTIBAND_ROOM_RESEARCH + if(multibandRoom_) { + // A complete 3-band per-delay RT60 program is precomputed at + // prepare. Native SPSC/audio edit only copies fixed POD tables. + targetBandGain_=preparedBands_[static_cast(preset)].gains; + if(!realtimeMode_)bandGain_=targetBandGain_; + } +#endif const auto& coefficients=prepared_[static_cast(preset)]; targetGain_=coefficients.gains; targetDamp_=coefficients.damping; @@ -94,10 +123,27 @@ class SonKuMusicalReverb final { const int index=(write_-delay_[i])&(ringFrames-1); const float sample=(realtimeMode_&&validFrames_ gains{}; float damping=0.f; }; +#if defined(SONKU_P82_MULTIBAND_ROOM_RESEARCH) && SONKU_P82_MULTIBAND_ROOM_RESEARCH + struct BandProgram { + std::array,room82::bands> gains{}; + room82::Bands estimatedRt60{}; + }; + BandProgram prepareBandProgram(room82::Family family) const noexcept { + BandProgram program{}; + program.estimatedRt60=room82::eyringRt60(family); + for(int band=0;band(delay_[i])/ + (sampleRate_*program.estimatedRt60[band])); + return program; + } +#endif Coefficients makeCoefficients(float rt60,float cutoff) const noexcept { Coefficients prepared{}; constexpr float pi=3.14159265358979323846f; @@ -164,6 +226,14 @@ class SonKuMusicalReverb final { static_assert((ringFrames&(ringFrames-1))==0); std::array,lineCount> memory_{}; std::array lowpass_{}; +#if defined(SONKU_P82_MULTIBAND_ROOM_RESEARCH) && SONKU_P82_MULTIBAND_ROOM_RESEARCH + std::array bandLow_{},bandWide_{}; + std::array preparedBands_{}; + std::array,room82::bands> + bandGain_{},targetBandGain_{}; + float bandLowAlpha_=0.f,bandHighAlpha_=0.f; + bool multibandRoom_=false; +#endif std::array gain_{},targetGain_{}; std::array prepared_{}; std::array delay_{}; diff --git a/engine/builtin_fx/sonku/SonKuP83LowFrequencyTransfer.h b/engine/builtin_fx/sonku/SonKuP83LowFrequencyTransfer.h new file mode 100644 index 000000000..670fd9cef --- /dev/null +++ b/engine/builtin_fx/sonku/SonKuP83LowFrequencyTransfer.h @@ -0,0 +1,74 @@ +// SPDX-License-Identifier: AGPL-3.0-only +#pragma once +#include +#include +#include + +// Experimental, explicitly NON-PHYSICAL LF music monitoring compromise. +// True KEMAR stereo speaker transfer remains the P8.3 physical default. +// Symmetric real loudspeakers cancel opposite-polarity low-frequency pressure +// at a centered listener; output gain cannot repair this acoustic null. +// A 480-Hz complementary crossover conditions the DIRECT two-source +// to two-ear matrix. Both speakers feed BOTH ears, with gains that follow +// source directions relative to head orientation. It is NOT a direct +// headphone-only SIDE return; but the low-frequency ILD is not measured BRIR. +// Above crossover the original measured HRTF and all room DSP remain. +// No detector, heap, IO, mutex, lookahead or new PCM routing authority. +namespace armix::sonku::p83 { +class LowFrequencySpeakerTransfer final { +public: + bool prepare(double rate) noexcept { + if(!std::isfinite(rate) || rate<44000. || rate>48100.)return false; + rate_=rate; + return setCutoff(cutoff_); + } + // Called ONLY on prepared, quiescent research cores, not audio callback. + bool setCutoff(float hz) noexcept { + if(!std::isfinite(hz)||hz<100.f||hz>750.f||rate_<=0.)return false; + cutoff_=hz; + alpha_=static_cast(1.-std::exp( + -2.*3.14159265358979323846*hz/rate_)); + reset(); + return true; + } + float cutoffHz() const noexcept {return cutoff_;} + void reset() noexcept { + lowSource_.fill(0.f); + lowHrtf_.fill(0.f); + } + // Coefficients only recalc at 16-frame HRTF target updates. + void updateDirections(float leftHead,float rightHead) noexcept { + updateSource(0,leftHead); + updateSource(1,rightHead); + } + void process(float xL,float xR,float& earL,float& earR) noexcept { + lowSource_[0]+=alpha_*(xL-lowSource_[0]); + lowSource_[1]+=alpha_*(xR-lowSource_[1]); + lowHrtf_[0]+=alpha_*(earL-lowHrtf_[0]); + lowHrtf_[1]+=alpha_*(earR-lowHrtf_[1]); + // Existing SonKu scene direct gain = 0.5: restore LF pressure + // through the existing ear path, NOT by another additive dry bus. + const float lowL=2.f*(weights_[0][0]*lowSource_[0]+ + weights_[1][0]*lowSource_[1]); + const float lowR=2.f*(weights_[0][1]*lowSource_[0]+ + weights_[1][1]*lowSource_[1]); + earL=earL-lowHrtf_[0]+lowL; + earR=earR-lowHrtf_[1]+lowR; + } +private: + void updateSource(int index,float headAngle) noexcept { + constexpr float radians=.017453292519943295769f; + // 30-degree speaker: 0.92 near, 0.08 far. Center: 0.5/0.5. + // Intentional directional LF compromise, not physical shadowing. + const float lean=std::clamp(1.68f*std::sin(headAngle*radians), + -.84f,.84f); + weights_[index][0]=.5f*(1.f-lean); + weights_[index][1]=.5f*(1.f+lean); + } + float alpha_=0.f,cutoff_=480.f; + double rate_=0.; + std::array lowSource_{},lowHrtf_{}; + std::array,2> weights_{{{{.92f,.08f}}, + {{.08f,.92f}}}}; +}; +} // namespace armix::sonku::p83 diff --git a/engine/builtin_fx/sonku/SonKuP83SpeakerScene.h b/engine/builtin_fx/sonku/SonKuP83SpeakerScene.h new file mode 100644 index 000000000..2820af40f --- /dev/null +++ b/engine/builtin_fx/sonku/SonKuP83SpeakerScene.h @@ -0,0 +1,88 @@ +// SPDX-License-Identifier: AGPL-3.0-only +#pragma once +#include +#include + +// Research-only speaker positions are fixed in WORLD, head yaw is separate. +// No IO, tracker, threads, heap or additional PCM authority. +namespace armix::sonku::p83 { +enum class Mode : std::uint8_t { + MusicBedP82=0, MonoObject=1, SpeakerMonitor=2, +#if defined(SONKU_P84_SINGLE_CORE_FUSION_RESEARCH) && SONKU_P84_SINGLE_CORE_FUSION_RESEARCH + MusicSpatialP84=3 +#if defined(SONKU_P85_WORLD_COHERENCE_RESEARCH) && SONKU_P85_WORLD_COHERENCE_RESEARCH + ,MusicSpatialP85=4 +#if defined(SONKU_P86_HORIZONTAL_FOCUS_RESEARCH) && SONKU_P86_HORIZONTAL_FOCUS_RESEARCH + ,MusicSpatialP86=5 +#if defined(SONKU_P87_MUSIC_BODY_RESEARCH) && SONKU_P87_MUSIC_BODY_RESEARCH + ,MusicSpatialP87=6 +#if defined(SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH) && SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH + ,MusicSpatialP88=7 +#if defined(SONKU_P89_DEPTH_COHERENCE_RESEARCH) && SONKU_P89_DEPTH_COHERENCE_RESEARCH + ,MusicSpatialP89=8 +#if defined(SONKU_P90_TRUE_EXTERNAL_RESEARCH) && SONKU_P90_TRUE_EXTERNAL_RESEARCH + ,MusicSpatialP90=9 +#endif +#endif +#endif +#endif +#endif +#endif +#endif +}; +enum class Stem : std::uint8_t { Combined=0, Direct=1, Early=2, Late=3 }; +inline bool valid(Mode m) noexcept { + return m==Mode::MusicBedP82 || m==Mode::MonoObject || + m==Mode::SpeakerMonitor +#if defined(SONKU_P84_SINGLE_CORE_FUSION_RESEARCH) && SONKU_P84_SINGLE_CORE_FUSION_RESEARCH + || m==Mode::MusicSpatialP84 +#if defined(SONKU_P85_WORLD_COHERENCE_RESEARCH) && SONKU_P85_WORLD_COHERENCE_RESEARCH + || m==Mode::MusicSpatialP85 +#if defined(SONKU_P86_HORIZONTAL_FOCUS_RESEARCH) && SONKU_P86_HORIZONTAL_FOCUS_RESEARCH + || m==Mode::MusicSpatialP86 +#if defined(SONKU_P87_MUSIC_BODY_RESEARCH) && SONKU_P87_MUSIC_BODY_RESEARCH + || m==Mode::MusicSpatialP87 +#if defined(SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH) && SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH + || m==Mode::MusicSpatialP88 +#if defined(SONKU_P89_DEPTH_COHERENCE_RESEARCH) && SONKU_P89_DEPTH_COHERENCE_RESEARCH + || m==Mode::MusicSpatialP89 +#if defined(SONKU_P90_TRUE_EXTERNAL_RESEARCH) && SONKU_P90_TRUE_EXTERNAL_RESEARCH + || m==Mode::MusicSpatialP90 +#endif +#endif +#endif +#endif +#endif +#endif +#endif + ; +} +inline bool valid(Stem s) noexcept { + return s==Stem::Combined || s==Stem::Direct || + s==Stem::Early || s==Stem::Late; +} +inline bool validYaw(float yaw) noexcept { + return std::isfinite(yaw) && yaw>=-360.f && yaw<=360.f; +} +// Positive azimuth RIGHT; head turn +90 places world FRONT at head LEFT -90. +inline float toHead(float worldAzimuth,float headYaw) noexcept { + // Bounded angle arithmetic avoids libm fmod in native PCM geometry. + float a=worldAzimuth-headYaw; + if(a>=540.f)a-=720.f; + else if(a< -540.f)a+=720.f; + if(a>=180.f)a-=360.f; + else if(a< -180.f)a+=360.f; + if(a>=180.f)a-=360.f; + else if(a< -180.f)a+=360.f; + return a; +} +struct Stereo { + float leftWorld=0.f,rightWorld=0.f; + float leftHead=0.f,rightHead=0.f; +}; +inline Stereo stereo(float worldCenter,float spread,float yaw) noexcept { + const float half=spread*.5f; + return {worldCenter-half,worldCenter+half, + toHead(worldCenter-half,yaw),toHead(worldCenter+half,yaw)}; +} +} // namespace armix::sonku::p83 diff --git a/engine/builtin_fx/sonku/SonKuP84ClarityAnchor.h b/engine/builtin_fx/sonku/SonKuP84ClarityAnchor.h new file mode 100644 index 000000000..0008741e4 --- /dev/null +++ b/engine/builtin_fx/sonku/SonKuP84ClarityAnchor.h @@ -0,0 +1,36 @@ +// SPDX-License-Identifier: AGPL-3.0-only +#pragma once +#include +#include + +// P8.4 OFFLINE research only. NOT Sennheiser's patented CLARITY. +// This does not prove virtual loudspeaker externalization. +// Two existing native P82 and P83 PCM outputs are *offline* references. +// Never run two full DSP cores in the live JUCE callback. +// The production milestone must fuse into one native graph if approved. +namespace armix::sonku::p84 { +class ClarityAnchor final { +public: + bool prepare(double rate,float influence=.12f,float crossover=750.f) noexcept { + if(!std::isfinite(rate)||rate<44000.||rate>48100.|| + !std::isfinite(influence)||influence<0.f||influence>.30f|| + !std::isfinite(crossover)||crossover<400.f||crossover>2400.f)return false; + strength_=influence; + alpha_=static_cast(1.-std::exp(-2.*3.14159265358979323846*crossover/rate)); + reset();return true; + } + void reset() noexcept {low_.fill(0.f);} + void process(float refL,float refR,float physicalL,float physicalR, + float& outL,float& outR) noexcept { + if(strength_==0.f){outL=refL;outR=refR;return;} + const float deltaL=physicalL-refL,deltaR=physicalR-refR; + low_[0]+=alpha_*(deltaL-low_[0]); + low_[1]+=alpha_*(deltaR-low_[1]); + outL=refL+strength_*(deltaL-low_[0]); + outR=refR+strength_*(deltaR-low_[1]); + } +private: + std::array low_{}; + float strength_=0.f,alpha_=0.f; +}; +} // namespace armix::sonku::p84 diff --git a/engine/builtin_fx/sonku/SonKuP84FusedMusicHrir.h b/engine/builtin_fx/sonku/SonKuP84FusedMusicHrir.h new file mode 100644 index 000000000..3e8322ede --- /dev/null +++ b/engine/builtin_fx/sonku/SonKuP84FusedMusicHrir.h @@ -0,0 +1,48 @@ +// SPDX-License-Identifier: AGPL-3.0-only +#pragma once +#include +#include +#include + +// SonKu P8.4 single-graph research kernel compositor. +// Fuse center music-safe HRIR + bounded HIGH-PASS direction differences +// BEFORE the existing 2x2 FIR loop: one PCM publisher, no second core. +// A first-order high-pass is calculated by convolving a difference FIR +// with a one-pole low-pass. Kernel support remains bounded at N taps; +// the truncated LP tail must be included in independent impulse tests. +// Preparation: control only. merge(): target-update every 16 frames; +// no allocation, mutex, sleep, IO, FFT or extra audio callback. +namespace armix::sonku::p84 { +class FusedMusicHrir final { +public: + bool prepare(double rate,float strength=.12f,float cutoffHz=750.f) noexcept { + if(!std::isfinite(rate)||rate<44000.||rate>48100.|| + !std::isfinite(strength)||strength<0.f||strength>.30f|| + !std::isfinite(cutoffHz)||cutoffHz<400.f||cutoffHz>2400.f) + return false; + strength_=strength; + alpha_=static_cast(1.-std::exp( + -2.*3.14159265358979323846*cutoffHz/rate)); + return true; + } + template + void merge(const std::array,2>& musicCenter, + std::array,2>& leftSpeaker, + std::array,2>& rightSpeaker) const noexcept { + for(int ear=0;ear<2;++ear){ + float leftLow=0.f,rightLow=0.f; + for(std::size_t tap=0;tap +#include + +// P8.7 private music-first psychoacoustic audition. One shared real-time +// callback, no extra FIR, FFT, dry bypass, invented room modes or clipping. +// Air is a modest common minimum-phase lead shelf of the measured DIRECT +// HRTF; identical topology for both ears preserves interaural gain/time +// cues better than independent peak/notch boosting. NEVER invert KEMAR notches. +// Low warmth comes exclusively from actual already-rendered 8-line FDN wet +// and the original per-channel music LF, not an oscillator or uncorrelated bass. +// OFF unless explicitly selected by renderMode==6 and ROOM enabled. +namespace armix::sonku::p87 { +class MusicalAirBody final { +public: + struct Ears {float left=0.f,right=0.f;}; + bool prepare(double rate) noexcept { + if(!std::isfinite(rate) || (std::abs(rate-44100.)>.1 && + std::abs(rate-48000.)>.1))return false; + constexpr double twoPi=6.28318530717958647692; + // High shelf +1.9 dB asymptote above the ~4 kHz transition, no sharp Q peak. + // Adapted from one-pole highpass complement; stable zero/pole within circle. + airAlpha_=static_cast(1.-std::exp(-twoPi*3900./rate)); + airGain_=static_cast(std::pow(10.,1.9/20.)-1.); + // A damped, broadband low-mid tail under 180 Hz — no single resonant + // frequency, no feedback gain changes, no low-Q ringing or peak generation. + roomAlpha_=static_cast(1.-std::exp(-twoPi*175./rate)); + reset();return true; + } + void reset() noexcept {airLow_={};roomLow_={};} + void enhanceDirect(float& l,float& r) noexcept { + // Stereo equal coefficients keep both measured HRTF channels independent. + const std::array x{l,r}; + airLow_[0]+=airAlpha_*(x[0]-airLow_[0]); + airLow_[1]+=airAlpha_*(x[1]-airLow_[1]); + l=x[0]+airGain_*(x[0]-airLow_[0]); + r=x[1]+airGain_*(x[1]-airLow_[1]); + } + Ears diffuseLowBody(float l,float r) noexcept { + roomLow_[0]+=roomAlpha_*(l-roomLow_[0]); + roomLow_[1]+=roomAlpha_*(r-roomLow_[1]); + // Add ONLY 42% of the diffuse LF signal. Existing FDN RT60 remains intact + // and four horizontal early reflection image paths are untouched. + return {0.42f*roomLow_[0],0.42f*roomLow_[1]}; + } + static constexpr float musicBassRoomGain=1.09f; // room ON, LF only + float preparedAirBoost()const noexcept{return airGain_;} +private: + std::array airLow_{},roomLow_{}; + float airAlpha_=0.f,roomAlpha_=0.f,airGain_=0.f; +}; +} // namespace armix::sonku::p87 diff --git a/engine/builtin_fx/sonku/SonKuP90StereoDecoder.h b/engine/builtin_fx/sonku/SonKuP90StereoDecoder.h new file mode 100644 index 000000000..f760c673d --- /dev/null +++ b/engine/builtin_fx/sonku/SonKuP90StereoDecoder.h @@ -0,0 +1,67 @@ +// SPDX-License-Identifier: AGPL-3.0-only +#pragma once +#include +#include +#include +#include + +// SonKu P9 opt-in: complex-coherent two-speaker transfer represented as +// two real FIRs per input. No separate audio engine, HRTF bypass or dry SIDE. +// Measured HRIR kernels contain the complex magnitude/phase relationships; +// the same real coefficient correction to both emitters alters only MID, +// while the full measured L-R SIDE transfer is algebraically invariant. +// +// For input L=M+S, R=M-S, output at either ear is +// [H_L+H_R + 2*c*(H_center-(H_L+H_R)/2)]*M + +// [H_L-H_R]*S. At c=1, coherent mono is precisely 2*H_center*M; +// anti-phase retains full measured (H_L-H_R)*S at ALL c. +// No frequency-domain phase reconstruction or additional convolution. +namespace armix::sonku::p90 { +class StereoDecoder final { +public: + bool prepare(double rate) noexcept { + if (!std::isfinite(rate) || rate < 44000. || rate > 48100.) return false; + evidenceAlpha_=static_cast(1.-std::exp(-1./(rate*.080))); + smoothAlpha_=static_cast(1.-std::exp(-16./(rate*.120))); + reset(); + return true; + } + void reset() noexcept { + energyLeft_=energyRight_=cross_=0.f; + centerBlend_=1.f; // safe mono on first transient / cold prepare + } + void observe(float left,float right) noexcept { + const float l=std::clamp(left,-4.f,4.f); + const float r=std::clamp(right,-4.f,4.f); + energyLeft_+=evidenceAlpha_*(l*l-energyLeft_); + energyRight_+=evidenceAlpha_*(r*r-energyRight_); + cross_+=evidenceAlpha_*(l*r-cross_); + } + float centerBlend() noexcept { + // 1 sqrt per 16-sample FIR retarget, not each PCM sample. + if(energyLeft_>1.e-8f || energyRight_>1.e-8f) { + const float den=std::sqrt(std::max(energyLeft_*energyRight_,1.e-14f)); + const float rho=std::clamp(cross_/den,-1.f,1.f); + const float target=std::clamp((rho-.25f)/.70f,0.f,1.f); + centerBlend_+=smoothAlpha_*(target-centerBlend_); + } + return std::clamp(centerBlend_,0.f,1.f); + } + template + void compose(const std::array,2>& center, + std::array,2>& left, + std::array,2>& right) noexcept { + const float c=centerBlend(); + for(std::size_t ear=0;ear<2;++ear) + for(std::size_t k=0;k +#include +#include +#include + +// P9.1+P9.2: one existing 2x2 HRTF callback, no second audio graph. +// A complementary LF handover replaces only the direct HRIR's low portion +// with two WORLD-anchored loudspeaker sources, never headphone-locked L/R. +// Source signals are kept independent (anti-phase is NOT rectified). +// Very small measured-room-inspired axial modal returns are optional and +// separate from the DIRECT bass. This is a parametric model, NOT a measured +// subwoofer cabinet or an asserted dearVR algorithm. +namespace armix::sonku::p92 { +class WorldBassFoundation final { +public: + struct Ears {float left=0.f,right=0.f;}; + bool prepare(double sampleRate) noexcept { + if(!std::isfinite(sampleRate) || + (std::abs(sampleRate-44100.)>.1 && std::abs(sampleRate-48000.)>.1)) + return false; + constexpr double pi=3.1415926535897932384626433832795; + const double cutoff=165.; + lowAlpha_=static_cast(1.-std::exp(-2.*pi*cutoff/sampleRate)); + roomAlpha_=static_cast(1.-std::exp(-1./(sampleRate*.060))); + // Angle lookup avoids trig/heap in the 16-frame realtime FIR update. + for(std::size_t i=0;i(std::sin((2.*pi*i)/360.)); + constexpr std::array roomWidths{7.2,14.4,28.8}; + constexpr std::array frequencies{48.,75.,112.}; + constexpr std::array qualities{2.0,2.8,3.8}; + for(std::size_t room=0;room<3;++room){ + for(std::size_t band=0;band<3;++band){ + // Real axial harmonic: n*c/(2*room-width), rounded to a + // musically relevant LF cluster. Never invent a subharmonic. + const double n=std::max(1.,std::round(2.*roomWidths[room]* + frequencies[band]/343.)); + const double hz=n*343./(2.*roomWidths[room]); + resonators_[room][band].coeff=bandpass(sampleRate,hz,qualities[band]); + } + } + reset(); + return true; + } + void reset() noexcept { + for(auto& s:inputLow_)s={}; + for(auto& s:earLow_)s={}; + for(auto& room:resonators_)for(auto& resonator:room) + resonator.state={}; + weights_={{{.62f,.38f},{.38f,.62f}}}; + roomWeights_={}; + roomGain_=0.f; + } + void updateDirections(float leftHead,float rightHead) noexcept { + const float angles[2]{leftHead,rightHead}; + for(int source=0;source<2;++source){ + const float lean=.27f*lookupSine(angles[source]); + weights_[source][0]=.5f*(1.f-lean); + weights_[source][1]=.5f*(1.f+lean); + } + } + Ears process(float inputLeft,float inputRight,float& hrtfLeft, + float& hrtfRight,int roomPreset,float roomAmount) noexcept { + // Two identical minimum-phase lowpasses on BOTH paths: the high + // direct HRIR remains exactly HRIR - LP(HRIR), without double bass. + const float inputs[2]{inputLeft,inputRight}; + float lowSrc[2]{}; + for(int c=0;c<2;++c){ + inputLow_[c][0]+=lowAlpha_*(inputs[c]-inputLow_[c][0]); + inputLow_[c][1]+=lowAlpha_*(inputLow_[c][0]-inputLow_[c][1]); + lowSrc[c]=inputLow_[c][1]; + } + float* ears[2]{&hrtfLeft,&hrtfRight}; + float world[2]{}; + for(int ear=0;ear<2;++ear){ + earLow_[ear][0]+=lowAlpha_*(*ears[ear]-earLow_[ear][0]); + earLow_[ear][1]+=lowAlpha_*(earLow_[ear][0]-earLow_[ear][1]); + // With the old P8.2 +0.82 shelf disabled, a stereo 2x LF + // return matches the measured input RMS within ~0.5dB for + // our 70/116Hz + 5.2kHz reference at the protected P9 gain. + // The shared FIR output remains a single stereo signal. + world[ear]=2.f*(weights_[0][ear]*lowSrc[0]+ + weights_[1][ear]*lowSrc[1]); + *ears[ear]=*ears[ear]-earLow_[ear][1]+world[ear]; + } + const int room=std::clamp(roomPreset-1,0,2); + const float target=roomPreset>0? + std::clamp(roomAmount,0.f,1.f):0.f; + roomGain_+=roomAlpha_*(target-roomGain_); + Ears modal{}; + constexpr std::array modeWeights{.14f,.105f,.075f}; + for(int r=0;r<3;++r){ + const float active=r==room?1.f:0.f; + roomWeights_[r]+=roomAlpha_*(active-roomWeights_[r]); + for(int b=0;b<3;++b){ + // Tiny modal bandpass; finite decay, zero at DC, no phase + // cancellation of the direct LOW, no positive feedback. + auto& resonator=resonators_[r][b]; + const float l=resonator.state[0].run(resonator.coeff,world[0]); + const float rr=resonator.state[1].run(resonator.coeff,world[1]); + // Private P9.5 venue reinforcement: augment the EXISTING + // low-frequency axial room modes slightly, not the direct + // bass, not a duplicate cabinet engine or hard EQ shelf. + // All modes remain damping-controlled with finite Q. +#if defined(SONKU_P95_MUSICAL_PRESENCE_RESEARCH) && SONKU_P95_MUSICAL_PRESENCE_RESEARCH + const float venue=roomPreset==3?1.18f:1.f; +#else + constexpr float venue=1.f; +#endif + const float level=roomWeights_[r]*roomGain_*modeWeights[b]*venue; + modal.left+=level*l; + modal.right+=level*rr; + } + } + return modal; + } +private: + struct Coeff {float b0=0.f,b1=0.f,b2=0.f,a1=0.f,a2=0.f;}; + struct State { + float z1=0.f,z2=0.f; + float run(const Coeff& c,float input) noexcept { + const float y=c.b0*input+z1; + z1=c.b1*input-c.a1*y+z2; + z2=c.b2*input-c.a2*y; + return y; + } + }; + struct Resonator {Coeff coeff{};std::array state{};}; + static Coeff bandpass(double rate,double hz,double q) noexcept { + constexpr double pi=3.1415926535897932384626433832795; + const double w=2.*pi*hz/rate; + const double a=std::sin(w)/(2.*q); + const double inv=1./(1.+a); + return {static_cast(a*inv),0.f, + static_cast(-a*inv), + static_cast(-2.*std::cos(w)*inv), + static_cast((1.-a)*inv)}; + } + float lookupSine(float degrees) const noexcept { + if(!std::isfinite(degrees))return 0.f; + float bounded=degrees; + while(bounded<0.f)bounded+=360.f; + while(bounded>=360.f)bounded-=360.f; + const int lo=static_cast(bounded); + const float frac=bounded-lo; + return sine_[lo]*(1.f-frac)+sine_[lo+1]*frac; + } + std::array,2> weights_{{{{.62f,.38f}},{{.38f,.62f}}}}; + std::array,2> inputLow_{},earLow_{}; + std::array,3> resonators_{}; + std::array sine_{}; + std::array roomWeights_{}; + float roomGain_=0.f,lowAlpha_=0.f,roomAlpha_=0.f; +}; +} // namespace armix::sonku::p92 diff --git a/engine/builtin_fx/sonku/SonKuP94FrontBackDepthCue.h b/engine/builtin_fx/sonku/SonKuP94FrontBackDepthCue.h new file mode 100644 index 000000000..f0f88088c --- /dev/null +++ b/engine/builtin_fx/sonku/SonKuP94FrontBackDepthCue.h @@ -0,0 +1,63 @@ +// SPDX-License-Identifier: AGPL-3.0-only +#pragma once +#include +#include +#include +#include + +// P9.4 private acoustic A/B (NOT a measured BRIR / dearVR clone). +// A front/rear source can collapse inside the head with non-individual KEMAR. +// At CONSTANT physical radius, adjust only the direct/first-reflection +// energy balance near the interaural median plane; measured HRIR spectra, +// ITD/ILD, speaker azimuth, low-frequency world transfer and tail stay intact. +// Must be validated by loudness-matched headphone FAT before release. +namespace armix::sonku::p94 { +class FrontBackDepthCue final { +public: + struct Gains {float direct=1.f,early=1.f;}; + bool prepare(double sampleRate) noexcept { + if(!std::isfinite(sampleRate) || + (std::abs(sampleRate-44100.)>.1 && std::abs(sampleRate-48000.)>.1)) + return false; + constexpr double pi=3.1415926535897932384626433832795; + slew_=static_cast(1.-std::exp(-1./(sampleRate*.045))); + for(std::size_t i=0;i((c*c)*(c*c)); + } + reset(); + return true; + } + void reset() noexcept {target_=0.f;weight_=0.f;enabled_=false;} + // Called at the existing every-16-sample HRTF retarget. Angle MUST be + // center WORLD azimuth - head yaw, never the ellipse's 2D SVG position. + void retarget(float headRelativeAzimuth,bool roomWithEarly) noexcept { + enabled_=roomWithEarly; + if(!enabled_ || !std::isfinite(headRelativeAzimuth)){ + target_=0.f;return; + } + // p83::toHead returns [-180,180], bounded wrap avoids RT fmod/cos. + float d=std::clamp(headRelativeAzimuth,-360.f,360.f); + if(d<0.f)d+=360.f; + if(d>=360.f)d-=360.f; + const int lo=std::clamp(static_cast(d),0,359); + const float frac=d-lo; + target_=shape_[lo]*(1.f-frac)+shape_[lo+1]*frac; + } + Gains next() noexcept { + weight_+=slew_*(target_-weight_); + if(std::abs(weight_-target_)<1.e-6f)weight_=target_; + // Room OFF / ER zero must never perturb the golden P9 PCM. + if(!enabled_)return {}; + const float w=std::clamp(weight_,0.f,1.f); + // At 0/180: direct -0.40 dB, early +2.14 dB. Ratio shifts by + // ~2.54 dB; NOT a source distance or headphone gain multiplier. + // At ±90 the output is mathematically bit-identical to P9.1/P9.2. + return {1.f-.045f*w,1.f+.28f*w}; + } +private: + std::array shape_{}; + float slew_=0.f,target_=0.f,weight_=0.f; + bool enabled_=false; +}; +} // namespace armix::sonku::p94 diff --git a/engine/builtin_fx/sonku/SonKuP95MusicalPresence.h b/engine/builtin_fx/sonku/SonKuP95MusicalPresence.h new file mode 100644 index 000000000..ece40572b --- /dev/null +++ b/engine/builtin_fx/sonku/SonKuP95MusicalPresence.h @@ -0,0 +1,46 @@ +// SPDX-License-Identifier: AGPL-3.0-only +#pragma once +#include +#include + +// Optional single-graph music-level *upward-only* compensation. +// In P9 spatial wet transforms the original stereo energy can be lower. +// A slow detector allows a conservative minimum electrical level without +// turning the entire effect into a compressor or defeating user gain. +// The final existing linked 0.98 sample peak safety limiter stays authoritative. +namespace armix::sonku::p95 { +class MusicalPresence final { +public: + bool prepare(double sr) noexcept { + if(!std::isfinite(sr) || (std::abs(sr-44100.)>.1 && std::abs(sr-48000.)>.1)) + return false; + detector_=static_cast(1.-std::exp(-1./(sr*.28))); + slew_=static_cast(1.-std::exp(-1./(sr*.45))); + reset();return true; + } + void reset() noexcept {inPower_=outPower_=0.f;target_=makeup_=1.f;counter_=0;} + float process(float inL,float inR,float wetL,float wetR) noexcept { + const float a=.5f*(inL*inL+inR*inR); + const float b=.5f*(wetL*wetL+wetR*wetR); + inPower_+=detector_*(a-inPower_); + outPower_+=detector_*(b-outPower_); + // At most one square root per 256 samples, outside inner FIR loops. + if(++counter_>=256){ + counter_=0; + if(inPower_>1.e-7f&&outPower_>1.e-9f){ + const float ratio=std::sqrt(inPower_/outPower_); + // 1.12× = +0.98dB *electrical* minimum when possible. + // Never auto-reduce the deliberate user outputTrim boost. + target_=std::clamp(1.12f*ratio,1.f,1.65f); + }else target_=1.f; + } + makeup_+=slew_*(target_-makeup_); + return makeup_; + } + float gain() const noexcept {return makeup_;} +private: + float detector_=0.f,slew_=0.f,inPower_=0.f,outPower_=0.f; + float target_=1.f,makeup_=1.f; + int counter_=0; +}; +} // namespace armix::sonku::p95 diff --git a/engine/builtin_fx/sonku/SonKuP96DistanceReinforcement.h b/engine/builtin_fx/sonku/SonKuP96DistanceReinforcement.h new file mode 100644 index 000000000..a32fb6e6f --- /dev/null +++ b/engine/builtin_fx/sonku/SonKuP96DistanceReinforcement.h @@ -0,0 +1,61 @@ +// SPDX-License-Identifier: AGPL-3.0-only +#pragma once +#include +#include +#include + +// Private P9.6 sound-reinforcement hypothesis, downstream of the SAME measured +// two-loudspeaker HRIR and world-anchored LF handover. Split only DIRECT ear +// pressure, not late/early reflections, the original L/R music or dry side. +// The 170 Hz / 4.2 kHz complementary crossovers are causal one-poles; their +// components sum to the exact unfiltered ear signal at equal gains. +// No allocations, FFT, virtual mono sub, added latency or callback trig. +namespace armix::sonku::p96 { +class DistanceReinforcement final { +public: + struct Ears {float left=0.f,right=0.f;}; + bool prepare(double rate) noexcept { + if(!std::isfinite(rate) || + (std::abs(rate-44100.)>.1 && std::abs(rate-48000.)>.1))return false; + constexpr double pi=3.14159265358979323846; + lowAlpha_=static_cast(1.-std::exp(-2.*pi*170./rate)); + highAlpha_=static_cast(1.-std::exp(-2.*pi*4200./rate)); + depthAlpha_=static_cast(1.-std::exp(-1./(rate*.035))); + reset(); + return true; + } + void reset() noexcept {low_.fill(0.f);wide_.fill(0.f);depth_=0.f;} + bool active() const noexcept {return depth_!=0.f;} + Ears process(float left,float right,float distanceGain, + float distanceMeters,bool roomEnabled) noexcept { + // Preserve OFF and <=2m P9.5 PCM exactly. The state filters still + // warm every sample, preventing stale memory on a live distance edit. + const float target=roomEnabled? + std::clamp((distanceMeters-2.f)/8.f,0.f,1.f):0.f; + depth_+=depthAlpha_*(target-depth_); + if(std::abs(depth_-target)<1.e-6f)depth_=target; + const std::array ears{left,right}; + std::array out{}; + for(int c=0;c<2;++c){ + low_[c]+=lowAlpha_*(ears[c]-low_[c]); + wide_[c]+=highAlpha_*(ears[c]-wide_[c]); + } + if(depth_==0.f) + return {distanceGain*left,distanceGain*right}; + // The normal distance cue remains in the mid-band and in the native + // early/late DRR. Reinforced speaker direct LF and HF retain musical + // body/air instead of making 10m sound like only a midrange reverb. + // This is NOT a physical free-field SPL model or a loudness guarantee. + const float reinforcible=std::max(0.f,1.f-distanceGain)*depth_; + const float midGain=distanceGain+.24f*reinforcible; + const float lowLift=.52f*reinforcible; // total LF retention 0.76 + const float highLift=.43f*reinforcible; // total HF retention 0.67 + for(int c=0;c<2;++c) + out[c]=midGain*ears[c]+lowLift*low_[c]+highLift*(ears[c]-wide_[c]); + return {out[0],out[1]}; + } +private: + std::array low_{},wide_{}; + float lowAlpha_=0.f,highAlpha_=0.f,depthAlpha_=0.f,depth_=0.f; +}; +} // namespace armix::sonku::p96 diff --git a/engine/builtin_fx/sonku/SonKuP97StageImpact.h b/engine/builtin_fx/sonku/SonKuP97StageImpact.h new file mode 100644 index 000000000..5384fd3cc --- /dev/null +++ b/engine/builtin_fx/sonku/SonKuP97StageImpact.h @@ -0,0 +1,137 @@ +// SPDX-License-Identifier: AGPL-3.0-only +#pragma once +#include +#include +#include + +// PRIVATE P9.7 concert-stage enhancement. No stems, no pseudo-vocal isolation: +// "center presence" applies equally to any center-panned material. Every +// added signal stays in the SAME measured world-speaker binaural graph. +// The source MID band goes THROUGH the existing HRIR. Bass reinforces the +// already HRTF/world-positioned direct ears, and air reinforces actual +// stereo image-source early reflections (not synthetic Haas/stereo widening). +// 0 additional delay; no heap, FFT, worker, I/O, trigonometry or exp in PCM. +namespace armix::sonku::p97 { +class StageImpact final { +public: + struct Stereo {float left=0.f,right=0.f;}; + bool prepare(double sampleRate) noexcept { + if(!std::isfinite(sampleRate) || + (std::abs(sampleRate-44100.)>.1 && + std::abs(sampleRate-48000.)>.1))return false; + constexpr double pi=3.1415926535897932384626433832795; + centerCoeff_=bandpass(sampleRate,1900.,.90); + punchCoeff_=bandpass(sampleRate,85.,.85); + subAlpha_=static_cast(1.-std::exp(-2.*pi*62./sampleRate)); + airAlpha_=static_cast(1.-std::exp(-2.*pi*4500./sampleRate)); + finalLowAlpha_=static_cast(1.-std::exp(-2.*pi*135./sampleRate)); + slew_=static_cast(1.-std::exp(-1./(sampleRate*.045))); + reset(); + return true; + } + void reset() noexcept { + vocal_={};vocalSecond_={};vocalDirect_={}; + punch_={};sub_={};earlyAir_={};directAir_={}; + finishLow_={};finishWide_={};stage_=0.f; + } + bool active() const noexcept {return stage_!=0.f;} + float strength() const noexcept {return stage_;} + Stereo source(float left,float right,float meters,bool roomEnabled) noexcept { + // One slow scene-depth transition, shared across the 3 stages. + const float target=roomEnabled? + std::clamp((meters-2.f)/4.f,0.f,1.f):0.f; + stage_+=slew_*(target-stage_); + if(std::abs(stage_-target)<1.e-6f)stage_=target; + const float center=.5f*(left+right); + // Two bandpasses suppress out-of-band leakage, especially cymbals + // >6kHz that a single 1.9kHz BPF would partly phase-cancel. + const float band=vocalSecond_.run(centerCoeff_, + vocal_.run(centerCoeff_,center)); + if(stage_==0.f)return {left,right}; + // Both virtual speakers receive exactly the same center delta. + // Their established HRIRs must render it; NEVER send to dry L/R. + const float delta=.19f*stage_*band; + return {left+delta,right+delta}; + } + Stereo direct(float left,float right) noexcept { + const std::array x{left,right}; + std::array result{}; + for(int c=0;c<2;++c) { + const float punch=punch_[c].run(punchCoeff_,x[c]); + sub_[c]+=subAlpha_*(x[c]-sub_[c]); + directAir_[c]+=airAlpha_*(x[c]-directAir_[c]); + const float voice=vocalDirect_[c][1].run(centerCoeff_, + vocalDirect_[c][0].run(centerCoeff_,x[c])); + // Keep spectral pressure tied to the original KEMAR ears. + // The second gentle vocal filter is NOT a dry/mono stem. + result[c]=stage_==0.f?x[c]: + x[c]+stage_*(.23f*punch+.085f*sub_[c]+ + .085f*voice+.038f*(x[c]-directAir_[c])); + } + return {result[0],result[1]}; + } + Stereo early(float left,float right) noexcept { + const std::array x{left,right}; + std::array result{}; + for(int c=0;c<2;++c){ + earlyAir_[c]+=airAlpha_*(x[c]-earlyAir_[c]); + // Boost only the real, azimuth-dependent first images above 4.5k. + // No channel crossing or artificial stereo delay: retain ILD/ITD. + result[c]=stage_==0.f?x[c]: + x[c]+.24f*stage_*(x[c]-earlyAir_[c]); + } + return {result[0],result[1]}; + } + Stereo finish(float left,float right) noexcept { + // P9.5 upward-only RMS makeup is sensitive to increased broadband + // level: direct/stem boosts can make it reduce its earlier makeup, + // unintentionally darkening cymbals. Only AFTER its detector, but + // BEFORE the existing linked peak guard, restore modest LF/HF + // spectral energy to the already-externalized stereo EAR waveform. + // Shared coefficients; no crossfeed, HRTF replacement, or new delay. + const std::array x{left,right}; + std::array result{}; + for(int c=0;c<2;++c){ + finishLow_[c]+=finalLowAlpha_*(x[c]-finishLow_[c]); + finishWide_[c]+=airAlpha_*(x[c]-finishWide_[c]); + result[c]=stage_==0.f?x[c]: + x[c]+stage_*(.080f*finishLow_[c]+ + .35f*(x[c]-finishWide_[c])); + } + return {result[0],result[1]}; + } + Stereo modal(float left,float right) const noexcept { + if(stage_==0.f)return {left,right}; + // Small damped room mode reinforcement, no feedback alteration. + const float level=1.f+.12f*stage_; + return {left*level,right*level}; + } +private: + struct Coeff {float b0=0.f,b1=0.f,b2=0.f,a1=0.f,a2=0.f;}; + struct Filter { + float z1=0.f,z2=0.f; + float run(const Coeff& c,float in) noexcept { + const float out=c.b0*in+z1; + z1=c.b1*in-c.a1*out+z2; + z2=c.b2*in-c.a2*out; + return out; + } + }; + static Coeff bandpass(double sampleRate,double frequency,double q) noexcept { + constexpr double pi=3.1415926535897932384626433832795; + const double w=2.*pi*frequency/sampleRate; + const double alpha=std::sin(w)/(2.*q); + const double inv=1./(1.+alpha); + return {static_cast(alpha*inv),0.f, + static_cast(-alpha*inv), + static_cast(-2.*std::cos(w)*inv), + static_cast((1.-alpha)*inv)}; + } + Coeff centerCoeff_{},punchCoeff_{}; + Filter vocal_{},vocalSecond_{}; + std::array punch_{}; + std::array,2> vocalDirect_{}; + std::array sub_{},earlyAir_{},directAir_{},finishLow_{},finishWide_{}; + float subAlpha_=0.f,airAlpha_=0.f,finalLowAlpha_=0.f,slew_=0.f,stage_=0.f; +}; +} // namespace armix::sonku::p97 diff --git a/engine/builtin_fx/sonku/SonKuP98SceneVoicing.h b/engine/builtin_fx/sonku/SonKuP98SceneVoicing.h new file mode 100644 index 000000000..78d8ff28a --- /dev/null +++ b/engine/builtin_fx/sonku/SonKuP98SceneVoicing.h @@ -0,0 +1,121 @@ +// SPDX-License-Identifier: AGPL-3.0-only +#pragma once +#include +#include +#include + +// P9.8 PRIVATE named-scene voicings, never a second PCM graph or fake stem +// separator. All bands are processed on world-positioned KEMAR ears or +// genuine directional first images; center emphasis enters the two measured +// loudspeaker HRIRs BEFORE ear rendering. Mode 0 = exact P9.7 Venue/Custom. +// This class never guesses a preset from distance/reverb/gain floats. +namespace armix::sonku::p98 { +class SceneVoicing final { +public: + struct Stereo {float left=0.f,right=0.f;}; + // These IDs are stable native-serialized values, NOT native ROOM sizes. + enum : int { Neutral=0, Signature=1, LiveStudio=2, Cinema=3 }; + bool prepare(double sampleRate) noexcept { + if (!std::isfinite(sampleRate) || + (std::abs(sampleRate-44100.)>.1 && std::abs(sampleRate-48000.)>.1)) + return false; + constexpr double pi=3.1415926535897932384626433832795; + punchCoeff_=bandpass(sampleRate,86.,.85); + voiceCoeff_=bandpass(sampleRate,2050.,.92); + bassAlpha_=static_cast(1.-std::exp(-2.*pi*130./sampleRate)); + airAlpha_=static_cast(1.-std::exp(-2.*pi*5200./sampleRate)); + slew_=static_cast(1.-std::exp(-1./(sampleRate*.055))); + reset(); + return true; + } + void reset() noexcept { + gains_={};center1_={};center2_={};punch_={};voice_={}; + bass_={};air_={};earlyAir_={}; + } + static constexpr bool valid(int scene) noexcept { + return scene>=Neutral && scene<=Cinema; + } + // Only explicit preset changes set an ID. 55ms interpolates changes in + // gains, with no per-sample coefficient recompute, memory allocation or + // trigonometry. Silent profile defaults never alter P9.7 float order. + Stereo source(float left,float right,int scene,bool enabled) noexcept { + const auto target=curves_[enabled && valid(scene)?scene:Neutral]; + for(unsigned i=0;i x{left,right}; + float out[2]{}; + for(int c=0;c<2;++c){ + earlyAir_[c]+=airAlpha_*(x[c]-earlyAir_[c]); + out[c]=gains_[4]==0.f?x[c]: + x[c]+gains_[4]*(x[c]-earlyAir_[c]); + } + return {out[0],out[1]}; + } + Stereo finish(float left,float right) noexcept { + const std::array x{left,right}; + float out[2]{}; + for(int c=0;c<2;++c){ + const float kick=punch_[c].run(punchCoeff_,x[c]); + const float vocal=voice_[c][1].run(voiceCoeff_, + voice_[c][0].run(voiceCoeff_,x[c])); + bass_[c]+=bassAlpha_*(x[c]-bass_[c]); + air_[c]+=airAlpha_*(x[c]-air_[c]); + if(gains_[1]==0.f&&gains_[2]==0.f&&gains_[3]==0.f&& + gains_[5]==0.f){ + out[c]=x[c]; + }else{ + out[c]=x[c]+gains_[1]*bass_[c]+gains_[2]*kick+ + gains_[3]*vocal+gains_[5]*(x[c]-air_[c]); + } + } + return {out[0],out[1]}; + } +private: + // channels: center-source, bass body, bass kick, vocal presence, + // real first-image air, already-binaural direct/final air. + // Signature is designed for high clarity AND physical music body. + // Studio adjustment deliberately gentler than Cinema. Venue profile + // is ALL ZEROS: its approved P9.7 acoustic graph is immutable. + static constexpr std::array,4> curves_{{ + {{0.f,0.f,0.f,0.f,0.f,0.f}}, // Venue / Custom: EXACT + {{.22f,.15f,.17f,.15f,.16f,.070f}}, // Signature flagship + {{.035f,.045f,.055f,.045f,.04f,.020f}}, // Live Studio subtle + {{.075f,.15f,.15f,.060f,.065f,.035f}} // Cinema LF weight + }}; + struct Coeff {float b0=0,b1=0,b2=0,a1=0,a2=0;}; + struct Filter { + float z1=0,z2=0; + float run(const Coeff& c,float x) noexcept { + const float y=c.b0*x+z1; + z1=c.b1*x-c.a1*y+z2; + z2=c.b2*x-c.a2*y; + return y; + } + }; + static Coeff bandpass(double rate,double hz,double q) noexcept { + constexpr double pi=3.1415926535897932384626433832795; + const double w=2.*pi*hz/rate; + const double a=std::sin(w)/(2.*q); + const double inv=1./(1.+a); + return {static_cast(a*inv),0.f,static_cast(-a*inv), + static_cast(-2.*std::cos(w)*inv), + static_cast((1.-a)*inv)}; + } + Coeff punchCoeff_{},voiceCoeff_{}; + Filter center1_{},center2_{}; + std::array punch_{}; + std::array,2> voice_{}; + std::array bass_{},air_{},earlyAir_{}; + std::array gains_{}; + float bassAlpha_=0.f,airAlpha_=0.f,slew_=0.f; +}; +} // namespace armix::sonku::p98 diff --git a/engine/builtin_fx/sonku/SonKuP99DefaultOrbitStage.h b/engine/builtin_fx/sonku/SonKuP99DefaultOrbitStage.h new file mode 100644 index 000000000..c9df250b8 --- /dev/null +++ b/engine/builtin_fx/sonku/SonKuP99DefaultOrbitStage.h @@ -0,0 +1,53 @@ +// SPDX-License-Identifier: AGPL-3.0-only +#pragma once +#include "SonKuSpatialCore.h" + +// P9.9 PRIVATE factory default. A type-safe ONE-place native reference +// for brand-new 8D-SonKu inserts only. Do NOT migrate operator .smix or +// alter approved Venue/Signature P9.8 checkpoints and their PCM. +// Values are transcribed from 2026-11-16 operator screenshot: +// ORBIT/CLOCKWISE, 12s, 127°, 100% MIX, +5.1dB (1.8 linear), +// Large 28.8m room, 2.7m, 100% ER, 77% late. The screenshot does not +// disclose the hidden v12 sceneVoicing byte or orbit starting phase; +// explicitly choose active Signature ID1 and FRONT 0° so the new private +// vocal-room algorithm actually runs and playback starts deterministically. +namespace armix::sonku::p99 { +struct DefaultOrbitStage final { + static constexpr float startAzimuth=0.f; + static constexpr float revolutionSeconds=12.f; + static constexpr float spreadDegrees=127.f; + static constexpr float outputGain=1.8f; + static constexpr float sourceDistanceMeters=2.7f; + static constexpr float reflections=1.f; + static constexpr float reverb=.77f; + static constexpr int voicing=1; // typed v12 Signature; Venue is 0 + static constexpr int room=3; // Large 28.8 x 28.8 + static Settings settings() noexcept { + Settings s{}; + s.renderMode=9; + s.sceneVoicing=voicing; + s.startAzimuthDegrees=startAzimuth; + s.moving=true; + s.clockwise=true; + s.revolutionSeconds=revolutionSeconds; + s.stereoSpreadDegrees=spreadDegrees; + s.spatialMix=1.f; + s.outputTrim=outputGain; + s.spacePreset=room; + s.sourceDistanceMeters=sourceDistanceMeters; + s.roomAmount=reflections; + s.ambience=reverb; +#if defined(SONKU_P72_NATIVE_XYZ_RT) && SONKU_P72_NATIVE_XYZ_RT + s.directElevationDegrees=0.f; +#endif +#if defined(SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH) && SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH + s.hrtfElevationTrimDegrees=0.f; +#endif +#if defined(SONKU_P83_PHYSICAL_SPEAKER_RESEARCH) && SONKU_P83_PHYSICAL_SPEAKER_RESEARCH + s.musicCompatibleLowFrequency=false; + s.headYawDegrees=0.f; +#endif + return s; + } +}; +} // namespace armix::sonku::p99 diff --git a/engine/builtin_fx/sonku/SonKuP99MusicalVocalDepth.h b/engine/builtin_fx/sonku/SonKuP99MusicalVocalDepth.h new file mode 100644 index 000000000..d8542d7aa --- /dev/null +++ b/engine/builtin_fx/sonku/SonKuP99MusicalVocalDepth.h @@ -0,0 +1,219 @@ +// SPDX-License-Identifier: AGPL-3.0-only +#pragma once +#include +#include +#include + +// P9.9 PRIVATE, scene-aware musical vocal focus. This is NOT voice separation +// and does not infer a singer from a full stereo mix. Only center-dominant, +// audible midrange earns a modest, slowly smoothed forward correction. +// The existing two virtual speakers, measured KEMAR FIRs, directional first +// reflections and linked limiter remain the ONLY output graph. No FFT, +// delay line, resampling, allocation, string analysis or per-sample trig. +// Venue/Custom (scene=0), ROOM OFF, and MIX=0 return exact P9.8/P9.7 PCM. +namespace armix::sonku::p99 { +class MusicalVocalDepth final { +public: + struct Stereo {float left=0.f,right=0.f;}; + bool prepare(double rate) noexcept { + if(!std::isfinite(rate) || (std::abs(rate-44100.)>.1 && + std::abs(rate-48000.)>.1))return false; + const auto alpha=[rate](double hz) noexcept { + constexpr double twoPi=6.283185307179586476925286766559; + return static_cast(1.-std::exp(-twoPi*hz/rate)); + }; + bodyLow_=alpha(210.); + bodyHigh_=alpha(880.); + focusLow_=alpha(760.); + focusHigh_=alpha(3350.); + // Two centered low-mid biquads, not a subtraction of unmatched + // low-pass phases: the original first-order warm band decreased + // integrated 86 Hz by 7%. Biquads reject deep LF/cymbals strongly + // and return near-zero phase at 330 Hz where room-body is intended. + roomWarmCoeff_=bandpass(rate,330.,1.4); + widthLow_=alpha(680.); + widthHigh_=alpha(3900.); + // Late-field relief must NOT eat vocal chest/body 200-650 Hz. + lateLow_=alpha(1350.); + lateHigh_=alpha(3800.); + attack_=alpha(7.5); // ~21 ms envelope attack + release_=alpha(1.3); // ~122 ms envelope release + attentionAttack_=alpha(5.); // ~32 ms, no per-syllable pumping + attentionRelease_=alpha(.85);// ~187 ms + gainSlew_=static_cast(1.-std::exp(-1./(rate*.055))); + reset(); + return true; + } + void reset() noexcept { + midBodyLow_={};midBodyHigh_={};midFocusLow_={};midFocusHigh_={}; + midFocusLow2_={};midFocusHigh2_={}; + roomWarm1_={};roomWarm2_={}; + roomWarmSignal_=0.f; + sideFocusLow_={};sideFocusHigh_={}; + sideFocusLow2_={};sideFocusHigh2_={}; + firstLow_={};firstHigh_={};firstLow2_={};firstHigh2_={}; + tailLow_={};tailHigh_={};tailLow2_={};tailHigh2_={}; + centerEnvelope_=sideEnvelope_=attention_=0.f; + gains_={}; + active_=false; + } + // ID 0 = completely unmodified approved Venue or Custom/Live Orbit. + // Signature / Default Orbit: a clearly audible but bounded +15-25% + // step beyond initial conservative P9.9, not broadband output gain. + // Cinema preserves LF body; + // Studio is deliberately a lower-delta, natural room. + Stereo source(float left,float right,int scene,bool enabled) noexcept { + active_=enabled && scene>=1 && scene<=3; + const auto target=profiles_[active_?scene:0]; + for(std::size_t i=0;i0.f?attentionRelease_:attentionAttack_)* + (0.f-attention_); + roomWarmSignal_=0.f; + return {left,right}; // NO altered float arithmetic + } + + const float mid=.5f*(left+right); + const float side=.5f*(left-right); + const float body=midBodyHigh_.run(bodyHigh_,mid)- + midBodyLow_.run(bodyLow_,mid); + // Cascaded matched one-poles form a soft 12dB/oct upper rolloff: + // a first-order band differential still raised 7.6kHz too much. + // Its *actual native test* rejected that high-sibilance excess. + const float focus=midFocusHigh2_.run( + focusHigh_,midFocusHigh_.run(focusHigh_,mid))- + midFocusLow2_.run( + focusLow_,midFocusLow_.run(focusLow_,mid)); + const float sideFocus=sideFocusHigh2_.run( + focusHigh_,sideFocusHigh_.run(focusHigh_,side))- + sideFocusLow2_.run( + focusLow_,sideFocusLow_.run(focusLow_,side)); + const float c=std::abs(focus); + const float s=std::abs(sideFocus); + // Envelope matching is musical-phrase-scale, not a per-sample gate. + centerEnvelope_+=(c>centerEnvelope_?attack_:release_)* + (c-centerEnvelope_); + sideEnvelope_+=(s>sideEnvelope_?attack_:release_)* + (s-sideEnvelope_); + const float centerShare=centerEnvelope_/ + (centerEnvelope_+1.65f*sideEnvelope_+1.e-5f); + const float dominance=std::clamp((centerShare-.46f)*2.f,0.f,1.f); + // Silence and tiny leakage must never trigger a sudden voice boost. + const float audible=std::clamp( + (centerEnvelope_-.00075f)/.0035f,0.f,1.f); + const float desired=dominance*audible; + attention_+=(desired>attention_?attentionAttack_:attentionRelease_)* + (desired-attention_); + // Feed the SAME already-prepared six-wall/late-room engines with + // a smooth, narrow-enough 330Hz center-body component. Prior P9.9 enhanced + // the DIRECT virtual loudspeaker only, while room/reverb observed + // original x0/x1: this could make the boosted singer sound dry. + // No new reflections, resonator, feedback, extra output or delay. + const float warm=roomWarm2_.run(roomWarmCoeff_, + roomWarm1_.run(roomWarmCoeff_,mid)); + roomWarmSignal_=attention_*warm; + // 210-880Hz body is explicitly reinforced, not cut. Most focus is + // at 760-3350Hz. No upper-air shelf, de-esser or narrow 4-8k peak. + const float delta=attention_*(gains_[0]*body+gains_[1]*focus); + return {left+delta,right+delta}; + } + // Inputs to the SAME acoustic room. Original L-R SIDE is preserved. + // Early has enough coherent low-mid energy to sound as if the vocal + // actually excites the room; a lower LATE feed provides its decay + // without over-reverberating syllables. No broadband tail boost. + Stereo roomEarlyFeed(float left,float right) const noexcept { + if(!active_ || gains_[4]==0.f)return {left,right}; + const float body=gains_[4]*roomWarmSignal_; + return {left+body,right+body}; + } + Stereo roomLateFeed(float left,float right) const noexcept { + if(!active_ || gains_[5]==0.f)return {left,right}; + const float body=gains_[5]*roomWarmSignal_; + return {left+body,right+body}; + } + // Small complementary widening of REAL directional first images, not + // fake Haas/crossfeed. Mid stays algebraically identical. This moves + // stereo accompaniment/reverb around the forward center without + // collapsing width or duplicating a second room/IR processor. + Stereo early(float left,float right) noexcept { + if(!active_ || gains_[2]==0.f)return {left,right}; + const float side=.5f*(left-right); + const float width=firstHigh2_.run( + widthHigh_,firstHigh_.run(widthHigh_,side))- + firstLow2_.run( + widthLow_,firstLow_.run(widthLow_,side)); + const float delta=gains_[2]*width; + return {left+delta,right-delta}; + } + // Center midrange in existing LATE field is gently relieved when the + // direct source is confident/centered. Lateral late ambience and bass + // remain unchanged: direct center appears closer while the already- + // rendered instruments retain their wider acoustic layer. + Stereo late(float left,float right) noexcept { + if(!active_ || gains_[3]==0.f)return {left,right}; + const float mid=.5f*(left+right); + const float band=tailHigh2_.run( + lateHigh_,tailHigh_.run(lateHigh_,mid))- + tailLow2_.run( + lateLow_,tailLow_.run(lateLow_,mid)); + const float delta=gains_[3]*attention_*band; + return {left-delta,right-delta}; + } +private: + struct LP { + float v=0.f; + float run(float coeff,float x) noexcept { + v+=coeff*(x-v); + return v; + } + }; + struct Coeff {float b0=0.f,b1=0.f,b2=0.f,a1=0.f,a2=0.f;}; + struct Biquad { + float z1=0.f,z2=0.f; + float run(const Coeff& c,float x) noexcept { + const float y=c.b0*x+z1; + z1=c.b1*x-c.a1*y+z2; + z2=c.b2*x-c.a2*y; + return y; + } + }; + static Coeff bandpass(double rate,double hz,double q) noexcept { + constexpr double pi=3.1415926535897932384626433832795; + const double w=2.*pi*hz/rate; + const double alpha=std::sin(w)/(2.*q); + const double inv=1./(1.+alpha); + return {static_cast(alpha*inv),0.f, + static_cast(-alpha*inv), + static_cast(-2.*std::cos(w)*inv), + static_cast((1.-alpha)*inv)}; + } + // body(210-880), focus(760-3350), directional early-side(680-3900), + // center-late relief(1350-3800), and 330Hz Q1.4 room-body sends. + // These are bounded linear mixing weights, + // not claimed vocal-estimation confidence or EQ dB targets. + static constexpr std::array,4> profiles_{{ + {{0.f,0.f,0.f,0.f,0.f,0.f}}, // Venue EXACT + {{.112f,.200f,.105f,.108f,.55f,.25f}}, // P9.9+ Signature vivid room + {{.040f,.062f,.030f,.038f,.22f,.095f}}, // Live Studio subtle + {{.070f,.115f,.065f,.070f,.34f,.15f}} // Cinema powerful, clear + }}; + LP midBodyLow_{},midBodyHigh_{},midFocusLow_{},midFocusHigh_{}; + LP midFocusLow2_{},midFocusHigh2_{}; + Coeff roomWarmCoeff_{}; + Biquad roomWarm1_{},roomWarm2_{}; + LP sideFocusLow_{},sideFocusHigh_{},sideFocusLow2_{},sideFocusHigh2_{}; + LP firstLow_{},firstHigh_{},firstLow2_{},firstHigh2_{}; + LP tailLow_{},tailHigh_{},tailLow2_{},tailHigh2_{}; + float bodyLow_=0.f,bodyHigh_=0.f,focusLow_=0.f,focusHigh_=0.f; + float roomWarmSignal_=0.f; + float widthLow_=0.f,widthHigh_=0.f,lateLow_=0.f,lateHigh_=0.f; + float attack_=0.f,release_=0.f,attentionAttack_=0.f; + float attentionRelease_=0.f,gainSlew_=0.f; + float centerEnvelope_=0.f,sideEnvelope_=0.f,attention_=0.f; + std::array gains_{}; + bool active_=false; +}; +} // namespace armix::sonku::p99 diff --git a/engine/builtin_fx/sonku/SonKuRoomMaterials.h b/engine/builtin_fx/sonku/SonKuRoomMaterials.h new file mode 100644 index 000000000..99b00bb23 --- /dev/null +++ b/engine/builtin_fx/sonku/SonKuRoomMaterials.h @@ -0,0 +1,89 @@ +// SPDX-License-Identifier: AGPL-3.0-only +#pragma once +#include +#include +#include +#include + +// Independent, parametric acoustic research material: NOT a measured room IR. +// One surface absorption TABLE is used by both 6-boundary image-source ER +// and the late FDN Eyring-style RT60 calibration. Frequencies are *coarse* +// LF (<250Hz), MID (250-4.8kHz) and HF (>4.8kHz); no proprietary assets. +// All sqrt/log/exp occur at prepare(), NEVER in the PCM callback. +namespace armix::sonku::room82 { +enum class Family : std::uint8_t { Studio=0, Chamber=1, Hall=2 }; +static constexpr int boundaries=6, bands=3; +using Bands=std::array; +using Surfaces=std::array; +struct Dimensions {float width,depth,height;}; +inline constexpr std::array dimensions{{ + {7.2f,7.2f,3.2f}, + {14.4f,14.4f,4.8f}, + {28.8f,28.8f,7.2f} +}}; +// Order: left,right,front,back,floor,ceiling. +// This is INTENSITY ABSORPTION (0..1), not impulse amplitude nor a known +// dearVR preset. Profiles are plausible illustrative materials only. +inline constexpr std::array absorption{{ + {{ // damped studio, realistic shorter MID/HF decay + {{.16f,.26f,.35f}}, {{.16f,.26f,.35f}}, + {{.16f,.28f,.40f}}, {{.16f,.28f,.40f}}, + {{.14f,.25f,.48f}}, {{.23f,.38f,.54f}} + }}, + {{ // lightly furnished medium chamber + {{.22f,.24f,.32f}}, {{.22f,.24f,.32f}}, + {{.22f,.25f,.34f}}, {{.22f,.25f,.34f}}, + {{.20f,.24f,.40f}}, {{.24f,.27f,.43f}} + }}, + {{ // larger reverberant hall + {{.19f,.26f,.37f}}, {{.19f,.26f,.37f}}, + {{.18f,.25f,.36f}}, {{.18f,.25f,.36f}}, + {{.20f,.28f,.48f}}, {{.22f,.28f,.50f}} + }} +}}; +constexpr Family familyForWidth(float width) noexcept { + return width<10.f?Family::Studio:width<20.f?Family::Chamber:Family::Hall; +} +constexpr int index(Family family) noexcept { + return static_cast(family); +} +constexpr bool validMaterials() noexcept { + for(const auto& room:absorption) + for(const auto& surface:room) + for(float a:surface) + if(!(a>0.f && a<.95f))return false; + return true; +} +static_assert(validMaterials()); +inline std::array preparePressure() noexcept { + std::array pressure{}; + for(int room=0;room<3;++room) + for(int wall=0;wall area{side,side,front,front,floor,floor}; + const float surface=2.f*(side+front+floor); + const float volume=d.width*d.depth*d.height; + Bands seconds{}; + for(int band=0;band Cartesian geometry, research only. +// No new parameter/schema; this is a quiescent off-line native DSP control. +#include +#include +namespace armix::sonku::xyz { +struct Placement { + float horizontalMeters=1.6f; + float sourceHeightMeters=1.45f; + float heightDeltaMeters=0.f; + float directDistanceMeters=1.6f; +}; +inline bool project(float radialMeters,float elevationDegrees, + float listenerHeight,float roomHeight, + Placement& result) noexcept { + if(!std::isfinite(radialMeters)||!std::isfinite(elevationDegrees)|| + !std::isfinite(listenerHeight)||!std::isfinite(roomHeight)|| + radialMeters<1.6f||radialMeters>10.f|| + elevationDegrees< -40.f||elevationDegrees>60.f|| + roomHeight<2.4f||roomHeight>12.f|| + listenerHeight<.5f||listenerHeight>roomHeight-.5f)return false; + constexpr float radians=.017453292519943295769f; + const float z=radialMeters*std::sin(elevationDegrees*radians); + const float horizontal=radialMeters*std::cos(elevationDegrees*radians); + const float height=listenerHeight+z; + if(height<.5f||height>roomHeight-.5f||horizontal<.7f)return false; + const float distance=std::hypot(horizontal,z); + if(!(distance>0.f)||!std::isfinite(distance))return false; + result={horizontal,height,z,radialMeters}; + return true; +} +} // namespace armix::sonku::xyz diff --git a/engine/builtin_fx/sonku/SonKuSpatialCore.h b/engine/builtin_fx/sonku/SonKuSpatialCore.h index 924fbb639..fcb3524e0 100644 --- a/engine/builtin_fx/sonku/SonKuSpatialCore.h +++ b/engine/builtin_fx/sonku/SonKuSpatialCore.h @@ -3,6 +3,62 @@ #include "SonKuMeasuredHrir.h" #include "SonKuEarlyReflections.h" #include "SonKuMusicalReverb.h" +#include "SonKuStereoIntegrity.h" +#if defined(SONKU_P83_PHYSICAL_SPEAKER_RESEARCH) && SONKU_P83_PHYSICAL_SPEAKER_RESEARCH +#if !defined(SONKU_P82_MULTIBAND_ROOM_RESEARCH) || !SONKU_P82_MULTIBAND_ROOM_RESEARCH || \ + !defined(SONKU_P71_DIRECT_XYZ_RESEARCH) || !SONKU_P71_DIRECT_XYZ_RESEARCH +#error P8.3 speaker research requires the P8.2 baseline and P7.1 XYZ engine +#endif +#include "SonKuP83SpeakerScene.h" +#include "SonKuP83LowFrequencyTransfer.h" +#endif +#if defined(SONKU_P84_SINGLE_CORE_FUSION_RESEARCH) && SONKU_P84_SINGLE_CORE_FUSION_RESEARCH +#if !defined(SONKU_P83_PHYSICAL_SPEAKER_RESEARCH) || !SONKU_P83_PHYSICAL_SPEAKER_RESEARCH || \ + !defined(SONKU_P80_TRANSPARENT_BASS_RESEARCH) || !SONKU_P80_TRANSPARENT_BASS_RESEARCH || \ + !defined(SONKU_P75_MUSIC_SAFE_RESEARCH) || !SONKU_P75_MUSIC_SAFE_RESEARCH +#error P8.4 single-graph music fusion requires the explicitly measured P8.2/P8.3 engine +#endif +#include "SonKuP84FusedMusicHrir.h" +#if defined(SONKU_P90_TRUE_EXTERNAL_RESEARCH) && SONKU_P90_TRUE_EXTERNAL_RESEARCH +#include "SonKuP90StereoDecoder.h" +#include "SonKuP91P92WorldBassFoundation.h" +#if defined(SONKU_P95_MUSICAL_PRESENCE_RESEARCH) && SONKU_P95_MUSICAL_PRESENCE_RESEARCH +#include "SonKuP95MusicalPresence.h" +#endif +#if defined(SONKU_P96_DISTANCE_REINFORCEMENT_RESEARCH) && SONKU_P96_DISTANCE_REINFORCEMENT_RESEARCH +#include "SonKuP96DistanceReinforcement.h" +#endif +#if defined(SONKU_P97_STAGE_IMPACT_RESEARCH) && SONKU_P97_STAGE_IMPACT_RESEARCH +#include "SonKuP97StageImpact.h" +#endif +#if defined(SONKU_P98_SCENE_VOICING_RESEARCH) && SONKU_P98_SCENE_VOICING_RESEARCH +#include "SonKuP98SceneVoicing.h" +#endif +#if defined(SONKU_P99_MUSICAL_VOCAL_DEPTH_RESEARCH) && SONKU_P99_MUSICAL_VOCAL_DEPTH_RESEARCH +#if !defined(SONKU_P98_SCENE_VOICING_RESEARCH) || !SONKU_P98_SCENE_VOICING_RESEARCH +#error "P9.9 requires the P9.8 typed scene engine" +#endif +#include "SonKuP99MusicalVocalDepth.h" +#endif +#if defined(SONKU_P94_FRONT_BACK_DEPTH_RESEARCH) && SONKU_P94_FRONT_BACK_DEPTH_RESEARCH +#include "SonKuP94FrontBackDepthCue.h" +#endif +#endif +#endif +#if defined(SONKU_P87_MUSIC_BODY_RESEARCH) && SONKU_P87_MUSIC_BODY_RESEARCH +#include "SonKuP87MusicalAirBody.h" +#endif +#if defined(SONKU_P80_TRANSPARENT_BASS_RESEARCH) && SONKU_P80_TRANSPARENT_BASS_RESEARCH +#include "SonKuHrtfTonalCalibration.h" +#endif +#if defined(SONKU_P71_DIRECT_XYZ_RESEARCH) && SONKU_P71_DIRECT_XYZ_RESEARCH +#include "SonKuSourcePlacement3D.h" +#endif +#if defined(SONKU_P72_NATIVE_XYZ_RT) && SONKU_P72_NATIVE_XYZ_RT +#if !defined(SONKU_P71_DIRECT_XYZ_RESEARCH) || !SONKU_P71_DIRECT_XYZ_RESEARCH || !defined(SONKU_P7_MEASURED_ELEVATION_RESEARCH) || !SONKU_P7_MEASURED_ELEVATION_RESEARCH +#error SonKu P7.2 native XYZ requires explicitly compiled measured P7 and P7.1 research banks +#endif +#endif #include #include #include @@ -30,6 +86,24 @@ struct Settings { // spacePreset=0 still guarantees identical legacy HRTF-only PCM. float roomAmount = .55f; float ambience = .30f; +#if defined(SONKU_P72_NATIVE_XYZ_RT) && SONKU_P72_NATIVE_XYZ_RT + // Experimental v3 only. Bundled atomically with ROOM/distance in + // existing native SPSC edit, never a second FX graph or audio worker. + float directElevationDegrees = 0.f; +#endif +#if defined(SONKU_P83_PHYSICAL_SPEAKER_RESEARCH) && SONKU_P83_PHYSICAL_SPEAKER_RESEARCH + // Experimental FX-state v4 only; no public v2/v3 ABI changes. + // 0=P8.2 Music Bed, 1=MonoObject LEFT input, 2=two world speakers. + int renderMode = 0; + bool musicCompatibleLowFrequency = false; + float headYawDegrees = 0.f; // deterministic world/head separation +#if defined(SONKU_P98_SCENE_VOICING_RESEARCH) && SONKU_P98_SCENE_VOICING_RESEARCH + int sceneVoicing=0; // 0=unchanged Venue/Custom; 1=Signature; 2=Studio; 3=Cinema +#endif +#if defined(SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH) && SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH + float hrtfElevationTrimDegrees=0.f; // spectral only, never room XYZ +#endif +#endif }; inline bool valid(const Settings& s) noexcept { return std::isfinite(s.startAzimuthDegrees) && @@ -45,6 +119,76 @@ inline bool valid(const Settings& s) noexcept { s.sourceDistanceMeters<=10.f && std::isfinite(s.roomAmount) && s.roomAmount>=0.f && s.roomAmount<=1.f && std::isfinite(s.ambience) && s.ambience>=0.f && s.ambience<=1.f && +#if defined(SONKU_P98_SCENE_VOICING_RESEARCH) && SONKU_P98_SCENE_VOICING_RESEARCH + p98::SceneVoicing::valid(s.sceneVoicing) && + // v12 deliberately excludes the retired P8.3 physical/mono + // modes 1/2 even when neutral voicing=0. The old P8.3 renderer + // was rejected by the operator; JSON, realtime edits and .smix + // restore must use ONE admission rule, not three distinct gates. + (s.renderMode==0 || (s.renderMode>=3 && s.renderMode<=9)) && + !s.musicCompatibleLowFrequency && + (s.sceneVoicing==0 || s.renderMode==9) && +#endif +#if defined(SONKU_P83_PHYSICAL_SPEAKER_RESEARCH) && SONKU_P83_PHYSICAL_SPEAKER_RESEARCH + s.renderMode>=0 && +#if defined(SONKU_P84_SINGLE_CORE_FUSION_RESEARCH) && SONKU_P84_SINGLE_CORE_FUSION_RESEARCH +#if defined(SONKU_P85_WORLD_COHERENCE_RESEARCH) && SONKU_P85_WORLD_COHERENCE_RESEARCH +#if defined(SONKU_P86_HORIZONTAL_FOCUS_RESEARCH) && SONKU_P86_HORIZONTAL_FOCUS_RESEARCH +#if defined(SONKU_P87_MUSIC_BODY_RESEARCH) && SONKU_P87_MUSIC_BODY_RESEARCH +#if defined(SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH) && SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH +#if defined(SONKU_P89_DEPTH_COHERENCE_RESEARCH) && SONKU_P89_DEPTH_COHERENCE_RESEARCH +#if defined(SONKU_P90_TRUE_EXTERNAL_RESEARCH) && SONKU_P90_TRUE_EXTERNAL_RESEARCH + s.renderMode<=9 && ((s.renderMode<3 || s.renderMode>9) || !s.musicCompatibleLowFrequency) && +#else + s.renderMode<=8 && ((s.renderMode!=3 && s.renderMode!=4 && s.renderMode!=5 && s.renderMode!=6 && s.renderMode!=7 && s.renderMode!=8) || !s.musicCompatibleLowFrequency) && +#endif +#else + s.renderMode<=7 && ((s.renderMode!=3 && s.renderMode!=4 && s.renderMode!=5 && s.renderMode!=6 && s.renderMode!=7) || !s.musicCompatibleLowFrequency) && +#endif +#else + s.renderMode<=6 && ((s.renderMode!=3 && s.renderMode!=4 && s.renderMode!=5 && s.renderMode!=6) || !s.musicCompatibleLowFrequency) && +#endif +#else + s.renderMode<=5 && ((s.renderMode!=3 && s.renderMode!=4 && s.renderMode!=5) || !s.musicCompatibleLowFrequency) && +#endif +#else + s.renderMode<=4 && ((s.renderMode!=3 && s.renderMode!=4) || !s.musicCompatibleLowFrequency) && +#endif +#else + s.renderMode<=3 && (s.renderMode!=3 || !s.musicCompatibleLowFrequency) && +#endif +#else + s.renderMode<=2 && +#endif +#if defined(SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH) && SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH + std::isfinite(s.hrtfElevationTrimDegrees) && + s.hrtfElevationTrimDegrees>=-30.f && s.hrtfElevationTrimDegrees<=20.f && + ((s.renderMode!=7 +#if defined(SONKU_P89_DEPTH_COHERENCE_RESEARCH) && SONKU_P89_DEPTH_COHERENCE_RESEARCH + && s.renderMode!=8 +#if defined(SONKU_P90_TRUE_EXTERNAL_RESEARCH) && SONKU_P90_TRUE_EXTERNAL_RESEARCH + && s.renderMode!=9 +#endif +#endif + ) || (s.directElevationDegrees+s.hrtfElevationTrimDegrees>=-40.f && + s.directElevationDegrees+s.hrtfElevationTrimDegrees<=60.f)) && +#endif + p83::validYaw(s.headYawDegrees) && + (s.renderMode!=2 || (s.stereoSpreadDegrees>=20.f && + s.stereoSpreadDegrees<=120.f)) && +#endif +#if defined(SONKU_P72_NATIVE_XYZ_RT) && SONKU_P72_NATIVE_XYZ_RT + // Pure control-thread admission; validate even when ROOM is OFF so + // a later enable cannot silently admit an impossible placement. + [&]() noexcept { + xyz::Placement projected{}; + const float height=s.spacePreset<=1?3.2f: + s.spacePreset==2?4.8f:7.2f; + return xyz::project(s.sourceDistanceMeters, + s.directElevationDegrees,1.45f, + height,projected); + }() && +#endif (s.spacePreset==0 || SonKuEarlyReflections::validGeometry({ s.spacePreset==1?7.2f:s.spacePreset==2?14.4f:28.8f, s.spacePreset==1?7.2f:s.spacePreset==2?14.4f:28.8f, @@ -58,12 +202,24 @@ class SonKuSpatialCore final { public: static constexpr int taps=hrir::taps; static constexpr int updateInterval=16; - bool prepare(double rate) noexcept { +#if defined(SONKU_P99_MUSICAL_VOCAL_DEPTH_RESEARCH) && SONKU_P99_MUSICAL_VOCAL_DEPTH_RESEARCH + // Control thread, before prepare: explicitly authorize P9.9 on THIS + // SonKu insert, not all products sharing this exact native core. + // Separate branded processors (e.g. ImmerSIB) remain P9.8 until they + // independently adopt its P9.9 voicing. No extra PCM graph or state ABI. + void optInP99ForSonKuInsert() noexcept { p99ForSonKuInsert_=true; } +#endif + bool prepare(double rate, SonKuReflectionProfile profile= + SonKuReflectionProfile::Lightweight) noexcept { ready_=false; if(!std::isfinite(rate) || (std::abs(rate-44100.)>.1 && std::abs(rate-48000.)>.1))return false; sampleRate_=rate; - bank_=(std::abs(rate-44100.)<.1)?hrir::normal44100:hrir::normal48000; + bank_=(std::abs(rate-44100.)<=.1)?hrir::normal44100:hrir::normal48000; +#if defined(SONKU_P80_TRANSPARENT_BASS_RESEARCH) && SONKU_P80_TRANSPARENT_BASS_RESEARCH + if(profile==SonKuReflectionProfile::SixSurfaceKemarResearch && + !tonalCalibration_.prepare(rate,bank_))return false; +#endif // Prepared control-side: continuous coefficient and gain smoothing // without trigonometric/exponential work in the audio callback. filterSlew_=static_cast(1.-std::exp(-1./(rate*0.006))); @@ -72,8 +228,65 @@ class SonKuSpatialCore final { // realtime callback. Headphone low shelf ~180 Hz; no added latency. distanceSlew_=static_cast(1.-std::exp(-1./(rate*0.030))); bassSlew_=static_cast(1.-std::exp(-2.*3.14159265358979323846*180./rate)); +#if defined(SONKU_P80_TRANSPARENT_BASS_RESEARCH) && SONKU_P80_TRANSPARENT_BASS_RESEARCH + // P8 research: coherent LF pressure stays on its original stereo + // channel. Complementary first-order HP spatial field is derived + // from exactly the same sample-synchronous one-pole LP topology. + // No lookahead, latency, FFT or callback coefficient computation. + bassCrossoverAlpha_=static_cast( + 1.-std::exp(-2.*3.14159265358979323846*220./rate)); +#endif limiterRelease_=static_cast(1./(rate*0.080)); - if(!room_.prepare(rate)||!reverb_.prepare(rate))return false; +#if defined(SONKU_P83_PHYSICAL_SPEAKER_RESEARCH) && SONKU_P83_PHYSICAL_SPEAKER_RESEARCH + if(!p83LowFrequency_.prepare(rate))return false; +#endif +#if defined(SONKU_P84_SINGLE_CORE_FUSION_RESEARCH) && SONKU_P84_SINGLE_CORE_FUSION_RESEARCH + if(!p84MusicKernel_.prepare(rate))return false; +#if defined(SONKU_P90_TRUE_EXTERNAL_RESEARCH) && SONKU_P90_TRUE_EXTERNAL_RESEARCH + if(!p90Decoder_.prepare(rate))return false; + if(!p92Bass_.prepare(rate))return false; +#if defined(SONKU_P96_DISTANCE_REINFORCEMENT_RESEARCH) && SONKU_P96_DISTANCE_REINFORCEMENT_RESEARCH + if(!p96Reinforcement_.prepare(rate))return false; +#endif +#if defined(SONKU_P97_STAGE_IMPACT_RESEARCH) && SONKU_P97_STAGE_IMPACT_RESEARCH + if(!p97Stage_.prepare(rate))return false; +#endif +#if defined(SONKU_P98_SCENE_VOICING_RESEARCH) && SONKU_P98_SCENE_VOICING_RESEARCH + if(!p98Voicing_.prepare(rate))return false; +#endif +#if defined(SONKU_P99_MUSICAL_VOCAL_DEPTH_RESEARCH) && SONKU_P99_MUSICAL_VOCAL_DEPTH_RESEARCH + if(!p99VocalDepth_.prepare(rate))return false; +#endif +#if defined(SONKU_P95_MUSICAL_PRESENCE_RESEARCH) && SONKU_P95_MUSICAL_PRESENCE_RESEARCH + if(!p95Presence_.prepare(rate))return false; +#endif +#if defined(SONKU_P94_FRONT_BACK_DEPTH_RESEARCH) && SONKU_P94_FRONT_BACK_DEPTH_RESEARCH + if(!p94Depth_.prepare(rate))return false; +#endif +#endif +#endif +#if defined(SONKU_P87_MUSIC_BODY_RESEARCH) && SONKU_P87_MUSIC_BODY_RESEARCH + if(!p87Body_.prepare(rate))return false; +#endif +#if defined(SONKU_P71_DIRECT_XYZ_RESEARCH) && SONKU_P71_DIRECT_XYZ_RESEARCH + // The special elevation control is not serialized or published to + // a public host. Downgrading the prepared profile clears it. + if(profile!=SonKuReflectionProfile::SixSurfaceKemarResearch) + researchElevationDegrees_=0.f; +#if defined(SONKU_P72_NATIVE_XYZ_RT) && SONKU_P72_NATIVE_XYZ_RT + // Preserve the accepted elevation on an ASIO/device re-prepare. + // Non-3D prepared engines cannot unknowingly carry 3D state. + if(profile==SonKuReflectionProfile::SixSurfaceKemarResearch) + researchElevationDegrees_=settings_.directElevationDegrees; + else + settings_.directElevationDegrees=0.f; +#endif + // Only a *new* DSP prepare re-opens the quiescent research gate. + // reset() while an existing audio graph is running must NOT do so. + researchPcmStarted_=false; +#endif + if(!room_.prepare(rate,profile)||!reverb_.prepare(rate)|| + !integrity_.prepare(rate))return false; reset(); ready_=true; // Re-publish a saved active scene after device restart, but do NOT @@ -88,11 +301,25 @@ class SonKuSpatialCore final { smoothedMix_=settings_.spatialMix; smoothedTrim_=settings_.outputTrim; smoothedDistanceGain_=1.f; +#if defined(SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH) && SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH + smoothedBassDistance_=1.f; +#endif smoothedRoomLevel_=1.f; smoothedBassShelf_=0.f; smoothedErPresence_=1.f; smoothedTailPresence_=1.f; earBass_.fill(0.f); +#if defined(SONKU_P80_TRANSPARENT_BASS_RESEARCH) && SONKU_P80_TRANSPARENT_BASS_RESEARCH + tonalCalibration_.reset(); +#if defined(SONKU_P87_MUSIC_BODY_RESEARCH) && SONKU_P87_MUSIC_BODY_RESEARCH + p87Body_.reset(); +#endif +#endif +#if defined(SONKU_P80_TRANSPARENT_BASS_RESEARCH) && SONKU_P80_TRANSPARENT_BASS_RESEARCH + originalBass_.fill(0.f); + binauralBass_.fill(0.f); + sideBass_=0.f; +#endif limiterGain_=1.f; write_=0; remaining_=0; @@ -100,20 +327,113 @@ class SonKuSpatialCore final { haveKernel_=false; room_.reset(); reverb_.reset(); + integrity_.reset(); +#if defined(SONKU_P90_TRUE_EXTERNAL_RESEARCH) && SONKU_P90_TRUE_EXTERNAL_RESEARCH + p90Decoder_.reset(); + p92Bass_.reset(); +#if defined(SONKU_P96_DISTANCE_REINFORCEMENT_RESEARCH) && SONKU_P96_DISTANCE_REINFORCEMENT_RESEARCH + p96Reinforcement_.reset(); +#endif +#if defined(SONKU_P97_STAGE_IMPACT_RESEARCH) && SONKU_P97_STAGE_IMPACT_RESEARCH + p97Stage_.reset(); +#endif +#if defined(SONKU_P98_SCENE_VOICING_RESEARCH) && SONKU_P98_SCENE_VOICING_RESEARCH + p98Voicing_.reset(); +#endif +#if defined(SONKU_P99_MUSICAL_VOCAL_DEPTH_RESEARCH) && SONKU_P99_MUSICAL_VOCAL_DEPTH_RESEARCH + p99VocalDepth_.reset(); +#endif +#if defined(SONKU_P95_MUSICAL_PRESENCE_RESEARCH) && SONKU_P95_MUSICAL_PRESENCE_RESEARCH + p95Presence_.reset(); +#endif +#if defined(SONKU_P94_FRONT_BACK_DEPTH_RESEARCH) && SONKU_P94_FRONT_BACK_DEPTH_RESEARCH + p94Depth_.reset(); +#endif +#endif +#if defined(SONKU_P83_PHYSICAL_SPEAKER_RESEARCH) && SONKU_P83_PHYSICAL_SPEAKER_RESEARCH + p83LowFrequency_.reset(); +#endif } bool setSettings(const Settings& s) noexcept { if(!valid(s))return false; - // Keep phase continuous for live speed/spread adjustments; changing start - // position while static is an intentional absolute reposition. - if(!s.moving || !settings_.moving || - s.startAzimuthDegrees!=settings_.startAzimuthDegrees) - degrees_=wrapDegrees(s.startAzimuthDegrees); +#if defined(SONKU_P83_PHYSICAL_SPEAKER_RESEARCH) && SONKU_P83_PHYSICAL_SPEAKER_RESEARCH + if(s.renderMode!=0 && + room_.preparedProfile()!=SonKuReflectionProfile::SixSurfaceKemarResearch) + return false; // Only real measured prepared native research instance +#endif +#if defined(SONKU_P72_NATIVE_XYZ_RT) && SONKU_P72_NATIVE_XYZ_RT + const auto activeProfile=room_.preparedProfile(); + if(activeProfile!=SonKuReflectionProfile::SixSurfaceKemarResearch && + s.directElevationDegrees!=0.f)return false; + // Transactional XYZ admission. The old core set degrees_ BEFORE room + // validation, so an invalid edit could rotate a still-running orbit. + // Stage all 3D changes and publish the phase only on success. + const float formerElevation=researchElevationDegrees_; + researchElevationDegrees_=s.directElevationDegrees; +#endif const bool changed=s.spacePreset!=settings_.spacePreset || s.sourceDistanceMeters!=settings_.sourceDistanceMeters || s.roomAmount!=settings_.roomAmount || - s.ambience!=settings_.ambience; - if(changed && !applyAcousticSettings(s))return false; + s.ambience!=settings_.ambience +#if defined(SONKU_P72_NATIVE_XYZ_RT) && SONKU_P72_NATIVE_XYZ_RT + || s.directElevationDegrees!=formerElevation +#endif + ; + if(changed && !applyAcousticSettings(s)) { +#if defined(SONKU_P72_NATIVE_XYZ_RT) && SONKU_P72_NATIVE_XYZ_RT + researchElevationDegrees_=formerElevation; +#endif + return false; + } + // Preserve continuous motion during accepted elevation edits. + if(!s.moving || !settings_.moving || + s.startAzimuthDegrees!=settings_.startAzimuthDegrees) + degrees_=wrapDegrees(s.startAzimuthDegrees); +#if defined(SONKU_P87_MUSIC_BODY_RESEARCH) && SONKU_P87_MUSIC_BODY_RESEARCH + if(s.renderMode!=settings_.renderMode || + s.spacePreset!=settings_.spacePreset)p87Body_.reset(); +#endif +#if defined(SONKU_P90_TRUE_EXTERNAL_RESEARCH) && SONKU_P90_TRUE_EXTERNAL_RESEARCH + // Native mode changes are already zero-gated by JUCE. Reset only + // small P9 LF/coherence memories when entering or leaving mode 9: + // a frozen previous P9 scene must never leak stale bass after P8 A/B. + if((s.renderMode==9)!=(settings_.renderMode==9)){ + p90Decoder_.reset(); + p92Bass_.reset(); +#if defined(SONKU_P96_DISTANCE_REINFORCEMENT_RESEARCH) && SONKU_P96_DISTANCE_REINFORCEMENT_RESEARCH + p96Reinforcement_.reset(); +#endif +#if defined(SONKU_P97_STAGE_IMPACT_RESEARCH) && SONKU_P97_STAGE_IMPACT_RESEARCH + p97Stage_.reset(); +#endif +#if defined(SONKU_P98_SCENE_VOICING_RESEARCH) && SONKU_P98_SCENE_VOICING_RESEARCH + p98Voicing_.reset(); +#endif +#if defined(SONKU_P99_MUSICAL_VOCAL_DEPTH_RESEARCH) && SONKU_P99_MUSICAL_VOCAL_DEPTH_RESEARCH + p99VocalDepth_.reset(); +#endif +#if defined(SONKU_P95_MUSICAL_PRESENCE_RESEARCH) && SONKU_P95_MUSICAL_PRESENCE_RESEARCH + p95Presence_.reset(); +#endif +#if defined(SONKU_P94_FRONT_BACK_DEPTH_RESEARCH) && SONKU_P94_FRONT_BACK_DEPTH_RESEARCH + p94Depth_.reset(); +#endif + } +#endif settings_=s; +#if defined(SONKU_P83_PHYSICAL_SPEAKER_RESEARCH) && SONKU_P83_PHYSICAL_SPEAKER_RESEARCH + // Apply typed real-time SPSC state, not quiescent-only test setters. + // The JUCE adapter fades out to zero BEFORE applying a mode edit. + // No heavy DSP reset or heap work on the audio thread. + if(p83Mode_!=static_cast(s.renderMode) || + p83MusicCompatibleLf_!=s.musicCompatibleLowFrequency || + p83HeadYaw_!=s.headYawDegrees) { + p83LowFrequency_.reset(); // four small scalar filter memories + } + p83Mode_=static_cast(s.renderMode); + p83MusicCompatibleLf_=s.musicCompatibleLowFrequency; + p83HeadYaw_=s.headYawDegrees; +#endif // Once native ROOM has been enabled, retain the smoothed transition // when it is turned OFF. Standalone experimental V2/V3 OFF fixtures // continue to use their exact original 1/r distance law. @@ -122,6 +442,108 @@ class SonKuSpatialCore final { return true; } Settings settings() const noexcept {return settings_;} +#if defined(SONKU_P83_PHYSICAL_SPEAKER_RESEARCH) && SONKU_P83_PHYSICAL_SPEAKER_RESEARCH + // OFFLINE ONLY: quiescent, before PCM. Native session/GUI/SPSC untouched. + bool setResearchRenderMode(p83::Mode mode) noexcept { + if(!ready_ || researchPcmStarted_ || !p83::valid(mode) || + room_.preparedProfile()!=SonKuReflectionProfile::SixSurfaceKemarResearch || + (mode==p83::Mode::SpeakerMonitor && + (settings_.stereoSpreadDegrees<20.f || + settings_.stereoSpreadDegrees>120.f)))return false; + p83Mode_=mode; + settings_.renderMode=static_cast(mode); + reset(); + return true; + } + // Pre-PCM-only A/B: physical KEMAR transfer remains the default. + // This changes ONLY SpeakerMonitor LF, not MonoObject or P8.2. + bool setResearchSpeakerMusicLowFrequency(bool enabled) noexcept { + if(!ready_ || researchPcmStarted_ || + room_.preparedProfile()!=SonKuReflectionProfile::SixSurfaceKemarResearch) + return false; + p83MusicCompatibleLf_=enabled; + settings_.musicCompatibleLowFrequency=enabled; + reset(); + return true; + } + bool setResearchSpeakerMusicLowFrequencyCutoff(float hz) noexcept { + if(!ready_||researchPcmStarted_ || + room_.preparedProfile()!=SonKuReflectionProfile::SixSurfaceKemarResearch) + return false; + return p83LowFrequency_.setCutoff(hz); + } + bool researchSpeakerMusicLowFrequency() const noexcept { + return p83MusicCompatibleLf_; + } +#if defined(SONKU_P84_SINGLE_CORE_FUSION_RESEARCH) && SONKU_P84_SINGLE_CORE_FUSION_RESEARCH + // OFFLINE SOURCE RESEARCH ONLY. A portable/native JUCE v4 host does + // NOT expose this and cannot silently activate it via .smix. + // P8.2 stereo bass/SIDE and room mixing remain authoritative. + bool setResearchFusedMusicClarity(bool enabled) noexcept { + if(!ready_ || researchPcmStarted_ || + (enabled && p83Mode_!=p83::Mode::MusicBedP82) || + room_.preparedProfile()!=SonKuReflectionProfile::SixSurfaceKemarResearch) + return false; + if(p84FusedMusic_==enabled)return true; + p84FusedMusic_=enabled; + reset(); // pre-PCM only: no heavy audio callback mutation + return true; + } + bool researchFusedMusicClarity() const noexcept{return p84FusedMusic_;} +#endif + bool setResearchHeadYaw(float yaw) noexcept { + if(!ready_ || researchPcmStarted_ || !p83::validYaw(yaw) || + room_.preparedProfile()!=SonKuReflectionProfile::SixSurfaceKemarResearch) + return false; + p83HeadYaw_=yaw; + settings_.headYawDegrees=yaw; + reset(); + return true; + } + // Native PCM evidence: wall bits left,right,front,back,floor,ceiling. + bool setResearchEvidence(p83::Stem stem,std::uint8_t wallMask=0x3f) noexcept { + if(!ready_ || researchPcmStarted_ || !p83::valid(stem) || + room_.preparedProfile()!=SonKuReflectionProfile::SixSurfaceKemarResearch || + !room_.setResearchWallMask(wallMask))return false; + p83Stem_=stem; + return true; + } + p83::Mode researchMode() const noexcept {return p83Mode_;} + float researchHeadYaw() const noexcept {return p83HeadYaw_;} +#endif +#if defined(SONKU_P71_DIRECT_XYZ_RESEARCH) && SONKU_P71_DIRECT_XYZ_RESEARCH + // Only quiescent, unpublished *research* cores may change source XYZ. + // This is intentionally NOT a new FX/state/UI/ACK field. No race with + // a live PCM callback and no possibility of hidden session mutations. + bool setResearchDirectElevation(float degrees) noexcept { + if(!ready_||researchPcmStarted_|| + room_.preparedProfile()!=SonKuReflectionProfile::SixSurfaceKemarResearch) + return false; + xyz::Placement projected{}; + const float h=settings_.spacePreset<=1?3.2f: + settings_.spacePreset==2?4.8f:7.2f; + if(!xyz::project(settings_.sourceDistanceMeters,degrees,1.45f,h,projected)) + return false; +#if defined(SONKU_P72_NATIVE_XYZ_RT) && SONKU_P72_NATIVE_XYZ_RT + // Research setup must use the same single edit transaction as the + // later JUCE audio-applied ACK and persisted v3. No shadow state. + auto next=settings_; + next.directElevationDegrees=degrees; + return setSettings(next); +#else + const float old=researchElevationDegrees_; + researchElevationDegrees_=degrees; + if(!applyAcousticSettings(settings_)) { + researchElevationDegrees_=old; + return false; + } + remaining_=0; + haveKernel_=false; + return true; +#endif + } + float researchDirectElevation() const noexcept {return researchElevationDegrees_;} +#endif // A/B-only control pending room's headphone/device qualification. // Legacy live insert remains room-free until product evidence is accepted. bool setEarlyReflectionsAmount(float amount) noexcept { @@ -131,6 +553,18 @@ class SonKuSpatialCore final { bool setEarlyReflectionsShape(SonKuRoomShape shape) noexcept { return room_.setShape(shape); } + // Experimental offline only. No persisted or native/UI renderer switch. + bool setDirectionalEarlyReflectionsHrir(bool on) noexcept { + return room_.setDirectionalHrir(on); + } + // P3 offline-only matched-source-direction optimization; no .smix ABI. + bool setDirectionalZeroSpreadFusion(bool on) noexcept { + return room_.setDirectionalZeroSpreadFusion(on); + } + // P4 research opt-in, no on-disk state nor native GUI control. + bool setDirectionalContiguousHrir(bool on) noexcept { + return room_.setDirectionalContiguousHrir(on); + } // Offline M3 distance/large-room acoustic trial. Not a GUI/native ABI. bool setAcousticRoomGeometry(const SonKuRoomGeometry& geometry) noexcept { return room_.setGeometry(geometry); @@ -144,23 +578,185 @@ class SonKuSpatialCore final { return reverb_.setPreset(preset); } bool ready() const noexcept {return ready_;} + SonKuReflectionProfile preparedReflectionProfile() const noexcept { + return room_.preparedProfile(); + } double azimuthDegrees() const noexcept {return degrees_;} // In-place stereo; caller owns valid, non-overlapping L/R PCM pointers. // No vector, heap, blocking calls, I/O or filter bank allocation. void process(float* left,float* right,int samples) noexcept { if(!ready_ || !left || !right || samples<=0)return; +#if defined(SONKU_P71_DIRECT_XYZ_RESEARCH) && SONKU_P71_DIRECT_XYZ_RESEARCH + researchPcmStarted_=true; +#endif const double step=(settings_.moving ? (settings_.clockwise?1.:-1.)*360./(sampleRate_*settings_.revolutionSeconds) : 0.); +#if defined(SONKU_P83_PHYSICAL_SPEAKER_RESEARCH) && SONKU_P83_PHYSICAL_SPEAKER_RESEARCH + const bool positionedMode= + room_.preparedProfile()==SonKuReflectionProfile::SixSurfaceKemarResearch && + p83Mode_!=p83::Mode::MusicBedP82 +#if defined(SONKU_P84_SINGLE_CORE_FUSION_RESEARCH) && SONKU_P84_SINGLE_CORE_FUSION_RESEARCH + && p83Mode_!=p83::Mode::MusicSpatialP84 +#if defined(SONKU_P85_WORLD_COHERENCE_RESEARCH) && SONKU_P85_WORLD_COHERENCE_RESEARCH + && p83Mode_!=p83::Mode::MusicSpatialP85 +#if defined(SONKU_P86_HORIZONTAL_FOCUS_RESEARCH) && SONKU_P86_HORIZONTAL_FOCUS_RESEARCH + && p83Mode_!=p83::Mode::MusicSpatialP86 +#if defined(SONKU_P87_MUSIC_BODY_RESEARCH) && SONKU_P87_MUSIC_BODY_RESEARCH + && p83Mode_!=p83::Mode::MusicSpatialP87 +#if defined(SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH) && SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH + && p83Mode_!=p83::Mode::MusicSpatialP88 +#if defined(SONKU_P89_DEPTH_COHERENCE_RESEARCH) && SONKU_P89_DEPTH_COHERENCE_RESEARCH + && p83Mode_!=p83::Mode::MusicSpatialP89 +#if defined(SONKU_P90_TRUE_EXTERNAL_RESEARCH) && SONKU_P90_TRUE_EXTERNAL_RESEARCH + && p83Mode_!=p83::Mode::MusicSpatialP90 +#endif +#endif +#endif +#endif +#endif +#endif +#endif + ; + const bool monoObject=positionedMode && p83Mode_==p83::Mode::MonoObject; +#else + constexpr bool positionedMode=false,monoObject=false; +#endif const float distanceGain=room_.relativeDistanceGain(); const bool nativeSpace=nativeSpaceEverUsed_; const bool roomEnabled=settings_.spacePreset!=0; +#if defined(SONKU_P80_TRANSPARENT_BASS_RESEARCH) && SONKU_P80_TRANSPARENT_BASS_RESEARCH + const bool transparentBass= + room_.preparedProfile()==SonKuReflectionProfile::SixSurfaceKemarResearch && !positionedMode +#if defined(SONKU_P90_TRUE_EXTERNAL_RESEARCH) && SONKU_P90_TRUE_EXTERNAL_RESEARCH + // P9 owns its complementary WORLD LF return. Never replace it + // with P8.2's original headphone-locked low frequencies. + && p83Mode_!=p83::Mode::MusicSpatialP90 +#endif + ; +#else + constexpr bool transparentBass=false; +#endif +#if defined(SONKU_P75_MUSIC_SAFE_RESEARCH) && SONKU_P75_MUSIC_SAFE_RESEARCH + // Field-failure quarantine, opt-in ONLY: spatialize the MUSIC MID + // through one real measured center HRTF, keep stereo SIDE separated. + // The original two-emitter renderer is never modified in public builds. + const bool musicSafe= + room_.preparedProfile()==SonKuReflectionProfile::SixSurfaceKemarResearch && !positionedMode; +#else + constexpr bool musicSafe=false; +#endif +#if defined(SONKU_P84_SINGLE_CORE_FUSION_RESEARCH) && SONKU_P84_SINGLE_CORE_FUSION_RESEARCH + const bool musicFused=musicSafe && + (p84FusedMusic_ || p83Mode_==p83::Mode::MusicSpatialP84 +#if defined(SONKU_P85_WORLD_COHERENCE_RESEARCH) && SONKU_P85_WORLD_COHERENCE_RESEARCH + || p83Mode_==p83::Mode::MusicSpatialP85 +#if defined(SONKU_P86_HORIZONTAL_FOCUS_RESEARCH) && SONKU_P86_HORIZONTAL_FOCUS_RESEARCH + || p83Mode_==p83::Mode::MusicSpatialP86 +#if defined(SONKU_P87_MUSIC_BODY_RESEARCH) && SONKU_P87_MUSIC_BODY_RESEARCH + || p83Mode_==p83::Mode::MusicSpatialP87 +#if defined(SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH) && SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH + || p83Mode_==p83::Mode::MusicSpatialP88 +#if defined(SONKU_P89_DEPTH_COHERENCE_RESEARCH) && SONKU_P89_DEPTH_COHERENCE_RESEARCH + || p83Mode_==p83::Mode::MusicSpatialP89 +#if defined(SONKU_P90_TRUE_EXTERNAL_RESEARCH) && SONKU_P90_TRUE_EXTERNAL_RESEARCH + || p83Mode_==p83::Mode::MusicSpatialP90 +#endif +#endif +#endif +#endif +#endif +#endif + ); +#else + constexpr bool musicFused=false; +#endif +#if defined(SONKU_P86_HORIZONTAL_FOCUS_RESEARCH) && SONKU_P86_HORIZONTAL_FOCUS_RESEARCH + // Mode 5 changes wet only; P8.5 direct HRIR/LF/stereo/tonal remain. + const bool horizontalFocus=p83Mode_==p83::Mode::MusicSpatialP86 +#if defined(SONKU_P87_MUSIC_BODY_RESEARCH) && SONKU_P87_MUSIC_BODY_RESEARCH + || p83Mode_==p83::Mode::MusicSpatialP87 +#if defined(SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH) && SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH + || p83Mode_==p83::Mode::MusicSpatialP88 +#if defined(SONKU_P89_DEPTH_COHERENCE_RESEARCH) && SONKU_P89_DEPTH_COHERENCE_RESEARCH + || p83Mode_==p83::Mode::MusicSpatialP89 +#if defined(SONKU_P90_TRUE_EXTERNAL_RESEARCH) && SONKU_P90_TRUE_EXTERNAL_RESEARCH + || p83Mode_==p83::Mode::MusicSpatialP90 +#endif +#endif +#endif +#endif + ; +#if defined(SONKU_P87_MUSIC_BODY_RESEARCH) && SONKU_P87_MUSIC_BODY_RESEARCH + const bool musicalBody=p83Mode_==p83::Mode::MusicSpatialP87 +#if defined(SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH) && SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH + || p83Mode_==p83::Mode::MusicSpatialP88 +#if defined(SONKU_P89_DEPTH_COHERENCE_RESEARCH) && SONKU_P89_DEPTH_COHERENCE_RESEARCH + || p83Mode_==p83::Mode::MusicSpatialP89 +#if defined(SONKU_P90_TRUE_EXTERNAL_RESEARCH) && SONKU_P90_TRUE_EXTERNAL_RESEARCH + || p83Mode_==p83::Mode::MusicSpatialP90 +#endif +#endif +#endif + ; +#endif +#endif +#if defined(SONKU_P90_TRUE_EXTERNAL_RESEARCH) && SONKU_P90_TRUE_EXTERNAL_RESEARCH + const bool p90World=p83Mode_==p83::Mode::MusicSpatialP90; +#else + constexpr bool p90World=false; +#endif // Deliberate music-monitor compensation: real distance perception // still comes from direct/reflected ratio and high-frequency cues, // while the direct field is not attenuated by the full physical 1/r. // 1.6m=1; 8m~0.55 instead of 0.20. No pow/exp on the PCM callback. + // P8.8: meaningful source-distance cue at 7+ m, no huge diffuse tail. const float targetDistance=roomEnabled? - 1.f/(1.f+0.13f*(settings_.sourceDistanceMeters-1.6f)):1.f; + 1.f/(1.f+ +#if defined(SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH) && SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH + ((p83Mode_==p83::Mode::MusicSpatialP88 +#if defined(SONKU_P89_DEPTH_COHERENCE_RESEARCH) && SONKU_P89_DEPTH_COHERENCE_RESEARCH + || p83Mode_==p83::Mode::MusicSpatialP89 +#if defined(SONKU_P90_TRUE_EXTERNAL_RESEARCH) && SONKU_P90_TRUE_EXTERNAL_RESEARCH + || p83Mode_==p83::Mode::MusicSpatialP90 +#endif +#endif + )?0.27f:0.13f)* +#else + 0.13f* +#endif + (settings_.sourceDistanceMeters-1.6f)):1.f; + // Original low-frequency direct return ignored distance; P8.8 + // attenuates it gently while preserving stereo LF weight. +#if defined(SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH) && SONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH + const float targetBassDistance=roomEnabled&& + (p83Mode_==p83::Mode::MusicSpatialP88 +#if defined(SONKU_P89_DEPTH_COHERENCE_RESEARCH) && SONKU_P89_DEPTH_COHERENCE_RESEARCH + || p83Mode_==p83::Mode::MusicSpatialP89 +#if defined(SONKU_P90_TRUE_EXTERNAL_RESEARCH) && SONKU_P90_TRUE_EXTERNAL_RESEARCH + || p83Mode_==p83::Mode::MusicSpatialP90 +#endif +#endif + )? + 1.f/(1.f+0.10f*(settings_.sourceDistanceMeters-1.6f)):1.f; +#endif +#if defined(SONKU_P89_DEPTH_COHERENCE_RESEARCH) && SONKU_P89_DEPTH_COHERENCE_RESEARCH + // Room-energy transfer is computed once per callback block; no new + // FIR/filter memory. 1.6m/ROOM OFF keeps exact P8.8 PCM. + const bool p89Stage=p83Mode_==p83::Mode::MusicSpatialP89 +#if defined(SONKU_P90_TRUE_EXTERNAL_RESEARCH) && SONKU_P90_TRUE_EXTERNAL_RESEARCH + ||p83Mode_==p83::Mode::MusicSpatialP90 +#endif + ; + const float p89Depth=p89Stage&&roomEnabled? + std::clamp((settings_.sourceDistanceMeters-1.6f)/6.4f,0.f,1.f):0.f; + const float p89SideGain=1.f-.22f*p89Depth; + const float p89DirectionalRoom=1.f+.24f*p89Depth; + const float p89DiffuseRoom=1.f-.08f*p89Depth; +#endif for(int i=0;i