a9d743ae87
Nitpick examples and documentation
2020-04-13 21:33:46 +07:00
Ngô Ngọc Đức Huy
c992a8a6b0
Add example for tone generating ( #69 )
...
Waveforms include:
- sine
- square
- triangle
- sawtooth
- impulse
- white noise
2020-04-13 20:28:32 +07:00
Huy Ngo
b5ab03eb7e
Change from for loop to while loop
2020-04-07 11:56:54 +07:00
09f14bf7f0
Add cache free function and nit strings
2020-04-07 11:52:06 +07:00
Ngô Ngọc Đức Huy
ae913f88de
Writing example for latency ( #67 )
2020-04-06 17:34:58 +07:00
bdfe30306d
Revisit a few design desisions
2020-04-05 12:36:41 +07:00
80a9d88e90
Revise MessageHandler
...
As a side effect, Context.precache_buffers_async no longer causes segfault.
2020-04-04 22:58:01 +07:00
8fa8f83346
Add reverb example
2020-03-30 17:32:13 +07:00
49072f101e
Allow falling back on current context
2020-03-26 22:27:14 +07:00
45a284b17a
Revise read-only properties, warning and debug strings
2020-03-22 16:06:19 +07:00
40f63f738a
Revisit some design decisions
...
Namely buffer creation and device names (fix GH-7)
2020-03-21 22:45:02 +07:00
d05d46cbf4
Nitpick
...
* Destroy buffer in stdec example after use
* Prefer pass-by-reference in C++
* Prefer Python-style type annotation
* Avoid iterator of C++ object wrappers
* Make Source comparable
* Fix GH-22
2020-03-19 11:59:28 +07:00
3967e0cf1c
Add custom decoder factory example
2020-03-16 20:26:44 +07:00
fc1bbfafeb
Expose enumerants necessary for context creation ( resolve #16 )
...
Additionally in-source docs are revised.
2020-03-09 17:54:49 +07:00
308671bc40
Fix reference count and reference of message handler
...
This should close #41 .
2020-03-05 15:17:22 +07:00
3b3a1d342b
Make Decoder compatible with BaseDecoder
...
This is done by dropping Context reference and updating docstrings.
2020-02-25 14:47:00 +07:00
aac24f99a1
Finish methods involving sample type and channel config
...
Also move cdef helpers to the end of the module
2020-02-15 14:27:06 +07:00
1d230d3bd4
Do some final touch to chrono wrapping
2020-01-15 15:39:09 +07:00
c6d9365c56
Nitpick packaging and examples
...
Rules for flake8 is added in tox.ini. Note that since Cython files
are not fully supported by flake8, legal Cython syntax may be reported
as SyntaxError.
2020-01-08 20:44:07 +07:00
1ff633e4a9
s/archaicy/palace/g
2020-01-04 11:55:49 +07:00
04136f7924
Let Buffer/Decoder play Source
...
This is more convenient for using the returned source in a with block.
Class docstrings are also refactored so context managers is obvious.
2020-01-03 20:19:53 +07:00
b36eb11601
Let children bare themselves ( #6 )
2020-01-03 20:19:53 +07:00
d585a9ed6d
Update documentation and add info query example
2019-12-25 22:41:38 +07:00
e8bb1fe76f
Finish wrapping Device and DeviceManager (almost)
2019-12-25 22:41:02 +07:00
a548e270e8
Prove the concept by the first few examples
2019-12-22 16:26:51 +07:00