Commit graph

56 commits

Author SHA1 Message Date
Stephen Birarda
a5708c0450 take proper max/min values for samples 2013-03-07 11:24:59 -08:00
Stephen Birarda
5fe311638e fall back to the working MIN/MAX for int16_t 2013-03-07 11:10:16 -08:00
Stephen Birarda
c1ca2daa00 include stdint for INT16_MAX and INT16_MIN 2013-03-07 11:07:45 -08:00
Stephen Birarda
615d1d5152 mix together client samples, don't overwrite 2013-03-07 11:05:02 -08:00
Stephen Birarda
160e9f1100 mixer needs to report its local address as EC2 box 2013-03-06 14:55:44 -08:00
Stephen Birarda
f27af9c903 use fred's fancy new formula for distance attenuation 2013-03-06 14:13:27 -08:00
Stephen Birarda
7064beba8b fix calcuation of distance attenuation coefficient 2013-03-04 15:10:53 -08:00
Stephen Birarda
bb25365604 don't recalculate distance coefficient for same two clients 2013-03-04 12:03:36 -08:00
Stephen Birarda
7086e075a8 undo revert of old low pass filtering test
This reverts commit 1c6fa52357.
2013-03-01 15:50:28 -08:00
Stephen Birarda
f0642f1d11 remove low pass filtering tests
This reverts commit 0c05713955.
2013-03-01 15:50:16 -08:00
Stephen Birarda
0c05713955 the proper test of fred's low pass algorithm 2013-03-01 15:47:55 -08:00
Stephen Birarda
1c6fa52357 Revert "Revert "test of a low pass filter in non-FFT space""
This reverts commit 2bbeca1e01.
2013-03-01 15:34:49 -08:00
Stephen Birarda
23088bbdfd have mixer report the EC2 address 2013-03-01 15:19:13 -08:00
Stephen Birarda
2bbeca1e01 Revert "test of a low pass filter in non-FFT space"
This reverts commit c2578b72bd.
2013-03-01 14:54:28 -08:00
Stephen Birarda
c2578b72bd test of a low pass filter in non-FFT space 2013-03-01 14:54:00 -08:00
Stephen Birarda
c23b5ff785 cap distance amplification at 1, create spatialized mix 2013-03-01 12:33:24 -08:00
Stephen Birarda
400cb238f2 calculate angle between agent and other sources to prep for phase delay 2013-02-28 17:50:17 -08:00
Stephen Birarda
29df6e6a3e send 256 samples per callback so mixer can reply with two channels 2013-02-28 12:21:38 -08:00
Stephen Birarda
75aaa59f76 send the correct mixer IP again 2013-02-26 17:35:26 -08:00
Stephen Birarda
ba2b79b078 accentuate the distance dampening by squaring the coefficient 2013-02-26 17:12:41 -08:00
Stephen Birarda
c1d66e4026 have mixer kill off silent agents 2013-02-26 17:04:57 -08:00
Stephen Birarda
31a164fd19 initial changing of volumne of source based on distance 2013-02-26 16:57:33 -08:00
Stephen Birarda
1783ee5f85 send interface client position to audio mixer 2013-02-26 13:13:40 -08:00
Stephen Birarda
abfd3a0168 refactor mixer to use AgentList, AudioRingBuffer as AgentData 2013-02-25 17:07:32 -08:00
Stephen Birarda
aa9f4f966e allow switchover to new audio mixer received from audio server 2013-02-21 15:43:52 -08:00
Stephen Birarda
c28ace9c15 have mixer use sockaddr when calling UDPSocket receive 2013-02-21 15:17:07 -08:00
Stephen Birarda
8c8309c1f4 add some comments to the CMakeLists files 2013-02-18 11:08:12 -08:00
Stephen Birarda
fd73b8de82 always store ports as unsigned short ports 2013-02-18 09:50:15 -08:00
Stephen Birarda
c3c0793ddc mixer needs to send port as unsigned short 2013-02-18 09:39:52 -08:00
Stephen Birarda
615f04982c quick fix to allow mixer on machine with domain server 2013-02-18 09:11:57 -08:00
Stephen Birarda
c57e98cde5 switch back to EC2 domain server 2013-02-18 08:59:02 -08:00
Stephen Birarda
b52c24ee47 use explicit DOMAIN_IP if it exists 2013-02-14 18:16:31 -08:00
Stephen Birarda
c50252322e remove the test domain and mixer triggers 2013-02-14 17:02:30 -08:00
Stephen Birarda
5f1b7449e4 test jenkins upstream job block 2013-02-14 16:54:57 -08:00
Stephen Birarda
da8fd5f4ee hook space server up to shared UDPSocket class 2013-02-14 16:45:00 -08:00
Stephen Birarda
a5d08142e1 create target for shared hifi library 2013-02-14 15:25:50 -08:00
Stephen Birarda
9c822b9d58 dynamic switchover of audio mixer 2013-02-13 20:43:10 -08:00
Stephen Birarda
5196a1ba1b remove incorrect threaded agent processing, fix agent replacement 2013-02-13 17:52:10 -08:00
Stephen Birarda
ff83335123 undo solo test for mixer, add localhost mixer const to Audio.cpp 2013-02-13 16:19:31 -08:00
Stephen Birarda
4270cfe2b4 send client their own packet for solo mixer testing 2013-02-13 16:14:04 -08:00
Stephen Birarda
4fc9dd6323 fix use of undeclared identifier 2013-02-13 15:29:47 -08:00
Stephen Birarda
815783732c make UDPSocket non-blocking, thread receive of data in interface 2013-02-13 15:27:16 -08:00
Stephen Birarda
5ced381097 store number of sentBytes returned from UDPSocket 2013-02-13 14:54:39 -08:00
Stephen Birarda
a725db5bd7 compare ports of same endianess for agent comparison 2013-02-13 14:06:06 -08:00
Stephen Birarda
09dee91279 collect agent address on receive to send back audio 2013-02-13 13:42:23 -08:00
Stephen Birarda
cee7f89b67 link thread library to proper target for mixer 2013-02-13 11:33:40 -08:00
Stephen Birarda
fb31765024 AudioRingBuffer is a shared class (between mixer and interface) 2013-02-13 10:47:10 -08:00
Stephen Birarda
63070b4d3c link thread library to mixer target 2013-02-12 18:06:31 -08:00
Stephen Birarda
b92d8daa1d more mixer cleanup, UDPSocket hook up 2013-02-12 17:59:23 -08:00
Stephen Birarda
4aca25297b rename socket.cpp to main.cpp, camelcase variables 2013-02-12 17:04:00 -08:00