# US 2020/0349980 A1 · Audio Sample Playback Unit

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0349980 A1
- Document ID: US20200349980A1
- Status: Published application
- Kind: A1
- Application number: 16/935,480
- Filed: 2020-07-22
- Published: 2020-11-05
- Earliest claimed: 2018-01-23
- Assignees: Synesthesia Corporation
- Applicants: Synesthesia Corporation
- Inventors: Vincent DeFranco
- Web page: https://patentgrep.com/patent/US20200349980A1

## CPC

- G06F 3/162: {Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs}
- G11B 27/10: Indexing; Addressing; Timing or synchronising; Measuring tape travel
- G06F 3/16: Sound input; Sound output (speech processing G10L)
- G06F 9/3802: {Instruction prefetching}
- G06F 9/3836: {Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution}
- G06F 9/3867: {using instruction pipelines}
- G06F 9/48: Program initiating; Program switching, e.g. by interrupt
- G10H 1/0091: {Means for obtaining special acoustic effects (combined with modulation G10H1/043)}
- G10H 1/183: {Channel-assigning means for polyphonic instruments}
- G10H 1/46: Volume control
- G10H 7/02: in which amplitudes at successive sample points of a tone waveform are stored in one or more memories
- G10H 2210/305: Source positioning in a soundscape, e.g. instrument positioning on a virtual soundstage, stereo panning or related delay or reverberation changes; Changing the stereo width of a musical source
- G10H 2230/031: Use of cache memory for electrophonic musical instrument processes, e.g. for improving processing capabilities or solving interfacing problems
- G10H 2230/275: Spint drum
- G10H 2250/435: Gensound percussion, i.e. generating or synthesising the sound of a percussion instrument; Control of specific aspects of percussion sounds, e.g. harmonics, under the influence of hitting force, hitting position, settings or striking instruments such as mallet, drumstick, brush or hand
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11B: INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER (recording measured values in a way that does not require playback through a transducer G01D9/00; recording or playback apparatus using mechanically marked tape, e.g. punched paper tape, or using unit records, e.g. punched or magnetically marked cards G06K; transferring data from one type of record carrier to another G06K1/18; circuits for coupling output of reproducer to radio receiver H04B1/20; gramophone pick-ups or like acoustic electromechanical transducers or circuits therefor H04R)
- G10H: ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE

## Abstract

Disclosed herein are a number of example embodiments for an improved audio sample playback unit. For example, multi-dimensional mapping of triggers to audio samples is disclosed. Also disclosed is low latency retrieval and playback of audio samples via pre-loading of sample heads into high speed memory. Furthermore, disclosed herein is a multi-threaded control operation for generating audio frames in response to trigger inputs, as well as the use of multiple pipes from which audio data can be generated. Further still, an example embodiment provides for multi-level control of audio properties, including voice-specific controls, pipe-specific controls, and global controls.

## Claims

### Claim 1

An audio sample playback apparatus comprising:
a memory configured to store (1) a plurality of audio samples, and (2) a mapping data structure for the audio samples, the mapping data structure configured to associate the audio samples with at least one trigger parameter; and
a processor configured to (1) receive trigger inputs, and (2) for each of a plurality of the received trigger inputs, (i) determine at least one trigger parameter from the received trigger input, (ii) access the mapping data structure to identify a triggered audio sample associated with the determined at least one trigger parameter, (iii) retrieve the identified triggered audio sample from the memory, and (iv) generate an audio frame based on the retrieved triggered audio sample.

### Claim 2 (depends on 1)

The apparatus of claim 1 wherein the mapping data structure comprises a multi-dimensional array that associates the audio samples with a plurality of trigger parameters; and
wherein the processor is further configured to (1) determine a plurality of trigger parameters from the received trigger inputs, and (2) access the mapping data structure to identify the triggered audio samples associated with the determined trigger parameters.

### Claim 3 (depends on 2)

The apparatus of claim 2 wherein the trigger parameters of the multi-dimensional array include a note identifier and/or a trigger velocity.

### Claim 4 (depends on 2)

The apparatus of claim 2 wherein the multi-dimensional array further comprises a variance dimension for varying audio properties of an audio sample such that multiple triggers of the same audio sample for the same trigger parameters will produce sound with different audio properties.

### Claim 5 (depends on 4)

The apparatus of claim 4 wherein the processor is further configured to loop through values of the variance dimension when the same audio sample is repeatedly triggered.

### Claim 6 (depends on 1)

The apparatus of claim 1 wherein the mapping data structure also associates a plurality of audio control settings with each audio sample, and wherein the processor is further configured to apply the audio control settings associated with a triggered audio sample to audio frame generation for that triggered audio sample.

### Claim 7 (depends on 1)

