Re: [PD] Sampler buffer?

2013-07-06 Thread i go bananas
here's an upsampled loader that uses readsf~ at 64 times the normal rate.

you can try changing the [block 1024 1 64] object to different upsampling
rates depending on how fast your computer is.


upsampled-loading.pd
Description: Binary data
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Libpd running in OS X app

2013-07-06 Thread Rich E
I started adding support for using PdAudioUnit in a Cocoa / OS X app
(PdAudioController is too iOS-specific) and checked my progress into the
cocoa branch here:

https://github.com/libpd/libpd/tree/cocoa

There is a (very basic) working app at:

https://github.com/libpd/libpd/tree/cocoa/samples/cocoa_samples/CocoaPdBasic

You can also find some experimentation I did with moving towards an AUGraph
design but, in the end, I found it much more restrictive than just using
Audio Units directly.  Apologies for not finding the time to finish this,
I've been working full-time on a different project for many months now...
but hopefully once that is done I will finish off those samples, unless
someone else already has.

In essence, there were only a few things that needed to be modified. Off
the top of my head, they were:

- switch the audio unit to kAudioUnitSubType_HALOutput
- enable an input audio device (required on OS X, not on iOS)
- fix some Obj-C syntax issues that are different on OS X (property
synthesis generation I believe)

By the way, you can use the C++ wrapper quite readily with any other
existing audio framework that provides OS X support - I use it in cinder
apps and of course Dan provides ofxPd.  I know others who have used
portaudio or FMOD directly.

cheers,
Rich


On Sat, Jul 6, 2013 at 9:04 AM, Dan Wilcox  wrote:

