commit 2707a8a6c66ee15b142d81f6a47ebcaaa5db7288
parent be2ef97f79bd1b57907b6241cbbcce41f92b7830
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date: Mon, 10 May 2010 15:53:06 +1000
First take on the website
Diffstat:
5 files changed, 55 insertions(+), 2 deletions(-)
diff --git a/src/spek-source.vala b/src/spek-source.vala
@@ -58,7 +58,8 @@ namespace Spek {
sample = 0;
values = new float[bands];
- // TODO: catch errors
+ // TODO: Check for gst errors, in particular test the situation when
+ // `spectrum` (good), `decodebin` (base) or `fakesink` (core) plugins are not available.
pipeline = new Pipeline ("pipeline");
var filesrc = ElementFactory.make ("filesrc", null);
var decodebin = ElementFactory.make ("decodebin", null);
diff --git a/web/app.yaml b/web/app.yaml
@@ -23,3 +23,8 @@ handlers:
static_files: \1.bz2
upload: (.*).bz2
mime_type: application/x-bzip
+
+- url: /(.*).png
+ static_files: \1.png
+ upload: (.*).png
+ mime_type: image/png
diff --git a/web/flac.png b/web/flac.png
Binary files differ.
diff --git a/web/index.html b/web/index.html
@@ -1 +1,48 @@
-Hello world!
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <title>Spek – Free Acoustic Spectrum Analyser / Spectrogram Viewer</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ <meta http-equiv="Content-Style-Type" content="text/css"/>
+ </head>
+ <style type="text/css">
+ body {font-family: sans-serif; font-size: 11pt; width: 760px; margin: 20px auto; padding: 0;}
+ h1, h2 {font-weight: bold;}
+ h1 {font-size: 16pt;}
+ h2 {font-size: 12pt;}
+ img {border-style: none; outline: none;}
+ </style>
+ <body>
+ <h1>Spek – Acoustic Spectrum Analyser</h1>
+ <p>Spek (<a href="http://en.wikipedia.org/wiki/International_Phonetic_Alphabet">IPA</a>: /spɛk/, ‘bacon’ in Dutch) helps to analyse your audio files by showing their <a href="http://en.wikipedia.org/wiki/Spectrogram">spectrogram</a>.</p>
+
+ <h2>Screenshots</h2>
+ <p><a href="mp3.png"><img src="mp3.png" width="262" height="210" alt="Spectrogram of an MP3 file" title="Spectrogram of an MP3 file"/></a> <a href="flac.png"><img src="flac.png" width="262" height="210" alt="Spectrogram of a FLAC file" title="Spectrogram of a FLAC file"/></a></p>
+
+ <h2>Download</h2>
+ <p>Spek 0.1: <a href="spek-0.1.tar.bz2">tarball</a>, <a href="http://gitorious.org/spek/spek/blobs/0.1/NEWS">NEWS</a></p>
+ <p>Requirements: GTK+ ≥ 2.14, GStreamer ≥ 0.10.17 (including gst-plugins-base and gst-plugins-good). For MP3 support you also need gst-plugins-ugly.</p>
+ <p>Build-time dependencies: Vala 0.8.x</p>
+
+ <h2>Roadmap</h2>
+ <p>Features planned for the 1.0 release:</p>
+ <ul>
+ <li>Windows port</li>
+ <li>Time and frequency rulers</li>
+ <li>Zoom and horizontal scroll</li>
+ <li>Adjust spectral density range (dB)</li>
+ <li>Open and associate with audio files</li>
+ <li>Use multiple threads to speed up analysis</li>
+ </ul>
+
+ <h2>Contribute</h2>
+ <p>Spek is free and open source software licensed under <a href="http://www.gnu.org/licenses/gpl.html">GNU GPLv3</a>. The project is written in <a href="http://live.gnome.org/Vala">Vala</a>, the code is hosted on <a href="http://gitorious.org/spek">Gitorious</a>.</p>
+ <p>Patches are very much welcome and can be send by email or as Gitorious merge requests.</p>
+ <p>Report bugs and request new features by editing <a href="http://gitorious.org/spek/pages/Bugs">this wiki page</a> or by email.
+
+ <h2>Feedback</h2>
+ <p>Spek is maintained by <a href="http://versia.com">Alexander Kojevnikov</a>, you can contact him by <a href="mailto:alexander@kojevnikov.com">email</a>.
+ </body>
+</html>
diff --git a/web/mp3.png b/web/mp3.png
Binary files differ.