Re: [PD] [text3d] & video subtitling in Pd

2012-10-06 Thread J Oliver
This seems like it will work well. 
Anybody can recommend a good spanish font?

bes,t

J

***
Jaime Oliver
www.jaimeoliver.pe
jo2...@columbia.edu
Columbia University






On Oct 6, 2012, at 6:57 AM, Py Fave wrote:

> check this .
> 
> i didn't write it but  used it with success .
> it needs some tweaks ,but it works
> 
> sorry i don't know who wrote this
> 
> 
> 
> 
> 
> 
> 2012/10/6 Ed Kelly :
>> I use [text3d] a lot for my Gemnotes notation project.
>> Since it uses TTF fonts, I use fontforge to organise and re-organise my
>> symbols so that they are all accessible from within Pd's allowed messages.
>> With subtitles, it's fairly certain you're dealing with language and so
>> you're not going to need symbols like [,~,^ etc, so copying the glyphs for
>> comma, and your Spanish letters to these symbols and substitute for them in
>> the text input.
>> The input would look messy, but the output is what matters...
>> Ed
>> 
>> Gemnotes-0.2: Live music notation for Pure Data, now with dynamics!
>> http://sharktracks.co.uk/
>> 
>> 
>> From: J Oliver 
>> To: PD list 
>> Sent: Saturday, 6 October 2012, 0:54
>> Subject: [PD] [text3d] & video subtitling in Pd
>> 
>> Dear all,
>> 
>> I was working on a subtitling patch for videos, however, I encountered two
>> problems to which I hope there is a solution, as solving them would make it
>> work.
>> 
>> Hard to say if this is a Pd problem or text3d problem or both.
>> 
>> PROBLEM 1: commas cannot be written in [text3d]
>> Since [text3d] is fed messages, if I write a message like:
>> "yes I am sure, however"
>> The message will be come two messages and the comma of course won't be
>> displayed.
>> 
>> PROBLEM 2: spanish accents like á é í ó ú have some troubles in [text3d].
>> If I write "avión", the accent will be there without a problem and it will
>> display: "avión".
>> But if I write "avió", the "ó" will not be there entirely and it will only
>> display: "avi".
>> So what seems to be happening is that the accented vowel needs to be inside
>> a word, but if it is by itself or at the end of a word it will not be
>> displayed at all.
>> 
>> anyone has any idea of some workarounds? (or if i'm missing something
>> evident?)
>> 
>> best,
>> 
>> J
>> 
>> 
>> 
>> 
>> ___
>> 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-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Translating Puckette Lectures into Spanish

2012-10-06 Thread J Oliver
We would like to publish them on december, so the translation work should be 
done in mid-novemeber.

join?

J

***
Jaime Oliver
www.jaimeoliver.pe
jo2...@columbia.edu
Columbia University






On Oct 6, 2012, at 10:42 PM, Epic Jefferson wrote:

> escuelab.org has been doing some awesome work lately. 
> By when do you want to have this done?
> 
> On Fri, Oct 5, 2012 at 7:44 PM, J Oliver  wrote:
> Hard to say if I should write this one in spanish or english, but...
> 
> I am working with New Blankets and escuelab.org in Peru, on translating and 
> subtitling Miller's 171 lectures [1] into spanish.
> 
> After quite some time working on lecture one, which is almost done, I realize 
> that it would really be much faster and effective if this were a community 
> effort. There are transcripts of these lectures, so a big part of the work is 
> done.
> 
> So... those of you interested in joining this effort please reply to this 
> message and we'll make a plan.
> 
> un abrazo,
> 
> J
> 
> [1] http://pd-la.info/pd-media/miller-puckette-mus171-videos/
> 
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
> 
> 
> 
> 
> -- 
> www.epicjefferson.com
> www.avmachinists.org Puerto Rico based Art Collective/ Non-Profit Org

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


Re: [PD] Translating Puckette Lectures into Spanish

2012-10-06 Thread Epic Jefferson
escuelab.org has been doing some awesome work lately.
By when do you want to have this done?

