Commit graph

280 commits

Author SHA1 Message Date
Spencer Russell
36362d45cf now only submitting coverage info for the release test, no need to send it twice 2014-08-22 04:23:10 -04:00
Spencer Russell
8d456062ca fixes coverage line in .travis.yml 2014-08-22 04:20:49 -04:00
Spencer Russell
86e459cc87 adds coverage stuff to test running 2014-08-22 04:15:13 -04:00
Spencer Russell
dd28b530ea adds try-finally to open so it's actually safe 2014-08-21 01:05:03 -04:00
Spencer Russell
2620e6ecb2 fixes issue and now passes test for stereo file playback (mixing to mono) 2014-08-13 12:31:56 -04:00
Spencer Russell
5f074a4f87 adds stereo wav test file 2014-08-12 21:53:44 -04:00
Spencer Russell
11e6dce20c now we have a failing test for stereo file playback 2014-08-12 19:26:03 -04:00
Spencer Russell
edf2f8fd04 now transposing the audio so columns are channels on a file read 2014-08-12 19:22:19 -04:00
Spencer Russell
d4b4b33361 test for mono file playback now passing 2014-08-12 13:24:31 -04:00
Spencer Russell
c22b6b2347 merges in @bauglir's changes 2014-08-11 18:33:40 -04:00
Spencer Russell
20ecbb5b8e adds a failing test for file playback 2014-08-11 18:25:12 -04:00
Spencer Russell
10802a61f3 some minor test file restructuring 2014-08-11 18:09:51 -04:00
Spencer Russell
89043b80c9 deprecates af_open in favor of AudioIO.open 2014-08-11 17:34:21 -04:00
Joris Kraak
26cf69ad94 Make audio file reads return data as n_frames x n_channels 2014-08-01 17:58:39 +02:00
Joris Kraak
b79b47a461 Add audio file seek capabilities 2014-08-01 14:06:14 +02:00
Joris Kraak
19c33d71c6 Remove unnecessary value check
Due to the way the `render` function was rewritten in eabf971, the audio
variable is always going to be an array of `AudioSample`s, so a check to
see if it is equal to `nothing` is no longer applicable.
2014-08-01 14:04:38 +02:00
Joris Kraak
0cd33b8289 Stop trying to read from audio file if no data is available
As soon as libsndfile has finished reading a file it no longer returns
any data. This can send the `render` method for `FileRenderer` into an
infinite loop. This way if not enough data is available a partial buffer
is returned.
2014-08-01 14:01:49 +02:00
Joris Kraak
289d7a56cd Support playing sound from stereo files 2014-08-01 14:00:24 +02:00
Spencer Russell
18f0cee2e5 now shipping pre-built shim binary for linux also 2014-07-27 15:39:24 -04:00
Spencer Russell
f6544cf7fd now only building the shim for linux installs 2014-07-27 14:46:46 -04:00
Spencer Russell
6af95e6f57 now tracking the compiled shim for OSX 2014-07-27 14:38:59 -04:00
Spencer Russell
9d9af6e4cd Merge pull request #18 from staticfloat/sf/bindeps
Fixes to work with BinDeps/Homebrew properly
2014-07-27 14:20:19 -04:00
Elliot Saba
864f35db75 Fixes to work with BinDeps/Homebrew properly 2014-07-27 13:51:02 -04:00
Spencer Russell
3d1def96ec fixes to work with new support in Homebrew.jl for libsndfile and portaudio 2014-07-27 12:57:18 -04:00
Spencer Russell
450a9e9184 drops allocation by making the sample rate Float32 2014-07-01 02:32:02 -04:00
Spencer Russell
6e6ca7d1fe adds tests for multiplying signals together 2014-07-01 02:06:30 -04:00
Spencer Russell
9c5c01aa7b now disabling 0.2 testing and bumps required Julia version in REQUIRE 2014-06-30 22:18:32 -04:00
Spencer Russell
326f28a2b5 now explicitly installing factcheck on julia 0.2 test rig 2014-06-30 22:13:48 -04:00
Spencer Russell
48113ff5f3 hopefully fixes test running on julia 0.2 2014-06-30 22:09:02 -04:00
Spencer Russell
68414ef7cf now running travis testing on both release and nightly julia builds 2014-06-30 22:04:20 -04:00
Spencer Russell
9bed45bbc8 fixes path handling in test to be more robust and work with Pkg.test 2014-06-30 21:45:08 -04:00
Spencer Russell
131fe7804d Merge branch 'master' of git://github.com/ssfrr/AudioIO.jl 2014-06-30 21:33:18 -04:00
Spencer Russell
00e98a2b88 Merge pull request #17 from Calder/master
Added support for multiple consecutive linear ramps.
2014-06-30 21:33:07 -04:00
Spencer Russell
389636fda2 ports tests over to RunTest.jl 2014-06-30 21:24:29 -04:00
Calder Coalson
8c134edc26 Adjusted buffer length so buffer ends at the end of the ramp. 2014-06-28 16:33:34 -05:00
Calder Coalson
4eb15ae29f Added support for consecutive linear ramps. 2014-06-28 15:22:35 -05:00
Spencer Russell
201d2852c6 adds -L/usr/local/lib to shim Makefile, so it compiles on Iain's OSX machine 2014-06-28 13:11:32 -05:00
Spencer Russell
16857615d3 removes contributors list form README, it's on github 2014-06-27 12:30:59 -05:00
Spencer Russell
fb26c6f011 weakens the get_audio_devices test so it should pass on Travis 2014-06-27 12:23:54 -05:00
Spencer Russell
7cfdff73ac removes buffer allocation in Offset render func 2014-06-27 12:22:30 -05:00
Spencer Russell
d5ae9237d6 adds ability to multiple AudioNodes. NEEDS TESTS 2014-06-27 00:31:10 -05:00
Spencer Russell
36c95f1a16 adds constant offset ability. No tests! 2014-06-26 16:01:06 -05:00
Spencer Russell
91aa390554 adds annotation to base render function 2014-06-26 15:36:52 -05:00
Spencer Russell
b07230919d simplifies AudioNode subtype declarations 2014-06-26 12:21:01 -05:00
Spencer Russell
eabf9717aa adds some new ways to read audiofiles 2014-06-26 09:12:53 -05:00
Spencer Russell
8cc51a435c drops allocation of MixRenderer to 64bytes 2014-06-25 23:16:07 -04:00
Spencer Russell
b8802449c9 tweaks TestNode so it doesn't allocate substantially 2014-06-25 23:01:27 -04:00
Spencer Russell
fab2f8ea8d render alloc on ArrayPlayer down to 192bytes. can probably do better 2014-06-25 22:51:25 -04:00
Spencer Russell
66654d3aaf dropped allocation on SinOsc{AudioNode} 2014-06-25 22:40:23 -04:00
Spencer Russell
e451509293 got LinRamp allocation down to 240bytes 2014-06-25 22:25:35 -04:00