The present invention relates to an audio process and apparatus. In particular, it relates to an audio process and apparatus for generating in-game ambience.
Modern video games typically feature high-quality graphics and audio that provide a sense of immersion and atmosphere for the player or players. For some games, such as sports games and stadium games, the sound of a crowd is an important part of this atmosphere, and is generally reactive to the state of the game. Where the identity of a team is a significant feature in a game, the crowds may be differentiated by team-specific chants or slogans.
To obtain these chants, then where the sport and teams actually exist, the chants may be recorded live. However, where the sport, teams or chants are fictional, the chants may have to be recorded by a crowd in a studio. Both options are expensive for the developer of a game, and are inflexible and limit interaction for the player of a game.
The present invention is directed toward alleviating, mitigating or addressing the above problems.
In a first aspect of the present invention, an audio apparatus is suitable for generating crowd sounds from an audio signal, and comprises modulation means operable to modulate a noise signal in response to the audio signal to generate a modulated noise signal, and diffusion delay means; in which the diffusion delay means is operable to apply a series of two or more delay operations, the input signal to a first such delay operation in the series being the modulated noise signal, and input to each subsequent delay operation in the series being the output signal generated by a preceding delay operation, with each delay operation comprising modifying that operation's input signal by the addition of a delayed version of that operation's input signal.
The audio apparatus therefore provides a simple means for a game developer to obtain specific desired crowd chants from input speech, and in a similar manner can also provide a game player with the flexibility to customise or add crowd chants during a game.
In a second aspect of the present invention, a method of audio processing is disclosed corresponding to the operation of the audio apparatus.
Embodiments of the present invention will now be described by way of example with reference to the accompanying drawings, in which:
An audio process and corresponding apparatus are disclosed. In the following description, a number of specific details are presented in order to provide a thorough understanding of embodiments of the present invention. It will be apparent, however, to a person skilled in the art that these specific details need not be employed to practice the present invention. Conversely, specific details known to the person skilled in the art are omitted for the purposes of clarity in presenting the embodiments.
Embodiments of the present invention allow a single person (or indeed a relatively small number of people), whether a game developer or a game player, to input their voice into a crowd chant apparatus and obtain an audio output resembling a stadium crowd chanting their words.
Referring to
In operation, the input detector 120 controls a crowd noise generator 130 that outputs a background crowd noise to a mixer 180. In parallel, the channel vocoder 140 outputs a transformed version of the microphone input to an optional pitch shifter 150. The pitch shifter 150 in turn outputs to a crowd reverberation unit 160, and the resulting signal is passed though an optional distortion filter 170 before being mixed with the background crowd noise by mixer 180. The mixed signal is output as audio for left and right channels.
Specifically, the channel vocoder 140 splits the input signal into a plurality of frequency bands, for example 64 bands. The amplitude of each band is then used to shape, or modulate, a second signal to give it the frequency characteristics of the input signal. In an embodiment of the present invention, this second signal is white noise. The resulting output therefore is a noise signal spectrally modulated by the formants of any speech within the input signal. If listened to, this modulated signal resembles a large group of different voices saying the same thing.
It will be appreciated that the second, white noise signal is used to simulate the spectral characteristics of a crowd. Consequently, any suitably shaped noise such as pink or blue noise, or noise spectrally shaped by measurements from real crowd noise, may be similarly applied.
The modulated signal output by the channel vocoder 140 is then applied to the pitch shifter 150. The pitch shifter enables the output of the vocoder to be pitched up or down by an arbitrary amount to compensate for low or high pitched input signals of the user. It achieves this by modifying (in a known manner) the mean pitch of the modulated noise signal output by the vocoder 140. Alternatively or in addition, the pitch shifter can be similarly used to achieve a desired average pitch; for example, in a fantasy game with non-human spectators having very high or low pitched voices.
Referring now also to
Adjusting the relative volumes of the first and second diffusion delay units (161, 162) affects the perceived stadium acoustics, with the stadium effect becoming more prominent as the second diffusion delay output becomes louder.
It will be appreciated that alternative arrangements of diffusion delay units are envisaged, such as more than two diffusion delay units to simulate multiple crowd echoes, or that second and subsequent diffusion delay units may receive the same input, with a pure delay, as the first diffusion delay unit, rather than receiving the output of that first diffusion delay unit.
Referring now also to
Thus for a delay of length α=2 and an input signal x, for example, a delay module would initially output:
The outputs above are each used as inputs to the next delay module, so generating the cumulative effect described above.
As the input signal has previously been processed by the vocoder to sound like a large group of people, the subjective acoustic effect of the diffusion delay unit is to physically distribute groups of people around the user by virtue of the apparently different arrival times, and thus distances, of their voices to the ear of the user.
It will be appreciated that the attentuating factor DIFF may alternatively be applied prior to the delay.
This combined signal is then passed to the delay module 2, which applies a delay β consistent with a slightly longer acoustic path length and thus greater distance to the source. In conjunction with further attenuation at each successive stage, the effect is that the previous three groups now have sets of slightly more distant neighbouring groups themselves.
As can be seen from
It will be appreciated that the resulting neat arrangement of groups seen in
It will also be appreciated that the attenuation value DIFF does not need to correlate inversely with the delay time, although this does result in a preferable sense of distance in the resulting output. It will also be appreciated that large values of DIFF (even values resulting in amplification not attenuation) may give rise to increased noise and are preferably avoided. Likewise, it will be appreciated that the delays applied do not need to be in a specific sequence, although it will be understood that having the longest delay first and the shortest delay last enables the compound attenuation of the associated DIFF factors to most closely resemble attenuation with acoustic path length.
Similarly, it will also be apparent that other than four delay modules may be used, and that delays and DIFF levels may be varied between or during user inputs and between audio channels.
Finally, it will be apparent that whilst the delay modules are described herein as discrete entities, in an embodiment of the present invention the delay means is a single delay module that runs a series of two or more delay operations acting on (and generating) respective versions of the input data stream (i.e. the input to the delay module, in other words the output of the pitch shifter 150). Referring to
The crowd reverberation unit 160 typically operates on both channels of a stereo signal, and thus optionally the apparent direction of a crowd with respect to the user may be controlled by the relative left and right amplitudes, for example to create a ‘Mexican wave’ or drive-past effect. Similarly, if channels for a 5.1 surround-sound output are being processed, then optionally each channel can be manipulated in terms of volume and overall delay to localise the apparent main source of the crowd noise relative to the user.
The output of the crowd reverberation unit 160 is passed to a distortion filter 170 that removes any vocoder artefacts, such as a metallic ringing sound. Alternatively or in addition, the distortion filter 170 can optionally simulate the microphone saturation that would occur if the crowd noise were extremely loud.
The output of the distortion filter is then passed to the mixer 180.
In an embodiment of the present invention, in parallel with the above processing by the channel vocoder 140, pitch shifter 150, crowd reverberation unit 160, and distortion filter 170, a generic background crowd noise is supplied for addition at the mixer 180 by crowd noise generator 130. This has the effect of filling out the frequency spectrum of the resulting audio, and can help to mask any apparent cross-correlation in the chanting by adding other vocalisations.
The generic background crowd noise is switched on or off by a microphone input detector 120, for example a voice activity detector as known in the art. Preferably, such a detector will include on/off hysteresis so that the background crowd noise will span any momentary silences between words in the user's chant.
The generic background crowd noise itself may be a recording, typically played from a random start point with each use, or alternatively may be generated by synthesis, overlayed crowd samples, or a mixture of the two.
The generated crowd chant signal, based upon the final output of the crowd reverberation unit together with any distortion filtration, is then mixed by the mixer 180 with the background crowd noise signal, and output as one or more audio channels as appropriate.
It will be clear to a person skilled in the art that embodiments of the present invention may not require the provision of a pitch-shifter 150, distortion filter 170, or crowd noise generator 130 (and consequently mixer 180). Similarly, it will be apparent that in embodiments of the present invention, the crowd noise generator 130 could operate serially with other elements, for example adding crowd noise to the signal before or after the distortion filter 170.
It will similarly be clear that the microphone-input detector 120 could control both the crowd noise generator 130 and the channel vocoder 140. Likewise, alternatively or in addition these processes could be controlled by a user selection via an user interface, or by an in-game event.
It will be further clear that if the input is pre-recorded, for example when developing a game, then a microphone 110 may not be necessary if it is not desired that the user can add their own chants during play.
Whilst the above description has referred to stadia, it will also be appreciated that other crowds may be simulated, such as at a golf course or on a road side, or for performing at a virtual concert where the user sings into the microphone and a crowd of fans sings back. For such applications, the second diffusion delay unit may not be necessary as there is no opposite half of a stadium to simulate. The simulation characteristics, i.e. the delays and coefficients DIFF in the above embodiments, may be stored as metadata associated with (for example) a game, to allow different types of crowd noise to be generated in dependence on the current virtual location of game action (i.e. in the game's virtual world).
Similarly, whilst the above description refers to crowd chants, it will be clear that this is dependent upon a chant being input to the apparatus. Thus more generally, an input sound will result in a corresponding crowd-like sound.
In a further embodiment of the present invention, alternatively or in addition to the user being able to generate their own crowd chants to enhance the atmosphere of their own gaming experience, for multiplayer games where two or more games machines are networked together, the player can send a chant to the games machine of one or more other players to support or taunt them during play.
Preferably, to reduce network bandwidth use, efficiently transmissible data is sent to the games machines of the one or more other players, namely the vocoder spectral parameters. The remainder of the audio process is then applied by each receiving machine. Alternatively, users may pre-record their chants, for instance in a configuration phase of a game, and these may be distributed to the other networked machines playing the game so that they can use the chant from a cache without further transmissions.
Referring to
s1A. Detect any audio signal on the input;
s2A. Upon detection, generate background crowd noise;
s1B. Resynthesise the audio signal using a noise-based modulator;
s2B. Adjust the overall pitch;
s3. Apply diffusion delay;
s4. Apply distortion filtering;
s5. Mix the output of s4 with the background crowd noise of s2A;
s6. Output as audio.
It will be appreciated that variations of this process corresponding to those variations of apparatus and apparatus operation disclosed previously are envisaged within the scope of the invention.
A consequent product of the above audio process will be a generated audio stream or file based upon an audio input (typically the voice of a games player or developer) that resembles a crowd chant in a stadium or other gathering space.
It will be appreciated that in embodiments of the present invention, steps of the audio process and the corresponding elements of the crowd chant apparatus 100 may be located in one or more games machines in any suitable manner, so that a first games machine generates a partially-processed signal, with one or more other games machines being arranged to complete the processing described above. For example, a first games machine may generate the vocoder sub-bands, and then transmit them to a second games machine where the remainder of the process is then carried out. It is expected that a suitable games machine will be the Sony® PlayStation 3® machine.
Consequently the present invention may be implemented in any suitable manner to provide suitable apparatus or operation between a plurality of games machines. In particular, it may consist of a single discrete entity in the form of a games machine, or it may be coupled with one or more additional entities added to a conventional games machine, or may be formed by adapting existing parts of a games machine, such as by software reconfiguration.
Thus adapting existing parts of a conventional games machine may comprise for example reprogramming of one or more processors therein. As such the required adaptation may be implemented in the form of a computer program product comprising processor-implementable instructions stored on a data carrier such as a floppy disk, optical disk, hard disk, PROM, RAM, flash memory or any combination of these or other storage media, or transmitted via data signals on a network such as an Ethernet, a wireless network, the internet, or any combination of these or other networks.
Similarly, the product of the audio process may be incorporated within a game, or transmitted during a game, and thus may take the form of a computer program product comprising processor-readable data stored on a data carrier such as a floppy disk, optical disk, hard disk, PROM, RAM, flash memory or any combination of these or other storage media, or may be transmitted via data signals on a network such as an Ethernet, a wireless network, the internet, or any combination of these or other networks.
Finally, it will be clear to a person skilled in the art that embodiments of the present invention may variously provide some or all of the following advantages:
Number | Date | Country | Kind |
---|---|---|---|
0605983.6 | Mar 2006 | GB | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/GB2007/001080 | 3/23/2007 | WO | 00 | 11/13/2008 |