Commit eea1c914 authored by Matthias Klumpp's avatar Matthias Klumpp

Removed some more not DFSG-compliant stuff

This time we delete:
 * Microsoft copyrighted libs
 * Some Apple "all-rights-reserved" headers
 * PlugIns useless for Debian/Linux
 * Not licensed header files
parent 38266680
projectM -- Milkdrop-esque visualisation SDK
Copyright (C)2003-2007 projectM Team
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
See 'LICENSE.txt' included within this release
Installation of projectM iTunes plugin for MacOS X
==================================================
Simply drag the projectM.bundle folder from the mounted disk image
to the folder called "Library/iTunes/iTunes Plug-ins" in your home
folder in Finder.
Restart iTunes
In the "Visualizer" menu, you should now see an entry called "projectM".
Select this option.
Now, turn the visualiser on and enjoy the visuals!
Special Keys
============
' ': Pauses/unpauses music
F1: Show help screen
F3: Toggle preset name rendering
F5: Toggle frame rate rendering
F8: Toggle between screen and studio modes. Useful for debugging per-pixel
equations
R: Jump to a new random preset
N: Go to the next alphanumeric preset
P: Go to the previous alphanumeric preset
Presets
=======
A selection of presets are installed in
Library/iTunes/iTunes Plug-ins/projectM.bundle/Contents/Resources/presets
Feel free to remove files from this folder or copy different presets in
place. After altering the contents of this folder, you must restart projectM
by turning off, then on, the visualiser in iTunes to refresh the preset
list.
Caveats
=======
ATI 3D accelerator cards are known to *NOT WORK* with this plugin currently.
We are investigating the reasons behind this and a fix will be released
as soon as the problem is sorted.
Fullscreen resolution is fixed at 1280x1024. Future releases will enable you
to change this on-the-fly
Mesh size is fixed at 48x36. This generates an acceptable tradeoff between
visual quality and frame rate. Again, this will be selectable in a
configuration dialog in the near future.
Returning from Fullscreen mode can shift windows around
<?xml version="1.0" encoding="ISO-8859-1" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="presetplaylist">
<xs:complexType>
<xs:sequence>
<xs:element name="description" type="xs:string"/>
<xs:element name="item" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="url" type="xs:string"/>
<xs:element name="rating" type="xs:integer"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
This diff is collapsed.
======
VizKit
A basic visualizer plug-in for iTunes.
-------------------------------------
VizKit is a cross-platform (Mac OS X/Windows) samplework.
The visualization is executed with OpenGL.
Main features:
- Album cover artwork texture generation
by using QuickTime's GraphicsImportComponent
- Unicode anti-aliased texture of track title and lyrics
including custom font loading
- Configuration dialog with about info
and full-screen display resolution setting
The distribution contains a project directory for Apple's Xcode IDE
and a separate directory for Microsoft's Visual Studio .NET.
The source code files are shared.
http://www.imagomat.de/vizkit
(c) 2004-2007 Heiko Wichmann
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>VizKit</string>
<key>CFBundleGetInfoString</key>
<string>VizKit 1.9, ©2004-2007, www.imagomat.de, Heiko Wichmann</string>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
<string>de.imagomat.vizkit</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>VizKit</string>
<key>CFBundlePackageType</key>
<string>hvpl</string>
<key>CFBundleShortVersionString</key>
<string>1.9</string>
<key>CFBundleSignature</key>
<string>hook</string>
<key>CFBundleVersion</key>
<string>1.9</string>
</dict>
</plist>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IBDocumentLocation</key>
<string>164 123 540 327 0 0 1440 878 </string>
<key>IBFramework Version</key>
<string>446.1</string>
<key>IBLockedObjects</key>
<array/>
<key>IBOldestOS</key>
<integer>3</integer>
<key>IBSystem Version</key>
<string>8L127</string>
<key>targetFramework</key>
<string>IBCarbonFramework</string>
</dict>
</plist>
<?xml version="1.0" standalone="yes"?>
<object class="NSIBObjectData">
<string name="targetFramework">IBCarbonFramework</string>
<object name="rootObject" class="NSCustomObject" id="1">
<string name="customClass">NSApplication</string>
</object>
<array count="15" name="allObjects">
<object class="IBCarbonWindow" id="166">
<string name="windowRect">382 517 550 780 </string>
<string name="title">Visualizer Options</string>
<object name="rootControl" class="IBCarbonRootControl" id="167">
<string name="bounds">0 0 168 263 </string>
<string name="viewFrame">0 0 263 168 </string>
<array count="1" name="subviews">
<object class="IBCarbonTab" id="194">
<string name="bounds">5 20 148 243 </string>
<string name="viewFrame">20 5 223 143 </string>
<array count="2" name="subviews">
<object class="IBCarbonUserPane" id="195">
<string name="bounds">42 20 148 243 </string>
<string name="viewFrame">0 37 223 106 </string>
<array count="4" name="subviews">
<object class="IBCarbonStaticText" id="207">
<string name="bounds">79 29 92 232 </string>
<string name="viewFrame">9 37 203 13 </string>
<boolean name="small">TRUE</boolean>
<int name="controlSize">1</int>
<string name="title">Version 1.9</string>
<int name="justification">1</int>
</object>
<object class="IBCarbonStaticText" id="208">
<string name="bounds">48 29 71 232 </string>
<string name="viewFrame">9 6 203 23 </string>
<string name="title">VizKit</string>
<int name="justification">1</int>
</object>
<object class="IBCarbonStaticText" id="209">
<string name="bounds">100 29 113 232 </string>
<string name="viewFrame">9 58 203 13 </string>
<boolean name="small">TRUE</boolean>
<int name="controlSize">1</int>
<string name="title">http://www.imagomat.de/vizkit</string>
<int name="justification">1</int>
</object>
<object class="IBCarbonStaticText" id="210">
<string name="bounds">121 29 134 232 </string>
<string name="viewFrame">9 79 203 13 </string>
<boolean name="small">TRUE</boolean>
<int name="controlSize">1</int>
<string name="title">© 2004-2007 Heiko Wichmann</string>
<int name="justification">1</int>
</object>
</array>
<ostype name="controlSignature">vizK</ostype>
<int name="controlID">129</int>
<string name="title">About</string>
<int name="featureBits">2</int>
</object>
<object class="IBCarbonUserPane" id="196">
<string name="bounds">42 20 148 243 </string>
<string name="viewFrame">0 37 223 106 </string>
<array count="2" name="subviews">
<object class="IBCarbonStaticText" id="201">
<string name="bounds">64 55 77 219 </string>
<string name="viewFrame">35 22 164 13 </string>
<boolean name="small">TRUE</boolean>
<int name="controlSize">1</int>
<string name="title">Full-Screen Resolution:</string>
<int name="justification">-2</int>
</object>
<object class="IBCarbonPopupButton" id="206">
<string name="bounds">85 55 105 205 </string>
<string name="viewFrame">35 43 150 20 </string>
<ostype name="controlSignature">vizK</ostype>
<int name="controlID">6</int>
<object name="menu" class="IBCarbonMenu" id="205">
<string name="title">Popup:</string>
<array count="3" name="items">
<object class="IBCarbonMenuItem" id="202">
<boolean name="checked">TRUE</boolean>
<boolean name="updateSingleItem">TRUE</boolean>
<string name="title">Item 1</string>
</object>
<object class="IBCarbonMenuItem" id="204">
<boolean name="updateSingleItem">TRUE</boolean>
<string name="title">Item 2</string>
</object>
<object class="IBCarbonMenuItem" id="203">
<boolean name="updateSingleItem">TRUE</boolean>
<string name="title">Item 3</string>
</object>
</array>
</object>
</object>
</array>
<ostype name="controlSignature">vizK</ostype>
<int name="controlID">130</int>
<int name="featureBits">2</int>
</object>
</array>
<ostype name="controlSignature">vizK</ostype>
<int name="controlID">128</int>
<boolean name="autoLayoutPanes">TRUE</boolean>
<array count="2" name="tabItems">
<dictionary count="4">
<string>contentResID</string>
<string>0</string>
<string>tabEnabled</string>
<string>1</string>
<string>tabName</string>
<string>About</string>
<string>userPane</string>
<reference idRef="195"/>
</dictionary>
<dictionary count="4">
<string>contentResID</string>
<string>0</string>
<string>tabEnabled</string>
<string>1</string>
<string>tabName</string>
<string>Display</string>
<string>userPane</string>
<reference idRef="196"/>
</dictionary>
</array>
</object>
</array>
</object>
<boolean name="receiveActivates">FALSE</boolean>
<boolean name="receiveUpdates">FALSE</boolean>
<boolean name="hasHorizontalZoom">FALSE</boolean>
<boolean name="isResizable">FALSE</boolean>
<boolean name="hasVerticalZoom">FALSE</boolean>
<boolean name="compositing">TRUE</boolean>
<int name="themeBrush">7</int>
<int name="windowPosition">1</int>
</object>
<reference idRef="167"/>
<reference idRef="194"/>
<reference idRef="195"/>
<reference idRef="196"/>
<reference idRef="201"/>
<reference idRef="202"/>
<reference idRef="203"/>
<reference idRef="204"/>
<reference idRef="205"/>
<reference idRef="206"/>
<reference idRef="207"/>
<reference idRef="208"/>
<reference idRef="209"/>
<reference idRef="210"/>
</array>
<array count="15" name="allParents">
<reference idRef="1"/>
<reference idRef="166"/>
<reference idRef="167"/>
<reference idRef="194"/>
<reference idRef="194"/>
<reference idRef="196"/>
<reference idRef="205"/>
<reference idRef="205"/>
<reference idRef="205"/>
<reference idRef="206"/>
<reference idRef="196"/>
<reference idRef="195"/>
<reference idRef="195"/>
<reference idRef="195"/>
<reference idRef="195"/>
</array>
<dictionary count="2" name="nameTable">
<string>File&apos;s Owner</string>
<reference idRef="1"/>
<string>OptionsDialog</string>
<reference idRef="166"/>
</dictionary>
<unsigned_int name="nextObjectID">212</unsigned_int>
</object>
Here are the details of the support given in the Devroye Open Type font:
-Scripts supported: Cyrillic, Greek, and Latin.
-Languages supported: Cyrillic, Greek, English, Bulgarian, Baltic, Czech, Danish, German, Spanish, Finnish, French, Croatian, Hungarian, Icelandic, Italian, Dutch, Norwegian, Polish, Romanian, Slovenian, Swedish, Turkish, and Vietnamese.
- Extended Latin A and B glyphs are also included with this version for even wider linguistic support than mentioned above.
- The following OpenType features are supported within this version, for all the laguages and scripts listed above:
1) Small Caps
2) Caps to Small Caps
3) Oldstyle Figures
4) Standard Ligatures
5) Discretionary Ligatures
6) Historical Forms
7) Stylistic Alternates
8) Kerning
9) Tabular Figures
- DEVROYE_.OTF contains 711 glyphs, including the Euro in both the Euro and the Currency cells. A Euro symbol substitution for OsF combinations is also included in the Small Caps feature.
- This font was designed and generated by Apostrophe. It is free for everyone to use personally or commercially, as long as it is not resold. If you have any questions about this, you should email apostrophe@apostrophiclab.com and ask.
\ No newline at end of file
The fonts included in this package were made in celebration of the honorary doctorate Dr. Luc Devroye recently received in Belgium. Luc was born in Tienen, Belgium. He obtained a Ph.D. degree from the University of Texas in 1976, and since then has been a professor of Computer Science at McGill University in Montreal, Canada. He is also an associate member of the Department of Mathematics and Statistics there. Dr. Devroye is married and has 2 daughters.
Luc's favourite pastime is the reason we are celebrating with him. Luc is a typography fan, if not THE typography fan. I emphasize this because Luc shares his passion with everyone who is interested, via his site, hosted on McGill University's servers. Luc's site, appropriately named 'On Snot and Fonts' is the proverbial starting point for anything type-related. It gets 12,000 hits a day, has not a single advertisement on it, and accommodates all levels of typographical curiosities. You can visit for yourself at:
http://cgm.cs.mcgill.ca/~luc/fonts.html
I have known Luc for several years now. I can without hesitation say that the man is my favourite Canadian.
If you like the fonts included here, pour yourself a glass of wine, lift it up in the air and say: "Here's to you, Luc!"
'
/*
* Project: VizKit
* Version: 1.9
* Date: 20070503
* File: Beatlight.cpp
*
*/
/***************************************************************************
Copyright (c) 2004-2007 Heiko Wichmann (http://www.imagomat.de/vizkit)
This software is provided 'as-is', without any expressed or implied warranty.
In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented;
you must not claim that you wrote the original software.
If you use this software in a product, an acknowledgment
in the product documentation would be appreciated
but is not required.
2. Altered source versions must be plainly marked as such,
and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
***************************************************************************/
#include "Beatlight.h"
#include "VisualErrorHandling.h"
#include "VisualActorGraphics.h"
#include "VisualTiming.h"
#include "VisualAudioLab.h"
#include "VisualFile.h"
#include "VisualString.h"
#include "VisualImage.h"
#include "VisualStageBox.h"
#include "VisualConfiguration.h"
using namespace VizKit;
Beatlight::Beatlight() {
addSpotlightImage();
}
void Beatlight::prepareBeatlightShow() {
}
void Beatlight::showBeatlight() {
this->beatlightAsset.draw(kFrontVertexChain);
/*
if (theVisualAudioLab->getBeatImpulse() == 1) {
ageLimit = maxLifetimeMilliSec;
//pTiming->clearMyTimeStore(timeStoreIndex);
VisualTiming::resetTimestamp("Beatlight");
timeToLive = ageLimit;
} else {
if ((ageLimit-elapsedMilliseconds) > 0) {
ageLimit -= elapsedMilliseconds;
timeToLive = ageLimit;
} else {
timeToLive = 0;
}
}
*/
}
void Beatlight::finishBeatlightShow() {
}
void Beatlight::addSpotlightImage() {
VisualImage spotlightImage;
spotlightImage.initWithResource(SPOTPNG);
/*
VisualFile* inputFile = VisualFile::createWithUserDesktopDirectory();
VisualString inputFileName = VisualString("spot.png");
inputFile->appendFileName(inputFileName);
//spotlightImage.initWithFile(*inputFile);
spotlightImage.initWithContentsOfFile(*inputFile);
delete(inputFile);
*/
//VisualString url("http://www.imagomat.de/images/coverversion/screen_mac.png");
//VisualImage* spotlightImage = VisualImage::createWithURL(url);
if (!spotlightImage.isEmpty()) {
this->beatlightAsset.setImage(spotlightImage);
VisualStageBox* beatlightAssetBox = this->beatlightAsset.getBox();
beatlightAssetBox->setContentPixelWidth(spotlightImage.getWidth());
beatlightAssetBox->setContentPixelHeight(spotlightImage.getHeight());
/*
VisualFile outputFile;
outputFile.initWithUserDesktopDirectory();
VisualString aFileName = VisualString("vizKitBeatlightImage.png");
outputFile.appendFileName(aFileName);
OSStatus status = spotlightImage.writeToFile(outputFile);
if (status != noErr) {
printf("err %ld in Beatlight::addSpotlightImage()\n", status);
}
*/
this->calcPositionOnScreen();
VisualAnimation pulsateAnimation(kAnimatedOpacity);
UInt32 durationInMilliseconds = 550;
pulsateAnimation.setDurationInMilliseconds(durationInMilliseconds);
pulsateAnimation.setLoopMode(kMirroredLoop, kInfiniteRepetition);
this->beatlightAsset.addAnimation(pulsateAnimation);
}
}
void Beatlight::calcPositionOnScreen() {
VisualStagePosition beatlightAssetPosition = this->beatlightAsset.getPosition();
beatlightAssetPosition.reset();
beatlightAssetPosition.horizontalAlignment = kRightAligned;
beatlightAssetPosition.verticalAlignment = kTopAligned;
beatlightAssetPosition.minMarginBottom = 5;
beatlightAssetPosition.minMarginBottomUnit = kPixel;
beatlightAssetPosition.minMarginTop = 20;
beatlightAssetPosition.minMarginTopUnit = kPixel;
beatlightAssetPosition.minMarginLeft = 5;
beatlightAssetPosition.minMarginLeftUnit = kPixel;
beatlightAssetPosition.minMarginRight = 20;
beatlightAssetPosition.minMarginRightUnit = kPixel;
this->beatlightAsset.setPosition(beatlightAssetPosition);
VisualStageBox* beatlightAssetBox = this->beatlightAsset.getBox();
beatlightAssetBox->update(); // VisualStageBox only updates automatically on value changed, after canvas reshape event we have to update manually (before calculating scaleFactor)
beatlightAssetBox->setScalingBehaviour(kPreserveAspectRatio);
this->beatlightAsset.generateVertexChain(kFrontVertexChain);
}
/*
* Project: VizKit
* Version: 1.9
* Date: 20070503
* File: Beatlight.h
*
*/
/***************************************************************************
Copyright (c) 2004-2007 Heiko Wichmann (http://www.imagomat.de/vizkit)
This software is provided 'as-is', without any expressed or implied warranty.
In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented;
you must not claim that you wrote the original software.
If you use this software in a product, an acknowledgment
in the product documentation would be appreciated
but is not required.
2. Altered source versions must be plainly marked as such,
and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
***************************************************************************/
#ifndef Beatlight_h
#define Beatlight_h
#include "VisualAsset.h"
#if TARGET_OS_MAC
#include <CoreServices/../Frameworks/CarbonCore.framework/Headers/MacTypes.h>
#endif
#if TARGET_OS_WIN
#include <QT/MacTypes.h>
#endif
namespace VizKit {
/**
* Performs the action of the BeatlightActor.
* The Beatlight shows a moving point indicating beat impulses.
* Beat detection not implemented yet.
*/
class Beatlight {