Re: [PD] lookup~ (was: Update cyclone maintenance)

2015-06-24 Thread Fred Jan Kraan
Hi Alexandre,

 The help file acts as if the audio input needed to be between 0
 and 1, but that is not true, it actually is from -1 to 1, try it
 and you will see. That's the way it originally works in Max as
 well, by the way.

Ok, fixed.

 And now for a bug. When you specify an offset, it goes from that
 offset point until the given boundary. But the way it is acting
 is that it's continuing after the end of the boundary, outputing
 silence.

It isn't implemented as a boundary, but as size parameter. Pd lookup~
tries to read from offset to offset+size. Reading past the array gets
you zero's, as is customary in Pd.

Max 5 lookup~ appears to have it implemented as an offset and a boundary
or end-point in the array. So it reads from offset to end-point.

The new version will behave like Max 5.

 help also ommits you can use a set message to specify the buffer,
 like before

Ok, fixed.

 one more thing: there's a first argument which is the table size, a
 second argument which is a float for offset, and there is a THIRD
 argument that specifies the size of the buffer and is not mentioned (if
 it is not specified, it's 512)

As I understand it, the arguments are:
1 - array/table name
2 - initial offset in array/table (default 0)
3 - initial end-point array/table (default 512)

This is how the new help file specifies it.

Greetings,

Fred Jan
 
 2015-06-23 20:12 GMT-03:00 Alexandre Torres Porres por...@gmail.com
 mailto:por...@gmail.com:
 
 
 2015-06-23 20:07 GMT-03:00 Alexandre Torres Porres por...@gmail.com
 mailto:por...@gmail.com:
 
 now we need to talk about [lookup~] :)
 
 
 cheers
 
 2015-06-05 3:29 GMT-03:00 Fred Jan Kraan fjkr...@xs4all.nl
 mailto:fjkr...@xs4all.nl:
 
 Hi Alexandre,
 
 Sorry, I had missed your message, most active Pd-time had
 gone into
 helping to improve the build system for cyclone and
 pd-externals in
 general.
 
 The concept of hot and cold inlets appears to apply to
 messages, not
 signals. Sah~ appears to work as described in the Max5
 documentation.
 I'll improve the help-patch.
 
 Consider it a good thing Pd can confuse you. It would get
 boring if it
 didn't :-).
 
 Greetings,
 
 Fred Jan
 
 
 On 2015-06-05 03:42 AM, Alexandre Torres Porres wrote:
  please do not consider my previous message, I clearly had no 
 idea what I
  was talking about and was just really confused :) sorry
 
  2015-05-26 18:12 GMT-03:00 Alexandre Torres Porres 
 por...@gmail.com mailto:por...@gmail.com
  mailto:por...@gmail.com mailto:por...@gmail.com:
 
  By the way, [sah~] in Pd has the inlets switched. In max, 
 the left
  one is supposed to trigger the sample and hold, unlike 
 [samphold~]
  in Pd. But [sah~] is just like [samphold~]. In order for it 
 to be a
  proper clone of max, that'd need to be corrected, not sure 
 if it
  happened already.
 
  2015-05-24 23:18 GMT-03:00 Alexandre Torres Porres 
 por...@gmail.com mailto:por...@gmail.com
  mailto:por...@gmail.com mailto:por...@gmail.com:
 
  for instance, it says Symbol argument sets name of 
 table to
  play from. Additional int argument after that sets 
 sample offset
  into the table (default 0)
 
  well, I put an int argument after that, and it doesn't 
 really
  work at all!
 
  2015-05-24 23:05 GMT-03:00 Alexandre Torres Porres
  por...@gmail.com mailto:por...@gmail.com
 mailto:por...@gmail.com mailto:por...@gmail.com:
 
  hi fred, how's it going? I was checking [cycle~] 
 and it
  seems it's not behaving much closely like in max, 
 have you
  checked that? I'm saying more about its behaviour 
 as a
  wavetable, where it can offsett the table and 
 everything.
 
  I can't find that list of bugs you were working on, 
 where is
  it? How is it anyway?
 
  thanks
  cheers
 
  2015-01-23 14:25 GMT-02:00 Fred Jan Kraan 
 fjkr...@xs4all.nl mailto:fjkr...@xs4all.nl
  mailto:fjkr...@xs4all.nl
 mailto:fjkr...@xs4all.nl:
 
  Hi All,
 
  At
  
 http://fjkraan.home.xs4all.nl/digaud/puredata/cyclone/index.html
 

Re: [PD] WebPd 1st try

2015-06-24 Thread Julian Brooks
Thanks a lot Seb, will be back in touch when I'm stuck again.

Pall, your comment throws up a good question: I'm not sure where the pd
patch 'action' is taking place in the debugging console, is it in
'webpl-latest.js'?

Regards,

Julian

