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
Spencer Russell
6a065f0af2
eeked some more allocation out of SinOsc
2014-06-25 22:08:03 -04:00
Spencer Russell
7aafc697b0
SinOsc{Float32} allocation is way down
2014-06-25 21:51:16 -04:00
Spencer Russell
dd49d374fa
adds test to SinOsc render to test for allocation
2014-06-25 18:17:13 -04:00
Spencer Russell
efd841d74d
adds ability to control SinOsc freq from a signal
2014-06-24 03:30:38 -04:00
Spencer Russell
bf2e5bfb84
adds LinRamp node
2014-06-24 01:35:02 -04:00
Spencer Russell
a334a44a2e
adds WhiteNoise AudioNode
2014-06-23 19:17:28 -04:00
Spencer Russell
9312fa745d
ports AudioInput to new type structure
2014-06-23 18:48:01 -04:00
Spencer Russell
afe4e0d8be
fixes imprecise SinOsc
2014-06-23 17:58:32 -04:00