摘要:
Techniques are described of efficiently identifying sets of audio parameters to be applied during a time frame. For example, a list of indicators may be generated. Each of the indicators in the list may indicate a Musical Instrument Digital Interface (MIDI) voice present in a MIDI frame. Furthermore, in generating the list, the indicators in the list may be restricted to those indicators that indicate the most acoustically significant MIDI voices in the MIDI frame. After the list is generated, a digital waveform may be generated for each of MIDI voices indicated by an indicator in the list. A combination of the waveforms of each MIDI voice may constitute an overall waveform for the MIDI frame.
摘要:
This disclosure describes techniques for processing audio files that comply with the musical instrument digital interface (MIDI) format. In particular, various tasks associated with MIDI file processing are delegated between software operating on a general purpose processor, firmware associated with a digital signal processor (DSP), and dedicated hardware that is specifically designed for MIDI file processing. Alternatively, a multi-threaded DSP may be used instead of a general purpose processor and the DSP. In one aspect, this disclosure provides a method comprising parsing MIDI files and scheduling MIDI events associated with the MIDI files using a first process, processing the MIDI events using a second process to generate MIDI synthesis parameters, and generating audio samples using a hardware unit based on the synthesis parameters.
摘要:
Techniques are described of generating a digital waveform for a Musical Instrument Digital Interface (MIDI) voice using a set of machine-code instructions that is specialized for the generation of digital waveforms for MIDI voices. For example, a processor may execute a software program that generates a digital waveform for a MIDI voice. The instructions of the software program may be machine code instructions from an instruction set that is specialized for the generation of digital waveforms for MIDI voices. In particular, the execution of one of the instructions may involve a selection of an operation based on a set of parameters that define a MIDI voice and the performance of the selected operation.
摘要:
This disclosure describes techniques that make use of a plurality of hardware elements that operate simultaneously to service synthesis parameters generated from one or more audio files, such as musical instrument digital interface (MIDI) files. In one example, a method comprises storing audio synthesis parameters generated for one or more audio files of an audio frame, processing a first audio synthesis parameter using a first audio processing element of a hardware unit to generate first audio information, processing a second audio synthesis parameter using a second audio processing element of the hardware unit to generate second audio information, and generating audio samples for the audio frame based at least in part on a combination of the first and second audio information.
摘要:
This disclosure describes techniques for processing audio files that comply with the musical instrument digital interface (MIDI) format. In particular, various tasks associated with MIDI file processing are delegated between software operating on a general purpose processor, firmware associated with a digital signal processor (DSP), and dedicated hardware that is specifically designed for MIDI file processing. Alternatively, a multi-threaded DSP may be used instead of a general purpose processor and the DSP. In one aspect, this disclosure provides a method comprising parsing MIDI files and scheduling MIDI events associated with the MIDI files using a first process, processing the MIDI events using a second process to generate MIDI synthesis parameters, and generating audio samples using a hardware unit based on the synthesis parameters.
摘要:
Techniques are described of generating a digital waveform for a Musical Instrument Digital Interface (MIDI) voice using a set of machine-code instructions that is specialized for the generation of digital waveforms for MIDI voices. For example, a processor may execute a software program that generates a digital waveform for a MIDI voice. The instructions of the software program may be machine code instructions from an instruction set that is specialized for the generation of digital waveforms for MIDI voices. In particular, the execution of one of the instructions may involve a selection of an operation based on a set of parameters that define a MIDI voice and the performance of the selected operation.
摘要:
Techniques are described of efficiently identifying sets of audio parameters to be applied during a time frame. For example, a list of indicators may be generated. Each of the indicators in the list may indicate a Musical Instrument Digital Interface (MIDI) voice present in a MIDI frame. Furthermore, in generating the list, the indicators in the list may be restricted to those indicators that indicate the most acoustically significant MIDI voices in the MIDI frame. After the list is generated, a digital waveform may be generated for each of MIDI voices indicated by an indicator in the list. A combination of the waveforms of each MIDI voice may constitute an overall waveform for the MIDI frame.
摘要:
This disclosure describes techniques that make use of a plurality of hardware elements that operate simultaneously to service synthesis parameters generated from one or more audio files, such as musical instrument digital interface (MIDI) files. In one example, a method comprises storing audio synthesis parameters generated for one or more audio files of an audio frame, processing a first audio synthesis parameter using a first audio processing element of a hardware unit to generate first audio information, processing a second audio synthesis parameter using a second audio processing element of the hardware unit to generate second audio information, and generating audio samples for the audio frame based at least in part on a combination of the first and second audio information.
摘要:
A method for providing variable root note support in an audio player is described. A file with Musical Instrument Digital Interface (MIDI) data and a set of user defined instruments is received. A metric is determined using a user defined root note in the user defined instruments, a key number for a MIDI note in the MIDI data, and a player specific root note. The key number is adjusted based on the metric.
摘要:
A method for improving the similarity of the volumes in different audio players is described. First player metrics for one or more Musical Instrument Digital Interface (MIDI) instruments may be determined. A digital music file that uses the MIDI protocol may be received. A note parameter or channel parameter may be adjusted for notes in the digital music file based on the first player metrics.