On Fri, Oct 5, 2012 at 7:44 PM, J Oliver  wrote:

> Hard to say if I should write this one in spanish or english, but...
>
> I am working with New Blankets and escuelab.org in Peru, on translating
> and subtitling Miller's 171 lectures [1] into spanish.
>
> After quite some time working on lecture one, which is almost done, I
> realize that it would really be much faster and effective if this were a
> community effort. There are transcripts of these lectures, so a big part of
> the work is done.
>
> So... those of you interested in joining this effort please reply to this
> message and we'll make a plan.
>
> un abrazo,
>
> J
>
> [1] http://pd-la.info/pd-media/miller-puckette-mus171-videos/
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>


-- 
www.epicjefferson.com
www.avmachinists.org Puerto Rico based Art Collective/ Non-Profit Org
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] Multiple Bluetooth Dongles & [wiimote] Object Question

2012-10-06 Thread Haskell Media
Hi,

IOhannes suggested that I post this conversation on the pd-list so other pd
users can benefit. Here it is so far:

Original message:

Hi,

I was wondering if you can connect multiple dongles to your computer to
increase the number of wiimotes that can connect to pure data using your
wiimote object.

IOhannes' Reply:


hi
please ask such questions on the pd-list [1], so that more people can
profit from the answer.

and yes. you can connect more wiimotes with more dongles.
[wiimote].
[wiimote] was successfully deployed with (iirc) >6 wiimotes connected to
one host.

iirc even more, you might also need to patch libcwiid to allow
addressing multiple dongles explicitely (for stability reasons) and
compile [wiimote] with the CWIID_OPEN_WITH_DONGLE define set.

gfmasdr
IOhannes

My followup question:
-
I'm guessing I need to know C in order to "patch" libcwiid right? Or is it
something trivial?
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] PD- dynamic patching - how to keep track of object creation number?

2012-10-06 Thread IOhannes m zmölnig
On 10/07/2012 01:35 AM, Scott R. Looney wrote:
> 
> so, any way to do this easily? preferably something i could query from
> outside remotely.
> 
in short: no
(long answers include using dyn or iemguts)

the usual way to do it, is to separate the dynamically created code from
the static code (separate [pd] subpatches) and track creation order
manually.

fgmadsr
IOhannes

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


[PD] PD- dynamic patching - how to keep track of object creation number?

2012-10-06 Thread Scott R. Looney
OK i'm getting a little further in dynamic patching, but one thing i don't
get is how you keep track of which objects have which creation numbers in
PD. is there perhaps a way to list the objects in a canvas sorted by
creation order? for example the '1.1.add_objects.pd' example under the
'pd-msg' in the Help browser doesn't work right - i'm guessing it's because
the object number is wrong but i don't know what order the objects were
created in, and opening as text means i'd have to count every creation line
number until i arrived at the one i wanted. if you've got 100 objects on
the screen this becomes very difficult.

so, any way to do this easily? preferably something i could query from
outside remotely.

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


Re: [PD] opinions on the issue of concurrent implementations

2012-10-06 Thread IOhannes m zmölnig
On 10/06/2012 06:16 PM, Jonathan Wilkes wrote:
>  
> Anyway, I think you're being trolled.
>  

my answer was definitely not too serious.

my point remains, that if you still want to do realtime processing, you
might be better of with specialized objects written in a compiled language.


fgmarsd
IOhannes

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


Re: [PD] wiimote

2012-10-06 Thread IOhannes m zmölnig
hi

On 10/06/2012 10:01 PM, Haskell Media wrote:
> Hi,
> 
> I was wondering if you can connect multiple dongles to your computer to
> increase the number of wiimotes that can connect to pure data using your
> wiimote object.

please ask such questions on the pd-list [1], so that more people can
profit from the answer.

and yes. you can connect more wiimotes with more dongles.
[wiimote].
[wiimote] was successfully deployed with (iirc) >6 wiimotes connected to
one host.

