1
1
Fork 0
mirror of https://github.com/McSinyx/palace synced 2023-12-14 09:02:59 +01:00
Commit graph

30 commits

Author SHA1 Message Date
Nguyễn Gia Phong 9de664a750 Make effects properties more intuitive (fix GH-85)
Additionally run flake8 within pytest by default for better CI experience.
2020-04-25 21:33:17 +07:00
Nguyễn Gia Phong e95dad16bf
Allow examples to fail on macOS CI 2020-04-23 13:29:17 +07:00
Ngô Ngọc Đức Huy c9134b31e1
Add resamplers' info for palace-info (#75) 2020-04-18 08:06:36 +07:00
Nguyễn Gia Phong 8a6ce4bd13 Make send paths easier to use (fix GH-66)
Also nit exceptions and one-liners.
2020-04-17 20:40:39 +07:00
Nguyễn Gia Phong 30c11b351d Abstract away AuxiliaryEffectSlot
Address the first part of GH-66.  Also clean up comparison code.
2020-04-17 11:07:39 +07:00
Nguyễn Gia Phong 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
Nguyễn Gia Phong 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
Nguyễn Gia Phong bdfe30306d Revisit a few design desisions 2020-04-05 12:36:41 +07:00
Nguyễn Gia Phong 80a9d88e90 Revise MessageHandler
As a side effect, Context.precache_buffers_async no longer causes segfault.
2020-04-04 22:58:01 +07:00
Nguyễn Gia Phong 8fa8f83346 Add reverb example 2020-03-30 17:32:13 +07:00
Nguyễn Gia Phong 49072f101e Allow falling back on current context 2020-03-26 22:27:14 +07:00
Nguyễn Gia Phong 45a284b17a Revise read-only properties, warning and debug strings 2020-03-22 16:06:19 +07:00
Nguyễn Gia Phong 40f63f738a Revisit some design decisions
Namely buffer creation and device names (fix GH-7)
2020-03-21 22:45:02 +07:00
Nguyễn Gia Phong 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
Nguyễn Gia Phong 3967e0cf1c Add custom decoder factory example 2020-03-16 20:26:44 +07:00
Nguyễn Gia Phong fc1bbfafeb Expose enumerants necessary for context creation (resolve #16)
Additionally in-source docs are revised.
2020-03-09 17:54:49 +07:00
Nguyễn Gia Phong 308671bc40 Fix reference count and reference of message handler
This should close #41.
2020-03-05 15:17:22 +07:00
Nguyễn Gia Phong 3b3a1d342b Make Decoder compatible with BaseDecoder
This is done by dropping Context reference and updating docstrings.
2020-02-25 14:47:00 +07:00
Nguyễn Gia Phong 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
Nguyễn Gia Phong 1d230d3bd4 Do some final touch to chrono wrapping 2020-01-15 15:39:09 +07:00
Nguyễn Gia Phong 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
Nguyễn Gia Phong 1ff633e4a9 s/archaicy/palace/g 2020-01-04 11:55:49 +07:00
Nguyễn Gia Phong 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
Nguyễn Gia Phong b36eb11601 Let children bare themselves (#6) 2020-01-03 20:19:53 +07:00
Nguyễn Gia Phong d585a9ed6d Update documentation and add info query example 2019-12-25 22:41:38 +07:00
Nguyễn Gia Phong e8bb1fe76f Finish wrapping Device and DeviceManager (almost) 2019-12-25 22:41:02 +07:00
Nguyễn Gia Phong a548e270e8 Prove the concept by the first few examples 2019-12-22 16:26:51 +07:00