On 24 June 2015 at 08:26, s p seb...@gmail.com wrote:

 Hi Julian,

 In that area there sure is room for improvement, and I should integrate
 WebPd better with pd-fileutils (which is the module used to render patches
 to SVG, but also to parse patches from text file to JavaScript). For the
 moment, you can use the same hack I've used in the examples :
 https://github.com/sebpiq/WebPd/blob/master/examples/phasor/index.html#L42
 Basically, pd-fileutils is available globally as pdfu (ideally it
 shouldn't be there). Then you take the patch file you loaded (here called
 mainStr) you re-parse it with pdfu (ideally you shouldn't need to do),
 you render the result as SVG and insert the SVG in your web page. In the
 example it is done in one line, but decomposing the whole thing looks like
 :

 var parsedPatch = pdfu.parse(mainStr)
 var svgStr = pdfu.renderSvg(parsedPatch, {svgFile: false, ratio: 1.5})
 $('#svg').html(svgStr)


 Hope this helps. Please tell me if you need more help.

 On Wed, Jun 24, 2015 at 2:09 AM, Pall Thayer pallt...@gmail.com wrote:

 What does your browser's javascript console say? Any errors showing up?

 On Tue, Jun 23, 2015 at 7:03 PM Julian Brooks jbee...@gmail.com wrote:

 Hello,

 I'm exploring WebPd and am stuck - hopefully someone can advise.

 Going through Seb's gitpage (good job Seb btw, this is great) I get
 stuck when attempting to create an svg for my own supersimple patch.

 Following instructions from here:
 https://github.com/sebpiq/WebPd#step-by-step-guide

 I've got as far as successfully loading myPatch.pd and can hear it.

 Would like my patch to appear like your 'example' patches in a browser.

 I'm think it's something to do with 'pd-fileutils' but not sure what to
 do next?

 Thanks in advance,

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




 --

 *Sébastien Piquemal*

  -* @sebpiq*
  - http://github.com/sebpiq
  - http://funktion.fm

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


Re: [PD] WebPd 1st try

2015-06-24 Thread s p
No worries :)

Short answer ... yes the JS file which contains all the WebPd code is
webpd-latest.js

I could give you more infos if you tell me what you are looking for exactly!

