-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathREADME
41 lines (30 loc) · 1.64 KB
/
README
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
audio2ascii:
===========
Natron2.0 python plugin to animate you parameters with waveform from an audio file(mp3, wav,aiff,...).
It use a bash script that you must have in your $PATH.
(This is a Linux version, but it can be easily adapted for OSX or other Unix-like).
A multiplatform Qt version of the bash script are currently being developed by @olear at:
https://github.com/olear/audiocurve
Requirements:
============
- Sox: sudo apt-get install sox or sudo yum install sox.
For support more audio formats than 'wav': sudo apt-get install libsox-fmt-all (debian).
Fedora: for mp3 support for sox you can read this
- Yad: If you want a gui: sudo apt-get install yad ; sudo yum install yad
Installation / Usage:
====================
$ wget https://github.com/rcspam/audio2ascii/archive/v1.8.tar.gz
$ tar xvzf audio2ascii-1.8.tar.gz
$ cd audio2ascii-1.8
$ cp ./audio2ascii.sh /somewhere/in/your/path # must be in your $PATH
If you want start audio2ascii from Natron, you should run it with its gui (yad must be installed).
To install the plugin AudioToAscii.py and its icon:
$ # create the local Plugins directory if it doesn't exist
$ mkdir $HOME/.local/share/INRIA/Natron/Plugins
$ cp ./AudioToAscii.* $HOME/.local/share/INRIA/Natron/Plugins
If you want just add a menu command to the application’s menu-bar,
add the following lines in your $HOME/.local/share/INRIA/Natron/Plugins/init.py
(create init.py if doesn't exist):
def audioToAscii():
os.system("audio2ascii.sh -g &")
NatronGui.natron.addMenuCommand("Ext-Tools/AudioToAscii","audioToAscii",QtCore.Qt.Key.Key_L,QtCore.Qt.KeyboardModifier.ShiftModifier)