Olivier Baudu | 1 Nov 2010 01:14
Picon

Re: Problem with [pix_compare] on pd-ext 42.5

Just to say I've discovered GDB and the given message when it crashes is :

Program received signal SIGSEGV, Segmentation fault.
0x005f754a in pix_film::render(GemState*) ()
   from /usr/lib/pd-extended/extra/Gem/Gem.pd_linux

Aux plaisirs...

01ivier




2010/9/29 Olivier Baudu <lamouraupeuple <at> gmail.com>
Well...
So I have filled a ticket on the GEM's bugtracker...

If someone wants to test with my videos, I've put an archive (4Mo) here : http://yamatierea.org/4pd-list/test-pix_compare.zip

Thank you

01ivier

2010/9/26 Olivier Baudu <lamouraupeuple <at> gmail.com>

Hi...

I know the way I used to solved the problem is gonna make laugh (or cry) some of you...
... but I don't have enough knowledge to do it in an other way.

As I don't know how to compile GEM, I took the Gem.pd_linux from my Hardy's pd-ext 41.4 and put it in my Lucid's 42.5...
I added about ten lib (libMagik, libaviplay... ) and now, I can used [pix_compare] with pd-ext 42.5 on my Ubuntu 10.04...

It works, but I'm not very proud... and I'm sure a lot of other things don't work anymore now...

Any idea to solve my [pix_compare] problem with the native 42.5 ?

Thanks

01ivier




2010/9/24 Olivier Baudu <lamouraupeuple <at> gmail.com>

Hi...

I have two videos (320x240 / mjpeg) which I try to use with [pix_compare]...

On ubuntu 8.04 with pd-ext 41.4 there is no problem...
But it crashes with the new 42.5 (on Ubuntu 8.04 and 10.04)

Is it the same for someone else ?

Thanks

01ivier



_______________________________________________
Pd-list <at> iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
tim vets | 1 Nov 2010 01:23
Picon

Re: joining segments



2010/11/1 ronni montoya <ronni.montoya <at> gmail.com>
well, thats not possible, because im working  with non-standard
methods at a sample level, that means my segment are really short,
they are non heareable since im working at a sample level scale, and
second: I need an automated way to do this because i have hundreds of
segments that i need to join into a wave form

ah, ok, well I just made up this little example to show what I meant.
don't know if it will be helpful to you, but it shows a way to combine two short wave segments into one by cross-fading.
you should be able to draw something in A and B and see it appear in the lower left array in a wave that alternates between A and B.
you can set the width and sharpness of the fades with the horizontal sliders.
I guess what you need is different, though the technique is related.
gr,
Tim
 
2010/10/31 tim vets <timvets <at> gmail.com>:
>
>
> 2010/11/1 ronni montoya <ronni.montoya <at> gmail.com>
>>
>> what do you mean with cross-fade  between wave-segment A and B , can
>> you be more specific?
>>
> for example, use tabread~ and phasor~ to read both segments.
> put both phasor~'s out of phase (0 and 0.5 in right inlets)
> then fade their volumes in and out at their beginning and ends.
> (off the top of my head...)
>
>>
>> I need it for creating sounds
>>
>> 2010/10/31 tim vets <timvets <at> gmail.com>:
>> > I would think you'd simply have to cross-fade between wave-segment A and
>> > B
>> > what do you need this for?
>> > Tim
>> >
>> > 2010/11/1 ronni montoya <ronni.montoya <at> gmail.com>
>> >>
>> >> Hi, I was wondering which approaches does exist for creating waveforms
>> >> from a set of segments , or how can i join segments together to create
>> >> a waveform in a way that each segments starting amplitude is the
>> >> previous segments ending amplitude?
>> >>
>> >> Each segment is a segment of a waveform stored in a table
>> >>
>> >>
>> >> Bye
>> >>
>> >>
>> >> R.
>> >>
>> >> _______________________________________________
>> >> Pd-list <at> iem.at mailing list
>> >> UNSUBSCRIBE and account-management ->
>> >> http://lists.puredata.info/listinfo/pd-list
>> >
>> >
>
>

