Commits

Author Commit Message Labels Comments Date
anatoly techtonik
Proof of concept for raw audio output on Linux
anatoly techtonik
+ setup.py
anatoly techtonik
Added tag 0.7-socket-playback for changeset 179527c3593a
anatoly techtonik
SocketStream class and a demo of streaming playback
Tags
0.7-socket-playback
anatoly techtonik
Buffer underrun detection
anatoly techtonik
Added tag 0.6-python3-compatibility
anatoly techtonik
Fix tag 0.5 and prepare for 0.6
Tags
0.6-python3-compatibility
anatoly techtonik
Rename corsica_s's frequency change into sample.raw, leave examples only in __main__ section, update network socket status.
anatoly techtonik
close chapter one about pure Python routine for streaming audio playback on Windows
anatoly techtonik
compatibility with Python 3
anatoly techtonik
replace print() calls with debug()
anatoly techtonik
Added tag 0.5-no-cpu-load for changeset 80499327738c
anatoly techtonik
Remove 100% CPU usage by sleeping during buffer playback time.
Tags
0.5-no-cpu-load
anatoly techtonik
100% CPU: This commit adds a counter that show how many checks for the end of buffer playback is made every time a new block is scheduled. On my machine (Ubuntu+Wine) 5 blocks result in about 150000 checks each with total ~750000 check for a 3 seconds long sample, which is ~250000 checks per second. There should be only one.
anatoly techtonik
Fix formula to calculate AvgBytesPerSec: 44100 * 16 bitPerSample is wrong, because: - 16 is bits per second, so should be divided by 8 - 44100 is for each channel separately, so should be multiplied by 2
anatoly techtonik
Allow to be imported and used as a library.
anatoly techtonik
Added tag 0.4-no-lags-double-buffering for changeset b7fc166383f6
anatoly techtonik
history entry for upcoming tag 0.4
Tags
0.4-no-lags-double-buffering
anatoly techtonik
add debug() helper and global DEBUG flag to control debug output
anatoly techtonik
remove waveOutProc callback function - it doesn't work anyway, but complicates code a lot. it is also isn't clear if all these cross-thread issues are actual for python code that is place inside callback it may be brought back in future versions as a workaround against 100% CPU usage
anatoly techtonik
eliminate lag by using double buffering scheme and internal Windows playback queue
anatoly techtonik
move read operations inside AudioWriter, because it needs to pull the data when its buffers are ready
anatoly techtonik
add headers for double buffer and support for choosing which buffer to schedule
anatoly techtonik
Added tag 0.3-audiowriter for changeset 0e2b4526907e
anatoly techtonik
add history entry for 0.3
Tags
0.3-audiowriter
anatoly techtonik
move waveOutProc callback into AudioWriter method
anatoly techtonik
open output device in AudioWriter explicitly, because it is explicitly closed
anatoly techtonik
bugfix: add AudioWriter.close() method for closing output device
anatoly techtonik
move waveOutProc reference to AudioWriter method
anatoly techtonik
move code to open sound device into AudioWriter method
  1. Prev
  2. Next