Skip to content

Commit

Permalink
Merge pull request #72 from charlesneimog/develop
Browse files Browse the repository at this point in the history
v 0.8.3
  • Loading branch information
charlesneimog authored Dec 1, 2023
2 parents 37425a4 + 2a2af7c commit 528d7ac
Show file tree
Hide file tree
Showing 38 changed files with 1,147 additions and 2,329 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:
continue-on-error: true
run: |
cd test
python3.11 -m pip install numba numpy -t ./py-modules/
python3.11 -m pip install numpy -t ./py-modules/
python3.11 ./runTests.py
- name: Upload Object
Expand Down
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,21 @@ else ifeq (Darwin,$(findstring Darwin,$(uname)))
PYTHON_INCLUDE := $(shell $(PYTHON_VERSION) -c 'import sysconfig;print(sysconfig.get_config_var("INCLUDEPY"))')
NUMPY_INCLUDE := $(shell $(PYTHON_VERSION) -c 'import numpy; print(numpy.get_include())')
ifeq ($(extension),d_arm64)
cflags = -I $(PYTHON_INCLUDE) -I $(NUMPY_INCLUDE) -Wno-cast-function-type -mmacosx-version-min=12
cflags = -I $(PYTHON_INCLUDE) -I $(NUMPY_INCLUDE) -Wno-bad-function-cast -mmacosx-version-min=12
else
cflags = -I $(PYTHON_INCLUDE) -I $(NUMPY_INCLUDE) -Wno-cast-function-type -mmacosx-version-min=10.9
cflags = -I $(PYTHON_INCLUDE) -I $(NUMPY_INCLUDE) -Wno-bad-function-cast -mmacosx-version-min=10.9
endif
PYTHON_LIB := $(shell $(PYTHON_VERSION) -c 'import sysconfig;print(sysconfig.get_config_var("LIBDIR"))')
ldlibs = -l dl -L $(PYTHON_LIB) -l $(PYTHON_VERSION) -Wno-null-pointer-subtraction

else
$(error "Unknown system type: $(uname)")
$(shell exit 1)
endif

# =================================== Sources ===================================

py4pd.class.sources = src/py4pd.c src/utils.c src/module.c src/pic.c src/ext-libraries.c src/player.c
py4pd.class.sources = src/py4pd.c src/utils.c src/module.c src/pic.c src/ext-libraries.c src/ext-class.c src/player.c

# =================================== Data ======================================
datafiles = \
Expand Down
152 changes: 0 additions & 152 deletions py.py

This file was deleted.

171 changes: 0 additions & 171 deletions py4pd-help.pd

This file was deleted.

28 changes: 14 additions & 14 deletions resources/README.deken.pd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#N canvas 476 73 599 481 12;
#X obj 71 305 py4pd;
#X obj 78 394 bng 23 250 50 0 nutelaOS akdkabdk empty 0 -10 0 12 #dfdfdf #000000 #000000;
#X obj 78 424 bng 23 250 50 0 linux adjhkahdk empty 0 -10 0 12 #dfdfdf #000000 #000000;
#N canvas 476 73 599 565 12;
#X obj 69 366 py4pd;
#X obj 74 488 bng 23 250 50 0 nutelaOS akdkabdk empty 0 -10 0 12 #dfdfdf #000000 #000000;
#X obj 74 518 bng 23 250 50 0 linux adjhkahdk empty 0 -10 0 12 #dfdfdf #000000 #000000;
#N canvas 604 170 651 438 links 0;
#X obj 108 378 pdcontrol;
#X obj 133 192 r linux;
Expand All @@ -22,15 +22,15 @@
#X connect 7 0 8 0;
#X connect 8 0 9 0;
#X connect 9 0 0 0;
#X restore 266 270 pd links;
#X obj 78 365 bng 23 250 50 0 howinstallpython howinstallpythonr empty 0 -10 0 12 #dfdfdf #000000 #000000;
#X restore 262 319 pd links;
#X obj 74 459 bng 23 250 50 0 howinstallpython howinstallpythonr empty 0 -10 0 12 #dfdfdf #000000 #000000;
#X text 59 83 The [py4pd] external allows you to use Python in Pure Data. It is similar to py/pyext \, but is simpler to maintain \, keep it up to date \, use modules \, lists and other things., f 71;
#X text 60 133 With Python in Pd you can generate scores \, work with AI \, use lots of Audio Analysis tools and OpenMusic functions with libraries like om_py \, music21 \, neoscore and others., f 71;
#X text 116 304 <-- IMPORTANT: If this object failed to load \, Python is not installed in your system. This version uses python 3.11 and you can't use any other version.;
#X text 107 369 <-- Click to see how to install Python!;
#X text 107 396 <-- Click for MacOS OR Windows (go to the bottom of page).;
#X text 107 427 <-- Click on this bang for Linux.;
#X text 103 463 <-- Click to see how to install Python!;
#X text 103 490 <-- Click for MacOS OR Windows (go to the bottom of page).;
#X text 103 521 <-- Click on this bang for Linux.;
#X obj 59 44 cnv 5 5 22 empty empty Thanks\ for\ downloading\ [py4pd]\ by\ Charles\ K.\ Neimog! 10 12 0 15 #000000 #202020 0;
#X text 66 185 [py4pd] is used by third-party libraries. I already upload some objects to deken. You can search for pd-ji (Just Intonation Tools) \, Orchidea (load the free Orchidea samples using midi data) and others. Check the complete list in., f 70;
#X msg 266 239 www.charlesneimog.com/py4pd;
#X connect 13 0 3 0;
#X text 59 232 [py4pd] is used by third-party libraries. I already upload some objects to deken. You can search for pd-ji (Just Intonation Tools) \, Orchidea (load the free Orchidea samples using midi data) and others. Check the complete list in., f 71;
#X msg 262 288 charlesneimog.github.io/py4pd;
#X text 59 133 With Python in Pd you can generate scores \, work with AI \, use lots of Audio Analysis tools and OpenMusic functions with libraries like om_py \, music21 \, neoscore and others. It also brings the feature to write Pd externals in pure Python code \, what allows to use all the big Python enviroment in PureData., f 71;
#X text 114 365 <-- IMPORTANT: If this object failed to load \, Python is not installed in your system. This version uses python 3.11 and you CAN'T use any other version.;
#X connect 11 0 3 0;
Loading

0 comments on commit 528d7ac

Please sign in to comment.