XML Feeds

.

[pluggo] Simple Plugin (sfplay w/ plugout) maxes out CPU in Ableton Live

Mike MacHenry dskippy at ccs.neu.edu
Mon Jun 18 18:06:35 MDT 2007


Hello everyone,

I am trying to make a really simple plugin for Ableton Live 5.2.2. It is actually the plugin from page 48 of the Pluggo Developer's guide located here:

http://www.digitale-heimat.de/~anne/Sommer_2000/pdf/PluggoDevGuide.pdf

Here's is the code that I am using:

max v2;
#N vpatcher 331 213 1051 675;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 169 147 51 9109513 tapin~ 100;
#P newex 111 148 51 9109513 tapin~ 100;
#P newex 126 111 43 9109513 plugout~;
#P toggle 102 40 15 0;
#P message 126 40 28 9109513 open;
#N sfplay~  1 120960 0 ;
#P newobj 126 73 40 9109513 sfplay~;
#P connect 3 0 4 0;
#P connect 1 0 0 0;
#P connect 2 0 0 0;
#P connect 0 0 3 0;
#P connect 0 0 3 1;
#P connect 3 1 5 0;
#P pop;

I load this into Ableton Live as a plugin on an audio track. I then select a file with the open dialog and then click the check box to play. As soon as it starts to play, there is a really choppy, low-pitch sound coming out of a speaker. Like a sound file being played at 10% speed. The CPU usage goes to over 400% immediately. I am creating this plugin in Max/MSP 4.6.3.

Does anyone know what I might be doing wrong? Is it a Ableton Live setup issue? It's hard to imagine such a simple plugin that is published in the Pluggo developer's guide is incorrect.

Thanks for you help,
-mike


More information about the pluggo mailing list