# US 2012/0253491 A1 · Audio data inputting apparatus and audio data outputting apparatus

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

- Number: US 2012/0253491 A1
- Document ID: US20120253491A1
- Status: Published application
- Kind: A1
- Application number: 13/431,222
- Filed: 2012-03-27
- Published: 2012-10-04
- Earliest claimed: 2011-03-28
- Assignees: Yamaha Corporation
- Inventors: Tomomi MIYATA; Akihiko Ohta
- Web page: https://patentgrep.com/patent/US20120253491A1

## CPC

- G11B 20/10527: {Audio or video recording; Data buffering arrangements (G11B20/12 - G11B20/18 take precedence)}
- G11B 2020/10546: {specifically adapted for audio data}
- G11B 2020/10638: {First-in-first-out memories [FIFO] buffers}
- G11B 2020/10731: {wherein the buffer I/O can be temporarily suspended, e.g. by refusing to accept further data to be buffered}
- G11B 2020/10759: {content data}
- 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)

## Abstract

As for an audio data outputting apparatus and an audio data inputting apparatus for performing processing on audio data to transfer the audio data at each predetermined frame period, the processing on audio data performed at each frame period is done by hardware other than a CPU so that the CPU will not be interrupted at each frame period. In a case of transfer of audio data from a host to the audio data outputting apparatus, a reproduction control portion controls the data transfer in which a reception buffer and a reproduction buffer are involved, also controlling a receiving portion and a processing portion (DSP). In a case of transfer of audio data from the audio inputting apparatus to the host, a recording control portion controls the data transfer in which a transmission buffer and a recording buffer are involved, also controlling a transmitting portion and a processing portion.

## Claims

### Claim 1

An audio data outputting apparatus for inputting, from a host apparatus at each predetermined frame period, audio data supplied via a communication bus, performing certain processing, and then outputting the audio data, the audio data outputting apparatus comprising:
a receiving portion which has a first-in, first-out reception buffer, and performs, in accordance with a request for output transmitted from the host apparatus to the audio data outputting apparatus via the communication bus at the each frame period, receiving operation of receiving a plurality of samples of audio data for a plurality of channels transmitted from the host apparatus via the communication bus, and writing the received audio data for the channels into the reception buffer;
a reproducing portion which has a first-in, first-out reproduction buffer and performs reproducing operation of reading out one sample of the audio data for the channels stored in the reproduction buffer to output the read data at each predetermined sampling period;
a processor which controls the entire audio data outputting apparatus; and
a controlling portion which controls respective operations of the receiving portion and the reproducing portion in accordance with an instruction from the processor,
the processor
(1) providing, when receiving, from the host apparatus via the communication bus, a parameter relating to audio data which is to be received, the parameter to the controlling portion; and
(2) instructing, when receiving, from the host apparatus via the communication bus, an instruction to start output of audio data, the controlling portion to start operating; and
the controlling portion clearing, in accordance with the instruction from the processor to start operating, the reception buffer and the reproduction buffer, enabling the receiving operation of the receiving portion, and stopping the reproducing operation of the reproducing portion, and thereafter at the each frame period,
(1) transferring, if the receiving portion has received audio data with the reproducing operation of the reproducing portion being stopped, the received audio data from the reception buffer to the reproduction buffer, and instructing, when audio data stored in the reproduction buffer reaches a certain amount, the reproducing portion to start the reproducing operation;
(2) transferring, if the receiving portion has received audio data with the reproducing portion being in the reproducing operation, the received audio data from the reception buffer to the reproduction buffer; and
(3) stopping, if the receiving portion is not receiving audio data, the reproducing operation of the reproducing portion.

### Claim 2 (depends on 1)

The audio data outputting apparatus according to claim 1, wherein
at the each frame period,
(4) if the receiving portion has received audio data with the reproduction buffer being full or short of data, the controlling portion stops the reproducing operation of the reproducing portion, clears audio data stored in the reproduction buffer, and transfers the received audio data from the reception buffer to the reproduction buffer as an automatic recovery process.

### Claim 3 (depends on 2)

The audio data outputting apparatus according to claim 2, wherein
the processor instructs the controlling portion to enable or disable the automatic recovery process; and
in a state where the automatic recovery process is enabled, the controlling portion performs the operation of (4), whereas in a state where the automatic recovery process is disabled, the controlling portion stops the operation performed at the each frame period instead of performing the operation of (4) and thereafter keeps stopping the operation.

### Claim 4 (depends on 1)

The audio data outputting apparatus according to claim 1, wherein
when the processor receives, from the host apparatus via the communication bus, an instruction to stop output, the processor instructs, in response to the instruction, the controlling portion to stop operating; and
in response to the instruction to stop operating, the controlling portion stops the reproducing operation of the reproducing portion.

### Claim 5 (depends on 1)

