Re: [PD] (no subject)

2013-11-07 Thread Joshan Mahmud
I believe so, I'm running this code:
https://github.com/libpd/libpd/blob/master/samples/cppTest/src/main.cpp and
I presume line 56 (pd.computeAudio(true);) switches on DSP...

Thanks
Josh


On Thu, Nov 7, 2013 at 12:54 PM, Rafael Vega email.r...@gmail.com wrote:



 On Thursday, November 7, 2013, Joshan Mahmud wrote:

 Hi all

 Apologise for the novice question, but I'm trying to work purely with C++
  libpd (OSX desktop) and have been working with
 samples/cppTest/cpptest.xcodeproj from https://github.com/libpd/libpd.

 I can build the project fine (libpd  the cppTest app) but when it opens
 the test patch (or any for that matter) I do not get any sound.  The patch
 themselves works fine.  Print statements are ok and sending  receiving
 messages seem ok.  But I even built a patch which just *~ two phasors, and
 couldn't hear it when I used the cppTest code to open my patch.  I don't
 think there is anything wrong with libpd nor my sound card as I compiled 
 ran the iOSTest project (deployed to a simulator iPhone) and that worked
 (fuzzy audio, but sound came through).

 Anyone have any good ideas?  I know that with the output AudioUnit on OSX
 has a default volume of 0 (unlike iOS which has default of 1.0 for volume)
 so would it be something like that?

 Thanks!!!
 Josh



 Did you send a dsp on message to your patch?


 --
 Rafael Vega
 email.r...@gmail.com


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


Re: [PD] (no subject)

2013-11-07 Thread Joshan Mahmud
Hi Rafael

Many thanks for your feedback!  I'm glad there's actually something missing
rather than the code just not working.

My other question is then, if I don't want to use Jack and just want to use
something simple to tie up the dac of libpd to my default sound card - is
there a simple way of doing that?

Thanks
Josh


On Thu, Nov 7, 2013 at 1:31 PM, Rafael Vega email.r...@gmail.com wrote:

 And yes, the iOS Test project does the audio I/O for you.


 On Thu, Nov 7, 2013 at 8:30 AM, Rafael Vega email.r...@gmail.com wrote:




 On Thu, Nov 7, 2013 at 8:23 AM, Joshan Mahmud joshan.mah...@gmail.comwrote:

 I believe so, I'm running this code:
 https://github.com/libpd/libpd/blob/master/samples/cppTest/src/main.cpp and
 I presume line 56 (pd.computeAudio(true);) switches on DSP...

 Thanks
 Josh


 On Thu, Nov 7, 2013 at 12:54 PM, Rafael Vega email.r...@gmail.comwrote:



 On Thursday, November 7, 2013, Joshan Mahmud wrote:

 Hi all

 Apologise for the novice question, but I'm trying to work purely with
 C++  libpd (OSX desktop) and have been working with
 samples/cppTest/cpptest.xcodeproj from https://github.com/libpd/libpd.

 I can build the project fine (libpd  the cppTest app) but when it
 opens the test patch (or any for that matter) I do not get any sound.  The
 patch themselves works fine.  Print statements are ok and sending 
 receiving messages seem ok.  But I even built a patch which just *~ two
 phasors, and couldn't hear it when I used the cppTest code to open my 
 patch.
  I don't think there is anything wrong with libpd nor my sound card as I
 compiled  ran the iOSTest project (deployed to a simulator iPhone) and
 that worked (fuzzy audio, but sound came through).

 Anyone have any good ideas?  I know that with the output AudioUnit on
 OSX has a default volume of 0 (unlike iOS which has default of 1.0 for
 volume) so would it be something like that?

 Thanks!!!
 Josh



 Did you send a dsp on message to your patch?


 --
 Rafael Vega
 email.r...@gmail.com




 Maybe I'm missing something when skimming through your code, but, where
 are you setting up audio I/O? libpd doesn't do that automatically for you.
 Here's my implementation
 https://github.com/rvega/XookyNabox/blob/master/src/main.cpp It uses
 jack as audio I/O and libpd as DSP processing.





 --
 Rafael Vega
 email.r...@gmail.com

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


[PD] (no subject)

2013-11-06 Thread Joshan Mahmud
Hi all

Apologise for the novice question, but I'm trying to work purely with C++ 
libpd (OSX desktop) and have been working with
samples/cppTest/cpptest.xcodeproj from https://github.com/libpd/libpd.

I can build the project fine (libpd  the cppTest app) but when it opens
the test patch (or any for that matter) I do not get any sound.  The patch
themselves works fine.  Print statements are ok and sending  receiving
messages seem ok.  But I even built a patch which just *~ two phasors, and
couldn't hear it when I used the cppTest code to open my patch.  I don't
think there is anything wrong with libpd nor my sound card as I compiled 
ran the iOSTest project (deployed to a simulator iPhone) and that worked
(fuzzy audio, but sound came through).

Anyone have any good ideas?  I know that with the output AudioUnit on OSX
has a default volume of 0 (unlike iOS which has default of 1.0 for volume)
so would it be something like that?

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


Re: [PD] 0.43.2 on Mountain Lion

2012-08-15 Thread Joshan Mahmud
Hi Paul

I'm using pd vanilla on Lion and everything seems fine except that I can't 
generate a midi note (makenote-noteout) which ive posted a seperate issue about

Cheers j 



On 15 Aug 2012, at 12:19, Jamie Bullock ja...@jamiebullock.com wrote:

 
 Hi Paul,
 
 On 15 Aug 2012, at 11:19, Paul Money p...@apfrod.com wrote:
 
 Hi
 Anyone running pd vanilla on OSX 10.8 Mountain Lion?
 
 I tried vanilla 0.43.2 and nothing works. I can't open patches, switch
 DSP on/off or even quit. With full logging I see the actions are
 requested but nothing happens after that.
 
 
 0.43.2 vanilla is working fine for me on Mountain Lion. 
 
 Are you able to open a test patch by running Pd from the command line?
 
 Jamie
 
 ___
 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] MIDI not working

2012-08-11 Thread Joshan Mahmud
Hi all

This is my first post so apologise if this is the wrong list / silly
mistake.

I've been using Max/MSP and have only just started using Pure Data and I'm
having a basic issue with midi.  I would like to perform a simple:

[makenote 80 500] - [noteout 1]

combo and I'm hearing anything.  I've set up my MIDI settings such that:
input device 1: IAC Driver IAC Bus 1
output devie 1: IAC Driver IAC Bus 1

Midi works fine with Max/MSP and the same set of objects (and parameters)
work as expected.

I just want to create an algorithmic composition but only need to generate
midi piano notes.

If anyone can help that'd be greatly appreciated!

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