Attachment (duowave.pd): application/octet-stream, 16 KiB
_______________________________________________
Pd-list <at> iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Andy Farnell | 1 Nov 2010 01:46
Picon

Re: joining segments


Frank did some work on implementing Millers
transition splicing if you see the rj library.
This is cool because (this is the main
idea...) you can create concatenations within
a known bandwidth.

On Mon, 1 Nov 2010 01:23:01 +0100
tim vets <timvets <at> gmail.com> wrote:

> 2010/11/1 ronni montoya <ronni.montoya <at> gmail.com>
> 
> > well, thats not possible, because im working  with non-standard
> > methods at a sample level, that means my segment are really short,
> > they are non heareable since im working at a sample level scale, and
> > second: I need an automated way to do this because i have hundreds of
> > segments that i need to join into a wave form
> >
> > ah, ok, well I just made up this little example to show what I meant.
> don't know if it will be helpful to you, but it shows a way to combine two
> short wave segments into one by cross-fading.
> you should be able to draw something in A and B and see it appear in the
> lower left array in a wave that alternates between A and B.
> you can set the width and sharpness of the fades with the horizontal
> sliders.
> I guess what you need is different, though the technique is related.
> gr,
> Tim
> 
> 
> >  2010/10/31 tim vets <timvets <at> gmail.com>:
> > >
> > >
> > > 2010/11/1 ronni montoya <ronni.montoya <at> gmail.com>
> > >>
> > >> what do you mean with cross-fade  between wave-segment A and B , can
> > >> you be more specific?
> > >>
> > > for example, use tabread~ and phasor~ to read both segments.
> > > put both phasor~'s out of phase (0 and 0.5 in right inlets)
> > > then fade their volumes in and out at their beginning and ends.
> > > (off the top of my head...)
> > >
> > >>
> > >> I need it for creating sounds
> > >>
> > >> 2010/10/31 tim vets <timvets <at> gmail.com>:
> > >> > I would think you'd simply have to cross-fade between wave-segment A
> > and
> > >> > B
> > >> > what do you need this for?
> > >> > Tim
> > >> >
> > >> > 2010/11/1 ronni montoya <ronni.montoya <at> gmail.com>
> > >> >>
> > >> >> Hi, I was wondering which approaches does exist for creating
> > waveforms
> > >> >> from a set of segments , or how can i join segments together to
> > create
> > >> >> a waveform in a way that each segments starting amplitude is the
> > >> >> previous segments ending amplitude?
> > >> >>
> > >> >> Each segment is a segment of a waveform stored in a table
> > >> >>
> > >> >>
> > >> >> Bye
> > >> >>
> > >> >>
> > >> >> R.
> > >> >>
> > >> >> _______________________________________________
> > >> >> Pd-list <at> iem.at mailing list
> > >> >> UNSUBSCRIBE and account-management ->
> > >> >> http://lists.puredata.info/listinfo/pd-list
> > >> >
> > >> >
> > >
> > >
> >

--

-- 
Andy Farnell <padawan12 <at> obiwannabe.co.uk>

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

Mathieu Bouchard | 1 Nov 2010 04:53
Picon

Re: Problem with [pix_compare] on pd-ext 42.5

On Mon, 1 Nov 2010, Olivier Baudu wrote:

> Just to say I've discovered GDB and the given message when it crashes is :

Can you discover Valgrind too ?

  _______________________________________________________________________
| Mathieu Bouchard ------------------------------ Villeray, Montréal, QC
_______________________________________________
Pd-list <at> iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Jamie Bullock | 1 Nov 2010 12:31
Picon
Gravatar

Re: Pd 20% idle CPU usage on MBP


On 28 Oct 2010, at 17:55, Mathieu Bouchard wrote:

> On Thu, 28 Oct 2010, brandon zeeb wrote:
> 
>> This thread comes up every year or two,
> 
> I'd say at least twice a year... I think I already wrote about it on pd-list this autumn, no...? But it's hard
to search the archives about the frequency of that thread, as the keywords might not be consistent. I just
know that the problem has existed for quite a few years and that I read about it on pd-list more than a handful
of times.

