<commit_before>/** @file
 *
 * @ingroup dspSpatLib
 *
 * @brief Jamoma DSP SpatLib unit based on Distance-based amplitude panning (Ambipanning)
 *
 * @details Ambipanning permits sinks (speakers) to be positioned any way you want.
 * Speaker configurations are not limited to circles/spheres surrounding a sweet spot, but can be used e.g. to locate speakers in several adjecent spaces.
 * Ambipanning is matrix-based and ensures equal intensity while adjusting gains to each of the sinks in such a way that relative gain diminish with increasing distance from source to sink.
 * The exact rolloff rate (in dB) can be controlled with the rolloff attribute of the #TTSpatAmbipanningRenderer class.
 *
 * @todo: Extend with a solution for interpolating to new matrix coefficients
 *
 * @authors <NAME>, <NAME>, <NAME>
 *
 * @copyright Copyright © 2011 by <NAME>, <NAME>, and <NAME> @n
 * This code is licensed under the terms of the "New BSD License" @n
 * http://creativecommons.org/licenses/BSD/
 */

#include "TTSpatAmbipanning.h"

#define thisTTClass			TTSpatAmbipanning
#define thisTTClassName		"spat.dbap"
#define thisTTClassTags		"audio, spatialization, processing, dbap"


TTObjectBasePtr TTSpatAmbipanning::instantiate(TTSymbol name, TTValue arguments)
{
	return (TTObjectBasePtr) new thisTTClass(arguments);
}


extern "C" void thisTTClass :: registerClass ()
{
	TTClassRegister( thisTTClassName, thisTTClassTags, thisTTClass :: instantiate );<commit_msg>Ensuring that ambipanning registers properly<commit_after>/** @file
 *
 * @ingroup dspSpatLib
 *
 * @brief Jamoma DSP SpatLib unit based on Distance-based amplitude panning (Ambipanning)
 *
 * @details Ambipanning permits sinks (speakers) to be positioned any way you want.
 * Speaker configurations are not limited to circles/spheres surrounding a sweet spot, but can be used e.g. to locate speakers in several adjecent spaces.
 * Ambipanning is matrix-based and ensures equal intensity while adjusting gains to each of the sinks in such a way that relative gain diminish with increasing distance from source to sink.
 * The exact rolloff rate (in dB) can be controlled with the rolloff attribute of the #TTSpatAmbipanningRenderer class.
 *
 * @todo: Extend with a solution for interpolating to new matrix coefficients
 *
 * @authors <NAME>, <NAME>, <NAME>
 *
 * @copyright Copyright © 2011 by <NAME>, <NAME>, and <NAME> @n
 * This code is licensed under the terms of the "New BSD License" @n
 * http://creativecommons.org/licenses/BSD/
 */

#include "TTSpatAmbipanning.h"

#define thisTTClass			TTSpatAmbipanning
#define thisTTClassName		"spat.ambipanning"
#define thisTTClassTags		"audio, spatialization, processing, dbap"


TTObjectBasePtr TTSpatAmbipanning::instantiate(TTSymbol name, TTValue arguments)
{
	return (TTObjectBasePtr) new thisTTClass(arguments);
}


extern "C" void thisTTClass :: registerClass ()
{
	TTClassRegister( thisTTClassName, thisTTClassTags, thisTTClass :: instantiate );
{'fraction_non_alphanumeric': 0.08035111411208642, 'fraction_numerical': 0.0027008777852802163, 'mean_word_length': 5.059304703476482, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4817809', 'n_tokens_mistral': 894, 'n_tokens_neox': 833, 'n_words': 342}