Pd4web

Latest version: v2.1.1

Safety actively analyzes 681881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 7

2.0.0

This is a complete rewrite of how `pd4web` works. I believe it offers a more simple approach, but yet quite similar from a coding perspective. **However, it's still far from complete and there are many features still missing.**

Main Changes

- Now we use C++ and emscripten bind;

- I embbed all necessary js code calls inside the c++ code, this means that now you just need to write the code below to make `pd4web` work.

js
<script src="./pd4web.js"></script>
<script>
let Pd4Web = null;

Pd4WebModule().then((Pd4WebModulePromise) => {
Pd4Web = new Pd4WebModulePromise.Pd4Web();
console.log("Pd4WebModule loaded");
});

Pd4Web.init();
</script>


- Now we use `cmake` and [pd.cmake](https://github.com/pure-data/pd.cmake) to compile externals, this make compilation and adding externals more simple.

- Now we build a `Git` repo for the PureData project. I believe this can be an excellent way to keep a project running over the years. Everything from the PureData code, the libraries code, the build script will be added to the project. And finally we create a Git repo.

- Now once you compile the project, you can modify the `index.html` file that it will not be replaced, you also can add files inside the `WebPatch` folder. We will just modify these files. `pd4web` will not delete anything.

1. `pd4web.js`
2. `pd4web.gui.js`
3. `pd4web.threads.js`
4. `pd4web.wasm`
5. `pd4web.worker.js`
6. `pd4web.ww.js`;

In another words, just the 'binary' files.

2.0.0beta

This is a complete rewrite of how `pd4web` works. I believe it offers a more simple approach, but yet quite similar from a coding perspective. **However, it's still far from complete and there are many features still missing.**

Main Changes

- Now we use C++ and emscripten bind;

- I embbed all necessary js code calls inside the c++ code, this means that now you just need to write the code below to make `pd4web` work.

js
<script src="./pd4web.js"></script>
<script>
let Pd4Web = null;

Pd4WebModule().then((Pd4WebModulePromise) => {
Pd4Web = new Pd4WebModulePromise.Pd4Web();
console.log("Pd4WebModule loaded");
});

Pd4Web.init();
</script>


- Now we use `cmake` and [pd.cmake](https://github.com/pure-data/pd.cmake) to compile externals, this make compilation and adding externals more simple.

- Now we build a `Git` repo for the PureData project. I believe this can be an excellent way to keep a project running over the years. Everything from the PureData code, the libraries code, the build script will be added to the project. And finally we create a Git repo.

- Now once you compile the project, you can modify the `index.html` file that it will not be replaced, you also can add files inside the `WebPatch` folder. We will just modify these files. `pd4web` will not delete anything.

1. `pd4web.js`
2. `pd4web.gui.js`
3. `pd4web.threads.js`
4. `pd4web.wasm`
5. `pd4web.worker.js`
6. `pd4web.ww.js`;

In another words, just the 'binary' files.

1.2.3

This release fix minor errors, but it also prepare to `pd4web` for WebMidi support.

We started to isolate wasm pd module. Now we need to start pd using `PureData`. It also remove the extra js scripts. To load pd4web you just use `main.js` and it will load everything else.


Others

* Better look for vu;
* add support to send List for PureData `sendList(receiver, array)`.
* add `--nogui` flag for `pd4web` command line.

1.2.2

What's Changed
* add initial support to GUI patch on the webpatch by charlesneimog in https://github.com/charlesneimog/pd4web/pull/4
* Simple GUI interface must be working now by charlesneimog in https://github.com/charlesneimog/pd4web/pull/5

**Full Changelog**: https://github.com/charlesneimog/pd4web/compare/1.2.1...1.2.2

1.2.1

[update testes to python 3.11](https://github.com/charlesneimog/pd4web/commit/3b55a35a664dafc2af338783113935c4c220525a)
[add messagehook](https://github.com/charlesneimog/pd4web/commit/e612d4de02ed151ff8293e5f879b62921ef07e88)
[remove own composition test](https://github.com/charlesneimog/pd4web/commit/ca80a63f6d1375e6757edcc67db49e6583ce8fe3)
[try to fix myprint](https://github.com/charlesneimog/pd4web/commit/6969e3cbc4889b03a8b7626ed91b320a4e40d3b8)
[update testes to python 3.11](https://github.com/charlesneimog/pd4web/commit/3b55a35a664dafc2af338783113935c4c220525a)

1.2.0

- Minor fixes related to the processed abstractions.
- Remove some extra codes;
- Start to work on simple GUI draw for Web.
- Minor changes related with microphone config (tries to improve latency for live audio).
- [fix bug with clone patches](https://github.com/charlesneimog/pd4web/commit/87325e329f9e750eb06eec69ab6cbd59c955b423)

Libraries Support

- [add grainer library](https://github.com/charlesneimog/pd4web/commit/322b0d7714a01afebc0d85cdf3c4d625cb712b97)
- [start support to fftease](https://github.com/charlesneimog/pd4web/commit/ac1a51ce1254721995e42af1418677367729e106)

Page 4 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.