iirc even more, you might also need to patch libcwiid to allow
addressing multiple dongles explicitely (for stability reasons) and
compile [wiimote] with the CWIID_OPEN_WITH_DONGLE define set.


gfmasdr
IOhannes



[1] 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] messaging PD remotely to open+connect objects?

2012-10-06 Thread Scott R. Looney
never mind, i found the info - who's a PD newbie - this guy! lots of
documentation already within PD-help browser. just never thought to look
there, thinking it would be an advanced topic. sorry to trouble...


On Sat, Oct 6, 2012 at 2:10 PM, Scott R. Looney wrote:

> hey listers, i was wondering if anyone here can easily tell me how to
> message PD from another object, or to point me to information along those
> lines? we're assuming communication via netsend/netreceive.
>
> i would love to see an example of the following:
>
> 1. how to open/instatiate a PD object or abstraction inside a canvas, as
> if you were creating an object via the gui
> 2. how to connect one created object to another purely through messaging
>
> i have tried opening a PD patch as text to decode the text. i can see the
> object creation messages pretty well, but the logic underlying the
> 'connect' messages is a little confusing.
>
> what i'd like to see in PD as this happens is objects being created,
> placed on the canvas, and connected to other objects without any user
> interaction needed.
>  any place to go or threads to check for more info on how to do this?
>
> thanks in advance,
>
> scott
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] messaging PD remotely to open+connect objects?

2012-10-06 Thread Scott R. Looney
hey listers, i was wondering if anyone here can easily tell me how to
message PD from another object, or to point me to information along those
lines? we're assuming communication via netsend/netreceive.

i would love to see an example of the following:

1. how to open/instatiate a PD object or abstraction inside a canvas, as if
you were creating an object via the gui
2. how to connect one created object to another purely through messaging

i have tried opening a PD patch as text to decode the text. i can see the
object creation messages pretty well, but the logic underlying the
'connect' messages is a little confusing.

what i'd like to see in PD as this happens is objects being created, placed
on the canvas, and connected to other objects without any user interaction
needed.
 any place to go or threads to check for more info on how to do this?

thanks in advance,

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


Re: [PD] (no subject)

2012-10-06 Thread Mark Edward Grimm
announcing the new [loseweight] object?

Thanks mark sergeant!

On Oct 6, 2012, at 1:15 PM, mark sargeant  wrote:

> http://oldmillknitting.businessmedia.ca/blog/wp-content/uploads/google.html?al=gsy.sxfs&rt=te.hkml&shc=cbie
> ___
> 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] opinions on the issue of concurrent implementations

2012-10-06 Thread Jonathan Wilkes
>
>From: Patrice Colet 
>To: pd-list  
>Cc: IOhannes m zmölnig  
>Sent: Saturday, October 6, 2012 10:41 AM
>Subject: Re: [PD] opinions on the issue of concurrent implementations (was: 
>getting sample rate of file loaded into an array)
>
>
>> De: "IOhannes m zmölnig" 
>> On 10/04/2012 05:04 PM, Patrice Colet wrote:
>> > 
>> >  We should use C language only when we need it, in the example of
>> >  [waveinfo] vs [soundfile_info], both aren't the good way for me,
>> > we just need the [binfile] external for reading the header, and all
>> > the other stuff can be done into a pd patch.
>> > 
>> 
>> we don't need [binfile]!
>> 
>
>how do you read the header without binfile? 

I don't know a way without externals.
 
Anyway, I think you're being trolled.
 
-Jonathan
 
>
>> Pd is proven to be turing complete, so it should be easy enough to
>> write
>> an operating system entirely in Pd (that is: a patch) that will allow
>> you to read/write soundfiles in any desired format.
>
>
>pd is not even able to read extended precision, that's why pd can't tell about 
>aiff samplerate.
>
>
>___
>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] opinions on the issue of concurrent implementations (was: getting sample rate of file loaded into an array)

2012-10-06 Thread Patrice Colet