On Wed, Jun 24, 2015 at 1:15 PM, Julian Brooks jbee...@gmail.com wrote:

 Apologies for vagueness, not explaining myself very well.

 In the browser debugging console there are source files on the left side.

 In which of those is the js version of the pd patch running, or am I
 missing something fundamental (it wouldn't surprise me)?

 Cheers Seb,

 Jb

 On 24 June 2015 at 10:53, s p seb...@gmail.com wrote:

 Julian, what do you mean by action ? All messages (and error messages)
 are directly printed to the browser console, so there is no special WebPd
 debgging console.

 Is that what you mean?

 On Wed, Jun 24, 2015 at 12:45 PM, Julian Brooks jbee...@gmail.com
 wrote:

 Thanks a lot Seb, will be back in touch when I'm stuck again.

 Pall, your comment throws up a good question: I'm not sure where the pd
 patch 'action' is taking place in the debugging console, is it in
 'webpl-latest.js'?

 Regards,

 Julian

 On 24 June 2015 at 08:26, s p seb...@gmail.com wrote:

 Hi Julian,

 In that area there sure is room for improvement, and I should integrate
 WebPd better with pd-fileutils (which is the module used to render patches
 to SVG, but also to parse patches from text file to JavaScript). For the
 moment, you can use the same hack I've used in the examples :
 https://github.com/sebpiq/WebPd/blob/master/examples/phasor/index.html#L42
 Basically, pd-fileutils is available globally as pdfu (ideally it
 shouldn't be there). Then you take the patch file you loaded (here called
 mainStr) you re-parse it with pdfu (ideally you shouldn't need to do),
 you render the result as SVG and insert the SVG in your web page. In the
 example it is done in one line, but decomposing the whole thing looks like
 :

 var parsedPatch = pdfu.parse(mainStr)
 var svgStr = pdfu.renderSvg(parsedPatch, {svgFile: false, ratio: 1.5})
 $('#svg').html(svgStr)


 Hope this helps. Please tell me if you need more help.

 On Wed, Jun 24, 2015 at 2:09 AM, Pall Thayer pallt...@gmail.com
 wrote:

 What does your browser's javascript console say? Any errors showing up?

 On Tue, Jun 23, 2015 at 7:03 PM Julian Brooks jbee...@gmail.com
 wrote:

 Hello,

 I'm exploring WebPd and am stuck - hopefully someone can advise.

 Going through Seb's gitpage (good job Seb btw, this is great) I get
 stuck when attempting to create an svg for my own supersimple patch.

 Following instructions from here:
 https://github.com/sebpiq/WebPd#step-by-step-guide

 I've got as far as successfully loading myPatch.pd and can hear it.

 Would like my patch to appear like your 'example' patches in a
 browser.

 I'm think it's something to do with 'pd-fileutils' but not sure what
 to do next?

 Thanks in advance,

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




 --

 *Sébastien Piquemal*

  -* @sebpiq*
  - http://github.com/sebpiq
  - http://funktion.fm





 --

 *Sébastien Piquemal*

  -* @sebpiq*
  - http://github.com/sebpiq
  - http://funktion.fm





-- 

*Sébastien Piquemal*

 -* @sebpiq*
 - http://github.com/sebpiq
 - http://funktion.fm
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] WebPd 1st try

2015-06-24 Thread s p
Julian, what do you mean by action ? All messages (and error messages)
are directly printed to the browser console, so there is no special WebPd
debgging console.

Is that what you mean?

On Wed, Jun 24, 2015 at 12:45 PM, Julian Brooks jbee...@gmail.com wrote:

 Thanks a lot Seb, will be back in touch when I'm stuck again.

 Pall, your comment throws up a good question: I'm not sure where the pd
 patch 'action' is taking place in the debugging console, is it in
 'webpl-latest.js'?

 Regards,

 Julian

 On 24 June 2015 at 08:26, s p seb...@gmail.com wrote:

 Hi Julian,

 In that area there sure is room for improvement, and I should integrate
 WebPd better with pd-fileutils (which is the module used to render patches
 to SVG, but also to parse patches from text file to JavaScript). For the
 moment, you can use the same hack I've used in the examples :
 https://github.com/sebpiq/WebPd/blob/master/examples/phasor/index.html#L42
 Basically, pd-fileutils is available globally as pdfu (ideally it
 shouldn't be there). Then you take the patch file you loaded (here called
 mainStr) you re-parse it with pdfu (ideally you shouldn't need to do),
 you render the result as SVG and insert the SVG in your web page. In the
 example it is done in one line, but decomposing the whole thing looks like
 :

 var parsedPatch = pdfu.parse(mainStr)
 var svgStr = pdfu.renderSvg(parsedPatch, {svgFile: false, ratio: 1.5})
 $('#svg').html(svgStr)


 Hope this helps. Please tell me if you need more help.

 On Wed, Jun 24, 2015 at 2:09 AM, Pall Thayer pallt...@gmail.com wrote:

 What does your browser's javascript console say? Any errors showing up?

 On Tue, Jun 23, 2015 at 7:03 PM Julian Brooks jbee...@gmail.com wrote:

 Hello,

 I'm exploring WebPd and am stuck - hopefully someone can advise.

 Going through Seb's gitpage (good job Seb btw, this is great) I get
 stuck when attempting to create an svg for my own supersimple patch.

 Following instructions from here:
 https://github.com/sebpiq/WebPd#step-by-step-guide

 I've got as far as successfully loading myPatch.pd and can hear it.

 Would like my patch to appear like your 'example' patches in a browser.

 I'm think it's something to do with 'pd-fileutils' but not sure what to
 do next?

 Thanks in advance,

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




 --

 *Sébastien Piquemal*

  -* @sebpiq*
  - http://github.com/sebpiq
  - http://funktion.fm





-- 

*Sébastien Piquemal*

 -* @sebpiq*
 - http://github.com/sebpiq
 - http://funktion.fm
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] More teeth. Was: cyclone abstractions was: Nettles.

2015-06-24 Thread Alexandre Torres Porres
were you able to check it? I'm curious to see if we are on the same page :)
cheers

2015-06-23 13:52 GMT-03:00 Alexandre Torres Porres por...@gmail.com:

  Well, not quite. You also need another delay line,
  as each has different input (input and output signal).

 Not really, because [comb~] also has two delay lines, one for input and
 another for output, in the same way! The thing is that it'll have the same
 delay time for both lines, whereas in teeth~ you can specify different
 times for each delay.

 see my patch attached comparing them.

 cheers

 2015-06-23 12:08 GMT-03:00 Fred Jan Kraan fjkr...@xs4all.nl:

 Hi Alexandre,

  hello, I had plans to try working on a .c code for it, and my idea was
  to just adapt from [comb~].
 
  Yeah... Teeth is almost identical to [comb~]!
 
  In [comb~] you have the same delay time for the feedforward and the
  feedback. In [teeth~] you can specify different time delays for
  feedforward and feedback. So you basically have only one extra time
  delay parameter to include in [comb~] and... voilà, you've got [teeth~]!

 Well, not quite. You also need another delay line, as each has different
 input (input and output signal). And writing code is more fun than
 reading/understanding/adapting. I prefer the array aproach above the
 pointer arithmetic that real programmers use :-).
 
  Hope this makes it clear for you.
 
  Cheers

 Greetings,

 Fred Jan
 
  2015-06-23 4:56 GMT-03:00 Fred Jan Kraan fjkr...@xs4all.nl
  mailto:fjkr...@xs4all.nl:
 
  Hi Alexandre,
 
  Just now I completed the c code for a teeth~ object, which doesn't
 seem
  to crash instantly and sounds* the same as your abstraction which
 is now
  in cyclone.
 
  The block diagram in your help patch made it very clear what
 should  be
  coded. The only thing (what an expert told me), was that 'z'
 applies to
  samples, and teeth~ is controlled in milli-seconds.
 
  While coding, I found the delay time has to be zero or positive,
 but the
  gain coefficients can be negative too, adding the delayed signal
 out of
  phase.
 
  I have no plans to add the object to cyclone anytime soon. First
 spend
  some time figuring out that i really does what I think it does. It
  doesn't crash instantly, and output looks sinusoid with a sinus
 input,
  but that doesn't prove much. And at least some form of interpolation
  should be added before it is ready for prime time.
 
  Greetings,
 
  Fred Jan
 
  *) the help patch sounds equally weird with both, using only the
  positive gains
 
  On 2015-06-15 04:14 PM, Alexandre Torres Porres wrote:
   it's just a preview, I'm gonna still work on them and help files
 :)
  
   2015-06-15 10:38 GMT-03:00 Fred Jan Kraan fjkr...@xs4all.nl
  mailto:fjkr...@xs4all.nl
   mailto:fjkr...@xs4all.nl mailto:fjkr...@xs4all.nl:
  
   Hi Alexandre,
  
   Thanks for the abstractions. I will include them in the svn
  repository
   and the next binary deken compatible builds. Only rect~ didn't
  work.
  
   I applied some minor modification by replacing [pi], which
 doesn't
   appear to be vanilla by [3.141593(.
  
   Greetings,
  
   Fred Jan
  
   P.S. Wouldn't mind if the future supplied help-patches were
  already
   cyclone-standard formatting ;-).
  
   On 2015-06-14 10:14 PM, Alexandre Torres Porres wrote:
Any object or abstraction that implements something
present in Max(5) could be part of cyclone.
   
i've made 13 abstractions so far
   
- atodb
- atodb~
- dbtoa
- dbtoa~
- freqshift~
- rect~
- saw~
- scale
- scale~
- teeth~
- thresh~
- tri~
- trunc~
   
Gonna try and do a few of these more, I have more 5 in mind
  so far. I
guess some make much more sense as objects, like
   [rect~]/[tri~]/[saw~].
Here's a preview attached.
   
cheers
  
  
 
 



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


Re: [PD] Troubles running Pd on Windows XP Professional

2015-06-24 Thread Miller Puckette
But I can add msvcr90.dll to the Pd distribution, I think.

I suppose I should do that - but I worry about getting the correct
version of it (???) and anyway, what other DLLs are there that Pd silently
depends on?

cheers
Miller

On Wed, Jun 24, 2015 at 09:58:30PM +0200, IOhannes m zmölnig wrote:
 On 06/24/2015 08:43 PM, Roman Haefeli wrote:
  I don't know why some systems have it apparently installed, others
  don't. 
 
 most likely because some *other* (unrelated) program installed on those
 system has installed the dll into a system-wide path.
 
  
  The file has a size of 640kB (ought to be enough for everyone). Could it
  be statically linked so that it works everywhere? (I hope what I am
  saying does make any sense.) 
 
 it's not possible due to the license of that library.
 
 (and on a more pragmatic side: microsoft only ships the .dll (that is:
 the dynamically linkable library), there is no .lib to statically link
 in the entire library)
 
 fmdsar
 IOhannes
 
 



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


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


Re: [PD] Troubles running Pd on Windows XP Professional

2015-06-24 Thread David Medine
I don't know about other dependencies, but I'm pretty sure that msvcr90 
is as high as you need to go for XP. I've definitely seen that DLL on 
sites apart form Microsoft's, but I guess that doesn't prove that it is 
freely distributable...

-David

On 6/24/2015 1:31 PM, Miller Puckette wrote:

But I can add msvcr90.dll to the Pd distribution, I think.

I suppose I should do that - but I worry about getting the correct
version of it (???) and anyway, what other DLLs are there that Pd silently
depends on?

cheers
Miller

On Wed, Jun 24, 2015 at 09:58:30PM +0200, IOhannes m zmölnig wrote:

On 06/24/2015 08:43 PM, Roman Haefeli wrote:

I don't know why some systems have it apparently installed, others
don't.

most likely because some *other* (unrelated) program installed on those
system has installed the dll into a system-wide path.


The file has a size of 640kB (ought to be enough for everyone). Could it
be statically linked so that it works everywhere? (I hope what I am
saying does make any sense.)

it's not possible due to the license of that library.

(and on a more pragmatic side: microsoft only ships the .dll (that is:
the dynamically linkable library), there is no .lib to statically link
in the entire library)

fmdsar
IOhannes






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


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



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


Re: [PD] Update cyclone maintenance

2015-06-24 Thread Gilberto Agostinho via Pd-list

Hi Alexandre,

Since you are interested in doing some maintenance in the cyclone 
library, I would like to report a possible bug found by an user in the 
forum and then confirmed by me. Apparently there are some problems with 
the object [delay~] and I am not sure they are present in Max 5 (I can 
check at my school if you want to). The problem is actually two bugs: 
first, the argument is completely ignored (so no delay is applied when I 
try [delay 44100]). The second problem is about the range of the values 
accepted by [delay~] via its rightmost inlet: it clips any input into 
values between 0 and 44100, so it's not possible to have a delay longer 
than 1 second.


Here is the forum thread where this was reported: 
http://forum.pdpatchrepo.info/topic/9371/what-does-delay-do/2


Cheers,
Gilberto

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


Re: [PD] lookup~ (was: Update cyclone maintenance)

2015-06-24 Thread Alexandre Torres Porres
great, let us know about the updates when they become available

2015-06-24 7:27 GMT-03:00 Fred Jan Kraan fjkr...@xs4all.nl:

 Hi Alexandre,

  The help file acts as if the audio input needed to be between 0
  and 1, but that is not true, it actually is from -1 to 1, try it
  and you will see. That's the way it originally works in Max as
  well, by the way.

 Ok, fixed.
 
  And now for a bug. When you specify an offset, it goes from that
  offset point until the given boundary. But the way it is acting
  is that it's continuing after the end of the boundary, outputing
  silence.

 It isn't implemented as a boundary, but as size parameter. Pd lookup~
 tries to read from offset to offset+size. Reading past the array gets
 you zero's, as is customary in Pd.

 Max 5 lookup~ appears to have it implemented as an offset and a boundary
 or end-point in the array. So it reads from offset to end-point.

 The new version will behave like Max 5.

  help also ommits you can use a set message to specify the buffer,
  like before

 Ok, fixed.

  one more thing: there's a first argument which is the table size, a
  second argument which is a float for offset, and there is a THIRD
  argument that specifies the size of the buffer and is not mentioned (if
  it is not specified, it's 512)

 As I understand it, the arguments are:
 1 - array/table name
 2 - initial offset in array/table (default 0)
 3 - initial end-point array/table (default 512)

 This is how the new help file specifies it.

 Greetings,

 Fred Jan
 
  2015-06-23 20:12 GMT-03:00 Alexandre Torres Porres por...@gmail.com
  mailto:por...@gmail.com:
 
 
  2015-06-23 20:07 GMT-03:00 Alexandre Torres Porres por...@gmail.com
  mailto:por...@gmail.com:
 
  now we need to talk about [lookup~] :)
 
 
  cheers
 
  2015-06-05 3:29 GMT-03:00 Fred Jan Kraan fjkr...@xs4all.nl
  mailto:fjkr...@xs4all.nl:
 
  Hi Alexandre,
 
  Sorry, I had missed your message, most active Pd-time had
  gone into
  helping to improve the build system for cyclone and
  pd-externals in
  general.
 
  The concept of hot and cold inlets appears to apply to
  messages, not
  signals. Sah~ appears to work as described in the Max5
  documentation.
  I'll improve the help-patch.
 
  Consider it a good thing Pd can confuse you. It would get
  boring if it
  didn't :-).
 
  Greetings,
 
  Fred Jan
 
 
  On 2015-06-05 03:42 AM, Alexandre Torres Porres wrote:
   please do not consider my previous message, I clearly had
 no idea what I
   was talking about and was just really confused :) sorry
  
   2015-05-26 18:12 GMT-03:00 Alexandre Torres Porres 
 por...@gmail.com mailto:por...@gmail.com
   mailto:por...@gmail.com mailto:por...@gmail.com:
  
   By the way, [sah~] in Pd has the inlets switched. In
 max, the left
   one is supposed to trigger the sample and hold, unlike
 [samphold~]
   in Pd. But [sah~] is just like [samphold~]. In order
 for it to be a
   proper clone of max, that'd need to be corrected, not
 sure if it
   happened already.
  
   2015-05-24 23:18 GMT-03:00 Alexandre Torres Porres 
 por...@gmail.com mailto:por...@gmail.com
   mailto:por...@gmail.com mailto:por...@gmail.com:
  
   for instance, it says Symbol argument sets name
 of table to
   play from. Additional int argument after that sets
 sample offset
   into the table (default 0)
  
   well, I put an int argument after that, and it
 doesn't really
   work at all!
  
   2015-05-24 23:05 GMT-03:00 Alexandre Torres Porres
   por...@gmail.com mailto:por...@gmail.com
  mailto:por...@gmail.com mailto:por...@gmail.com:
  
   hi fred, how's it going? I was checking
 [cycle~] and it
   seems it's not behaving much closely like in
 max, have you
   checked that? I'm saying more about its
 behaviour as a
   wavetable, where it can offsett the table and
 everything.
  
   I can't find that list of bugs you were
 working on, where is
   it? How is it anyway?
  
   thanks
   cheers
  
   2015-01-23 14:25 GMT-02:00 Fred Jan Kraan 
 fjkr...@xs4all.nl mailto:fjkr...@xs4all.nl
   mailto:fjkr...@xs4all.nl
  mailto:fjkr...@xs4all.nl:

