Brad Davis
5adc4c2290
Protect against null pointer usage in sound scripting wrapper
2018-09-25 13:17:49 -07:00
Ken Cooke
15163d7125
CR: warnings use qCWarning() instead of qCDebug()
2018-06-14 09:44:58 -07:00
Ken Cooke
bc4d900f7d
Support MP3 files as sound assets
2018-06-07 06:57:06 -07:00
Clement
da9fb9c751
Fix non self-sufficient headers
2018-05-04 16:26:41 -07:00
Ken Cooke
b6a88bbdda
Invalid WAV files should always be logged and not played
2017-12-14 10:20:46 -08:00
seefo
cc57d28ccc
Made requested changes to PR10554
2017-05-26 11:49:43 -07:00
seefo
90d5b2a6d4
Removed SoundProcessor's dependence on Sound objects
2017-05-26 10:32:34 -07:00
seefo
32b5ac5020
Moved audio asset processing to a separate thread
2017-05-25 16:10:53 -07:00
Ken Cooke
b4994a3d89
Ambisonic resampler, optimized using AVX2.
...
int16_t and float versions.
Removed unused SSE2 version.
Removed unused getExactInput().
Refactored to remove nested #ifdefs.
2016-12-14 15:18:41 -08:00
Ken Cooke
0f10975a59
Robust WAV parser.
...
Skips extraneous chunks, handles WAVE_FORMAT_EXTENSIBLE, supports arbitrary sample rates.
2016-12-07 08:44:10 -08:00
Ken Cooke
e93e1a7c4f
Preliminary support for Ambisonic audio injectors.
...
Supports 4-channel WAV files, presumed to be B-format (FuMa) first-order Ambisonic.
Supports WAV with arbitrary sample rate (needs optimization).
Supports soundfield volume and orientation set via script.
Supports localOnly client-side injection using simple (non-spatialized) test renderer.
2016-12-02 18:20:57 -08:00
Ken Cooke
452f081366
Add support for WAV assets with arbitrary sample rate, not just 48khz. Fast path when already 24khz.
2016-11-30 14:56:11 -08:00
Ken Cooke
89bfa5bc09
fixed typo
2016-06-03 19:22:29 -07:00
Ken Cooke
54293fdad0
Replace the linear interpolation embedded in the .WAV/.RAW loader with high quality polyphase resampling.
...
When downsampling 48khz to 24khz, linear interpolation creates aliasing distortion that is quite audible. This change greatly improves the audio quality for all sound assets.
2016-06-03 18:39:43 -07:00
Atlante45
6d1b7f1d37
Wrap sound script object to hold a strong ref
2016-04-06 13:04:18 -07:00
Zach Pomerantz
54af58834a
Mark Resource loaded after postprocessing
2016-03-09 10:34:07 -08:00
Ken Cooke
a875542142
Merge pull request #7053 from birarda/integrate-new-hrtf
...
Integrate the new audio HRTF in AudioMixer
2016-02-10 07:34:50 -08:00
ericrius1
b60ba0c5a7
can now change loop
2016-02-08 16:22:05 -08:00
Stephen Birarda
445662f5ae
clean sweep of old now unused audio files
2016-02-08 15:38:12 -08:00
ericrius1
6b240dfd5f
calculating length of wav file
2016-02-08 12:34:46 -08:00
Stephen Birarda
0a386cdde8
remove trimFrames call from Sound
2016-01-27 16:10:18 -08:00
Stephen Birarda
dc716461e3
fix for a couple of resampling edge cases
2016-01-27 14:33:03 -08:00
Stephen Birarda
52716b8f95
emit a ready signal if Sound has downloaded
2015-11-16 10:55:25 -08:00
Brad Davis
63df9fb959
Fixing raw sound playback and air guitar
2015-10-22 22:37:18 -07:00
Ryan Huffman
4827d326f4
Update ResourceCache to allow multiple downloads on the same resource
2015-08-19 12:11:47 -07:00
Ryan Huffman
ae93d74d8b
Update Sound to use new ResourceCache
2015-08-03 16:27:34 -07:00
Stephen Birarda
666830c04d
add a sound once first AM packet received
2015-06-08 11:30:12 -07:00
Seth Alves
7af32bd67a
put audio and script-engine logging into their own QLoggingCategory
2015-04-06 15:57:18 -07:00
Stephen Birarda
3f079e10aa
user AudioConstants for size of int16_t
2015-04-02 11:35:23 -07:00
Stephen Birarda
164c06a190
fix resampled stereo audio array size
2015-04-02 10:41:52 -07:00
Stephen Birarda
271a4e2cae
cleanup some divides for manual sound resampling
2015-03-10 13:04:35 -07:00
Stephen Birarda
dc0ad09953
fix for check of num source samples
2015-03-10 13:04:34 -07:00
Stephen Birarda
7ecde7be30
add fix for out of bounds Sound resampling
2015-03-10 13:04:34 -07:00
Stephen Birarda
661221a189
repairs to AudioScriptingInterface playSound
2015-01-12 16:04:00 -08:00
Atlante45
be050b0469
Added missing deletes
2015-01-05 15:13:07 -08:00
Stephen Birarda
03bfaa4869
handle RAW stereo audio files by using stereo.raw extension
2014-11-19 12:20:12 -08:00
Stephen Birarda
e10d132f75
avoid Qt QTimer thread bug by putting SoundCache on same thread
2014-11-13 14:47:28 -08:00
Stephen Birarda
fd6b9c3550
changes to sound class to allow caching of sounds
2014-11-13 10:16:42 -08:00
Stephen Birarda
9a45a70764
repairs to Sound script conversion typos
2014-11-11 20:47:40 -08:00
Stephen Birarda
ef2c181c98
repairs to audio classes for Sound* to QScriptValue
2014-11-11 10:55:07 -08:00
Stephen Birarda
f19c5c9850
repair NetworkAccessManager returns, handle custom AS port in assignment-client
2014-10-06 14:57:38 -07:00
Atlante45
72f5b9b77b
code cleanup
2014-09-25 19:19:03 -07:00
Atlante45
453869c8e9
Stereo flag + specific resample in Sound class
2014-09-25 18:12:11 -07:00
Craig Hansen-Sturm
47c6ba708f
new audio edit buffer object / click removal / apply linear fade to sound clip endpoints
2014-09-20 04:45:58 -07:00
Atlante45
2eb1321cc2
Sound and AudioInjector tweaks
2014-08-18 12:28:44 -07:00
Atlante45
598c1cb516
Switched Sound to NetworkAccessManager
2014-07-02 11:27:55 -07:00
Andrew Meadows
3f36325642
remove warnings about signed/unsigned comparison
2014-06-17 11:59:37 -07:00
Ryan Huffman
aa47043d57
Fix WAV file support
...
The previous implementation assumed the file only contained RIFF, WAVE,
fmt, and data chunks. It is valid for other chunks to appear, so I
updated it to skip any chunks until it finds the "data" chunk.
2014-05-27 11:24:48 -07:00
Stephen Birarda
c1e54d370c
change Sound property to hasDownloaded
2014-04-18 14:46:56 -07:00
Stephen Birarda
aa5d7aa0b1
fix incorrectly named slot in Sound
2014-04-18 13:58:33 -07:00