> De: "IOhannes m zmölnig" 
> On 10/04/2012 05:04 PM, Patrice Colet wrote:
> > 
> >  We should use C language only when we need it, in the example of
> >  [waveinfo] vs [soundfile_info], both aren't the good way for me,
> > we just need the [binfile] external for reading the header, and all
> > the other stuff can be done into a pd patch.
> > 
> 
> we don't need [binfile]!
> 

how do you read the header without binfile? 

> Pd is proven to be turing complete, so it should be easy enough to
> write
> an operating system entirely in Pd (that is: a patch) that will allow
> you to read/write soundfiles in any desired format.


pd is not even able to read extended precision, that's why pd can't tell about 
aiff samplerate.


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


Re: [PD] [text3d] & video subtitling in Pd

2012-10-06 Thread Py Fave
found the source

http://www.hangar.org/wikis/lab/doku.php?id=start:ole_alexandria_workshop

i used it for a installation

here:

http://fofana.free.fr/INTEGRATIONS/pd.htm

i should post the patch, but it's very messy, and very heavy wav files

it runs on three computers with osc communication.




2012/10/6 IOhannes m zmölnig :
> On 10/06/2012 12:57 PM, Py Fave wrote:
>> check this .
>>
>> i didn't write it but  used it with success .
>> it needs some tweaks ,but it works
>>
>> sorry i don't know who wrote this
>>
>
> maira and me :-) well, at least the [utf82codenumber] (which was part of
> the [srtfile] implementation).
> the rest is from yves.
>
> mfgasdr
> IOhannes
>
> ___
> 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] [text3d] & video subtitling in Pd

2012-10-06 Thread IOhannes m zmölnig
On 10/06/2012 12:57 PM, Py Fave wrote:
> check this .
> 
> i didn't write it but  used it with success .
> it needs some tweaks ,but it works
> 
> sorry i don't know who wrote this
> 

maira and me :-) well, at least the [utf82codenumber] (which was part of
the [srtfile] implementation).
the rest is from yves.

mfgasdr
IOhannes

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


Re: [PD] opinions on the issue of concurrent implementations

2012-10-06 Thread IOhannes m zmölnig
On 10/06/2012 12:25 PM, Ed Kelly wrote:
> True, but looking outside of the scope of audio for a second...

my point was, that there is a reason for specialized objects, even if
they are written in an obscure compiled language like C.

i wouldn't want to do anything requiring low latencies (like audio) with
PdOS.

> 
> The point I am trying to make is that Pd should be able to read and write any 
> file, with interpretation of the data implemented on an ad-hoc basis. In this 
> way, mrpeach/binfile is incredibly useful. Obviously non-audio files will 
> mostly generate noise if played back as audio, but Pd provides so many other 
> ways in which data can be sonified, visualized etc...
> 