[PD] another object like [rampsmooth~]?

2015-06-24 Thread Alexandre Torres Porres
I know it's been fixed and made available already, but I'm just wondering
if there's any other object in Extended that does the same thing as
rampsmooth~ (generate linear ramps between values of an audio signal).

I guess not, but just making it sure.

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


Re: [PD] WebPd 1st try

2015-06-24 Thread Pall Thayer
Julian, it sounds like you're looking at the debugger in the browser. Look
at the console and use the console.log() function to give you a better idea
of what's going on.

On Wed, Jun 24, 2015 at 6:35 AM s p seb...@gmail.com wrote:

 No worries :)

 Short answer ... yes the JS file which contains all the WebPd code is
 webpd-latest.js

 I could give you more infos if you tell me what you are looking for
 exactly!

 On Wed, Jun 24, 2015 at 1:15 PM, Julian Brooks jbee...@gmail.com wrote:

 Apologies for vagueness, not explaining myself very well.

 In the browser debugging console there are source files on the left side.

 In which of those is the js version of the pd patch running, or am I
 missing something fundamental (it wouldn't surprise me)?

 Cheers Seb,

 Jb

 On 24 June 2015 at 10:53, s p seb...@gmail.com wrote:

 Julian, what do you mean by action ? All messages (and error messages)
 are directly printed to the browser console, so there is no special WebPd
 debgging console.

 Is that what you mean?

 On Wed, Jun 24, 2015 at 12:45 PM, Julian Brooks jbee...@gmail.com
 wrote:

 Thanks a lot Seb, will be back in touch when I'm stuck again.

 Pall, your comment throws up a good question: I'm not sure where the pd
 patch 'action' is taking place in the debugging console, is it in
 'webpl-latest.js'?

 Regards,

 Julian

 On 24 June 2015 at 08:26, s p seb...@gmail.com wrote:

 Hi Julian,

 In that area there sure is room for improvement, and I should
 integrate WebPd better with pd-fileutils (which is the module used to
 render patches to SVG, but also to parse patches from text file to
 JavaScript). For the moment, you can use the same hack I've used in the
 examples :
 https://github.com/sebpiq/WebPd/blob/master/examples/phasor/index.html#L42
 Basically, pd-fileutils is available globally as pdfu (ideally it
 shouldn't be there). Then you take the patch file you loaded (here called
 mainStr) you re-parse it with pdfu (ideally you shouldn't need to do),
 you render the result as SVG and insert the SVG in your web page. In the
 example it is done in one line, but decomposing the whole thing looks like
 :

 var parsedPatch = pdfu.parse(mainStr)
 var svgStr = pdfu.renderSvg(parsedPatch, {svgFile: false, ratio: 1.5})
 $('#svg').html(svgStr)


 Hope this helps. Please tell me if you need more help.

 On Wed, Jun 24, 2015 at 2:09 AM, Pall Thayer pallt...@gmail.com
 wrote:

 What does your browser's javascript console say? Any errors showing
 up?

 On Tue, Jun 23, 2015 at 7:03 PM Julian Brooks jbee...@gmail.com
 wrote:

 Hello,

 I'm exploring WebPd and am stuck - hopefully someone can advise.

 Going through Seb's gitpage (good job Seb btw, this is great) I get
 stuck when attempting to create an svg for my own supersimple patch.

 Following instructions from here:
 https://github.com/sebpiq/WebPd#step-by-step-guide

 I've got as far as successfully loading myPatch.pd and can hear it.

 Would like my patch to appear like your 'example' patches in a
 browser.

 I'm think it's something to do with 'pd-fileutils' but not sure what
 to do next?

 Thanks in advance,

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




 --

 *Sébastien Piquemal*

  -* @sebpiq*
  - http://github.com/sebpiq
  - http://funktion.fm





 --

 *Sébastien Piquemal*

  -* @sebpiq*
  - http://github.com/sebpiq
  - http://funktion.fm





 --

 *Sébastien Piquemal*

  -* @sebpiq*
  - http://github.com/sebpiq
  - http://funktion.fm

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


Re: [PD] another object like [rampsmooth~]?

2015-06-24 Thread IOhannes m zmoelnig
On 2015-06-24 16:29, Alexandre Torres Porres wrote:
 I know it's been fixed and made available already, but I'm just wondering
 if there's any other object in Extended that does the same thing as
 rampsmooth~ (generate linear ramps between values of an audio signal).

wouldn't [vsnapshot~]+[vline~] do this?

fgamsr
IOhannes




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


[PD] A patch to create a patch to create a patch to create a patch to close puredata...

2015-06-24 Thread Olivier Baudu
Hi list...

I had time to waste so here you are :

https://vimeo.com/131648084

:-p

Cheers...

°1ivier

-- 
On ne peut pas vivre dans un monde où l'on croit que l'élégance exquise
du plumage de la pintade est inutile. Ceci est tout à fait à part. J'ai
eu envie de le dire, je l'ai dit. Jean Giono, Un roi sans divertissement.
#N canvas 1 58 1351 685 10;
#X msg -50 0 msg 500 0 msg 900 0 msg 1200 0 quit;
#X msg -20 30 msg 530 30 msg 930 30 obj 1200 500 s pd;
#X msg 190 240 connect 16 0 23 0;
#X msg 220 270 connect 17 0 23 0;
#X msg 250 300 connect 18 0 23 0;
#X msg 280 330 connect 19 0 23 0;
#X msg 310 360 connect 20 0 23 0;
#X msg 340 390 connect 21 0 23 0;
#X msg 70 120 msg 620 120 connect 24 0 27 0;
#X msg 100 150 msg 650 150 connect 25 0 27 0;
#X msg 130 180 msg 680 180 connect 26 0 27 0;
#X msg 370 420 connect 22 0 23 0;
#X msg 10 60 msg 560 60 msg 960 60 connect 28 0 29 0;
#X msg 160 210 obj 500 500 s pd-quit.pd;
#X msg 40 90 msg 590 90 obj 900 500 s pd-quit.pd;
#X obj -50 500 s pd-quit.pd;
#X connect 0 0 15 0;
#X connect 1 0 15 0;
#X connect 2 0 15 0;
#X connect 3 0 15 0;
#X connect 4 0 15 0;
#X connect 5 0 15 0;
#X connect 6 0 15 0;
#X connect 7 0 15 0;
#X connect 8 0 15 0;
#X connect 9 0 15 0;
#X connect 10 0 15 0;
#X connect 11 0 15 0;
#X connect 12 0 15 0;
#X connect 13 0 15 0;
#X connect 14 0 15 0;


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


Re: [PD] Troubles running Pd on Windows XP Professional

2015-06-24 Thread Miller Puckette
I take it you have some way to un-install the MSVC  2008 Redistributable 
Package so that you were able to get the new test version of Pd to fail to
run... if so can you repeat Roman's experiment, launch wish85.exe on the
command lie and find out what else thesystem even log complains up missing?

thanks
M

On Thu, Jun 25, 2015 at 12:41:39PM +0800, Chris McCormick wrote:
 Hi Miller,
 
 On 25/06/15 11:55, Miller Puckette wrote:
  Can one of you test whether this new test release:
  http://msp.ucsd.edu/Software/pd-0.46-7test.msw.zip
  fixes the problem?  Sounds like I ought to patch this one...
 
 Pd won't launch.
 
 It launched after I installed this:
 https://www.microsoft.com/en-us/download/confirmation.aspx?id=29
 
 Unrelated: there was a message in the Pd window about being unable to
 find the DejaVu Sans font.
 
 Cheers,
 
 Chris.
 
 -- 
 http://mccormick.cx/

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


Re: [PD] Troubles running Pd on Windows XP Professional

2015-06-24 Thread Chris McCormick
On 25/06/15 02:43, Roman Haefeli wrote:
 This also wrote messages to the system's event log. Those suggested,
 that some dlls are missing. It turned out, that msvcr90.dll was missing,
 which is part of Microsoft Visual C++ 2008 Redistributable
 Package [1]. After installing it, Pd could be started.

Phew, thanks for tracking this down, Roman! That issue was scuppering my
testing efforts too. Now we can cruise freely with Pd into the blissful
puffy blue Windows of yesteryear.

Cheers,

Chris.

-- 
http://mccormick.cx/

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


Re: [PD] another object like [rampsmooth~]?

2015-06-24 Thread Alexandre Torres Porres
 wouldn't [vsnapshot~]+[vline~] do this?

not sure, I suspect not, but the idea is more having an object than a patch.

2015-06-24 12:08 GMT-03:00 IOhannes m zmoelnig zmoel...@iem.at:

 On 2015-06-24 16:29, Alexandre Torres Porres wrote:
  I know it's been fixed and made available already, but I'm just wondering
  if there's any other object in Extended that does the same thing as
  rampsmooth~ (generate linear ramps between values of an audio signal).

 wouldn't [vsnapshot~]+[vline~] do this?

 fgamsr
 IOhannes



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


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


Re: [PD] A patch to create a patch to create a patch to create a, patch to close puredata...

2015-06-24 Thread olm-e
On 24/06/15 17:41, pd-list-requ...@lists.iem.at wrote:
 Hi list...

 I had time to waste so here you are :

 https://vimeo.com/131648084

 :-p

 Cheers...

 °1ivier

 -- On ne peut pas vivre dans un monde où l'on croit que l'élégance
 exquise du plumage de la pintade est inutile. Ceci est tout à fait à
 part. J'ai eu envie de le dire, je l'ai dit. Jean Giono, Un roi sans
 divertissement. -- next part -- A non-text
 attachment was scrubbed...
Im sitting in front of a patch ...  would be a good title ;)

Ol;



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


Re: [PD] Troubles running Pd on Windows XP Professional

2015-06-24 Thread Miller Puckette
I've been testing Pd vanilla on a windows XP professional machine (shh...)
Perhaps there's some DLL or something that Pd needs that my machine is
supplying - assuming you're still getting the behavior you were earlier:

spawnl: Invalid argument
C:\pds\pd-043.1test5\bin\wish85.exe: couldn't load TCL

...can you try tunning  C:\pds\pd-043.1test5\bin\wish85.exe from teh command
line to see what errors you get?

thanks
Miller

On Wed, Jun 24, 2015 at 06:05:13PM +0200, Roman Haefeli wrote:
 Hi
 
 Following up this thread from 2011:
 http://lists.puredata.info/pipermail/pd-list/2011-11/092588.html
 
 I experience still the same situation, on both Windows XP Pro installed
 on hardware and installed in a VirtualBox.
 
 Assuming it might be a specialty of the install medium I used back then,
 I got another copy of Windows XP as an .ova-file from here:
 http://dev.modern.ie/tools/vms/#downloads
 
 It shows exactly the same behaviour. No way to run Pd.
 
 Now I would like to ask Windows users: Is anyone running Pd-vanilla on
 Windows XP Professional 32-bit?
 
 Thanks,
 Roman
 
 
 
 
 
 ___
 Pd-list@lists.iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list

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


Re: [PD] Troubles running Pd on Windows XP Professional

2015-06-24 Thread Miller Puckette
Sweet...

Can one of you test whether this new test release:

http://msp.ucsd.edu/Software/pd-0.46-7test.msw.zip

fixes the problem?  Sounds like I ought to patch this one...

Miller

On Thu, Jun 25, 2015 at 11:06:06AM +0800, Chris McCormick wrote:
 On 25/06/15 02:43, Roman Haefeli wrote:
  This also wrote messages to the system's event log. Those suggested,
  that some dlls are missing. It turned out, that msvcr90.dll was missing,
  which is part of Microsoft Visual C++ 2008 Redistributable
  Package [1]. After installing it, Pd could be started.
 
 Phew, thanks for tracking this down, Roman! That issue was scuppering my
 testing efforts too. Now we can cruise freely with Pd into the blissful
 puffy blue Windows of yesteryear.
 
 Cheers,
 
 Chris.
 
 -- 
 http://mccormick.cx/
 
 ___
 Pd-list@lists.iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list

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


Re: [PD] Troubles running Pd on Windows XP Professional

2015-06-24 Thread Roman Haefeli
On Mit, 2015-06-24 at 09:52 -0700, Miller Puckette wrote:
 I've been testing Pd vanilla on a windows XP professional machine (shh...)
 Perhaps there's some DLL or something that Pd needs that my machine is
 supplying - assuming you're still getting the behavior you were earlier:
 
 spawnl: Invalid argument
 C:\pds\pd-043.1test5\bin\wish85.exe: couldn't load TCL
 
 ...can you try tunning  C:\pds\pd-043.1test5\bin\wish85.exe from teh command
 line to see what errors you get?

Thanks for pointing me to the right direction. From cmd.exe:


C:\puredata\pd-0.43.1test5\binwish85.exe
The system cannot execute the specified program.

C:\puredata\pd-0.43.1test5\binecho %errorlevel%
9020 


This also wrote messages to the system's event log. Those suggested,
that some dlls are missing. It turned out, that msvcr90.dll was missing,
which is part of Microsoft Visual C++ 2008 Redistributable
Package [1]. After installing it, Pd could be started.

I don't know why some systems have it apparently installed, others
don't. 

The file has a size of 640kB (ought to be enough for everyone). Could it
be statically linked so that it works everywhere? (I hope what I am
saying does make any sense.) 

Roman


[1] https://www.microsoft.com/en-us/download/details.aspx?id=29




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


Re: [PD] libpd crashes with vlines~ in (libpd) clock_unset (?)

2015-06-24 Thread Miller Puckette
Hi Pascal -

You might not have up-to-date Pd sources (needed for multi-instance
to work) - for instance, here's the latest:

void clock_unset(t_clock *x)
{
if (x-c_settime = 0)
{
if (x == pd_this-pd_clock_setlist)
pd_this-pd_clock_setlist = x-c_next;
else
{
t_clock *x2 = pd_this-pd_clock_setlist;
while (x2-c_next != x) x2 = x2-c_next;
x2-c_next = x-c_next;
}
x-c_settime = -1;
}
}

(from either 0.46 or mater branches in git) - I don't know why you'd have an
old Pd as part of libpd but the line printout below doesn't look roght.

cheers
Miller

On Thu, Jun 11, 2015 at 03:42:59PM +0200, Pascal wrote:
 Anyone? Am I the only one who is having these clock_unset crashes ?
 
 Pascal
 
 
 
  On 01 Jun 2015, at 11:12, Pascal pascal.douill...@gmail.com wrote:
  
  I have a iOS project developed with XCode that uses libpd to load a Pure 
  Data patch. My project uses a mix of [osc~] and [phasor~] with modulated 
  parameters (pitch, volume, etc). My app is in 64-bit as now required. I am 
  using the latest version of Pure Data and libpd.
  
  The Pure Data patch runs fine in Pure Data but it crashes in XCode. I have 
  an [osc~] that has its pitch modulated by an envelope. When I change the 
  value of the length of the envelope (= modulation rate) on a device, it 
  randomly crashes during testing but always on the same line of libpd code. 
  I thought it had to do with how fast the parameter was changed but no, it 
  also happens when the parameter is slowly changed.
  
  Here is below a (reduced) patch where the problem occurs. I have recently 
  catched up with Pure Data. Any suggestions or corrections are welcome.
  
  modulatedOscillator.pd 
  (http://forum.pdpatchrepo.info/uploads/files/upload-9c1506d8-30a2-4af3-8927-b4f97c73474e.pd
   
  http://forum.pdpatchrepo.info/uploads/files/upload-9c1506d8-30a2-4af3-8927-b4f97c73474e.pd)
  
  Here is a screenshot of the crash in XCode with the code sequence and the 
  line of clock_unset that crashes.
  
   
  https://cloud.githubusercontent.com/assets/10989820/7903859/79938d6a-07e9-11e5-97d6-28fb59664a6e.png
  I have done some printing and it crashes in this function:
  
  void clock_unset(t_clock *x){
  if (x-c_settime = 0){
  if (x == clock_setlist) clock_setlist = x-c_next;
  else{
  t_clock *x2 = clock_setlist;
  while (x2-c_next != x) x2 = x2-c_next;
  x2-c_next = x-c_next;
  }
  x-c_settime = -1;
  }
  }
  
  On this line :
  
  while (x2-c_next != x) x2 = x2-c_next;
  
  With a printed value of : x2-c_next==NULL
  
  Someone replied to me about the issue on Stack Overflow:
  it seems that the clock that is being unset is not found in the list of 
  currently maintained clocks. however, this is probably one of the most 
  often used functions in Pd and afaict you only use bog standard built-in 
  objects, which should make the patch pretty failsafe. i'm guessing that 
  your problem is related to the new multi-instance features of Pd and you 
  simply hit a bug.
  
  Could it be a bug? Thanks in advance.
  
 

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


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


Re: [PD] Troubles running Pd on Windows XP Professional

2015-06-24 Thread IOhannes m zmölnig
On 06/24/2015 08:43 PM, Roman Haefeli wrote:
 I don't know why some systems have it apparently installed, others
 don't. 

most likely because some *other* (unrelated) program installed on those
system has installed the dll into a system-wide path.

 
 The file has a size of 640kB (ought to be enough for everyone). Could it
 be statically linked so that it works everywhere? (I hope what I am
 saying does make any sense.) 

it's not possible due to the license of that library.

(and on a more pragmatic side: microsoft only ships the .dll (that is:
the dynamically linkable library), there is no .lib to statically link
in the entire library)

fmdsar
IOhannes




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