Re: [PD-dev] UTF-8 problems on Windows

2012-12-07 Thread PSPunch
Hi Hans, I found an article mentioning that _wopen() is deprecated.. http://msdn.microsoft.com/en-us/library/z0kc8e3z%28v=vs.80%29.aspx Well, the reason I thought of doing a quick search on this was that I recall Microsoft C/C++ functions beginning with underscores recommended to be called wi

[PD-dev] geminfo_list z-pos issue?

2010-02-06 Thread PSPunch
Sorry if this has been worked on already... [gemlist_info] outputs the z-position with an offset of 4. (This can be reproduced using gemlist_info-help.pd) x & y position, rotations are all correct. Can someone advise me whether this a feature or a possible bug? --- Running on WinXP SP3 Pd v

Re: [PD-dev] Scheduling to activate control objects

2009-12-22 Thread PSPunch
Hi IOhannes, (2009/12/23 0:19), IOhannes zmölnig wrote: have a look at the "clock" functionality. Ok, so I figure I do need to dive in to code related to time management. Will do so. apart from that: why don't you just use [metro]? thus nobody has to learn how to start/stop the polling a

[PD-dev] Scheduling to activate control objects

2009-12-22 Thread PSPunch
Hi, I am working on a control rate object which outputs a value, only when a variable local to each instance is modified by another thread. Having not known how to achieve this, the object works fine, but only with a [metro] connected to it, polling for a variable change on each bang. I've loo

Re: [PD-dev] Reminder Pd-devel IRC meeting Feb 13 (tomorrow)

2009-02-15 Thread PSPunch
Ooops, I spoke too soon about the fonts... Tcl/Tk supports anti-aliased fonts on X windows with version 8.5 which after updating to, Pd started up with menu fonts closer to the system's style. (My Ubuntu 8.04 originally had some version in the 8.4 line.) -- David Shimamoto > Hans, > > >

Re: [PD-dev] Reminder Pd-devel IRC meeting Feb 13 (tomorrow)

2009-02-13 Thread PSPunch
Hans, Just an update to the chat on IRC, The message pack in Japanese worked right out of the box. Here's a screen shot. http://pspunch.com/pd/pd-devel_jp.png -- OT, Unfortunately there are very few non-proprietary Japanese fonts that an average user considers reasonably beautiful, which

[PD-dev] GEM and Particle Systems API

2008-12-25 Thread PSPunch
Hi, I understand that GEM uses a rather old version of the "Particle System API" (http://www.particlesystems.org/) for its particle related objects. The later major version of this API seems to be more efficient and adds new features for diverse movements. Just wondered if there already have

Re: [PD-dev] midi_sync_out

2008-10-28 Thread PSPunch
Alex, > Okay, I just tested this and, yes with 0.41-4 I can get the midi > start/stop/continue/clock messages out.. midiin still doesn't get > them, but nice, my external can be an abstraction in the newer pd > instead! Nice to know it works (and that I wasn't the only one struggling :) In case

Re: [PD-dev] midi_sync_out

2008-10-28 Thread PSPunch
Hi Alex, > It is a super simple external. I tried for a while to simply use the > [midiout] object but I couldn't figure out how to get it to actually > output anything. I looked at the pd source code, it looks like there > is a little bit of code to send clock out messages but I don't think >

Re: [PD-dev] ALSA ctrl object?

2008-09-16 Thread PSPunch
Hi IOhannes, > how about the [amixer] external in externals/iem/ ? > i have no idea about it's stability though (i hardly ever use it) Thanks, that did work well. I tried banging it over 100 times per second and it's running solid. -- David Shimamoto

[PD-dev] ALSA ctrl object?

2008-09-16 Thread PSPunch
Hi all, I am in need for an object to emulate the following command. $ amixer -c 1 cset numid=2 0 Perhaps an object such as... [alsa_ctl 1 2] Where the right inlet modifies numID and left for the value. This is planned to be executed several times per second which executing the shell comm

Re: [PD-dev] Alternative to Portaudio under Windows

2008-09-16 Thread PSPunch
Hi Thomas and Miller, For some reason I thought that the latency was due to Portaudio. So in short, is the current consensus that the cause is somewhat "uncertain"? -- David Shimamoto >> Well, I've seen latencies down to 6 msec in linux using ringbuffers. >> They >> theoretically only add

Re: [PD-dev] Alternative to Portaudio under Windows

2008-09-16 Thread PSPunch
P.S. BTW if Mathieu is around.. The gimmick of "advanced mode" labeled with a photo of Einstein versus "simple mode" being George Bush seems to have been removed from the latest version of this software. -- David Shimamoto > > .hc > > On Sep 14, 2008, at 5:54 AM,

Re: [PD-dev] cross-platform support for externals ("extern" not enough?) (Was: Re: Problem building pdlua on MinGW (solved for now))

2008-09-04 Thread PSPunch
Hi all, > > Am 03.09.2008 um 22:11 schrieb Claude Heiland-Allen: > >> >> So the question is, does every external have to jump through this kind >> of hoop if it wants to compile on Windows? >> >> /* support windows */ >> #ifdef MSW >> #define EXPORT __declspec(dllexport) extern >> #else >> #def

Re: [PD-dev] Problem building pdlua on MinGW (solved for now)

2008-09-03 Thread PSPunch
Hi IOhannes, > well obvisouly there are two clashing things: > you want pdlua to _import_ things from pd.dll (e.g. "post()"), therefore > you should NOT define PD_INTERNAL > you want pdlua to _export_ things (namely "pdlua_setup()") >> Below are the last few lines of output when PD_INTERNAL is

Re: [PD-dev] Problem building pdlua on MinGW (solved for now)

