-
CT43
Hi guys.. I am findig this rather strange. Is there something im missing that is obvious? I have an oscillator sub patch wich has a vline~ object being triggered by a message to open (this gets triggered by a bang).
The problem is that in one of the sub patches it works and then in the other it doesnt, one is a copy of the other so I dont get it.
Here is a quick video showing the problem:
Thanks
Carl.
-
CT43
Hi guys... I know this is probably an easy one. But I have had a search around and cant get an answer that works.
I have tried using:
line $0 50
and that doesn't sort it.
Any ideas? What am I doing wrong?
Thanks
Carl.
-
CT43
Anyone else ever had this?
It works fine on the simulator, but I get no sound at all on my iPod....
This is my setup in the app delate:
dispatcher = [[PdDispatcher alloc] init]; [PdBase setDelegate:dispatcher]; self.audioController = [[PdAudioController alloc] init]; [self.audioController configurePlaybackWithSampleRate:44100 numberChannels:2 inputEnabled:YES mixingEnabled:YES]; [self.audioController setActive:YES];
-
CT43
I have made some 'expr' objects that are quite long. When I try to delete or cut them (cmd-X) from my patch I get a crash... If I try and edit them I get the same.
At the moment I have hidden them in the corner somewhere to put them out of the way... does PD not like expression objects that too long?
Ive attached a pic BTW...
Thanks
Carl.
-
CT43
Hi guys... Im trying to find the C source code for the 'expr' object... it doesnt seem to be in any of the folders in vanilla or extended.
I can find 'expr-help' & 'expr~'... but not 'expr'
Am I being dumb? Or is it somewhere else?
Thanks
Carl.
-
CT43
I can read from an array using expr, but I am having problems trying to set a value in one of my arrays using the expression object. Trying to use the following gives me a syntax error:
expr if (arrayName [0] != 13, arrayName [1] = 7, arrayName [1] =
Can this even be done?
Thanks
Carl.
-
CT43
Hi guys... im quite new to PD (but have used Max before) and im embarking on a project for uni...
Part of it involves using Algorithmic composition techniques... only problem is: I havent done any before AND im really bad at maths
Its ok for me lean on other peoples projects / abstractions as long as I reference them... but of course id like to understand and make my own as well...
Any tips for a newcomer?
BTW im using Vanilla and RJ Lib - the final patch will end up in an iOS app..
Thanks
Carl.
-
CT43
thanks for having a look mod... Its the 2nd oscillator sub patch / vline~
that I have the problem with: its just not triggering. -
CT43
thanks for the additional info Jwif... ill look into that. The synth engine is ripped straight from a Andy Farrell tutorial, so I didnt make that one
RjLib... yeah its great! Some really good / useful stuff in there... its been priceless with helping do my uni work
-
CT43
Ah thanks Jwif... I see what you are saying now
it was Bérenger's update that I was trying... thats odd eh! It just sits there and doesn't move..
-
CT43
ok... ive got round it by using a LPF from RJLIB...
Id like like to know how to get round this in the future though. I am sure I will come across it again..
-
CT43
Hi BerengerRecoules.. thanks for having a look
I downloaded the revised patch.. it now seems like the cutoff is not moving at all?
-
CT43
actually... it doesn't work for me.. I was being stupid! No signal gets through at all now.
If I delete the cord, it then wont let be reconnect it (understandably since its a miss match: audio outlet going to control inlet)
I tried using a 'snapshot' with a bang to turn it back into control data but that obviously doesn't work as the values are jumping around.
-
-
CT43
thanks for reply...
I just tried using a message - instead of creation argument (as in your post), and im still getting the clicks...
Also.. ive edited the patch to isolate the problem (only that synth plays now)
-
CT43
BTW sorry forgot to say... if you do look at my patch its under the:
'pd OBISimpleSawSynth'
Sub patch... also.. its whats is connected the filter input on the synth controls that is causing it
Thanks
-
CT43
yeah the latency is quite long, and yes I would like it to be shorter
Here is a link to the patch:
https://skydrive.live.com/redir?resid=6F0E6DB89466FF7!163&authkey=!ABMFzSROkWu5vQI
This uses about 35% on my iPad 2 at the moment.
Thanks for the offer of help on the externals, ill see what I can find.
Carl.
-
CT43
Hi Joe... I did some tests and 44.1 was killing my iPad 2 and not even running on my iPod 4th Gen...
http://objectiveapple.blogspot.co.uk/2012/08/74-ios-libpd-37-cpu-issues-with-lib-pd.html
Increasing the buffer size in Xcode to the max setting (64 ticks) only got me 7% more CPU on my iPad 2. halving the sample rate was needed...
Regarding the other point: what I mean by 'vanilla clone' was an RJLib library object compiled equivalent PD external
Cheers
Carl.
-
CT43
cheers guys... yeah it looks as if I will have to re-think my approach. I have already made some massive saving by lowing the sample rate to 22050 in Xcode + upping the 'ticks' property to 64....
http://objectiveapple.blogspot.co.uk/2012/08/75-ios-libpd-37-improving-cpu-issues.html
One thing I've just asked over at Noise pages actually: would a compiled external but more efficient than a vanilla clone (as in RJLIB). I appreciate its difficult to compare these things, but on principle should it be?
-
CT43
Hi BerengerRecoules... thanks for the reply...
What you have pointed out sounds interesting (proving all sorts can cause issues)... though it did actually turn out to be the CPU (I was tired).. I have just done a blog post about it actually:
http://objectiveapple.blogspot.co.uk/2012/08/74-ios-libpd-37-cpu-issues-with-lib-pd.html
I am now trying to find a way to reduce this / up the buffer size in PD...
I am just looking at block~ and trying to see if it will solve my problem...