The apparatus of claim 1 wherein the mapping data structure associates the audio samples with the at least one trigger parameter via a plurality of audio sample identifiers.

### Claim 8 (depends on 7)

The apparatus of claim 7 wherein the audio sample identifiers comprise memory addresses for the audio samples in the memory.

### Claim 9 (depends on 1)

The apparatus of claim 1 wherein the processor is further configured to (1) maintain a plurality of pipes of audio samples, (2) assign each of a plurality of the triggered audio samples to a pipe selected from among the pipes, (3) generate the audio frames from triggered audio samples in the pipes.

### Claim 10 (depends on 9)

The apparatus of claim 9 wherein each pipe is associated with audio control settings for the pipe, and wherein the processor is further configured to apply the audio control settings associated with a pipe to audio frame generation for a triggered audio sample within that pipe.

### Claim 11 (depends on 9)

The apparatus of claim 9 wherein the processor is further configured to (1) maintain a plurality of voices, (2) assign triggered audio samples to voices that are available, (3) link a plurality of voices with assigned triggered audio samples to form at least one of the pipes.

### Claim 12 (depends on 11)

The apparatus of claim 11 wherein the processor is further configured to populate the voices with data about the triggered audio samples.

### Claim 13 (depends on 12)

The apparatus of claim 12 wherein the populated data comprises identifiers for the triggered audio samples and audio control settings for the triggered audio samples.

### Claim 14 (depends on 1)

The apparatus of claim 1 wherein the processor is configured to execute a plurality of threads concurrently to control audio sample playback in response to the received trigger inputs.

### Claim 15 (depends on 14)

The apparatus of claim 14 wherein the threads comprise:
a main thread;
a mixer thread;
a disk thread; and
a jack process thread;
wherein the main thread communicates with the mixer thread via a dispatch ring buffer;
wherein the mixer thread communicates with the disk thread via a disk ring buffer; and
wherein the mixer thread communicates with the jack process thread via a jack ring buffer.

### Claim 16 (depends on 14)

The apparatus of claim 14 wherein the threads include a thread configured to (1) receive trigger data, (2) determine which of the audio samples have been triggered based on the mapping data structure as applied to the received trigger data, (3) populate voices with data about the triggered audio samples, and (4) dispatch the populated voices to a buffer.

### Claim 17 (depends on 16)

The apparatus of claim 16 wherein the threads include another thread configured to (1) read populated voices from the buffer, (2) coordinate a retrieval of the triggered audio samples from the memory based on the populated voices, (3) mix the retrieved triggered audio samples with other active audio, and (4) write the mixed audio to a second buffer.

### Claim 18 (depends on 17)

The apparatus of claim 17 wherein the threads include yet another thread configured to (1) read mixed audio from the second buffer, and (2) create and deliver a plurality of audio frames to a sound card based on the read mixed audio.

### Claim 19 (depends on 17)

The apparatus of claim 17 wherein the memory comprises a first memory configured to store a plurality of heads for the audio samples and a second memory configured to store a plurality of tails for the audio samples; and
wherein the another thread is configured to (1) access the first memory based on data within the read populated voices to retrieve the heads for the triggered audio samples, and (2) write data from the read populated voices to a third buffer to initiate retrieval of the tails for the triggered audio samples from the second memory.

### Claim 20 (depends on 19)

The apparatus of claim 19 wherein the threads include yet another thread configured to (1) read data from the third buffer, (2) retrieve tails from the second memory based on the data read from the third buffer, and (3) write the retrieved tails to the third buffer for delivery to the another thread.

### Claim 21 (depends on 1)

The apparatus of claim 1 wherein the audio samples comprise uncompressed audio files.

### Claim 22 (depends on 1)

The apparatus of claim 1 wherein the audio samples comprise a plurality of libraries of audio samples for a plurality of musical instruments, and wherein the processor is further configured to select a library of audio samples for operation in response to user input.

### Claim 23

An audio sample playback apparatus comprising:
a first memory configured to store a plurality of heads for a plurality of audio samples;
a second memory configured to store a plurality of tails for a plurality of the audio samples; and
a processor configured to, in response to an audio sample being triggered, retrieve the head for the triggered audio sample from the first memory and begin playback of the retrieved head prior to retrieval and playback of the tail for the triggered audio sample from the second memory.

### Claim 24

An audio sample playback apparatus comprising:
a memory configured to store a plurality of audio samples; and
a processor configured to (1) retrieve audio samples from memory in response to triggers, (2) assign triggered audio samples to a plurality of pipes, and (3) generate audio frames from the pipes based on the retrieved audio samples, wherein each pipe has independently adjustable control settings for audio properties to be applied to audio samples within the pipes.