Indeed! I remembered it coming up and so I searched the archives before posting, but keywords like 'cpu' and
'usage' don't do very much.

However, digging a little with Shark, I see that a high proportion of Pd's CPU time is spent talking with the
audio hardware, so I try Google: " DspFuncLib portaudio", and lo and behold:

	http://www.google.co.uk/search?q=DspFuncLib+portaudio

Trouble is "use jack" doesn't solve the problem, it merely avoids it. 

So, zooming in a bit, I see at least two issues here:

	1. there is a lot of activity in the underlying audio drivers when using the Portaudio driver on OS X, even
when audio is off in the application.  Let's call this the 'idle' CPU usage. IMO, this should be less than 1%
on modern CPUs for well behaved applications. I've added this to the bug tracker.

	2. there is a lot of activity in the underlying audio drivers when using the Portaudio driver on OS X, when
audio is on in Pd. Comparison with AudioMulch, which also uses Portaudio suggests that is only in part a
Portaudio problem. AudioMulch idles at ~10% on my machine. I suspect that the problem with Pd+portaudio
may be due to a small buffer size used by Pd. I thought Pd's 'Delay' setting in audio preferences was
supposed to handle this, but changing delay to 500ms, has no effect on CPU use. Also added to tracker.

Jamie

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

brandon zeeb | 1 Nov 2010 12:51
Picon
Gravatar

Re: Pd 20% idle CPU usage on MBP

Great detective work!  I'd love to see better CPU performance on OS X.  Hopefully this also implies that one could see their Pd->Jack performance increase as well.

Cheers,
~Brandon

On Mon, Nov 1, 2010 at 7:31 AM, Jamie Bullock <jamie <at> postlude.co.uk> wrote:

On 28 Oct 2010, at 17:55, Mathieu Bouchard wrote:

> On Thu, 28 Oct 2010, brandon zeeb wrote:
>
>> This thread comes up every year or two,
>
> I'd say at least twice a year... I think I already wrote about it on pd-list this autumn, no...? But it's hard to search the archives about the frequency of that thread, as the keywords might not be consistent. I just know that the problem has existed for quite a few years and that I read about it on pd-list more than a handful of times.

Indeed! I remembered it coming up and so I searched the archives before posting, but keywords like 'cpu' and 'usage' don't do very much.

However, digging a little with Shark, I see that a high proportion of Pd's CPU time is spent talking with the audio hardware, so I try Google: " DspFuncLib portaudio", and lo and behold:

       http://www.google.co.uk/search?q=DspFuncLib+portaudio

Trouble is "use jack" doesn't solve the problem, it merely avoids it.

So, zooming in a bit, I see at least two issues here:

       1. there is a lot of activity in the underlying audio drivers when using the Portaudio driver on OS X, even when audio is off in the application.  Let's call this the 'idle' CPU usage. IMO, this should be less than 1% on modern CPUs for well behaved applications. I've added this to the bug tracker.

       2. there is a lot of activity in the underlying audio drivers when using the Portaudio driver on OS X, when audio is on in Pd. Comparison with AudioMulch, which also uses Portaudio suggests that is only in part a Portaudio problem. AudioMulch idles at ~10% on my machine. I suspect that the problem with Pd+portaudio may be due to a small buffer size used by Pd. I thought Pd's 'Delay' setting in audio preferences was supposed to handle this, but changing delay to 500ms, has no effect on CPU use. Also added to tracker.

Jamie





_______________________________________________
Pd-list <at> iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
brandon zeeb | 1 Nov 2010 13:09
Picon
Gravatar

Non-Linear Quantization / Bitcrush

Hey All,

