ae7d229d0e
Fix copyright headers
2023-05-19 00:17:38 +02:00
Heather Anderson
bc6eaf25dc
first pass creating Qt <-> QtScript interface
2023-05-19 00:17:34 +02:00
Heather Anderson
8581022a53
rework ScriptValue to act like a stack variable rather than a pointer
2023-05-19 00:17:34 +02:00
Heather Anderson
1e018dbc64
isolate calls to the QtScript libraries to an interface we control
2023-05-19 00:17:33 +02:00
Ken Cooke
fa08e42da6
Restore legacy attenuation behavior for system sounds and scripts that do not set position.
...
JS detects when "position" was not set by the script.
C++ explicitly sets .positionSet=false when not set (for system sounds).
Local rendering uses a direct mix (no attenuation/HRTF) when not set.
2019-01-29 11:21:02 -08:00
Ken Cooke
a421ba7649
Add "pitch" parameter to scriptable audio injector options.
...
Used in playSound() to pitch-shift the audio when injector is created.
2018-01-19 14:50:51 -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
Stephen Birarda
03bfaa4869
handle RAW stereo audio files by using stereo.raw extension
2014-11-19 12:20:12 -08:00
Stephen Birarda
cd3877b584
handle local audio output via AudioInjector directly for control
2014-11-11 14:14:43 -08:00
Stephen Birarda
a8681cd5b6
changes to allow AudioInjectorOptions to operate as a hash from js
2014-11-11 10:24:21 -08:00
Stephen Birarda
f1a238a6c2
piping for local UI sounds
2014-11-07 10:08:09 -08:00
Atlante45
49526e69f8
Added ignorePenumbra option to injected stream
2014-11-05 16:21:06 +01:00
Atlante45
da740e8a88
First cut at radio.js
2014-09-08 15:31:53 -07:00
Atlante45
507419162c
Added stereo option to the AudioInjector
2014-09-05 14:34:55 -07:00
Atlante45
45ccb01297
Update options position and orientation correctly in the AudioInjector
2014-08-18 21:05:03 -07:00
Atlante45
2eb1321cc2
Sound and AudioInjector tweaks
2014-08-18 12:28:44 -07:00
David Rowe
bd4d167684
Make JavaScript audio samples able to be looped
...
Add a "loop" property to AudioInjectorOptions and provide an example JavaScript file.
2014-05-29 14:13:02 -07:00
Stephen Birarda
ae4b8348a2
fix header include guards via regex
2014-04-09 12:03:17 -07:00
Stephen Birarda
6a51df9e38
initial regex replacement of headers
2014-04-08 17:30:36 -07:00
Stephen Birarda
decaf2e245
add property for volume in AudioInjectorOptions
2014-01-03 14:17:12 -08:00
Stephen Birarda
a61e214c9a
simplify loopback trigger for injected audio
2014-01-03 10:16:59 -08:00
Stephen Birarda
6f60a22c07
fix copyright years
2014-01-03 09:50:13 -08:00
Stephen Birarda
f24eff33fe
open up ASI playSound method to ScriptEngine
2014-01-03 09:38:05 -08:00
Stephen Birarda
443c94a88f
repairs to AudioMixer and audio injection flow
2014-01-02 17:15:46 -08:00