diff --git a/.travis.yml b/.travis.yml index 72fa0ff..619b8b6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,18 +10,20 @@ python: sudo: required install: - - sudo apt-get update - - sudo apt-get install -y portaudio19-dev python-all-dev --no-install-recommends - - sudo apt-get install -y lilv-utils calf-plugins guitarix --no-install-recommends - - sudo apt-get install -y libavahi-compat-libdnssd1 --no-install-recommends - - pip3 install coveralls - - pip3 install git+https://github.com/depl0y/pybonjour-python3 - - pip3 install zeroconf - - python3 setup.py develop + - make install-develop-requirements + - make install-tests-requirements + - python setup.py develop script: - lv2ls - - coverage3 run --source=webservice wstest/config.py test + - make test after_success: - - 'bash <(curl -s https://codecov.io/bash)' + - bash <(curl -s https://codecov.io/bash) + +jobs: + include: + - stage: doc + script: + - make install-docs-requirements + - make docs diff --git a/CHANGES b/CHANGES index 0138190..aae30b0 100644 --- a/CHANGES +++ b/CHANGES @@ -1,14 +1,27 @@ +Version 0.4.0 - released mm/dd/18 +================================= + + - Issue #45 - Add Makefile + - Issue #44 - Update libraries + + - PluginsManager v0.4.0? -> v0.7.0 + - Application v0.2.0 -> v0.4.0 + Version 0.3.0 - released 05/31/17 ================================= - - Issues #31 - Using logging instead print - - Issues #26 - Implemented secure close ([Application issue 29](https://github.com/PedalPi/Application/issues/29) version 0.3.0) - - Issues #27 - Rename zeroconf device name + + - Issue #31 - Using logging instead print + - Issue #26 - Implemented secure close ([Application issue 29](https://github.com/PedalPi/Application/issues/29) version 0.3.0) + - Issue #27 - Rename zeroconf device name - Improve Component Data documentation - Fix '#' problem when request plugin data - Issue #40 - Add support for plugins manager v0.5.0 and Application v0.3.0 + - Now using PluginsManager notification implementation (``with observer:``) + - Issue #37 - Banks swap -> Bank move Version 0.2.0 - released 05/13/17 ================================= + - Initial release diff --git a/README.rst b/README.rst index 776b06a..671c9fc 100644 --- a/README.rst +++ b/README.rst @@ -79,7 +79,7 @@ The registration must occur before application initialization (``application.sta application = Application(path_data="data/", address='localhost') from webservice.webservice import WebService - application.register(WebService(application, port)) + application.register(WebService(application, port=3000)) 2. Initialization of the web server +++++++++++++++++++++++++++++++++++ @@ -122,7 +122,7 @@ look like the following code: application = Application(path_data="data/", address='localhost') from webservice.webservice import WebService - application.register(WebService(application, port)) + application.register(WebService(application, port=3000)) application.start() @@ -163,17 +163,20 @@ Maintenance Documentation ************* +Is necessary to install `nodejs`_. + +.. _nodejs: https://nodejs.org/en/ + .. code-block:: bash # Installing dependencies - npm install -g aglio + make install-docs-requirements # Generate doc - cd docs/ - aglio -i documentation.apib --theme-variables streak --theme-template triple -o index.html + make docs # View documentation - firefox index.html + make docs-see Test **** @@ -185,5 +188,5 @@ Test coverage3 run --source=webservice wstest/config.py test coverage3 report - coverage3 html - firefox htmlcov/index.html + make test-details + diff --git a/docs/index.html b/docs/index.html index f0a0ea1..cae1334 100644 --- a/docs/index.html +++ b/docs/index.html @@ -524,6 +524,7 @@ { "connections": [ { + "type": "audio", "input": { "index": 0, "effect": 0, @@ -535,6 +536,7 @@ } }, { + "type": "audio", "input": { "index": 0, "symbol": "playback_1" @@ -854,6 +856,7 @@
param_index
number (required) Example: 0

Param position in effect params list


Effect connections management

Connect and disconnect effects.

Manages by key

POST http://pedalpi.local:3000/v1/bank/1/pedalboard/3/connect
Requestsexample 1example 2
Headers
Content-Type: application/json; charset=UTF-8
Body
{
+  "type": "audio",
   "output": {
     "effect": 0,
     "symbol": "out",
@@ -864,6 +867,7 @@
     "index": 1
   }
 }
Responses200
This response has no content.