2008-09-03 Thread PSPunch
Hi Frank, > #ifdef MSW > #ifdef PD_INTERNAL > #define EXTERN __declspec(dllexport) extern > #else > #define EXTERN __declspec(dllimport) extern > #endif /* PD_INTERNAL */ Without PD_INTERNAL defined, dllexport -> dllimport which looks kind of critical. Below are the last

Re: [PD-dev] Problem building pdlua on MinGW (solved for now)

2008-09-02 Thread PSPunch
Hi, Claude Thank you for your patience. I think pdlua is now working on my Win Pd-extended.. at least the counter example is working properly. I have sorted out the changes that were necessary. Again, apologies for my style of reporting. This has been my first attempt to modifying any existin

Re: [PD-dev] Problem building pdlua on MinGW

2008-09-02 Thread PSPunch
Some progress. Now [lua] creates an instance properly. I haven't had the chance to actually load Lua scripts yet.. Sorry for my writing as I am not yet familiar with any of the patching tools. - lua.c - Before: extern void lua_setup(void) { After: extern __declspec(dllexport) void lu

Re: [PD-dev] Problem building pdlua on MinGW

2008-09-02 Thread PSPunch
Hi, Claude Info: resolving _garray_class by linking to __imp__garray_class (auto-import) Info: resolving _s_ by linking to __imp__s_ (auto-import) > > Guessing now: pd.dll doesn't export "s_" or "garray_class", which means > externals can't use them like on the unixoid OSs? Tha

Re: [PD-dev] Problem building pdlua on MinGW

2008-09-02 Thread PSPunch
eing recognized is the case, there should be an output mentioning it? The file seems to be found. It seems like it is not able to load. -- David Shimamoto > PSPunch wrote: >> This may or may not be a question specific to pdlua. > > I have no mingw machines, but I can try to answ

[PD-dev] Problem building pdlua on MinGW

2008-09-02 Thread PSPunch
Hi, This may or may not be a question specific to pdlua. As a base line, I am using the following combination of files. - MinGW for building - Using pd.dll from pd-extended 0.40.3-20080721 (Win binary package) - Using m_pd.h from pd-0.40.3 source Although I am not fully aware of the compatibi

Re: [PD-dev] Reliable MIDI library for Windows?

2008-07-03 Thread PSPunch
on why sysex function are not available under windows-vanilla and what was necessary to over come it? -- David Shimamoto > > Am 01.07.2008 um 14:21 schrieb PSPunch: >> >> Did not quite catch up on weather you meant that the PortMidi libraries >> should work as is,

Re: [PD-dev] Reliable MIDI library for Windows?

2008-07-01 Thread PSPunch
ound that to work perfectly also for sysex, > realtime etc. messages under Windows. > It's fairly easy to provide a patch for vanilla PD, provided one has got > time and interest. > > gr~~~ > > Am 26.06.2008 um 08:35 schrieb PSPunch: > >> >> Hi, >> &g

Re: [PD-dev] Reliable MIDI library for Windows?

2008-06-30 Thread PSPunch
gt; CCRMA of Stanford and allows Audio and Midi I/O. The > MIDI functions are sparse but may match what you are > looking for your purposes. > This is the CCRMA WEB: > http://ccrma.stanford.edu > Best > Isi > > --- PSPunch <[EMAIL PROTECTED]> wrote: > >> Hi, &

[PD-dev] Reliable MIDI library for Windows?

2008-06-25 Thread PSPunch
Hi, I understand that MIDI objects under Windows is said to be less stable than Linux, due to the MIDI functions under Windows API that Pd relies on. If I were to write my own MIDI I/O external for Windows, are there such things as alternative MIDI libraries or APIs available, or does Windows n

Re: [PD-dev] [PD] What goes on during dsp ticks?

2008-06-14 Thread PSPunch
himamoto > On Sat, Jun 14, 2008 at 5:15 PM, Thomas Grill <[EMAIL PROTECTED]> wrote: >> Am 14.06.2008 um 18:37 schrieb PSPunch: > >> That's definitely bad practice. >> Instead of that you can do the allocation in the "dsp" callback, that's >&

Re: [PD-dev] [PD] What goes on during dsp ticks?

2008-06-14 Thread PSPunch
Sorry for accidentally sending the previous note to pd-list. Thomas, >> I hear that malloc is a "relatively" expensive task. >> Is it bad practice to run this each cycle, or is a kilobyte or two not a >> bid deal? > That's definitely bad practice. > Instead of that you can do the allocation i

[PD-dev] What goes on during dsp ticks?

2008-06-13 Thread PSPunch
Hi, I would highly appreciate some assistance in grasping how signals are processed in DSP objects. Working on the following template, I will demonstrate variations in the . As results do not appear as the way I expect, there must be something I am not understanding correctly. == Tem

Re: [PD-dev] Problem building externals on VC++2008

2008-06-11 Thread PSPunch
Some updates and request for help. The lack of "s_float" was due to it being defined in m_class.c which I had to include to my project. However, this only introduced a new list of undefined external symbols. Adding relevant looking files to the project only contributes to expand the list of

[PD-dev] Problem building externals on VC++2008

2008-06-10 Thread PSPunch
Hi, Using VC++2008 Express on WinXP-SP2, Referring to "How to write an External in Puredata" http://pdstatic.iem.at/externals-HOWTO/ In short, the code "helloworld" builds and runs fine on both pd-Vanilla0.39 and the latest nightly build of pd-extended. However, the second demonstration "counte

[PD-dev] markex/tripleRand-help.pd

2007-12-16 Thread PSPunch
Hi all, This is my first post to the dev-list. Wasn't sure where/how to report what I thought could be fixed. The issue was noticed in, Pd version 0.39.2-extended-rc4 - built for Windows. Regarding extra/markex/tripleRand-help.pd When manipulating the number object connected to the right inl