Nguyễn Gia Phong
c216f307ef
Fix incorrect multivalue return type
...
This fixes GH-107 and supersedes and closes GH-108.
2020-06-02 10:42:53 +07:00
Nguyễn Gia Phong
c24df3143b
Opt out CI/CD for Python 3.7 and 3.8 on macOS
...
As per GH-63, wheels built on these platforms
are not properly repaired.
2020-05-16 17:35:53 +07:00
Ngô Xuân Minh
8285eb06c5
PEP 257 compliance
...
Rework docstrings following PEP 257
2020-05-12 22:38:18 +07:00
Nguyễn Gia Phong
83315de9c8
Retouch docstrings for multi-value properties
...
This fixes GH-64. Moreover switch back to flake8 since pytest-flake8
is not as configurable.
2020-05-09 21:52:20 +07:00
Ngô Ngọc Đức Huy
24192360f8
Change cdef enum to ctypedef enum to avoid redeclaration
...
Apparently this redeclaration error (C3431) only happens on Windows.
2020-05-08 12:31:25 +07:00
Nguyễn Gia Phong
292ef0393d
Bump version to 0.2.0
2020-05-04 22:50:08 +07:00
Ngô Xuân Minh
c59d0ec169
Fix ReverbEffect
...
Resolve GH-88
2020-05-04 22:32:03 +07:00
Ngô Xuân Minh
b39aaa9903
Fix ChorusEffect ( #91 )
...
To make properties properly raise ValueError
2020-05-03 20:53:57 +07:00
Nguyễn Gia Phong
11cda099a3
Opt in Travis CI testing for Python 3.6 on macOS
...
/r/oddlyspecific
2020-05-03 20:00:44 +07:00
Nguyễn Gia Phong
a2444f0eab
Prepare for 0.2 release
2020-05-02 21:08:37 +07:00
Nguyễn Gia Phong
5406740517
Repair wheels on macOS correctly
2020-05-02 18:03:57 +07:00
Nguyễn Gia Phong
7ff1d8f1d7
Complete tests for context and fix discovered bugs
...
Namely the impliit use without checking of current_context
which can cause segfault if it is None.
2020-04-30 17:01:00 +07:00
Ngô Xuân Minh
e62989fa2b
Intuitively implement properties of ChorusEffect ( #90 )
...
Intuitively implement properties of ChorusEffect and add docstrings.
2020-04-28 23:15:22 +07:00
Huy Ngo
1aa054e8ed
Update version number for new release
2020-04-28 22:46:24 +07:00
Huy Ngo
4f98c8e343
Add notice for credits
2020-04-28 22:43:42 +07:00
Huy Ngo
8016b78167
Remove redundant credit information.
2020-04-28 22:41:11 +07:00
Huy Ngo
b884a07903
Add tests for ChorusEffect
2020-04-27 13:52:35 +07:00
Huy Ngo
fdec565aaf
Add tests for ReverbEffect
2020-04-27 13:52:01 +07:00
Ngô Ngọc Đức Huy
b2329a1428
Fixing some small mistakes made in 9de664a
( #86 )
2020-04-26 09:49:30 +07:00
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
Ngô Ngọc Đức Huy
88c5b0b57a
Add some tests for Effect ( #84 )
...
Only reverb_properties and chorus_properties are not tested
2020-04-25 17:15:16 +07:00
Nguyễn Gia Phong
5ce35416c7
Opt macOS out of automated testing entirely
...
I spent too much time to day fixing up macOS related issue,
when the wheel for it is not even built properly, so I decide
to solve it all together next time.
2020-04-24 20:14:24 +07:00
Nguyễn Gia Phong
2218d192cb
Test message handling
2020-04-24 17:46:54 +07:00
Nguyễn Gia Phong
d575e5e15a
Complete unit tests for Source and clean up
2020-04-24 09:15:07 +07:00
Nguyễn Gia Phong
e95dad16bf
Allow examples to fail on macOS CI
2020-04-23 13:29:17 +07:00
Nguyễn Gia Phong
944dd067eb
Make functional tests run faster
...
This resolves GH-81.
2020-04-22 22:34:53 +07:00
Ngô Ngọc Đức Huy
6148318585
Add functional tests ( #79 )
...
Add functional tests
2020-04-22 01:25:09 +07:00
Nguyễn Gia Phong
e674ade7e4
Update CI/CD
...
This optimizes the execution time of macOS builds and adds initial
(no-op) support for Windows. Documentation now admits the issues with
macOS wheels.
Because of GH-63, CI/CD for Python 3.8 on macOS is temporarily dropped.
Build reference for upcoming v0.1.3
2020-04-22 00:29:53 +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
Ngô Xuân Minh
8972112d16
Implement test listener ( #76 )
...
Implement test for listener class
2020-04-17 08:53:10 +07:00
Ngô Xuân Minh
a25c93bbb1
Nitpick test_source, implement test_context. ( #70 )
...
Implement test_context
Tests that have implemented:
* async wake interval
* default resampler index
* doppler factor
* speed of sound
* distance model
2020-04-13 21:53:30 +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
Nguyễn Gia Phong
6e95bf491c
Uniform enum handling (resolve GH-47)
2020-04-09 15:05:06 +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
38a3a21f43
Clean up for release 0.1
2020-04-01 15:17:23 +07:00
Ngô Ngọc Đức Huy
aeda09d04e
Finishing the Source class ( #65 )
...
* Define make_param_filters() for converting params to struct
* Write `direct_filter`, `send_filter`, and `auxiliary_send_filter`.
* Update copyright information
2020-04-01 14:41:48 +07:00
Nguyễn Gia Phong
e747159161
Move utilities to native C++
2020-03-31 11:35:09 +07:00
Nguyễn Gia Phong
47231e9992
Fix forward declaration regression with binding on
2020-03-30 20:53:28 +07:00
Nguyễn Gia Phong
d29d8debe8
Compile Cython with binding and allow cleaning C++ output
2020-03-30 18:07:31 +07:00
Nguyễn Gia Phong
8fa8f83346
Add reverb example
2020-03-30 17:32:13 +07:00
Nguyễn Gia Phong
b08c711dbc
Declare predefined reverb presets (close GH-62)
...
Declare predefined reverb presets
2020-03-30 17:31:02 +07:00
Ngô Ngọc Đức Huy
ac3d826b72
Finishing the functions in Context
...
* Implement DistanceModel with Enum
* Implement precache_buffers_async
2020-03-28 21:24:05 +07:00
Nguyễn Gia Phong
49072f101e
Allow falling back on current context
2020-03-26 22:27:14 +07:00