[binfile] has many uses, and i'm very glad that it is there.
e.g. the [srtfile] object i mentioned in the other thread ("[text3d] &
video subtitling in Pd") is really a Pd-patch around [binfile].

there is still little merit in implementing [mp3write~] as patch,
besides pedagogy and ego-boosty.

mfgasrd
IOhannes

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


Re: [PD] counting how many times an audio file is looped

2012-10-06 Thread IOhannes m zmölnig
On 10/06/2012 10:37 AM, Claude Heiland-Allen wrote:
> 
>> count the bangs that [tabplay~] will output via it's 2nd inlet.
> 
> For long files, yes.


probably for "intermediate-sized" files.
with "long" files (those that do not easily fit into RAM; or when have a
number of "longish" files, the total of which doesn't fit into RAM), you
are probably better off using [readsf~]'s last outlet, which gives you a
done bang as well, and count that.

> 
> For microloops, I'd prefer [wrap~]:
> 
[...]

which is nice as well, and tackles the real problem ("i want to loop a
sample N times") rather than a possible implementation ("how can i count
the number of loops (so i know when to stop)".



> (Is [tabplay] clock-aware? it perhaps could be?)

not afaik.
however, in many cases you don't need (sub)sample-accurate timing and
evaluation at block-boundaries is sufficient.

gmd
IOhannes

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


Re: [PD] opinions on the issue of concurrent implementations (was: getting sample rate of file loaded into an array)

2012-10-06 Thread Ed Kelly
>>  We should use C language only when we need it, in the example of [waveinfo] 
>>vs [soundfile_info], both aren't the good way for me,
>> we just need the [binfile] external for reading the header, and all the 
>> other stuff can be done into a pd patch.
>> 
>
>we don't need [binfile]!
>
>Pd is proven to be turing complete, so it should be easy enough to write
>an operating system entirely in Pd (that is: a patch) that will allow
>you to read/write soundfiles in any desired format.
>
>mgdasr
>IOhannes

True, but looking outside of the scope of audio for a second...
A student of mine did a project based on microwave background radiation 
measurements taken from radio telescopes, in order to deal with data that was 
truly random in some way (I'm skipping a debate about the randomness or 
otherwise in cosmological terms, the big bang etc.)
He accessed binary files to generate points. Admittedly this was in Processing, 
but the ability to deal with any binary data and decode it on an ad-hoc basis 
was essential for this project to work.

The point I am trying to make is that Pd should be able to read and write any 
file, with interpretation of the data implemented on an ad-hoc basis. In this 
way, mrpeach/binfile is incredibly useful. Obviously non-audio files will 
mostly generate noise if played back as audio, but Pd provides so many other 
ways in which data can be sonified, visualized etc...

Ed 


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


Re: [PD] [text3d] & video subtitling in Pd

2012-10-06 Thread Ed Kelly
I use [text3d] a lot for my Gemnotes notation project.
Since it uses TTF fonts, I use fontforge to organise and re-organise my symbols 
so that they are all accessible from within Pd's allowed messages.
With subtitles, it's fairly certain you're dealing with language and so you're 
not going to need symbols like [,~,^ etc, so copying the glyphs for comma, and 
your Spanish letters to these symbols and substitute for them in the text input.
The input would look messy, but the output is what matters...
Ed

Gemnotes-0.2: Live music notation for Pure Data, now with dynamics!
http://sharktracks.co.uk/



>
> From: J Oliver 
>To: PD list  
>Sent: Saturday, 6 October 2012, 0:54
>Subject: [PD] [text3d] & video subtitling in Pd
> 
>
>Dear all, 
>
>
>I was working on a subtitling patch for videos, however, I encountered two 
>problems to which I hope there is a solution, as solving them would make it 
>work.
>
>
>Hard to say if this is a Pd problem or text3d problem or both. 
>
>
>PROBLEM 1: commas cannot be written in [text3d]
>Since [text3d] is fed messages, if I write a message like:
>"yes I am sure, however"
>The message will be come two messages and the comma of course won't be 
>displayed.
>
>
>PROBLEM 2: spanish accents like á é í ó ú have some troubles in [text3d].
>If I write "avión", the accent will be there without a problem and it will 
>display: "avión".
>But if I write "avió", the "ó" will not be there entirely and it will only 
>display: "avi".
>So what seems to be happening is that the accented vowel needs to be inside a 
>word, but if it is by itself or at the end of a word it will not be displayed 
>at all.
>
>
>anyone has any idea of some workarounds? (or if i'm missing something evident?)
>
>
>best,
>
>
>J
>
>
>
>___
>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] counting how many times an audio file is looped

2012-10-06 Thread Claude Heiland-Allen

On 06/10/12 06:24, IOhannes m zmölnig wrote:

On 10/05/2012 11:25 PM, Rick T wrote:


Is there another way I should be doing this



trust Pd's timing.


that's the foundation.


count the bangs that [tabplay~] will output via it's 2nd inlet.


For long files, yes.

(Is [tabplay] clock-aware? it perhaps could be?)


For microloops, I'd prefer [wrap~]:

[6(
 |
[0, $1 123(   plays $1 times in 123ms total
  |
[vline~]
  |
[wrap~]desired length in samples
  |   /
[*~   ]
  |desired offset into array in samples
  |   /
[+~   ]
  |
[tabread4~ array]


Claude
--
http://mathr.co.uk

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