I've been burning my brain over this issue lately and I can't seem to come up with an elegant solution, and stay with me here as I attempt to explain it best I can.  For me and my needs, being able to quantize an arbitrary signal to any arbitrary series is the Holy Grail (and I'm not talking about simple table lookup!).

I'm looking to quantize an incoming signal (or value) given a max and min quantization value and an arbitrary curve.  Think quantization of note events to a series of note lengths or your standard bitcrush algorithm, it's pretty much the same.  The arbitrary curve should influence the degree to which the bitcrush algorithm is applied to the signal such that one could have less quantization at smaller values of the input signal, and greater quantization and larger values (or vice versa).  Simple table-lookup is insufficient as it requires you to pre-define a maximum input signal amount.  I'm willing to waive this requirement if an implementation is not possible without it.

This will be used in the following circumstances:

  1. To quantize envelopes signals to any arbitrary series (say !, Fibonacci, x^2, 2^x, etc)
  2. To quantize signal loop length values to an arbitrary series of note values (say 1/16, 1/8, 1/2, 1/1)
  3. To apply non-linear bitcrushing to a signal such that higher values are expressed with less of an effect than smaller values
  4. To quantize pitch events to a pre-defined series
     
Is this making sense?

My attempts thus far has extended the RjDj bitcrush abstraction with mild success.  I can recreate the effect but the output signal bears too many artifacts from the input signal (ie: the curve retains part of it's original slope from the input signal and is not flattened or held until the next value).

Thanks,
~Brandon
_______________________________________________
Pd-list <at> iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
João Pais | 1 Nov 2010 20:01

manipulation of symbols?

Hi,

is there any object that allows a more extended manipulation of symbols?  
For example, I have symbols with the format 1234-56-78_12-23.aaa, and I  
wanted to get only the floats inside, and use them on mathematics. For  
now, the only way I see to do that is to use several [splitfilename -],  
until all the individual elements are separated. Or is it possible to do  
that with sprintf?

Thanks,

João

--

-- 
Friedenstr. 58
10249 Berlin (Deutschland)
Tel +49 30 42020091 | Mob +49 162 6843570
Studio +49 30 69509190
jmmmpais <at> googlemail.com | skype: jmmmpjmmmp

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

IOhannes m zmoelnig | 1 Nov 2010 22:10
Picon

Re: manipulation of symbols?

On 2010-11-01 20:01, João Pais wrote:
> Hi,
> 
> is there any object that allows a more extended manipulation of symbols?
> For example, I have symbols with the format 1234-56-78_12-23.aaa, and I
> wanted to get only the floats inside, and use them on mathematics. For
> now, the only way I see to do that is to use several [splitfilename -],
> until all the individual elements are separated. Or is it possible to do
> that with sprintf?
> 

hmm, sprintf is usually for the other way round. you would need scanf...

anyhow, [symbol2list -] will split your symbol into "
1234, 56, 78_12-23.aaa" so it's a bit more comfortable than [splitfilename].

mfgasdr
IOhannes

Attachment (smime.p7s): application/pkcs7-signature, 3636 bytes
_______________________________________________
Pd-list <at> iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Jonathan Wilkes | 1 Nov 2010 22:17
Picon
Favicon

Re: manipulation of symbols?

Here's a way using zexy/s2l and l2s (see attached).  Or you could 
use some of the objects from jasch_lib + cyclone/fromsymbol.

-Jonathan

--- On Mon, 11/1/10, João Pais <jmmmpais <at> googlemail.com> wrote:

> From: João Pais <jmmmpais <at> googlemail.com>
> Subject: [PD] manipulation of symbols?
> To: "PD-List" <pd-list <at> iem.at>
> Date: Monday, November 1, 2010, 8:01 PM
> Hi,
> 
> is there any object that allows a more extended
> manipulation of symbols? For example, I have symbols with
> the format 1234-56-78_12-23.aaa, and I wanted to get only
> the floats inside, and use them on mathematics. For now, the
> only way I see to do that is to use several [splitfilename
> -], until all the individual elements are separated. Or is
> it possible to do that with sprintf?
> 
> Thanks,
> 
> João
> 
> 
> --Friedenstr. 58
> 10249 Berlin (Deutschland)
> Tel +49 30 42020091 | Mob +49 162 6843570
> Studio +49 30 69509190
> jmmmpais <at> googlemail.com
> | skype: jmmmpjmmmp
> 
> _______________________________________________
> Pd-list <at> iem.at
> mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>

      
Attachment (sym-op-ex.pd): application/octet-stream, 1072 bytes
_______________________________________________
Pd-list <at> iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

Gmane