README 941 Bytes
Newer Older
Jack's avatar
Jack committed
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
To use this installation, you need :
- Python 3.6 minimum
- Pure Data 0.49 minimum

To install Python3 dependencies (tensorflow, keras and numpy), you can create a virtual env :
$ cd spirit_essence_listening
$ python3 -m venv venv
$ source venv/bin/activate
$ pip3 install -r requirements.txt

To install Pd dependencies, install Gem and Zexy.

To start the installation :
You need to put your own picture filename as value for FILENAME_INPUT env variable.
Open a terminal :
$ cd spirit_essence_listening
$ FILENAME_INPUT="IMG_20181203_104343_BURST1.jpg" python3 spirit_essence_listening_session.py

When the Gem window is created, you can use the keyboard :
- 's' to start to play the sound
- 'q' to close the Gem window

At the end of the perforance, press the 'q' key to close the Gem window and click on the 'stop' message in the 'main.pd' window.
A .wav sound file will be save in the /tmp directory with a name like 145612.wav.


RYBN