The audio data outputting apparatus according to claim 1, further comprising:
a digital signal processing portion which inputs audio data output from the reproducing portion, and individually performs signal processing for audio data of the respective channels at each sampling period, wherein
the processor sets a parameter relating to audio data which is to be received.

### Claim 6 (depends on 1)

The audio data outputting apparatus according to claim 1, wherein
the parameter relating to audio data includes at least one of parameters indicative of sampling frequency of the audio data, the number of bits of a sample, and the number of channels.

### Claim 7

An audio data inputting apparatus for externally inputting audio data, performing certain processing, and then supplying the audio data to a host apparatus via a communication bus at each predetermined frame period, the audio data inputting apparatus comprising:
a recording portion which has a first-in, first-out recording buffer, and performs recording operation of writing one sample of the externally input audio data for a plurality of channels into the recording buffer at each predetermined sampling period;
a transmitting portion which has a first-in, first-out transmission buffer, and performs, in accordance with a request for input transmitted from the host apparatus to the audio data inputting apparatus via the communication bus at the each frame period, transmitting operation of transmitting a plurality of samples of audio data for the plurality of channels stored in the transmission buffer to the host apparatus via the communication bus;
a processor which controls the entire audio data inputting apparatus; and
a controlling portion which controls respective operations of the transmitting portion and the recording portion in accordance with an instruction from the processor,
the processor
(1) providing, when receiving, from the host apparatus via the communication bus, a parameter relating to audio data which is to be transmitted, the parameter to the controlling portion; and
(2) instructing, when receiving, from the host apparatus via the communication bus, an instruction to start input of audio data, the controlling portion to start operating; and
the controlling portion clearing, in accordance with the instruction from the processor to start operating, the transmission buffer and the recording buffer, disabling the transmitting operation of the transmitting portion, stopping the recording operation of the recording portion, and thereafter at the each frame period,
(1) instructing, if the recording operation of the recording portion is being stopped, the recording portion to start the recording operation;
(2) transferring, if the recording portion is in the recording operation with the transmitting operation of the transmitting portion being disabled, the audio data stored in the recording buffer to the transmission buffer, and enabling, if audio data stored in the transmission buffer reaches a certain amount, the transmitting operation of the transmitting portion; and
(3) transferring, if the recording portion is in the recording operation with the transmitting operation of the transmitting portion being enabled and if the audio data inputting apparatus receives the request for input transmitted from the host apparatus, audio data stored in the recording buffer to the transmission buffer.

### Claim 8 (depends on 7)

The audio data inputting apparatus according to claim 7, wherein
at the each frame period,
(4) if the recording portion is in the recording operation with the transmitting operation of the transmitting portion being enabled and if the audio data inputting apparatus does not receive the request for input transmitted from the host apparatus, the controlling portion (a) deletes audio data for a frame period stored in the transmission buffer and transfers audio data stored in the recording buffer to the transmission buffer, or (b) deletes audio data for a frame period stored in the recording buffer.

### Claim 9 (depends on 8)

The audio data inputting apparatus according to claim 8, wherein
the processor instructs the controlling portion which selection to perform, the above-described (a) or (b) in the case of (4); and
in accordance with the instruction, the controlling portion performs either the above-described (a) or (b) in the case of (4).

### Claim 10 (depends on 7)

The audio data inputting apparatus according to claim 7, wherein
at the each frame period,
(5) if the recording portion is in the recording operation with the transmitting operation of the transmitting portion being enabled and if the recording buffer is full or short of data, the controlling portion disables the transmitting operation of the transmitting portion, and clears audio data stored in the recording buffer and transmission buffer as an automatic recovery process.

### Claim 11 (depends on 10)

The audio data inputting apparatus according to claim 10, wherein
the processor instructs the controlling portion to enable or disable the automatic recovery process; and
in a state where the automatic recovery process is enabled, the controlling portion performs the operation of (5), whereas in a state where the automatic recovery process is disabled, the controlling portion stops the operation performed at the each frame period instead of the operation of (5) and thereafter keeps stopping the operation.

### Claim 12 (depends on 7)

The audio data inputting apparatus according to claim 7, wherein
when the processor receives, from the host apparatus via the communication bus, an instruction to stop input, the processor instructs, in response to the instruction, the controlling portion to stop operating; and
in response to the instruction to stop operating, the controlling portion stops the recording operation of the recording portion.

### Claim 13 (depends on 7)

The audio data inputting apparatus according to claim 7, further comprising:
a digital signal processing portion which inputs the externally input audio data, individually performs signal processing for audio data of the respective channels at each sampling period, and outputs the processed audio data to the recording portion, wherein
the processor sets a parameter relating to audio data which is to be received.

### Claim 14 (depends on 7)

The audio data inputting apparatus according to claim 7, wherein
the parameter relating to audio data includes at least one of parameters indicative of sampling frequency of the audio data, the number of bits of a sample, and the number of channels.
