In the current landscape of computer-assisted music production, composers face a recurring challenge: maintaining harmonic coherence as a track evolves. Traditional sample retrieval tools often rely on static queries based on a fixed reference file. However, when the arrangement changes —new chords are added, instrumentation is modified, or the timeline is restructured— that reference becomes invalid. This is where Reflector comes in, an innovative system that integrates adaptive harmonic retrieval directly into the audio workstation.
Reflector operates on a fundamental concept: a fixed interval-class oracle. This is a manually designed weight table that assigns scores to combinations of pitch-class content between two sources. Instead of applying that table directly —which would be computationally expensive and generate degenerate solutions— the system trains an encoder on synthetic audio to approximate the oracle in a 128-dimensional embedding space. In this way, the dot product between two vectors represents their harmonic compatibility, enabling real-time searches while the composer works.
The workflow is elegant: as the composer places material on a multi-track timeline, a sweep-line analysis detects co-sounding regions. For each region, an oracle-weighted centroid is computed, and retrieval is performed against the composite harmonic identity of the entire session. This dynamic approach means that retrieval continuously adapts to the changing context, something previous tools could not offer. Additionally, session centroids are projected into a navigable 3D space, revealing structural harmonic relationships across the composer’s entire body of work.
From a technical perspective, Reflector’s architecture is an example of combining expert knowledge (the hand-designed weight table) with modern machine learning. The encoder is trained exclusively on synthetic audio, avoiding copyright issues and ensuring the system can run locally without cloud connectivity. This synthetic training approach is especially relevant for companies developing custom software, as it allows building robust models without relying on proprietary data.
The characterization of Reflector’s behavior reveals a central finding: the learned embedding preserves the kernel’s pairwise judgments but covers the entire sample library in a way the direct kernel cannot. This is because the normalized geometry of the embedding avoids the degenerate solutions that direct scoring favors. It is a principle that transcends music: in software development, we often need compact, normalized representations that capture essential relationships without losing generality.
Q2BSTUDIO, as a software development and technology company, applies similar concepts in its projects. For example, when building AI systems, we use embedding spaces to represent complex data —from text to audio signals— and perform real-time similarity searches. Reflector’s ability to adapt to a changing context is reminiscent of AI agents that react to new inputs without requiring full retraining. These agents, which we design to automate business processes, benefit from similar dynamic weighting logic.
Another interesting parallel lies in the field of cybersecurity. Anomaly detection systems often need to evaluate similarity between traffic patterns and an evolving baseline. Just as Reflector updates its harmonic query as tracks are added, a security system can recalculate its behavior centroids to identify emerging threats. At Q2BSTUDIO, we integrate cybersecurity solutions into our cloud platforms, using machine learning models that adapt to the client’s context.
Cloud infrastructure also plays a crucial role. Reflector runs locally, but its encoding and retrieval architecture could easily scale on cloud platforms like AWS or Azure. At Q2BSTUDIO, we deploy cloud AWS/Azure systems that handle similar workloads of embedding and nearest neighbor searches. The ability to process large volumes of data in real time is key for both music production and business analysis. In fact, Reflector’s techniques have direct applications in Business Intelligence with Power BI: imagine a dashboard that dynamically adjusts its indicators based on data evolution, rather than fixed metrics.
From a business perspective, Reflector demonstrates how technological innovation can emerge from the confluence of seemingly disparate domains. Music and software share the need to represent complex relationships efficiently. Q2BSTUDIO adopts this philosophy in every automation project we undertake, combining domain knowledge with cutting-edge software engineering.
The complete Reflector system is open source and free, facilitating adoption by the community. This openness is a value we share: offering tools that allow creators and businesses to explore new frontiers without barriers. Whether composing the next soundtrack or developing an industrial recommendation system, the principles of adaptive retrieval have enormous potential.
In conclusion, Reflector represents a significant advance in harmonic retrieval for sample composition, but its impact goes beyond music. The combination of expert-designed oracles, learned embeddings, and dynamic context analysis is a replicable model in many fields. At Q2BSTUDIO, we apply these same principles to create custom software that adapts to each client’s business, integrating AI, cloud, cybersecurity, and BI cohesively. Technology is not static; like a musical composition, it evolves with every decision we make.





