Commit Graph

115 Commits

Author SHA1 Message Date
Nguyễn Gia Phong 11cc59fc86 Add contributing guidelines and project overview
Co-Authored-By: Ngô Ngọc Đức Huy <duchuy29092000@gmail.com>
2020-08-24 21:41:22 +07:00
Huy Ngo 625b166261 Change structure due to change in design 2020-08-24 21:41:22 +07:00
Nguyễn Gia Phong 7fd5d49b3a Add Copying section 2020-08-24 21:41:22 +07:00
Nguyễn Gia Phong f3da7f8e24 Restructure the reference section 2020-08-24 21:41:22 +07:00
Nguyễn Gia Phong a8e039a9f0 Add design principles 2020-08-24 21:41:22 +07:00
Huy-Ngo 92f2454b96 Add installation instruction to the doc 2020-08-24 21:41:22 +07:00
Nguyễn Gia Phong 4e007b4518 Build the docs the first time
This is actually my thrid try,
but on this branch, it is the first time, OK?
2020-08-24 21:41:22 +07:00
Nguyễn Gia Phong c2a848cf6c Set up GitHub Action for linting
This will give faster linting feedback since we can skip compilation.
2020-08-24 15:32:42 +07:00
Nguyễn Gia Phong 2e39a68865 Check manifest 2020-08-08 17:05:32 +07:00
Nguyễn Gia Phong 587179fecf Nitpick packaging
This follows up GH-112.
2020-07-31 16:32:22 +07:00
Francesco Caliumi 3a9e23917f
Enhance setup.py cmake errors reporting 2020-07-31 14:51:12 +07:00
Nguyễn Gia Phong c78f14fb42 Nitpick numpydoc section names
/cc GH-102 and GH-109
2020-07-23 21:39:33 +07:00
Nguyễn Gia Phong 6f00f7046a Housekeep and partially tackle GH-109 2020-06-19 14:34:28 +07:00
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