VisualTracker - request for participants
Here is some more info:
This is development info of VisualTracker for pd (pre alpha 100404)
What is it:
VisualTracker is sample sequencer – it triggers loaded samples in times defined in time line in editor window. Samples can be played in their default speed / length or can be fitted in tempo. In “fit mode” you can define number of bars to fit in and also multiplication of file. All changes have visual interpretation in sample canvases.
VisualTracker for pd (pre alpha 100404) was developed in Pd version 0.41.4-extended, on Windows XP
How to make it work:
- Open VisualTracker_(pre_alpha_100404).pd in pd.
- Editor and Samples window are automatically opened.
- Preset currentstate.vtp is automatically loaded – this preset is saved before closing the patch.
- After first run there are 3 empty sample boxes in samples window and 3 corresponding sample canvases in editor window.
- Load any wav (44100 Hz) by pressing „load“ in selected sample box. No space characters in path or filename are allowed. Loading of these files is aborted and error message appears for several seconds. Name of the successfully loaded sample including full path appears in sample box and also sample canvas in editor window. Size of sample canvas is changed according to the sample length. Try to change global BPM – size of sample canvas is recalculated.
- Check „fit“ to fit sample in current BPM. Set length of sample in bars and multiplication.
- Add another sample by creating object [sample] or just copy existing sample box in samples window.
- Switch to editor window, press CTRL+E to switch to pd edit mode and drag and drop sample canvases to desired position on time line. Sample canvases are automatically snapping to bar columns and rows.
- Switch back to normal mode by CTRL+E
- Press PLAY to replay your sample composition. Samples are played only if corresponding sample canvas is placed in track 1-6. If sample canvas is above the tracks sound is muted.
- Press „save“ in main VisualTracker window to save current preset to a text file. Any name and extension with no spaces is allowed.
- Before closing VisualTracker press „save state & close“. It saves current state to preset named currentstate.vtp and delete all sample boxes from samples window and all sample canvases from editor window. Now you can turn off and eventually save VisualTracker patch. This is important to avoid double appearance of sample canvases because information about samples and composition is stored independently from pd patch and should not be saved inside patch. If there are still some „orphaned“ sample canvases hanging delete them manually.
Components:
- Sample window: place for unlimited amount of [sample] abstractions. Once abstraction is created (by copying or creating the object) corresponding sample canvas is created in editor window. [sample] abstraction is sending data to sample canvas (name, color, size, snapping) and receiving back position. Triggering of sample playback is based on position of sample canvas.
- Editor window: place for sample canvases composition on the top of timeline grid. Sample canvases can be moved by mouse in pd edit mode (CTRL+E). Timeline grid will be extended and improved in next versions.
- Preset save/load: saves and loads presets to/from a text file using [coll] object. Preset contains global values (number of samples in composition, bpm) and local values for each sample box (filename, position, track, multiplication, number of bars, fit switch, color and two unused values).
- Sequencer: located in program subpatch. Very simple - functionality will be extended and improved in next versions
- Other: located in program subpatch. Contains some other patches as colortable, BPM manager, output etc.
Problem compiling external on Windows
Hello everybody,
I'm working with files that was written several years ago on other Windows versions. I have to compile an external in order to start my real work, but I'm not an expert in C programming.
I've tried to compile the DLL with both Visual C++ 2008 and MinGW. I'm not Trying to compile helloworld.c but another file (M2M~.c) that I have to work with. I have many header files (.h) associated with M2M~.c.
With Visual C++ 2008, I have done exactly the same thing than middlepedal but I cannot compile, I have an error message such as (this is in french) :
Édition des liens en cours...
LINK : error LNK2001: symbole externe non résolu M2M~_setup
C:\Users\Teaiki\Documents\Visual Studio 2008\Projects\M2M~\Debug\M2M~.lib : fatal error LNK1120: 1 externes non résolus
Is there a great différence between Visual C++ 2008 and Visual C++ 2005?
With MinGW, I have done exactly the same thing than AlbertoZ, and I have a lot of error message such as : "undefined reference to ..."
What should I do?
Can someone help me please?
Thank you in advance
Teaiki
Can't get an executable application of pd extended in Fedora 10
http://ccrma.stanford.edu/planetccrma/software/installonfedorasix.html#SECTION00050300000000000000
that link is for the yum method of installing. I always fall back on my package manager when I can.
If you cd to the directory you ran 'make install' from, you might be able to enter './pd', but I think the best method is to use yum.
# yum upgrade
# rpm --import http://ccrma.stanford.edu/planetccrma/RPM-GPG-KEY.planetccrma.txt
# rpm -Uvh http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/6/i386/planetccrma-repo-1.0-3.fc6.ccrma.noarch.rpm
# yum install planetccrma-apps
# yum install planetccrma-menus
Quelques questions sur PD
Salut zenouda,
bienvenue sur le forum. Ca sont beaucoup de questions et formuler de réponses a tous serait un peut trop compliqué pour un post. Mais je peux te montrer quelques directions :
1. filtrage : [hip~] et [lop~] sont de filtres très simples sans résonance. [svf~], [vcf~] et [moog~] sont des implementations plus sophistiqués. Il y a beaucoup d'autres filtres.
2. ?
3. faut utiliser fft pour ça. [fft~]/[ifft~] et [rfft~]/[rifft~] sont disponibles.
4. il y a beaucoup de possibilités avec les oscillateurs simples comme [osc~] et [phasor~]
5. Il y a plusieurs options pour morpher les sons. Cherche le forum et tu va retrouver certainement quelques articles.
Juste une petite remarque, pour être aidé par des gurus ici (et il y en a plusieurs) c'est mieux de poser tes questions en anglais. Autrement sur http://codelab.fr il y a une section pd aussi.
Bonne chance,
Domien
Spark-Festival of Electronic Music and Arts 2009
Spark Festival of Electronic
Music and Arts 2009
February 17 - 22, 2009
University of Minnesota
Minneapolis, MN.
Doug Geers & Ali Momeni, Artistic Directors
J. Anthony Allen, Producer
James P Hunglemann, Nightlife Curator
CALL FOR WORKS
University of Minnesota West Bank Arts Quarter
In partnership with the American Composers Forum
Announces
2009 Spark Festival of Electronic Music and Arts
West Bank Arts Quarter, University of Minnesota Twin Cities Campus
Minneapolis, MN
February 17 -- February 22
Enter the Online Submission System
CALL FOR ARTISTS, COMPOSERS, and PRESENTERS
Submission Deadline: 11:59pm PST, October 31, 2008 (postmarked)
The University of Minnesota West Bank Arts Quarter and Collaborative Arts Program (COLA) are proud to present the 2009 Spark Festival of Electronic Music and Arts, February 17-22. The festival will be held on the Minneapolis campus of the University of Minnesota (USA) and neighboring Minneapolis performing arts venues, and will feature numerous guest artists to be announced.
Now in its seventh year, the Spark Festival showcases the groundbreaking works of music, art, theater, and dance that feature use of new technologies. Last year's festival included innovative works by over one hundred international composers and artists, including featured guest artists Paul Demarinis, Graffiti Research Lab, Iancu Dumitrescu, and Richard Devine. Leading scholars and technology specialists also presented lectures and panels relating to new technology and creativity. Audiences for the concerts, installations, and lectures last year totaled approximately 4,000 people and garnered multiple articles and reviews in local and national media.
Spark invites submissions of art, dance, theater, and music works incorporating new media, including electroacoustic concert music, experimental electronica, theatrical and dance works, installations, kinetic sculpture, artbots, video, and other non-traditional genres. Although Spark does not force submissions to adhere to a annual theme, we are especially interested this year to feature wearable and mobile technologies, and events will include the first Spark Fashion Show.
Spark also invites submission of scholarly lectures and panel proposals on topics of Collaborative Arts, Interactivity, Cognition, Compositional and Artistic Process, Social and Ethical Issues in the Arts, Art, Music, Video, Film, Animation, Theater, Dance, Innovative Use of Technology in Education, Scientific Visualization, Virtual Reality, intermedia composition, performance, human-computer interaction, software/hardware development, aesthetics, and history and all topics related to the creation of new media art and music. For Spark 2009, we are particularly interested in lectures about wearable and mobile technologies, but submissions on any of the above topics are welcome. All accepted papers will be published as part of the Spark proceedings. Please see http://www.spark.cla.umn.edu/media.html for PDF copies of the Spark 2006, 2007, and 2008 proceedings and program.
Pd algorithms
miller puckette's book explains how to use pd in a mathematical way:
http://crca.ucsd.edu/~msp/techniques/latest/book-html/
julius smith's book explains all about filters:
http://ccrma.stanford.edu/~jos/filters/
this thread discusses interpolation algorithms (and shows that (imho) miller made a bad mistake in his 4-point interpolation algorithm):
http://lists.puredata.info/search/PD-list?query=better+tabread4~
other than that, pd audio algorithms are fairly standard/generic/simple, and not really documented other than in the help patches and examples (which concentrate on how to use them rather than how they work) and the pd source code isn't particularly descriptively commented (but is the best place to get details).
Problems compiling pidip on linux
hello list,
i got installed from src:
pd-extended 0.39
gem 0.41
pdp 0.12.5
newest cvs ffmpeg "stable" release
no problems here, everything works fine.
nevertheless pidip won't compile on my system.
(ubuntu hardy 8.04 64bit)
it stops here, with this output in terminal:
... -I/home/jo/apps/PureData/Pd-0.39.3-extended/pd/src -I. -I/home/jo/apps/PureData/pdp-0.12.4/include -I../include -I../charmaps -I/home/jo/apps/ffmpeg/libavcodec -I/home/jo/apps/ffmpeg/libavformat -o pdp_capture.o -c pdp_capture.c
pdp_capture.c: In function 'XMyClientWindow':
pdp_capture.c:129: warning: implicit declaration of function 'XWindowByProperty'
pdp_capture.c: In function 'XMyGetWindowImage':
pdp_capture.c:335: warning: implicit declaration of function 'XDestroyImage'
pdp_capture.c:339: error: 'Visual' has no member named 'klass'
pdp_capture.c:340: error: 'Visual' has no member named 'klass'
pdp_capture.c:398: error: 'Visual' has no member named 'klass'
pdp_capture.c:399: error: 'Visual' has no member named 'klass'
pdp_capture.c:440: error: 'Visual' has no member named 'klass'
pdp_capture.c:453: warning: implicit declaration of function 'XGetPixel'...
etc
does anybody know why?
anything would help me...
this drives me nuts. 
thanks in advance
Some new bird sounds
http://www.obiwannabe.co.uk/sounds/effect-rainforestbirds.mp3
http://www.obiwannabe.co.uk/sounds/effect-riverbirds.mp3
http://www.obiwannabe.co.uk/sounds/effect-seabirds.mp3
Background reading and inspiration
http://ccrma.stanford.edu/~tamara/publications/
http://www.acoustics.hut.fi/research/avesound/pubs/akusem04.pdf
http://www.csounds.com/ezine/winter2000/realtime/
http://www.obiwannabe.co.uk/tutorials/html/tutorial_birds.html
http://www.indiana.edu/~songbird/pubs/publications_index.html
http://web.mit.edu/fee/Public/Publications/Fee_etal1998.pdf
Problem compiling external on Windows
Hey,
thanks to everyone who responded to my posts both here and in the mailing list. Since then, I've figured out how to compile externals written in C using Microsoft Visual C++ 2005. There's more to document, however, such as how to compile externals using some of the other Windows compilers (Borland, djgpp, etc.), and also how to compile externals written in C++ in Windows. But one thing at a time.
one little thing to note... steps 4 and 7 may seem a little roundabout, but they account for the fact that MSVC sometimes has trouble with spaces in directory names (eg. C://Program Files/). If anyone knows how to override this behavior, post a reply, and I'll try to simplify the steps accordingly.
Updated June 29, 2007:
use [b]C://Progra~1/[/b] instead of [b]C://Program Files/[/b],
use [b]C://Docume~1/[/b] instead of [b]C://Documents and Settings/[/b], etc.
So, without further ado...
How to compile a pd external written in C using Microsoft Visual C++ 2005:
Compared to Windows, linux offers a much more user-friendly environment for compiling pd externals. However, with a little patience, a usable environment can be set up in Windows, and the good news is that everything you need is available for free. There are several reputable Windows-compatible C/C++ compilers out there, but here I'll discuss compiling externals with Microsoft Visual C++ 2005 (MSVC for short).
1. Download and Install Microsoft Visual C++ 2005 Express Edition.
a. Click the link above, then click Go! in the Visual C++ box.
b. Run vcsetup.exe to install the program
(the setup wizard should guide you through the process).
2. Download [url=http://download.microsoft.com/download/7/7/3/7737290f-98e8-45bf-9075-85cc6ae34bf1/VS80sp1-KB9267
]Visual C++ 2005 Express Service Pack 1.
a. Click the link above to download the Service Pack.
b. Run VS80sp1-KB926748-X86-INTL.exe to install the program.
3. Create a new project:
a. Open Visual C++.
b. Open the New Project window (Ctrl+Shift+N).
c. In the Project Types pane, select Visual C++.
d. In the Templates pane, select emptyproj.
e. Enter object name (helloworld).
f. Leave Create directory for solution unchecked, and click OK.
4. Import the pd header file:
a. Get m_pd.h here, or, using pd-vanilla (not pd-extended):
1. Open Windows Explorer or My Computer.
2. Navigate to the pd/src/ directory on your system.
3. Open m_pd.h in a text editor (file type is: C/C++ header).
b. Select all (Ctrl+A).
c. Copy selection to the clipboard (Ctrl+C).
d. Back in Visual C++, open the New File window (Ctrl+N).
e. In the Categories pane, select General.
f. In the Templates pane, select Text File, and click Open.
g. Copy the contents of m_pd.h into the editor window (Ctrl+V).
h. Open the Save File As Window (Ctrl+S).
i. Save as m_pd.h.
j. From the File Menu, select Move m_pd.h into; select helloworld.
5. Write the source code for the external in C.
a. Open the New File window (Ctrl+N).
b. In the Categories pane, select General.
c. In the Templates pane, select Text File, and click Open.
d. Write your source code in the editor window.
The following example is taken from the tutorial by Johannes M. Zmoelnig.
#include "m_pd.h"
static t_class *helloworld_class;
typedef struct _helloworld {
t_object x_obj;
} t_helloworld;
void helloworld_bang(t_helloworld *x)
{
post("Hello world !!");
}
void *helloworld_new(void)
{
t_helloworld *x = (t_helloworld *)pd_new(helloworld_class);
return (void *)x;
}
void helloworld_setup(void) {
helloworld_class = class_new(gensym("helloworld"),
(t_newmethod)helloworld_new,
0, sizeof(t_helloworld),
CLASS_DEFAULT, 0);
class_addbang(helloworld_class, helloworld_bang);
}
6. Save and import the source code into the project:
a. Open the Save File As Window (Ctrl+S).
b. Save as helloworld.c.
c. From the File Menu, select Move helloworld.c into; select helloworld.
7. Access the pd library file:
a. Open Windows Explorer or My Computer.
b. Navigate to the pd/bin/ directory on your system.
c. Right-click on pd.lib (file type is: Object File Library) and select Copy.
d. Navigate to the C://TEMP/ directory on your system.
e. Paste the copy of pd.lib in the C://TEMP/ directory (right-click or Ctrl-V).
8. Set configuration properties:
a. Set configuration type to .dll:
1. Back in Visual C++, open the helloworld Property Pages window (Alt+F7).
2. In the left pane, select Configuration Properties >> General.
3. In the right pane, under Project Defaults, click on
Configuration Type, and select Dynamic Library (.dll)
(using the arrow on the right).
b. Add MSW to preprocessor definitions:
1. In the left pane, select
Configuration Properties >> C/C++ >> Preprocessor.
2. In the right pane, type MSW in the Preprocessor Definitions field.
c. Tell compiler which language to use:
1. In the left pane, select
Configuration Properties >> C/C++ >> Advanced.
2. In the right pane, select Compile As.
3. Select Compile as C Code (/TC) by clicking the arrow on the right.
d. Tell linker where to find pd.lib:
1. In the left pane, select Configuration Properties >> Linker >> Input.
2. In the right pane, select Additional Dependencies and enter
C://TEMP/pd.lib.
e. Tell linker to export the setup function:
1. In the left pane, select
Configuration Properties >> Linker >> Command Line.
2. In the right pane, type
/export:helloworld_setup in the Additional options field.
3. Click OK.
9. Compile and link:
a. Use the Build Solution command (F7).
10. Copy the new helloworld.dll file into pd.
a. Open Windows Explorer or My Computer.
b. Navigate to the
My Documents/Visual Studio 2005/Projects/helloworld/Debug/
directory on your system.
c. Right-click on helloworld.dll (file type is: Application Extension)
and select Copy.
d. Navigate to the pd/extra directory on your system.
e. Paste the copy of helloworld.dll in the pd/extra directory
(right-click or Ctrl-V).
11. Test the external in pd.
a. the external should now be a useable object in pd.
b. open a new pd patch and try to create a helloworld object.
c. add a bang to the left inlet and test it out.
d. if the main pd console window displays "Hello world !!",
the external has succeeded.
Hope this helps!
-- middlepedal
NYC Patching Circle: Monday, April 16th
This Monday, April 16th 6-9pm.
Celebrate tax day with a patch-o-rama!
This week we are fortunate enough to have Wesley Smith from Cycling 74 to join us in patching patchers and, well, lets be honest, helping us a bit with our Max/Jitter/OpenGL/Shader issues *cough*
Right Wes?.
Come join the fun and dont bother the poor guy too much.
This is an informal gathering of patching and patchers (Max/MSP/Jitter, Pure Data, and even jMax, EyesWeb, vvvv, etc.). Beginners and Experienced welcome. Open to everyone, students, the public, etc. Work on school projects, personal projects, ask for help, help others, or just patch quietly to yourself, in a room full of other people patching patches and helping other people patch.
RSVP and I'll put you on the guest list at the door. Otherwise call 718 260 3693 when you get there.
Directions
All events will take place in Rogers Hall at Polytechnic's Brooklyn campus, on the second floor, in room RH207. The entrance is on Jay St. Across the street from the Marriott.
* train to Jay Street-Borough Hall
* train to Borough Hall (walk one block East to Willoughby, left on Jay)
* train to Lawrence Street-MetroTech (one block North on Lawrence)
* train to Dekalb Avenue(two blocks North toward Manhattan Bridge and make a left on Myrtle Ave into MetroTech)
For more directions, see http://www.poly.edu/directions/