> Sorry. I assumed you were using the existing Obj-C PdAudioUnit and
> PdAudioController classes included with libpd which were written mainly for
> iOS. We should get around to tweaking it so it works on OSX. Did you try it?
>
> In skimming your code, it looks like you're doing everything the
> PAudioUnit does, so I don't see any obvious problems.
>
>
> On Jul 6, 2013, at 8:52 AM, Joe White  wrote:
>
> Sorry that previous code had some test stuff in it, here's a slightly
> cleaner version (ARC'd)
>
> http://pastebin.com/index/1bR2Ftqn
>
> On 6 July 2013 13:47, Joe White  wrote:
>
>> How do you mean the CoreAudio backend? I would have thought I should just
>> be able to call the process function in my render callback. Did you check
>> out the code I posted? I happy to provide that as an AudioController for
>> libpd on OSX. Messages and print objects work correctly but libpd is not
>> processing any audio.
>>
>> http://pastebin.com/1bR2Ftqn
>>
>> Cheers,
>> Joe
>>
>>
>> On 5 July 2013 23:33, Dan Wilcox  wrote:
>>
>>> As far as I know, the OSX port isn't finished and the CoreAudio backend
>>> isn't hooked up. Anyone wanna help out there or sponsor us? :D
>>>
>>> On Jul 5, 2013, at 7:56 AM, pd-list-requ...@iem.at wrote:
>>>
>>> *From: *Joe White 
>>>  *Subject: **[PD] Libpd running in OS X app*
>>> *Date: *July 5, 2013 7:34:47 AM EDT
>>> *To: *pd-list 
>>>
>>>
>>> Hi guys,
>>>
>>> Does anyone have any experience running libpd in an OS X app, using
>>> CoreAudio.
>>>
>>> I'm able to run a patch and receive print statements but I'm not getting
>>> any audio output and DSP doesn't seem to be processing. I created a quick
>>> test tone in code to see if it was my audio unit but that works. My main
>>> problem it seems is that after calling
>>>
>>>   [PdBase processFloatWithInputBuffer:leftBuffer outputBuffer:leftBuffer
>>>  ticks:ticks];
>>>
>>> ...the buffer is still empty. Anyone have any ideas?
>>>
>>> I'm calling [PdBase computeAudio:] just before I start the AudioUnit.
>>> Here's the whole controller class if that helps:
>>> http://pastebin.com/eYf1Facp
>>>
>>> Any help would be much appreciated!
>>>
>>> Many thanks,
>>>
>>> Joe
>>>
>>>
>>>  
>>> Dan Wilcox
>>> @danomatika
>>> danomatika.com
>>> robotcowboy.com
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Follow me on Twitter @diplojocus
>>
>
>
>
> --
> Follow me on Twitter @diplojocus
>
>
> 
> Dan Wilcox
> @danomatika
> danomatika.com
> robotcowboy.com
>
>
>
>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Building Pd App on OSX

2013-07-06 Thread Jonathan Wilkes

On 07/06/2013 06:18 PM, Miller Puckette wrote:

Yeah... I originally assembled it by trial and error, starting from the
"Wish Shell" app and changing stuff by trial and error.  It might even
be the case that the "Wish Shell.app" archive used by the script below
can be replaced with your own local one... but I thought it safer to cache
  copy once I had it all working.


Ok, I'll give it a shot.  Thanks!

-Jonathan



cheers
M

On Sat, Jul 06, 2013 at 06:08:13PM -0400, Jonathan Wilkes wrote:

On 07/06/2013 05:22 PM, Miller Puckette wrote:

What I do (in effect):

Get an existing Pd application

As in download one of your prebuilt mac binaries?

-Jonathan


and remove all the Pd sources
(Contents/Resources/src, bin, doc, tcl, portaudio, portmidi, extra, *.txt)

then un-tar a source tarball into Contrnts/Resources, cd to src, and
make -f makefile.mac

(Actually, of course, I do this from a script.  I have a pre-prepared
tarball of an empty Pd app, and using that and a source tarball I run
this shell file: )

-

#!/bin/sh
#usage: ./build 0.38-0 or 0.38-0test4

if test x$1 == x
then
echo usage: ./build 0.38-0 or 0.38-0test4
exit 1
fi

if test -d Pd-$1.app
then
 chmod -R 777 Pd-$1.app
 rm -rf Pd-$1.app
fi

tar xzf attic/wish-shell.tgz
mv "Wish Shell.app" Pd-$1.app
cd Pd-$1.app/Contents
chmod 755 .
rm -f Info.plist
cp -p  ../../attic/Info.plist .
cd MacOS
chmod 755 .
mv "Wish Shell" Pd
cd ..
cd Resources
chmod 755 .
rm -f Wish.icns
cp -p ../../../attic/pd.icns ../../../attic/pd-file.icns .
mv "Wish Shell.rsrc" Pd.rsrc
tar xzf ../../../pd-$1.src.tar.gz
mv pd-$1/* .
rmdir pd-$1
cd src
make -f makefile.mac
cd ..
ln -s tcl Scripts
chmod 555 . ..
cd ../../..
pwd
chmod 755 Pd-$1.app
touch Pd-$1.app
chmod 555 Pd-$1.app
tar czf pd-$1.mac.tar.gz Pd-$1.app



cheers
M

On Wed, Jul 03, 2013 at 07:00:48PM -0400, Jonathan Wilkes wrote:

Miller et al,
  Once I get Pd built on OSX, I can make install so that "pd"

>from the terminal will launch it.

But how do I make it into an App?  Any hints?  INSTALL.txt doesn't
have anything.

I'd like to get it building so that a) I can make use of all the
goodies someone put into
AppMain.tcl and b) post a working copy so people can try out the new
Preferences dialog.

Separate question: even for running "pd" from the terminal, why
doesn't the AppMain.tcl stuff
get used?  For example, I still want to use the OSX "Preferences"
panel, and set all the Apple
specific stuff like "About Pd" in the App menu, regardless of how pd
was started.  (Though it's
not a huge deal, as the vast majority would just be running the app.)

Thanks,
Jonathan

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Building Pd App on OSX

2013-07-06 Thread Miller Puckette
Yeah... I originally assembled it by trial and error, starting from the
"Wish Shell" app and changing stuff by trial and error.  It might even
be the case that the "Wish Shell.app" archive used by the script below
can be replaced with your own local one... but I thought it safer to cache
 copy once I had it all working.

cheers
M

On Sat, Jul 06, 2013 at 06:08:13PM -0400, Jonathan Wilkes wrote:
> On 07/06/2013 05:22 PM, Miller Puckette wrote:
> >What I do (in effect):
> >
> >Get an existing Pd application
> 
> As in download one of your prebuilt mac binaries?
> 
> -Jonathan
> 
> >and remove all the Pd sources
> >(Contents/Resources/src, bin, doc, tcl, portaudio, portmidi, extra, *.txt)
> >
> >then un-tar a source tarball into Contrnts/Resources, cd to src, and
> >make -f makefile.mac
> >
> >(Actually, of course, I do this from a script.  I have a pre-prepared
> >tarball of an empty Pd app, and using that and a source tarball I run
> >this shell file: )
> >
> >-
> >
> >#!/bin/sh
> >#usage: ./build 0.38-0 or 0.38-0test4
> >
> >if test x$1 == x
> >then
> >echo usage: ./build 0.38-0 or 0.38-0test4
> >exit 1
> >fi
> >
> >if test -d Pd-$1.app
> >then
> > chmod -R 777 Pd-$1.app
> > rm -rf Pd-$1.app
> >fi
> >
> >tar xzf attic/wish-shell.tgz
> >mv "Wish Shell.app" Pd-$1.app
> >cd Pd-$1.app/Contents
> >chmod 755 .
> >rm -f Info.plist
> >cp -p  ../../attic/Info.plist .
> >cd MacOS
> >chmod 755 .
> >mv "Wish Shell" Pd
> >cd ..
> >cd Resources
> >chmod 755 .
> >rm -f Wish.icns
> >cp -p ../../../attic/pd.icns ../../../attic/pd-file.icns .
> >mv "Wish Shell.rsrc" Pd.rsrc
> >tar xzf ../../../pd-$1.src.tar.gz
> >mv pd-$1/* .
> >rmdir pd-$1
> >cd src
> >make -f makefile.mac
> >cd ..
> >ln -s tcl Scripts
> >chmod 555 . ..
> >cd ../../..
> >pwd
> >chmod 755 Pd-$1.app
> >touch Pd-$1.app
> >chmod 555 Pd-$1.app
> >tar czf pd-$1.mac.tar.gz Pd-$1.app
> >
> >
> >
> >cheers
> >M
> >
> >On Wed, Jul 03, 2013 at 07:00:48PM -0400, Jonathan Wilkes wrote:
> >>Miller et al,
> >>  Once I get Pd built on OSX, I can make install so that "pd"
> >>from the terminal will launch it.
> >>
> >>But how do I make it into an App?  Any hints?  INSTALL.txt doesn't
> >>have anything.
> >>
> >>I'd like to get it building so that a) I can make use of all the
> >>goodies someone put into
> >>AppMain.tcl and b) post a working copy so people can try out the new
> >>Preferences dialog.
> >>
> >>Separate question: even for running "pd" from the terminal, why
> >>doesn't the AppMain.tcl stuff
> >>get used?  For example, I still want to use the OSX "Preferences"
> >>panel, and set all the Apple
> >>specific stuff like "About Pd" in the App menu, regardless of how pd
> >>was started.  (Though it's
> >>not a huge deal, as the vast majority would just be running the app.)
> >>
> >>Thanks,
> >>Jonathan
> >>
> >>___
> >>Pd-list@iem.at mailing list
> >>UNSUBSCRIBE and account-management -> 
> >>http://lists.puredata.info/listinfo/pd-list
> 

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Building Pd App on OSX

2013-07-06 Thread Jonathan Wilkes

On 07/06/2013 05:22 PM, Miller Puckette wrote:

What I do (in effect):

Get an existing Pd application


As in download one of your prebuilt mac binaries?

-Jonathan


and remove all the Pd sources
(Contents/Resources/src, bin, doc, tcl, portaudio, portmidi, extra, *.txt)

then un-tar a source tarball into Contrnts/Resources, cd to src, and
make -f makefile.mac

(Actually, of course, I do this from a script.  I have a pre-prepared
tarball of an empty Pd app, and using that and a source tarball I run
this shell file: )

-

#!/bin/sh
#usage: ./build 0.38-0 or 0.38-0test4

if test x$1 == x
then
echo usage: ./build 0.38-0 or 0.38-0test4
exit 1
fi

if test -d Pd-$1.app
then
 chmod -R 777 Pd-$1.app
 rm -rf Pd-$1.app
fi

tar xzf attic/wish-shell.tgz
mv "Wish Shell.app" Pd-$1.app
cd Pd-$1.app/Contents
chmod 755 .
rm -f Info.plist
cp -p  ../../attic/Info.plist .
cd MacOS
chmod 755 .
mv "Wish Shell" Pd
cd ..
cd Resources
chmod 755 .
rm -f Wish.icns
cp -p ../../../attic/pd.icns ../../../attic/pd-file.icns .
mv "Wish Shell.rsrc" Pd.rsrc
tar xzf ../../../pd-$1.src.tar.gz
mv pd-$1/* .
rmdir pd-$1
cd src
make -f makefile.mac
cd ..
ln -s tcl Scripts
chmod 555 . ..
cd ../../..
pwd
chmod 755 Pd-$1.app
touch Pd-$1.app
chmod 555 Pd-$1.app
tar czf pd-$1.mac.tar.gz Pd-$1.app



cheers
M

On Wed, Jul 03, 2013 at 07:00:48PM -0400, Jonathan Wilkes wrote:

Miller et al,
  Once I get Pd built on OSX, I can make install so that "pd"
from the terminal will launch it.

But how do I make it into an App?  Any hints?  INSTALL.txt doesn't
have anything.

I'd like to get it building so that a) I can make use of all the
goodies someone put into
AppMain.tcl and b) post a working copy so people can try out the new
Preferences dialog.

Separate question: even for running "pd" from the terminal, why
doesn't the AppMain.tcl stuff
get used?  For example, I still want to use the OSX "Preferences"
panel, and set all the Apple
specific stuff like "About Pd" in the App menu, regardless of how pd
was started.  (Though it's
not a huge deal, as the vast majority would just be running the app.)

Thanks,
Jonathan

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Building Pd App on OSX

2013-07-06 Thread Miller Puckette
What I do (in effect):

Get an existing Pd application and remove all the Pd sources
(Contents/Resources/src, bin, doc, tcl, portaudio, portmidi, extra, *.txt)

then un-tar a source tarball into Contrnts/Resources, cd to src, and
make -f makefile.mac

(Actually, of course, I do this from a script.  I have a pre-prepared
tarball of an empty Pd app, and using that and a source tarball I run
this shell file: )

-

#!/bin/sh
#usage: ./build 0.38-0 or 0.38-0test4

if test x$1 == x
then
   echo usage: ./build 0.38-0 or 0.38-0test4
   exit 1
fi

if test -d Pd-$1.app
then
chmod -R 777 Pd-$1.app
rm -rf Pd-$1.app
fi

tar xzf attic/wish-shell.tgz
mv "Wish Shell.app" Pd-$1.app
cd Pd-$1.app/Contents
chmod 755 .
rm -f Info.plist
cp -p  ../../attic/Info.plist .
cd MacOS
chmod 755 .
mv "Wish Shell" Pd
cd ..
cd Resources
chmod 755 .
rm -f Wish.icns
cp -p ../../../attic/pd.icns ../../../attic/pd-file.icns .
mv "Wish Shell.rsrc" Pd.rsrc
tar xzf ../../../pd-$1.src.tar.gz
mv pd-$1/* .
rmdir pd-$1
cd src
make -f makefile.mac
cd ..
ln -s tcl Scripts
chmod 555 . .. 
cd ../../..
pwd
chmod 755 Pd-$1.app
touch Pd-$1.app
chmod 555 Pd-$1.app
tar czf pd-$1.mac.tar.gz Pd-$1.app



cheers
M

On Wed, Jul 03, 2013 at 07:00:48PM -0400, Jonathan Wilkes wrote:
> Miller et al,
>  Once I get Pd built on OSX, I can make install so that "pd"
> from the terminal will launch it.
> 
> But how do I make it into an App?  Any hints?  INSTALL.txt doesn't
> have anything.
> 
> I'd like to get it building so that a) I can make use of all the
> goodies someone put into
> AppMain.tcl and b) post a working copy so people can try out the new
> Preferences dialog.
> 
> Separate question: even for running "pd" from the terminal, why
> doesn't the AppMain.tcl stuff
> get used?  For example, I still want to use the OSX "Preferences"
> panel, and set all the Apple
> specific stuff like "About Pd" in the App menu, regardless of how pd
> was started.  (Though it's
> not a huge deal, as the vast majority would just be running the app.)
> 
> Thanks,
> Jonathan
> 
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Sampler buffer?

2013-07-06 Thread Pierre Massat
Hi,
You can load all your samples when loading the patch in different tables,
and then dynamically set the table (sample) you want to read by sending
[set nameofthetable( to your tabread object. If you don't do that then
everytime you load a sample it takes a while to copy it to RAM before Pd
can read it, especially if the sample is long.

Pierre.



2013/7/6 FernandoG 

> Hello
>
> I need to build a sampler patch for live performance where you can load
> lots of samplers. I actually use soundfiler and tabread but anytime i open
> a new file the sound is stoped, cut, by a moment. Is there any kind of
> buffer that let me choose and open samplers during the performance without
> this problem?
>
> Thanks a lot!
> f
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] Sampler buffer?

2013-07-06 Thread FernandoG
Hello

I need to build a sampler patch for live performance where you can load
lots of samplers. I actually use soundfiler and tabread but anytime i open
a new file the sound is stoped, cut, by a moment. Is there any kind of
buffer that let me choose and open samplers during the performance without
this problem?

Thanks a lot!
f
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Libpd running in OS X app

2013-07-06 Thread Dan Wilcox
Sorry. I assumed you were using the existing Obj-C PdAudioUnit and 
PdAudioController classes included with libpd which were written mainly for 
iOS. We should get around to tweaking it so it works on OSX. Did you try it?

In skimming your code, it looks like you're doing everything the PAudioUnit 
does, so I don't see any obvious problems.

On Jul 6, 2013, at 8:52 AM, Joe White  wrote:

> Sorry that previous code had some test stuff in it, here's a slightly cleaner 
> version (ARC'd)
> 
> http://pastebin.com/index/1bR2Ftqn
> 
> On 6 July 2013 13:47, Joe White  wrote:
> How do you mean the CoreAudio backend? I would have thought I should just be 
> able to call the process function in my render callback. Did you check out 
> the code I posted? I happy to provide that as an AudioController for libpd on 
> OSX. Messages and print objects work correctly but libpd is not processing 
> any audio. 
> 
> http://pastebin.com/1bR2Ftqn
> 
> Cheers,
> Joe
> 
> 
> On 5 July 2013 23:33, Dan Wilcox  wrote:
> As far as I know, the OSX port isn't finished and the CoreAudio backend isn't 
> hooked up. Anyone wanna help out there or sponsor us? :D
> 
> On Jul 5, 2013, at 7:56 AM, pd-list-requ...@iem.at wrote:
> 
>> From: Joe White 
>> Subject: [PD] Libpd running in OS X app
>> Date: July 5, 2013 7:34:47 AM EDT
>> To: pd-list 
>> 
>> 
>> Hi guys,
>> 
>> Does anyone have any experience running libpd in an OS X app, using 
>> CoreAudio. 
>> 
>> I'm able to run a patch and receive print statements but I'm not getting any 
>> audio output and DSP doesn't seem to be processing. I created a quick test 
>> tone in code to see if it was my audio unit but that works. My main problem 
>> it seems is that after calling 
>> 
>>   [PdBase processFloatWithInputBuffer:leftBuffer outputBuffer:leftBuffer 
>> ticks:ticks];
>> 
>> ...the buffer is still empty. Anyone have any ideas?
>> 
>> I'm calling [PdBase computeAudio:] just before I start the AudioUnit. Here's 
>> the whole controller class if that helps:http://pastebin.com/eYf1Facp
>> 
>> Any help would be much appreciated!
>> 
>> Many thanks,
>> 
>> Joe
>> 
> 
> 
> Dan Wilcox
> @danomatika
> danomatika.com
> robotcowboy.com
> 
> 
> 
> 
> 
> 
> 
> 
> -- 
> Follow me on Twitter @diplojocus
> 
> 
> 
> -- 
> Follow me on Twitter @diplojocus


Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com





___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Libpd running in OS X app

2013-07-06 Thread Joe White
Sorry that previous code had some test stuff in it, here's a slightly
cleaner version (ARC'd)

http://pastebin.com/index/1bR2Ftqn

On 6 July 2013 13:47, Joe White  wrote:

> How do you mean the CoreAudio backend? I would have thought I should just
> be able to call the process function in my render callback. Did you check
> out the code I posted? I happy to provide that as an AudioController for
> libpd on OSX. Messages and print objects work correctly but libpd is not
> processing any audio.
>
> http://pastebin.com/1bR2Ftqn
>
> Cheers,
> Joe
>
>
> On 5 July 2013 23:33, Dan Wilcox  wrote:
>
>> As far as I know, the OSX port isn't finished and the CoreAudio backend
>> isn't hooked up. Anyone wanna help out there or sponsor us? :D
>>
>> On Jul 5, 2013, at 7:56 AM, pd-list-requ...@iem.at wrote:
>>
>> *From: *Joe White 
>>  *Subject: **[PD] Libpd running in OS X app*
>> *Date: *July 5, 2013 7:34:47 AM EDT
>> *To: *pd-list 
>>
>>
>> Hi guys,
>>
>> Does anyone have any experience running libpd in an OS X app, using
>> CoreAudio.
>>
>> I'm able to run a patch and receive print statements but I'm not getting
>> any audio output and DSP doesn't seem to be processing. I created a quick
>> test tone in code to see if it was my audio unit but that works. My main
>> problem it seems is that after calling
>>
>>   [PdBase processFloatWithInputBuffer:leftBuffer outputBuffer:leftBuffer
>> ticks:ticks];
>>
>> ...the buffer is still empty. Anyone have any ideas?
>>
>> I'm calling [PdBase computeAudio:] just before I start the AudioUnit.
>> Here's the whole controller class if that helps:
>> http://pastebin.com/eYf1Facp
>>
>> Any help would be much appreciated!
>>
>> Many thanks,
>>
>> Joe
>>
>>
>>  
>> Dan Wilcox
>> @danomatika
>> danomatika.com
>> robotcowboy.com
>>
>>
>>
>>
>>
>>
>
>
> --
> Follow me on Twitter @diplojocus
>



-- 
Follow me on Twitter @diplojocus
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Libpd running in OS X app

2013-07-06 Thread Joe White
How do you mean the CoreAudio backend? I would have thought I should just
be able to call the process function in my render callback. Did you check
out the code I posted? I happy to provide that as an AudioController for
libpd on OSX. Messages and print objects work correctly but libpd is not
processing any audio.

http://pastebin.com/1bR2Ftqn

Cheers,
Joe

On 5 July 2013 23:33, Dan Wilcox  wrote:

> As far as I know, the OSX port isn't finished and the CoreAudio backend
> isn't hooked up. Anyone wanna help out there or sponsor us? :D
>
> On Jul 5, 2013, at 7:56 AM, pd-list-requ...@iem.at wrote:
>
> *From: *Joe White 
>  *Subject: **[PD] Libpd running in OS X app*
> *Date: *July 5, 2013 7:34:47 AM EDT
> *To: *pd-list 
>
>
> Hi guys,
>
> Does anyone have any experience running libpd in an OS X app, using
> CoreAudio.
>
> I'm able to run a patch and receive print statements but I'm not getting
> any audio output and DSP doesn't seem to be processing. I created a quick
> test tone in code to see if it was my audio unit but that works. My main
> problem it seems is that after calling
>
>   [PdBase processFloatWithInputBuffer:leftBuffer outputBuffer:leftBuffer
> ticks:ticks];
>
> ...the buffer is still empty. Anyone have any ideas?
>
> I'm calling [PdBase computeAudio:] just before I start the AudioUnit.
> Here's the whole controller class if that helps:
> http://pastebin.com/eYf1Facp
>
> Any help would be much appreciated!
>
> Many thanks,
>
> Joe
>
>
>  
> Dan Wilcox
> @danomatika
> danomatika.com
> robotcowboy.com
>
>
>
>
>
>


-- 
Follow me on Twitter @diplojocus
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list