I'm in the early stages of writing a winamp plugin where you can play .pd files like normal songs.
The .pd file just needs two receivers: [r play], which is sent a bang to a toggle that starts the song. And [r vol], which turns the volume to 1.
More features will be added in the near future. Any feedback is appreciated.
You can download it here: https://github.com/0miwi0/amPd
-
Winamp Plugin that uses libpd
-
@miwi nice! i am not sure if it's possible to compile this fork of libpd that includes all the external (it's like having libpd-extended)... might worth a shot!
-
yeah, ideally, any externals would be loaded on startup from a search path but it seems to only load the .pd files and not .dlls. If I find a way to open them the same way, I can take off all the externals it currently has attached to it.
-
@miwi from what I know you need to include the externals in libpd (statically compiled) and call setup(). that's why I sent the libpd fork for extended. not sure if it works...
-
just realized I forgot to include the externals folder "common files/pd" for .pd objects. Adding that folder to "C:\Program Files (x86)\Common Files" will make the test patches work better.
-
UPDATE:
patches can now have artist, title, and length tags added to them. Just add comments to your patches.
The format is as follows:
- artist : yourArtistName
- title : yourSongTitle
- length : lengthInMilliseconds
make sure you separate the field name from the value with " : " (space-colon-space)
test patches have been modified to serve as an example
-
small update:
Winamp's equalizer can be used to send values to pure data.
- sends "eq" when the eq is switched on or off.
- sends "pre" when the eq's preamp slider is changed.
- sends "eq0" - "eq9" for each of the eq's frequency sliders.
"freq.pd" serves as an example