aboutsummaryrefslogtreecommitdiff
path: root/Readme.txt
blob: 8a459c751513a843d523b7a94ea7a46f4c62200a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
pdoctave:

pd-octave shall be an interface to octave, mainly in order to access octaves command-line functionality and enourmous function space.

This idea was started approximately in February 2005. 

I want to appologize for the limited flexibility of the code at the moment. 
That's why the use of this external is only recommended to developers.

Following packages have to be installed:
puredata (+sources)
octave
octave-headers

Nice to have:
bbogart's "entry" pd-external

INSTALLING:
please edit the linker parameters in "Makefile" to match your pd-sources paths
type "make"
TESTING:
"pd -lib pdoctave test_pdoctave.pd"

This code collection consists of four pd-objects:

1. pdoctave: an object that calls octave and holds a pipe to its std in. this pipe can be acessed through the other pd-objects.

2. pd-command: sending commands (strings) to the octave command line
3. pd-send:    creating variables on the octave workspace
4. pd-get:     calling back variables from the octave workspace

In order to communicate with octave, there are two .cc files that are compiled in octave external language (mkoctfile)
5. read_shared_mem.cc
6. write_shared_mem.cc

The variables use a common header format with access functions and definitions in
7. pdoctave-dataframe.c/h
8. pdoctave-datatype.h


Franz Zotter 22.Feb 2006 
(Feb 2005)