summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2014-11-27 15:20:14 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2014-11-27 15:20:14 +0100
commit0af809bf174b5f9af20f602e6eb135c519c7af70 (patch)
treefc7aa4ee21adca0e00ecabf46a6799a4f5cea499
parent9e3440a95d9d54dc747fa2f9be0fa8a97ed44832 (diff)
downloadlv2site-0af809bf174b5f9af20f602e6eb135c519c7af70.tar.xz
add amSynth, fix gallery plugin (python 3).
-rw-r--r--content/images/screenshots/amsynth.pngbin0 -> 167662 bytes
-rw-r--r--content/pages/projects.md1
-rw-r--r--extra_plugins/gallery.py8
3 files changed, 5 insertions, 4 deletions
diff --git a/content/images/screenshots/amsynth.png b/content/images/screenshots/amsynth.png
new file mode 100644
index 0000000..cf349d3
--- /dev/null
+++ b/content/images/screenshots/amsynth.png
Binary files differ
diff --git a/content/pages/projects.md b/content/pages/projects.md
index ad967ca..20ac739 100644
--- a/content/pages/projects.md
+++ b/content/pages/projects.md
@@ -13,6 +13,7 @@ Another list is available at <http://apps.linuxaudio.org/apps/all/lv2>.
Project | Description
-------------------------------------------------------------|--------------------------------------------------------------------
+[amSynth](https://code.google.com/p/amsynth/) | Virtual analog synthesizer.
[EMap](http://www.colorfulsoftware.com/emap) | FluidSynth soundfont playing synth.
[foo-yc20](http://code.google.com/p/foo-yc20/) | Faithful emulation of the YC-20 divide-down combo organ.
[lv2-mdaEPiano](http://github.com/rekado/lv2-mdaEPiano) | Native LV2 port of the famous mdaEPiano VSTi.
diff --git a/extra_plugins/gallery.py b/extra_plugins/gallery.py
index 3c5011d..84d5a6f 100644
--- a/extra_plugins/gallery.py
+++ b/extra_plugins/gallery.py
@@ -1,6 +1,6 @@
-import logging, json, os, sys, time, Image
+import logging, json, os, sys, time
from pelican import signals
-from PIL import ImageOps
+from PIL import Image, ImageOps
"""
@@ -163,10 +163,10 @@ class Gallery():
if not os.path.exists(preset_dir):
os.makedirs(preset_dir)
else:
- print "You have no presets defined, please add GALLERY_PRESETS array to settings file, with at least one preset defined, see docs."
+ print("You have no presets defined, please add GALLERY_PRESETS array to settings file, with at least one preset defined, see docs.")
def get_files_from_data(self):
- print "getting files for %s" % self.absolute_src_path
+ print("getting files for %s" % self.absolute_src_path)
from os import listdir
from os.path import isfile, join
return [ f for f in listdir(self.absolute_src_path) if isfile(join(self.absolute_src_path,f)) and f != ".DS_Store" ]