Re: [PD] Wich licence?

2014-02-18 Thread Mario Mey
Right, I put GPL license, I think it is the best for this project. I 
uploaded it here:


http://puredata.hurleur.com/viewtopic.php?pid=40358#p40358

You can see MEH-SYSTEM on stage and with full success, here: 
https://www.youtube.com/watch?v=ckKg_rS5ezQ


Thanks everybody!



On 16/02/14 02:03, Jonathan Wilkes wrote:

On 02/15/2014 03:14 PM, olm-e wrote:

On 15/02/14 20:53, pd-list-requ...@iem.at wrote:

Date: Sat, 15 Feb 2014 16:52:58 -0300
From: Mario Mey mario...@gmail.com
Subject: Re: [PD] Wich licence?
To: pd-list@iem.at
Message-ID: 52ffc59a.4030...@gmail.com
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 14/02/14 15:45, Jonathan Wilkes wrote:

How would that be any different than spyware?

-Jonathan

Haha! Good point!

Thanks everybody for the answers. I took a look to Matt Davey's DIY2
effects and he put no license txt file on its folder. Maelstorm mmb
libraries have no license too...

My patch is for everyone who wants to use it or learn with it. If
someone finally uses MEH-SYSTEM or a modified version of it in stage or
for a video or whatever... I would like to know it... only that!

Maybe I leave it as is. Saying nothing about license...


Skim the Wikipedia pages for GPL and 3-clause BSD, choose the one you 
prefer, and then you're done.


Otherwise you create potential work for anyone who may have a use for 
your software to figure out what the terms of use and distribution 
are.  It's probably not a big deal for a particular piece of software, 
and there are plenty of Pd patches out there that don't specify 
anything.  But when you take, say, everything that exists on Github, 
the lack of licenses probably leads to busywork that eats up 
measurable amounts of time and effort.


-Jonathan





--

Hello,
having no licence is probably not a good idea, as it's like enforcing
the default copyright rules that basically give no rights at all ...
(lots of code are practically not legaly usable on github for that
reason f.ex.)
the best would be IMHO to put it in (L)GPL and gently ask to downloaders
to report use as a courtesy on the download page...
have a good day,

Ol.

___
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] Wich licence? (MEH-SYSTEM on OSX)

2014-02-15 Thread Mario Mey
 create
  routeOSC /z
... couldn't create
  routeOSC /z
... couldn't create
  routeOSC /z
... couldn't create
  routeOSC /z
... couldn't create
  routeOSC /z
... couldn't create
  routeOSC /z
... couldn't create
  routeOSC /z
... couldn't create
  routeOSC /0 /1 /2 /3 /4 /5 /6 /7
... couldn't create
  routeOSC /z
... couldn't create
  routeOSC /fxDepth /hold /xy /xtoggle /fxgroup-select /fx-select
... couldn't create
  routeOSC /z
... couldn't create
  routeOSC /1
... couldn't create
line-int.pd 26 0 25 2 (trigger-line) connection failed
line-int.pd 26 0 25 2 (trigger-line) connection failed
line-int.pd 26 0 25 2 (trigger-line) connection failed
  ipoke2~ $0-bank-array-r
... couldn't create
  ipoke2~ $0-bank-array-l
... couldn't create
  ipoke2~ $0-bank-array-r
... couldn't create
  ipoke2~ $0-bank-array-l
... couldn't create
  ipoke2~ $0-bank-array-r
... couldn't create
  ipoke2~ $0-bank-array-l
... couldn't create
  ipoke2~ $0-bank-array-r
... couldn't create
  ipoke2~ $0-bank-array-l
... couldn't create
  ipoke2~ $0-bank-array-r
... couldn't create
  ipoke2~ $0-bank-array-l
... couldn't create
  ipoke2~ $0-bank-array-r
... couldn't create
  ipoke2~ $0-bank-array-l
... couldn't create
  ipoke2~ $0-bank-array-r
... couldn't create
  ipoke2~ $0-bank-array-l
... couldn't create
expr divide by zero detected
expr divide by zero detected
expr divide by zero detected
expr divide by zero detected
expr divide by zero detected
expr divide by zero detected
expr divide by zero detected
expr divide by zero detected
expr divide by zero detected
expr divide by zero detected
expr divide by zero detected
expr divide by zero detected
expr divide by zero detected
expr divide by zero detected
expr divide by zero detected
expr divide by zero detected
expr divide by zero detected
expr divide by zero detected
expr divide by zero detected
expr divide by zero detected
expr divide by zero detected
expr divide by zero detected
expr divide by zero detected
expr divide by zero detected
expr divide by zero detected
expr divide by zero detected
expr divide by zero detected
expr divide by zero detected
error: signal outlet connect to nonsignal inlet (ignored)
... you might be able to track this down from the Find menu.
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: signal outlet connect to nonsignal inlet (ignored)
error: dsp: ../../meh/speaking-test.wav: No such file or directory
expr~ divide by zero detected
error: .printout.text: no such object


Patrick Pagano B.S, M.F.A
Audio and Projection Design Faculty
Digital Worlds Institute
University of Florida, USA
(352)294-2020


From: pd-list-boun...@iem.at [pd-list-boun...@iem.at] on behalf of Mario Mey 
[mario...@gmail.com]
Sent: Friday, February 14, 2014 8:16 AM
To: pd-list
Subject: [PD] Wich licence?

I made a Multi-FX Looper called MEH-SYSTEM, posted in PD Forum:
http://puredata.hurleur.com/viewtopic.php?pid=37430

I want to put a license to it. Where should I get information about
types of licences?

I don't think in any restriction... I only would want to know where,
when, how and by-who it was used. Only that.

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

Re: [PD] Wich licence?

2014-02-15 Thread Mario Mey

On 14/02/14 15:45, Jonathan Wilkes wrote:

How would that be any different than spyware?

-Jonathan

Haha! Good point!

Thanks everybody for the answers. I took a look to Matt Davey's DIY2 
effects and he put no license txt file on its folder. Maelstorm mmb 
libraries have no license too...


My patch is for everyone who wants to use it or learn with it. If 
someone finally uses MEH-SYSTEM or a modified version of it in stage or 
for a video or whatever... I would like to know it... only that!


Maybe I leave it as is. Saying nothing about license...

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


[PD] Wich licence?

2014-02-14 Thread Mario Mey
I made a Multi-FX Looper called MEH-SYSTEM, posted in PD Forum: 
http://puredata.hurleur.com/viewtopic.php?pid=37430


I want to put a license to it. Where should I get information about 
types of licences?


I don't think in any restriction... I only would want to know where, 
when, how and by-who it was used. Only that.


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


Re: [PD] sync metronome to recording an audio track

2013-12-03 Thread Mario Mey


Hi, Ron. I made a Multi-FX Looper Machine (MEH-SYSTEM) with KP3 
recording looping style and LOOP-STATION one too (different ways of 
recording and looping, http://www.youtube.com/watch?v=2KIj7O_N3gU, in 
spanish, sorry)


When checking synching, I realized that, when some sample (previously 
recorded) was playing (eg, beatbox), I recorded in another sample bank, 
and, when it started to play, it was unsynched. Why? Because of the 
playing-when-recording latency and the later-playing latency. How did I 
fix it? After recording, it starts playing advanced  some miliseconds 
(*): aproximatly the same of your latency. Mine is 14ms (Jack, 128 
frames/buffer). How did I know my latency or, better, how many ms I 
should add to the playing? (because, depends on the patch, the minimum 
latency could be different (less) than the final latency of the patch). 
Using latency-meter (from Katja 
http://puredata.hurleur.com/viewtopic.php?pid=38375#p38375) and some 
testing abstracts with visual arrays and adjustable new latency.


I hope this were usefull for you. If you need something else, just ask!

(*) I use phasor~. Once it is configured to play at specific sample 
lenght and velocity, I send 14 (with some math), to start in that place: 
advanced.






On 03/12/13 03:22, Ron I. wrote:
Hello - we are playing a metronome audio file at time intervals (bpm) 
while simultaneously recording an audio track.  Currently we can't get 
perfect sync between the two.


We are using iOS, and I wanted to reach out to the PD community, to 
see if there are any developers who can help with a consulting gig to 
get the metronome and recording process synced, which is crucial for 
the rest of our app!


Thanks
Ron


___
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] Run bash script from Puredata?

2013-11-29 Thread Mario Mey

On 28/11/13 20:52, yvan volochine wrote:

On 28/11/13 22:01, Mario Mey wrote:

I got rid of the intermediate script. Using [shell], I launch directly
the script that will close and reopen everything. Simplier now!


great!


I do a circus show, with comedy, juggling and beatbox.


sounds cool. (I m a clown myself.. but not in circus)

you have any website where we can see your work? I'm curious now... =)


In www.mariomey.com.ar you can find about my digital pupeteers and 
MEH-SYSTEM.


But, my 2 full spectacles, are here:
http://vimeo.com/65047792
https://vimeo.com/79157090



ciao
y




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


Re: [PD] Auto-minimize Pd-window?

2013-11-28 Thread Mario Mey

Thanks, man! I'll use 2:

* hiding the main Pd-window
* quit Pd when a patch window is closed

If I want to see Pd-window again, I press Ctrl-R.




On 28/11/13 05:25, IOhannes m zmölnig wrote:

On 2013-11-28 05:16, Mario Mey wrote:

LINUX.

I would want to start my patch without pd window... or hidded or
minimized. I can't do it by wmctrl, because it can't minimize
windows... it just can send to back (below).

If there any startup option or any command to hide/minimize that window?

my kiosk-plugin [1] allows to configure that (among other things).

gfmsdr
IOhannes


[1] https://svn.code.sf.net/p/pure-data/svn/trunk/guiplugins/kiosk-plugin



___
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] Run bash script from Puredata?

2013-11-27 Thread Mario Mey

I want to run a bash script (file.sh) from inside PureData, on Linux.

I do this on Python, using subprocess.Popen(['/home/mario/script1.sh']).

*More information of what I'm looking for:* 'script1.sh' has 
'gnome-terminal -e /home/mario/script2.sh' inside. So, a console 
terminal is opened (running the script) and, when I close the python 
code running, the subprocess script1.sh is closed... but the console 
with script2.sh running isn't.


The script2.sh I want not to be closed will:

- kill PureData
- kill Jack
- run Jack again (with different frequency rate and frame/buffer)
- run PureData (other patch)
- run BlenderPlayer
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Run bash script from Puredata?

2013-11-27 Thread Mario Mey

Found: [shell]



On 27/11/13 19:33, Mario Mey wrote:

I want to run a bash script (file.sh) from inside PureData, on Linux.

I do this on Python, using subprocess.Popen(['/home/mario/script1.sh']).

*More information of what I'm looking for:* 'script1.sh' has 
'gnome-terminal -e /home/mario/script2.sh' inside. So, a console 
terminal is opened (running the script) and, when I close the python 
code running, the subprocess script1.sh is closed... but the console 
with script2.sh running isn't.


The script2.sh I want not to be closed will:

- kill PureData
- kill Jack
- run Jack again (with different frequency rate and frame/buffer)
- run PureData (other patch)
- run BlenderPlayer


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


Re: [PD] Run bash script from Puredata?

2013-11-27 Thread Mario Mey

On 27/11/13 19:51, yvan volochine wrote:

On 27/11/13 23:33, Mario Mey wrote:

I want to run a bash script (file.sh) from inside PureData, on Linux.

I do this on Python, using subprocess.Popen(['/home/mario/script1.sh']).

*More information of what I'm looking for:* 'script1.sh' has
'gnome-terminal -e /home/mario/script2.sh' inside. So, a console
terminal is opened (running the script) and, when I close the python
code running, the subprocess script1.sh is closed... but the console
with script2.sh running isn't.

The script2.sh I want not to be closed will:

- kill PureData
- kill Jack
- run Jack again (with different frequency rate and frame/buffer)
- run PureData (other patch)
- run BlenderPlayer


why not just use a script (in what you want, ruby, python, ) which:

- launch jack
- launch pd
- kill pd
- kill jack
- etc...

?

so you don't fiddle around with objects like [shell] and all..
looks more straightforward to me


Because I want to run that script by sending an OSC message to PureData 
(from a tablet).




my 0.2$...
cheers,
y




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


[PD] Auto-minimize Pd-window?

2013-11-27 Thread Mario Mey

LINUX.

I would want to start my patch without pd window... or hidded or 
minimized. I can't do it by wmctrl, because it can't minimize 
windows... it just can send to back (below).


If there any startup option or any command to hide/minimize that window?

I know -nogui option, but it is not what I'm looking for. Also, -nogui 
is making more noises and clicks than with GUI (another past thread).


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


Re: [PD] vocoder with pitch.

2013-10-10 Thread Mario Mey

El 10/10/13 07:05, Patrice Colet escribió:

Hello,

   pitch doesn't come from voice at all in these kinds of sounds, but from a 
keyboard,

Thanks, I didn't know it.

particulary in this Daft Punk or Laurie Anderson music, I believe it's not 
possible to get accurate articulations by using voice's pitch, but I guess you 
will figure it out soon enough ;)
Well... I think this is some kind of autotune technique... and it is not 
simple at all. With autotune as search word, in Pd forum, there are 
about 6 thread and they all are large discussed threads.


For the moment... it is not in my hands.




Colet Patrice

- Mail original -

De: Julian Brooks jbee...@gmail.com
À: Òscar Martínez Carmona xamp...@gmail.com
Cc: pd-list pd-list@iem.at
Envoyé: Jeudi 10 Octobre 2013 10:57:08
Objet: Re: [PD] vocoder with pitch.




Hey Mario,

-
[sigmund~] definitely.




On 9 October 2013 17:27, Òscar Martínez Carmona  xamp...@gmail.com 
wrote:


What about extracting the voice pitch with something like [fiddle~]
and feed it to the synth?

El dimecres 9 d’octubre de 2013, Mario Mey ha escrit:




I listen to some vocoders in Pd and I stayed with rjdj's one. I
realized that vocoder works in a single note synth or various notes,
doing a harmonious sound. But it is always the same sound.

Is it possible to detect the pitch of the voice and use that to feed
vocoder? As playing a synth with the voice and sounding as a
vocoder.

Someday, I want to make Get Lucky with my looper-system, and I would
want to have a similar vocoder.

Thanks.



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


--
Òscar Martínez Carmona


___
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



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


Re: [PD] vocoder with pitch.

2013-10-10 Thread Mario Mey

Ok, I'll check [sigmund~] and that lib!

Thanks!




El 10/10/13 08:24, Julian Brooks escribió:



I've got 'usable' results from tracking voice with [sigmund~] and 
William Brent's timbreID lib.  It was fun to do it in reverse (and easy:)


Admittedly not 'accurate articulation' but it is 'in your hands'.

Regards,

Julian


On 10 October 2013 12:13, Mario Mey mario...@gmail.com 
mailto:mario...@gmail.com wrote:


El 10/10/13 07:05, Patrice Colet escribió:

Hello,

   pitch doesn't come from voice at all in these kinds of
sounds, but from a keyboard,

Thanks, I didn't know it.

particulary in this Daft Punk or Laurie Anderson music, I
believe it's not possible to get accurate articulations by
using voice's pitch, but I guess you will figure it out soon
enough ;)

Well... I think this is some kind of autotune technique... and it
is not simple at all. With autotune as search word, in Pd forum,
there are about 6 thread and they all are large discussed threads.

For the moment... it is not in my hands.




Colet Patrice

- Mail original -

De: Julian Brooks jbee...@gmail.com
mailto:jbee...@gmail.com
À: Òscar Martínez Carmona xamp...@gmail.com
mailto:xamp...@gmail.com
Cc: pd-list pd-list@iem.at mailto:pd-list@iem.at
Envoyé: Jeudi 10 Octobre 2013 10:57:08
Objet: Re: [PD] vocoder with pitch.




Hey Mario,

-
[sigmund~] definitely.




On 9 October 2013 17:27, Òscar Martínez Carmona 
xamp...@gmail.com mailto:xamp...@gmail.com 
wrote:


What about extracting the voice pitch with something like
[fiddle~]
and feed it to the synth?

El dimecres 9 d’octubre de 2013, Mario Mey ha escrit:




I listen to some vocoders in Pd and I stayed with rjdj's
one. I
realized that vocoder works in a single note synth or
various notes,
doing a harmonious sound. But it is always the same sound.

Is it possible to detect the pitch of the voice and use
that to feed
vocoder? As playing a synth with the voice and sounding as a
vocoder.

Someday, I want to make Get Lucky with my looper-system,
and I would
want to have a similar vocoder.

Thanks.



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


--
Òscar Martínez Carmona


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



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

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



___
Pd-list@iem.at mailto: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] vocoder with pitch.

2013-10-09 Thread Mario Mey
I listen to some vocoders in Pd and I stayed with rjdj's one. I realized 
that vocoder works in a single note synth or various notes, doing a 
harmonious sound. But it is always the same sound.


Is it possible to detect the pitch of the voice and use that to feed 
vocoder? As playing a synth with the voice and sounding as a vocoder.


Someday, I want to make Get Lucky with my looper-system, and I would 
want to have a similar vocoder.


Thanks.



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


Re: [PD] Direct-from-disk audio with position, loop, varispeed

2013-10-09 Thread Mario Mey
Sorry, guys, for entering in this thread without reading all the mails. 
But I want to ask you something.


I use readsf~ to read a speaking recorded files, sounds and songs (some 
songs are 3 or 5 minutes long, but there's one of 20, so, I thought 
readsf~ was better that put the files into arrays).


Readsf~ gives no information about the time, and it would be very 
usefull for me to synch with an animation in BlenderGameEngine.


Also, yet, I don't know if readsf~ is the one that makes noises when 
BlenderPlayer is rendering in 3D in full screen. I just thought that the 
computer can't process that 3D rendering and has Jack with low latency. 
Maybe readsf~ is the problem...


Anyway, I wanted to ask you about readsf~:

Is readsf~ stable?
Does it consume so much CPU?
Is there any other object better to use? Maybe the one you are talking 
about in this thread...


I don't need to varispeed, for example. Just read files, play and know 
its position in time. And low CPU consumption.


Thanks.

PD1: I'm on Ubuntu 12.04.
PD2: what about THREADLIB and SNDFILER to open files in a different 
thread? Do they work? http://grh.mur.at/software/threadlib.html and 
http://grh.mur.at/software/sndfiler.html.


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


Re: [PD] Direct-from-disk audio with position, loop, varispeed

2013-10-09 Thread Mario Mey

El 09/10/13 14:07, Jack escribió:

Hello,


Le 09/10/2013 18:20, Mario Mey a écrit :

Sorry, guys, for entering in this thread without reading all the
mails. But I want to ask you something.

I use readsf~ to read a speaking recorded files, sounds and songs
(some songs are 3 or 5 minutes long, but there's one of 20, so, I
thought readsf~ was better that put the files into arrays).

Readsf~ gives no information about the time, and it would be very
usefull for me to synch with an animation in BlenderGameEngine.

If you want to get the length of a sound file, you have several
possibilities :
- use [wavinfo] from ext13
- use [soundfile_info] from iemlib
- use [shell] with your favorite command line to get info on soundfile
++

Jack
Sorry, I meant that I wanted to know the *time position* of the file, 
while playing. I know that I can put a [timer] and reset-activate it 
when readsf~ starts playing, but I would be great if readsf~ use the 
mostrigh outlet to output this information (always or when asked for it).




Also, yet, I don't know if readsf~ is the one that makes noises when
BlenderPlayer is rendering in 3D in full screen. I just thought that
the computer can't process that 3D rendering and has Jack with low
latency. Maybe readsf~ is the problem...

Anyway, I wanted to ask you about readsf~:

Is readsf~ stable?
Does it consume so much CPU?
Is there any other object better to use? Maybe the one you are talking
about in this thread...

I don't need to varispeed, for example. Just read files, play and know
its position in time. And low CPU consumption.

Thanks.

PD1: I'm on Ubuntu 12.04.
PD2: what about THREADLIB and SNDFILER to open files in a different
thread? Do they work? http://grh.mur.at/software/threadlib.html and
http://grh.mur.at/software/sndfiler.html.

___
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] Direct-from-disk audio with position, loop, varispeed

2013-10-09 Thread Mario Mey

El 09/10/13 18:08, IOhannes m zmölnig escribió:

On 10/09/13 20:49, Mario Mey wrote:

Sorry, I meant that I wanted to know the *time position* of the file,
while playing. I know that I can put a [timer] and reset-activate it
when readsf~ starts playing, but I would be great if readsf~ use the
mostrigh outlet to output this information (always or when asked for it).

why?

or rather, why don't you just create an abstraction [meyreadsf~] that
wraps the [timer] logic (and share it with the community)?
Well... it's a good idea. I use readsf~ with switch~ to pause and 
unpause it. It can be all transformed in an abstraction. I don't need 
precision and my 20 minutes song doesn't need to be counted... but if 
readsf~ is precise with time position, then, the new abstract will be too.


*Is readsf~ precise?*

If/when I make that abstract, I'll share it, of course.


gfmaf
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] Direct-from-disk audio with position, loop, varispeed

2013-10-09 Thread Mario Mey
Why? I'm asking myself: why I took this as a challenge??? I just made 
readsf.meh~.


It works similar to readsf~ with some changes.

- It is prepared to read stereo files.
- Optional argument: miliseconds for the metro to output the time 
positon. Default 10.

- Open files with [open file.wav(
- Starts with [start(
- Stops with [stop(, but, when  [start( is sended after [stop(, it opens 
the last file and start playing it (can have a delay of loading, maybe 
an unsynch of timer, I didn't check it. The same as when the file ends)

- Pauses with [pause(
- Resumes with [resume(

Outputs:

1- output left
2- output right
3- status (symbol): loaded, playing, paused, stopped.
4- minutes (int)
5- seconds (int)
6- miliseconds (int)
7- time position minutes:seconds (symbol).

When I use this and check it is version 1.0, I'll upload to forum.



El 09/10/13 22:05, Mario Mey escribió:

El 09/10/13 18:08, IOhannes m zmölnig escribió:

On 10/09/13 20:49, Mario Mey wrote:

Sorry, I meant that I wanted to know the *time position* of the file,
while playing. I know that I can put a [timer] and reset-activate it
when readsf~ starts playing, but I would be great if readsf~ use the
mostrigh outlet to output this information (always or when asked for it).

why?

or rather, why don't you just create an abstraction [meyreadsf~] that
wraps the [timer] logic (and share it with the community)?
Well... it's a good idea. I use readsf~ with switch~ to pause and 
unpause it. It can be all transformed in an abstraction. I don't need 
precision and my 20 minutes song doesn't need to be counted... but if 
readsf~ is precise with time position, then, the new abstract will be too.


*Is readsf~ precise?*

If/when I make that abstract, I'll share it, of course.

gfmaf
IOhannes



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




#N canvas 238 77 1041 673 12;
#X obj -16 295 readsf~ 2;
#X msg 134 229 stop;
#X msg 45 229 start;
#X obj -16 525 outlet~;
#X obj 44 525 outlet~;
#X obj 650 490 outlet;
#X obj 403 364 timer;
#X obj -16 -46 inlet;
#X msg -16 229 open \$1;
#X obj 107 465 switch~;
#X obj 107 435 pipe 8;
#X obj 62 405 t f f;
#X obj 62 465 line~;
#X obj 44 495 *~;
#X msg 62 435 \$1 5;
#X obj -16 495 *~;
#X msg 62 375 0;
#X msg 102 375 1;
#X obj 590 344 mod 60;
#X obj 530 344 div 60;
#X obj 530 281 / 1000;
#X obj 530 301 t f f f;
#X floatatom 650 374 0 0 0 0 - - -;
#X floatatom 590 374 0 0 0 0 - - -;
#X floatatom 530 374 0 0 0 0 - - -;
#X obj 650 274 t f f;
#X obj 682 294 int;
#X obj 650 314 -;
#X obj 650 334 * 1000;
#X obj 650 354 int;
#X obj 327 298 f;
#X obj 403 424 +;
#X obj 309 364 f;
#X msg 449 278 stop;
#X obj 327 334 +;
#X obj 309 394 t f f;
#X obj 403 278 t b b;
#X obj 365 174 t b b b;
#X msg 365 278 0;
#X obj 449 344 metro 10;
#X obj 590 490 outlet;
#X obj 530 490 outlet;
#X obj 190 521 outlet;
#X obj -16 -12 route open start pause resume stop;
#X msg 724 444 \$1:\$2;
#X obj 724 484 outlet;
#X obj 724 464 symbol;
#X msg 190 365 symbol loaded;
#X msg 190 395 symbol playing;
#X msg 190 425 symbol stopped;
#X msg 190 455 symbol paused;
#X obj -56 -46 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 907 242  10;
#X obj 826 222 t f f;
#X obj 826 274 list prepend;
#X obj 826 304 route 0 1;
#X obj 724 424 pack f segundos;
#X msg 856 334 0\$1;
#X text 518 518 minutos;
#X text 588 518 segundos;
#X text 658 517 ms;
#X text 728 517 minutos:segundos;
#X text 188 543 status;
#X msg 826 334 \$1;
#X obj 826 364 makefilename %d;
#X obj 856 404 symbol;
#X obj -16 199 symbol;
#X obj 33 343 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 225 65 spigot;
#X obj 135 105 t b b b b b;
#X msg 264 35 1;
#X msg 294 35 0;
#X obj 45 105 t b b b b b;
#X obj 225 105 t b b b b b;
#X obj 315 105 t b b b b b b;
#X obj 45 153 list prepend 1;
#X obj 45 183 route 0 1;
#X msg 403 133 0;
#X obj -44 107 t b b b b b;
#X msg 58 69 1;
#X obj -16 16 t a b b b b;
#X obj 502 15 loadbang;
#X obj 502 45 \$1;
#X obj 583 95 == 0;
#X msg 532 184 10;
#X obj 502 154 route 0 1;
#X obj 502 124 list prepend;
#X obj 502 75 t f f;
#X connect 0 0 15 0;
#X connect 0 1 13 0;
#X connect 0 2 67 0;
#X connect 0 2 74 0;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 6 0 31 0;
#X connect 6 0 34 1;
#X connect 7 0 43 0;
#X connect 8 0 0 0;
#X connect 10 0 9 0;
#X connect 11 0 14 0;
#X connect 11 1 10 0;
#X connect 12 0 13 1;
#X connect 12 0 15 1;
#X connect 13 0 4 0;
#X connect 14 0 12 0;
#X connect 15 0 3 0;
#X connect 16 0 11 0;
#X connect 17 0 11 0;
#X connect 18 0 23 0;
#X connect 19 0 24 0;
#X connect 20 0 21 0;
#X connect 21 0 19 0;
#X connect 21 1 18 0;
#X connect 21 2 25 0;
#X connect 22 0 5 0;
#X connect 23 0 40 0;
#X connect 23 0 53 0;
#X connect 24 0 41 0;
#X connect 24 0 56 0;
#X connect 25 0 27 0;
#X connect 25 1 26 0;
#X connect 26 0 27 1;
#X connect 27 0 28 0;
#X connect 28 0 29 0;
#X connect 29 0 22 0;
#X connect 30 0 34 0;
#X

Re: [PD] tanh() or a compressor?

2013-10-01 Thread Mario Mey

El 01/10/13 00:54, Brian Fay escribió:
Are you using a pop filter or windscreen or anything in front of the 
mic? Maybe that could help filter out some of the super-loud plosive 
and fricative sounds.
No beatboxer uses a pop filter or windscreen... unless he/she is at a 
recording studio.


Moving further away from the mic would definitely lower the volume, 
too (the SM58 is a cardioid mic, so it has proximity effect, where 
bass gets emphasized the closer you are to the mic). I guess the 
proximity effect will actually sound pretty nice on the kicks, but it 
also would explain why the peaks are so high.
Yes, the proximity is very important. Unfortunatly, I can't move further 
away the mic.


Well, I wrote in DIY2 thread in Forum, because I want to use Hardoff's 
compressor and I wanted his opinion, too. Because, after several tests, 
I realized that I can't get rid of the first peak of a kick (more or 
less, signal = 4). So, I thought about using the compressor with attack 
and release at lowest and, inmediatly after that, something like [expr~ 
(tanh($v1/1.5))*1.5]. So, tanh() compress the highest peaks to 1.5, 
but it doesn't distort so much the sound.


Can anybody tell me if I am very wrong?
Is the math correct?

As when writting the arrays to disk, Pd has to normalized them to 1, I 
can't see really the difference in a sound editor, between the original 
and the compressed one.









On Mon, Sep 30, 2013 at 3:35 PM, Mario Mey mario...@gmail.com 
mailto:mario...@gmail.com wrote:


Now, I am checking volumes of my looper patch. I had to raise [*~
4] the volume of the mic, to get a razonable volume, compared to a
song file, for example. But, using this looper patch, I make
beatbox. So, kicks and snares from my mouth get in the mic. And,
using a visual array to test it, I realize that the kicks and
snares are so much higher volume than the vocals.

The patch has FXs with feedbacks, so, they can make signal  1.
So, at the end of the patch, there's [expr tanh($v1)] to to avoid
that...  tanh() is simpler than a a compressor, but it loose some
sounds (I think). Or I should trust in tanh()?

Multiple choice:
1- Use tanh() in the input, after adc~ and before dac~.
2- Use a compressor patch in the input, after adc~ (and tanh()
before dac~)
3- Use a compressor at the end of the patch, before dac~
4- Stay as it is now...

Also, I can't spend more CPU process...

What do you recommend me to use?

Thanks.


___
Pd-list@iem.at mailto: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] tanh() or a compressor?

2013-10-01 Thread Mario Mey

How does Pd or the soundcard outputs the signal  1? Does it compress it?

I started this thread because I saw the high peaks in an array... but I 
never listened the sound distorted.


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


Re: [PD] ANN: pd-l2ork v.20130920 released

2013-09-30 Thread Mario Mey
Searching for libstk, libstk0-dev appeared to install. But I couldn't 
install it, because it needed libstk0c2a (= 4.4.3-2) . I installed it... 
but, libstk0-dev still ask me for that dependency. It's strange.


Anyway, I would like to try it, but I have not so much time to spend in 
installing. Now I'm googling for Albert Graef builts. If I have no 
luck... maybe I try again some day in the future.


Thank you!




El 25/09/13 09:06, Ivica Bukvic escribió:


Can you check if you have any libstk packages available in the 
software center? Also make sure that you have universe repertories 
enabled. Btw what version of Ubuntu are you using? Albert Graef has a 
launchpad with all these packages built for newer versions of Ubuntu. HTH


On Sep 25, 2013 8:01 AM, Mario Mey mario...@gmail.com 
mailto:mario...@gmail.com wrote:


I would like to try pd-l2ork... but, when I try to install .deb,
Ubuntu Software Center tell me that it couldn't find
libstk0-dev. When I try to install it, in Synaptic, the
installation ask me to uninstall almost my audio applications.

I remember something like this when I tried to change Jack
version. Could this be?

I use jackd (Jackdmp, I think...)




El 23/09/13 09:26, Ivica Ico Bukvic escribió:

As usual, apologies for x-posting...

It is my pleasure to announce the latest release of pd-l2ork free
open-source visual programming language for interactive media,
and supporting K12 educational module for the 32-bit and 64-bit
Linux, as well as Raspberry Pi (Arm) platforms. pd-l2ork is the
infrastructural backbone of Virginia Tech DISIS Linux Laptop
Orchestra (http://l2ork.music.vt.edu). Highlights include:

*Ported all vanilla GUI objects and events to cairo-based
SVG-like tkpath canvas providing antialiased drawing
capabilities, bezier patch cords, and setting stage for a
zoomable canvas
*Implemented a new scrollbar system using semi-transparent
objects right on the canvas
*Implemented filtering of autorepeat keyboard events for key,
keyup, keyname objects
*Expanded K12 library with numerous improvements and added a
couple demo files
*Backported resizable objects and recent files
*Implemented native drag-n-drop
*Improved GUI appearance
*Began porting 3rd party objects to new cairo-based canvas
(non-accelerated 3rd-party objects can be recognized by having a
blue selection box and their considerably slower redraw)
*Cleaned-up extended pddp documentation and added comprehensive
cyclone documentation
*Began filtering (disabling) building of redundant externals
within the cyclone and other 3rd-party libraries
*Proper visual reordering without the potentially cpu-expensive
canvas_redraw for all accelerated objects (non-accelerated
3rd-party objects can be recognized by having a blue selection
box and their considerably slower redraw)
*Disabled drawing of redundant nlets for objects embedded inside
a GOP object (for Max users, equivalent to a bpatcher)
*Embedded tkdnd and tkpath libs directly into source for a
monolithic build; made several improvements to the tkpath lib fork
*Many other minor bugfixes and improvements (see Changelog for
more info)

A screenshot of the K12 module is attached. Alternatively, it can
be found at:

http://puredata.info/downloads/Pd-L2Ork/releases/20130920/screenshot/image_view_fullscreen

Complete Changelog:
http://puredata.info/downloads/Pd-L2Ork/releases/20130920/

Download Links:
Binary Builds  Documentation:
http://l2ork.music.vt.edu/main/?page_id=56
Source: http:///github.com/pd-l2ork/

Best wishes,
-- 
Ivica Ico Bukvic, D.M.A

Composition, Music Technology
Director, DISIS Interactive Sound  Intermedia Studio
Director, L2Ork Linux Laptop Orchestra
Head, ICAT IMPACT Studio
Virginia Tech
Department of Music
Blacksburg, VA 24061-0240
(540) 231-6139  tel:%28540%29%20231-6139
(540) 231-5034  tel:%28540%29%20231-5034  (fax)
disis.music.vt.edu  http://disis.music.vt.edu
l2ork.music.vt.edu  http://l2ork.music.vt.edu
ico.bukvic.net  http://ico.bukvic.net


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



___
Pd-list@iem.at mailto: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] tanh() or a compressor?

2013-09-30 Thread Mario Mey
Now, I am checking volumes of my looper patch. I had to raise [*~ 4] the 
volume of the mic, to get a razonable volume, compared to a song file, 
for example. But, using this looper patch, I make beatbox. So, kicks and 
snares from my mouth get in the mic. And, using a visual array to test 
it, I realize that the kicks and snares are so much higher volume than 
the vocals.


The patch has FXs with feedbacks, so, they can make signal  1. So, at 
the end of the patch, there's [expr tanh($v1)] to to avoid that...  
tanh() is simpler than a a compressor, but it loose some sounds (I 
think). Or I should trust in tanh()?


Multiple choice:
1- Use tanh() in the input, after adc~ and before dac~.
2- Use a compressor patch in the input, after adc~ (and tanh() before dac~)
3- Use a compressor at the end of the patch, before dac~
4- Stay as it is now...

Also, I can't spend more CPU process...

What do you recommend me to use?

Thanks.


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


Re: [PD] tanh() or a compressor?

2013-09-30 Thread Mario Mey
I forgot to say that I'm using a Shure SM-58 connected to a external USB 
(cheap) soundcard (http://www.encore-usa.com/ar/support/ENMAB-8CM). In 
alsamixer, I raised the input volumes to max.


This  directly connected to the soundcard microphone will be connected 
throw a wireless Shure system. In that moment, I'll check again volumes.



 Mensaje original 
Asunto: tanh() or a compressor?
Fecha:  Mon, 30 Sep 2013 16:35:43 -0300
De: Mario Mey mario...@gmail.com
Para:   pd-list pd-list@iem.at



Now, I am checking volumes of my looper patch. I had to raise [*~ 4] the
volume of the mic, to get a razonable volume, compared to a song file,
for example. But, using this looper patch, I make beatbox. So, kicks and
snares from my mouth get in the mic. And, using a visual array to test
it, I realize that the kicks and snares are so much higher volume than
the vocals.

The patch has FXs with feedbacks, so, they can make signal  1. So, at
the end of the patch, there's [expr tanh($v1)] to to avoid that...
tanh() is simpler than a a compressor, but it loose some sounds (I
think). Or I should trust in tanh()?

Multiple choice:
1- Use tanh() in the input, after adc~ and before dac~.
2- Use a compressor patch in the input, after adc~ (and tanh() before dac~)
3- Use a compressor at the end of the patch, before dac~
4- Stay as it is now...

Also, I can't spend more CPU process...

What do you recommend me to use?

Thanks.



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


Re: [PD] Trying to fix error messages

2013-09-27 Thread Mario Mey

Try:

- Using [import mrpeach] somewhere in your patch (if externals are in 
the correct path to Pd)

- Adding the folder mrpeach in Preferences menu.
- Or, also possible... copying mrpeach folder in your patch folder and 
use [mrpeach/unpackOSC] (if it is the only external you have problems with)


Best.

El 27/09/13 01:25, RT escribió:

Greetings All

I get the message

expr, expr~, fexpr~ version 0.4 under GNU General Public License
[date] part of zexy-2.2.5.1pdextended (compiled: Nov 14 2012)
Copyright (c) 1999-2012 IOhannes m zmölnig, forum::für::umläute  IEM
[time] part of zexy-2.2.5.1pdextended (compiled: Nov 14 2012)
Copyright (c) 1999-2012 IOhannes m zmölnig, forum::für::umläute  IEM
 unpackOSC
... couldn't create
 udpreceive 8000
... couldn't create
 routeOSC /widget0
... couldn't create
 routeOSC /widget1
... couldn't create
 routeOSC /widget2
... couldn't create
 routeOSC /widget3
... couldn't create
 routeOSC /widget4
... couldn't create

I have the path to the externals I thought which are
/home/rt/Documents/pd/movedoverextended
/home/rt/Documents/pd/externals/mrpeach/osc
/home/rt/Documents/pd/externals/iem/iemnet

Any idea how to fix this?

Thanks


___
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] ANN: pd-l2ork v.20130920 released

2013-09-25 Thread Mario Mey
I would like to try pd-l2ork... but, when I try to install .deb, Ubuntu 
Software Center tell me that it couldn't find libstk0-dev. When I try 
to install it, in Synaptic, the installation ask me to uninstall almost 
my audio applications.


I remember something like this when I tried to change Jack version. 
Could this be?


I use jackd (Jackdmp, I think...)




El 23/09/13 09:26, Ivica Ico Bukvic escribió:

As usual, apologies for x-posting...

It is my pleasure to announce the latest release of pd-l2ork free 
open-source visual programming language for interactive media, and 
supporting K12 educational module for the 32-bit and 64-bit Linux, as 
well as Raspberry Pi (Arm) platforms. pd-l2ork is the infrastructural 
backbone of Virginia Tech DISIS Linux Laptop Orchestra 
(http://l2ork.music.vt.edu). Highlights include:


*Ported all vanilla GUI objects and events to cairo-based SVG-like 
tkpath canvas providing antialiased drawing capabilities, bezier patch 
cords, and setting stage for a zoomable canvas
*Implemented a new scrollbar system using semi-transparent objects 
right on the canvas
*Implemented filtering of autorepeat keyboard events for key, keyup, 
keyname objects
*Expanded K12 library with numerous improvements and added a couple 
demo files

*Backported resizable objects and recent files
*Implemented native drag-n-drop
*Improved GUI appearance
*Began porting 3rd party objects to new cairo-based canvas 
(non-accelerated 3rd-party objects can be recognized by having a blue 
selection box and their considerably slower redraw)
*Cleaned-up extended pddp documentation and added comprehensive 
cyclone documentation
*Began filtering (disabling) building of redundant externals within 
the cyclone and other 3rd-party libraries
*Proper visual reordering without the potentially cpu-expensive 
canvas_redraw for all accelerated objects (non-accelerated 3rd-party 
objects can be recognized by having a blue selection box and their 
considerably slower redraw)
*Disabled drawing of redundant nlets for objects embedded inside a GOP 
object (for Max users, equivalent to a bpatcher)
*Embedded tkdnd and tkpath libs directly into source for a monolithic 
build; made several improvements to the tkpath lib fork

*Many other minor bugfixes and improvements (see Changelog for more info)

A screenshot of the K12 module is attached. Alternatively, it can be 
found at:

http://puredata.info/downloads/Pd-L2Ork/releases/20130920/screenshot/image_view_fullscreen

Complete Changelog:
http://puredata.info/downloads/Pd-L2Ork/releases/20130920/

Download Links:
Binary Builds  Documentation: http://l2ork.music.vt.edu/main/?page_id=56
Source: http:///github.com/pd-l2ork/

Best wishes,
--
Ivica Ico Bukvic, D.M.A
Composition, Music Technology
Director, DISIS Interactive Sound  Intermedia Studio
Director, L2Ork Linux Laptop Orchestra
Head, ICAT IMPACT Studio
Virginia Tech
Department of Music
Blacksburg, VA 24061-0240
(540) 231-6139
(540) 231-5034 (fax)
disis.music.vt.edu
l2ork.music.vt.edu
ico.bukvic.net


___
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] PLEASE HELP WITH EQ BUILDING

2013-09-23 Thread Mario Mey

Good thread about EQ: http://puredata.hurleur.com/sujet-1687.html



El 22/09/13 15:19, Luca Mani escribió:
Hello does anybody knows how to build a 3 bands eq with the following 
adjustable parameters: FREQUENCY, GAIN +- and Q?

Or has a couple of examples to show me please ?

Thanks



___
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] [change] bug?

2013-09-23 Thread Mario Mey
If i create [change] and send it a [0(, it outputs nothing. It seems 
like it has already the 0 value initiated.


I think [change] should not work like this...

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


Re: [PD] [change] bug?

2013-09-23 Thread Mario Mey

Thanks for answering!

Who is the OP? Me? Well, if it is me... yes, I would like to have NULL 
as init value. But, I understand that [change] must work like it works 
right now. It's OK.


I use I go bananas patch to make it work (with [+ 1]). Then, I read 
Jonathan's reply... that has the same fix (with [* -1]).


Thanks everyone.





El 23/09/13 15:45, Jonathan Wilkes escribió:






From: Alexandre Torres Porres por...@gmail.com
To: Mario Mey mario...@gmail.com
Cc: pd-list pd-list@iem.at
Sent: Monday, September 23, 2013 12:13 PM
Subject: Re: [PD] [change] bug?




that's the way it works alright.


Yes.  It's helpful to know that in Pure Data, an object that takes an optional 
float argument
typically sets the value to zero if the user doesn't provide an argument.

It's not a requirement: an external author can set the default value to 
anything they want.
It's just that doing that requires extra work (i.e., manually checking the 
arguments), whereas
defaulting to zero happens automatically.

Anyway, I think the OP might want [change] to default to NULL-- that is, let 
the next incoming
value pass no matter what because there isn't a previous value yet.  That could 
be handy.

You can make your own version of that by first sending a copy of the incoming 
value through a
spigot:

[spigot 1]
|
[* -1]
|
[set $1(
|
[change]

Then set the right inlet of [spigot] to zero and send the incoming value to 
your [change]
object, and it will be guaranteed to pass.

-Jonathan


If your first value sent to it is zero, just initialize it with some other 
value as the argument
cheers




2013/9/23 Mario Mey mario...@gmail.com
If i create [change] and send it a [0(, it outputs nothing. It seems like it 
has already the 0 value initiated.

I think [change] should not work like this...

___
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] [change] bug?

2013-09-23 Thread Mario Mey

El 23/09/13 21:22, yvan volochine escribió:

On 23/09/13 20:45, Jonathan Wilkes wrote:
You can make your own version of that by first sending a copy of the 
incoming value through a

spigot:

[spigot 1]
|
[* -1]
|
[set $1(
|
[change]

Then set the right inlet of [spigot] to zero and send the incoming 
value to your [change]

object, and it will be guaranteed to pass.


and if the incoming value is 0? =)



Obviously: -0


y




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


[PD] puredata.info strange behaviour using Google.

2013-09-19 Thread Mario Mey
Everytime I visit puredata.info through google, every d and com in 
the page are highlighted in yellow. If I refresh (F5) the page, it is 
the same. But, if I click in address and press Enter, the highlight 
dissappear. I think it is something in POST...


If I search pure data 0.44, then I click in the first link, d and 
44 are highlighted.


It is so strange... now, I tried again, the same link and only com are 
highlighted. Try this link:


http://www.google.com.ar/url?sa=trct=jq=esrc=ssource=webcd=1cad=rjaved=0CCwQFjAAurl=http%3A%2F%2Fpuredata.info%2Fdocs%2Fmanuals%2Fpd%2Fx2.htmei=Qxc7UtbIEIK3iwK1k4C4DQusg=AFQjCNG-AyYLgOX6CkJARANJvkgxHzSsdwsig2=U9wSrxsBPqsW108sJu3KIA

It's about google? puredata.info?

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


[PD] Sum of delays...

2013-09-19 Thread Mario Mey
I was guessing... if I made a sum of delays using so many send~ / 
receive~ and throw~ / catch~...


For a full use of my patch (mic input - FX-A - FX-B - output), I have 
this structure (inside subpatches and abstracts):


adc~
s~ mic

r~ mic
s~ console-in-a

r~ console-in-a
s~ pre-fx-a

r~ pre-fx-a
throw~ post-fx-a

catch~ post-fx-a
s~ console-out-a

r~ console-out-a
s~ console-in-b

r~ console-in-b
s~ pre-fx-b

r~ pre-fx-b
throw~ post-fx-b

catch~ post-fx-b
s~ console-out-b

r~ console-out-b
s~ out

r~ out
dac~

Does every send~ / receive~ and throw~ / catch~ adds a 1 block delay?

I'm using 48000, so, do I have 1.333ms * 10 = 13ms of delay because of 
using that objects?



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


Re: [PD] Sum of delays...

2013-09-19 Thread Mario Mey
I think most of s/r and throw/catch are between abstracts. If I want to 
sort that objects (as Theory of Operation says: creating receive~ after 
send~)... I don't know how to do it.


Does the sorting include creation of abstracts? I mean, should I 
cut-paste from the objects (s/r, throw/catch AND abstracts) at the start 
of the pipeline (mic) to the last (output)? And so inside each abstract? 
I'm confused... and I'll be more if I would have to do it.


Thanks.




 Mensaje original 
Asunto: Sum of delays...
Fecha:  Thu, 19 Sep 2013 13:52:37 -0300
De: Mario Mey mario...@gmail.com
Para:   pd-list pd-list@iem.at



I was guessing... if I made a sum of delays using so many send~ / 
receive~ and throw~ / catch~...


For a full use of my patch (mic input - FX-A - FX-B - output), I have 
this structure (inside subpatches and abstracts):


adc~
s~ mic

r~ mic
s~ console-in-a

r~ console-in-a
s~ pre-fx-a

r~ pre-fx-a
throw~ post-fx-a

catch~ post-fx-a
s~ console-out-a

r~ console-out-a
s~ console-in-b

r~ console-in-b
s~ pre-fx-b

r~ pre-fx-b
throw~ post-fx-b

catch~ post-fx-b
s~ console-out-b

r~ console-out-b
s~ out

r~ out
dac~

Does every send~ / receive~ and throw~ / catch~ adds a 1 block delay?

I'm using 48000, so, do I have 1.333ms * 10 = 13ms of delay because of 
using that objects?





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


[PD] Can't open a patch launching Pd from console...

2013-09-16 Thread Mario Mey
Trying to know what is crashing Pd (with OSC messages from TouchOSC to
MrPeach external)... I'm trying to launch Pd-exteded from the console...
(using pasuspender -- /usr/lib/pd-extended/tcl/pd-gui.tcl %F or just
pd-extended).

PD-Extended is executed, but, when I try to open my file, in the console,
this message appear every 2 or 3 seconds:

watchdog: signaling pd...
watchdog: signaling pd...
watchdog: signaling pd...
...

If I wait a pair of minutes, the patch starts to open... but, at first,
with no toggles, buttons, slider, etc. Then, I got tired and killed it.

I don't understand why this is happening, because, if I open from the menu,
Pd-ext opens my patch correctly.

UbuntuStudio 12.04.3, Pd-extended 0.43.4 (from PPA, as
http://puredata.info/docs/faq/debian says).
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] TouchOSC makes Pd crash, on UbuntuStudio, not in Ubuntu

2013-09-16 Thread Mario Mey

I found this workaround... maybe it helps:

http://puredata.hurleur.com/sujet-9201-touchosc-mrpeach-crash



El 16/09/13 13:08, Mario Mey escribió:
Thanks, Martin. I compiled it and test it. Again, in UbuntuStudio 
12.04.3, it makes PureData crash. There's no message, it just crashs.


Is anything I could do to help to avoid that? How could I debug it?

In the other hand, I'm having troubles to launch Pd from console (to 
see if any message is there)... it can't open my patch. So, I'm 
writting another mail to list.



2013/9/15 Martin Peach martin.pe...@sympatico.ca 
mailto:martin.pe...@sympatico.ca


On 2013-09-15 16:12, Mario Mey wrote:

I just downloaded complete PureData from svn... but I want to
compile
only your externals. Is that possible? I think so... how?


From trunk/externals type
make mrpeach
or
make mrpeach_install
(which doesn't actually install the files, it puts them in
externals/build/lib/pd-extended/extra)

Martin


Thank you.


2013/9/15 Martin Peach martin.pe...@sympatico.ca
mailto:martin.pe...@sympatico.ca
mailto:martin.pe...@sympatico.ca
mailto:martin.pe...@sympatico.ca


On 2013-09-14 19:28, Mario Mey wrote:

Martin Peach, I read somewhere that changing pages in
TouchOSC
makes Pd
(or Pd-Ext) to crash. My Pd-Extended doesn't crash,
but this
error is
shown: * routeOSC: ignoring empty list….



That doesn't happen here. There is no such message in the
source code.
Maybe you have an older version of routeOSC? The OSC
specification
allows empty messages, and [routeOSC] should output a bang
if it
routes such a message.
Older versions of [routeOSC](before March 2012) didn't work
properly, so you probably just need to find a more recent
one or
build it from svn.
   
(http://sourceforge.net/p/__pure-data/svn/HEAD/tree/trunk/__externals/mrpeach/osc/
   
http://sourceforge.net/p/pure-data/svn/HEAD/tree/trunk/externals/mrpeach/osc/)




Martin



Today, I've installed Ubuntu Studio 12.04.3 (with
lowlatency
kernel). It
seemed that it was a good distro for my use... but
switching
pages DOES
make Pd-Extended to crash. I reported-suggested this
in this thread:
http://hexler.net/forum/__viewthread/992/
http://hexler.net/forum/viewthread/992/, where I
wrote some

other info,
maybe usefull.

The config where it doesn't crash:

/Ubuntu 12.04, Kernel 3.2.0-49-generic, Pd-Extended
0.43.4 (download
from PPA as the Pure Data page says), jackdmp 1.9.8...//
/
The other config:

/Ubuntu Studio 12.04.3, Kernel 3.2.0-51-lowlatency,
same Pd-Extended
version, Jack that came with UbuntuStudio (don't know
wich version)/


Any other information that could be useful to fix
this? Like I
wrote in
the thread, I suggested TouchOSC that it should send
non-empty
lists.
But, TouchOSC is closed-code... so, there's no easy
feedback.




_
Pd-list@iem.at mailto:Pd-list@iem.at mailto:Pd-list@iem.at
mailto:Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -
http://lists.puredata.info/__listinfo/pd-list
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] TouchOSC makes Pd crash, on UbuntuStudio, not in Ubuntu

2013-09-16 Thread Mario Mey
Thanks, Martin. I compiled it and test it. Again, in UbuntuStudio 
12.04.3, it makes PureData crash. There's no message, it just crashs.


Is anything I could do to help to avoid that? How could I debug it?

In the other hand, I'm having troubles to launch Pd from console (to see 
if any message is there)... it can't open my patch. So, I'm writting 
another mail to list.



2013/9/15 Martin Peach martin.pe...@sympatico.ca 
mailto:martin.pe...@sympatico.ca


   On 2013-09-15 16:12, Mario Mey wrote:

   I just downloaded complete PureData from svn... but I want to
   compile
   only your externals. Is that possible? I think so... how?


From trunk/externals type
   make mrpeach
   or
   make mrpeach_install
   (which doesn't actually install the files, it puts them in
   externals/build/lib/pd-extended/extra)

   Martin


   Thank you.


   2013/9/15 Martin Peach martin.pe...@sympatico.ca
   mailto:martin.pe...@sympatico.ca
   mailto:martin.pe...@sympatico.ca
   mailto:martin.pe...@sympatico.ca


On 2013-09-14 19:28, Mario Mey wrote:

Martin Peach, I read somewhere that changing pages in
   TouchOSC
makes Pd
(or Pd-Ext) to crash. My Pd-Extended doesn't crash, but
   this
error is
shown: * routeOSC: ignoring empty list….



That doesn't happen here. There is no such message in the
   source code.
Maybe you have an older version of routeOSC? The OSC
   specification
allows empty messages, and [routeOSC] should output a bang
   if it
routes such a message.
Older versions of [routeOSC](before March 2012) didn't work
properly, so you probably just need to find a more recent
   one or
build it from svn.
   
   (http://sourceforge.net/p/__pure-data/svn/HEAD/tree/trunk/__externals/mrpeach/osc/
   
   http://sourceforge.net/p/pure-data/svn/HEAD/tree/trunk/externals/mrpeach/osc/)




Martin



Today, I've installed Ubuntu Studio 12.04.3 (with
   lowlatency
kernel). It
seemed that it was a good distro for my use... but
   switching
pages DOES
make Pd-Extended to crash. I reported-suggested this in
   this thread:
   http://hexler.net/forum/__viewthread/992/
http://hexler.net/forum/viewthread/992/, where I
   wrote some

other info,
maybe usefull.

The config where it doesn't crash:

/Ubuntu 12.04, Kernel 3.2.0-49-generic, Pd-Extended
   0.43.4 (download
from PPA as the Pure Data page says), jackdmp 1.9.8...//
/
The other config:

/Ubuntu Studio 12.04.3, Kernel 3.2.0-51-lowlatency,
   same Pd-Extended
version, Jack that came with UbuntuStudio (don't know
   wich version)/


Any other information that could be useful to fix this?
   Like I
wrote in
the thread, I suggested TouchOSC that it should send
   non-empty
lists.
But, TouchOSC is closed-code... so, there's no easy
   feedback.




_
   Pd-list@iem.at mailto:Pd-list@iem.at mailto:Pd-list@iem.at
   mailto:Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -
   http://lists.puredata.info/__listinfo/pd-list
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] TouchOSC makes Pd crash, on UbuntuStudio, not in Ubuntu

2013-09-16 Thread Mario Mey
Now, I'm on Ubuntu 12.04 and I realized that I have a very old version 
of mrpeach folder (routeOSC-help says: 2008/09/17 Martin Peach) and Pd 
was configured to use it. That's why Pd doesn't crash after sending that 
message from TouchOSC. In console, it only shows:


* routeOSC: ignoring empty list...

Luckily I didn't delete that folder and still use it. I'll try to 
compile Matthias version now... but, by doubts, I will keep that 
no-crash old version.





El 16/09/13 18:22, Matthias Kronlachner escribió:

ok its even more simple than that..
a |bang( crashes routeOSC :-)

and a bang is sent to the outlet of routeOSC if a message has no 
argument...


On 9/16/13 11:51 PM, Martin Peach wrote:

OK, thanks for this.
Any idea what the message is that is causing the crash?
Is it valid OSC?

Martin 





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


[PD] TouchOSC makes Pd crash, on UbuntuStudio, not in Ubuntu

2013-09-14 Thread Mario Mey
Martin Peach, I read somewhere that changing pages in TouchOSC makes Pd 
(or Pd-Ext) to crash. My Pd-Extended doesn't crash, but this error is 
shown: * routeOSC: ignoring empty list


Today, I've installed Ubuntu Studio 12.04.3 (with lowlatency kernel). It 
seemed that it was a good distro for my use... but switching pages DOES 
make Pd-Extended to crash. I reported-suggested this in this thread: 
http://hexler.net/forum/viewthread/992/, where I wrote some other info, 
maybe usefull.


The config where it doesn't crash:

/Ubuntu 12.04, Kernel 3.2.0-49-generic, Pd-Extended 0.43.4 (download 
from PPA as the Pure Data page says), jackdmp 1.9.8...//

/
The other config:

/Ubuntu Studio 12.04.3, Kernel 3.2.0-51-lowlatency, same Pd-Extended 
version, Jack that came with UbuntuStudio (don't know wich version)/


Any other information that could be useful to fix this? Like I wrote in 
the thread, I suggested TouchOSC that it should send non-empty lists. 
But, TouchOSC is closed-code... so, there's no easy feedback.



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


[PD] [refloat?] Worse performance with -nogui.

2013-09-13 Thread Mario Mey
Sorry for re-floating this thread... but only Claude answer it and he 
was talking about previous version of Pd, so, it doesn't apply in my 
Pd-Extende version. I paste again the mail:


 Mensaje original 
Asunto: Worse performance with -nogui.
Fecha:  Thu, 15 Aug 2013 01:22:36 -0300
De: Mario Mey mario...@gmail.com
Para:   pd-list pd-list@iem.at



Two issues:

First at all, when trying my patch (MEH-SYSTEM) with -nogui option, I
was having a Segment fault... untill I discovered that the Robot FX,
from RJDJ was turning DSP on and DSP was already on (was turned on
with a [loadbang]-[delay 2000]). This crashed Pd. Maybe a bug...?

Attempting to save some CPU (-nogui option), I started using the patch
and recorded all the sample banks... then, a lot of noisy clicks started
to appear. If I mute all the banks, the clicks are there, at low volume
but very audible.

Then, I realized that that noise is there only with -nogui option. Using
GUI, it sounds great. Is this a known issue? Because I expected to have
the opposite result...

I'm using Pd-Extended 0.43.4, Ubuntu 12.04, Jackd (Jack2?) with
256frames, 2periods, 48000, PulseAudio uninstalled, with a USB soundcard
(Encore ENMAB-8CM). It does the same noise with the integrated soundcard.

Here is the WIP (last version: 0.91):
http://puredata.hurleur.com/viewtopic.php?pid=37430

If I can give you any other information, just ask for it.


EDIT: I'm trying to get no noise, because I'm trying to use 128 frames 
in Jack, instead of 256, to get less latency.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Scaling values in pd

2013-09-03 Thread Mario Mey

IOhannes, you are right only in these cases:

0 127 0 500
0 300 0 1
...

But, if I need:

50 10 0 500
3000 -3000 0.5 0.6
...

I will need a linear equation conversion. As I wrote in last mail, I 
was needing something like this, first in ActionScript... then in 
Python... but I never could did it. Now, I needed again in Pd... so, I 
made lin-eq-conv.pd with extrapolation and lin-eq-conv-clip.pd for 
clipped values. I made it as neat as I could, to see how it works. Using 
x0-x1 and y0-y1, it uses expr to get a and b at load. Then, it only 
computes aX + b = Y.


I attach the lin-eq-conv.pd, lin-eq-conv-clip.pd and lin-eq-conv-help.pd.

Also, I have some issues using [autoscale]. I start giving values and it 
outputs only 1. Then, I start to down the input and, then, it shows the 
real output. Maybe it's about this version (0.43.4 Pd-Extended 64bits).


PD: translated to Python:

|def lin_eq_conv(x, x0, x1, y0, y1):
   a = (y0 - y1) / (x0 - x1)
   b = (a * x0) + y0
   return a * x + b|




El 03/09/13 03:32, IOhannes zmölnig escribió:

On 09/02/2013 06:17 PM, hghoyer wrote:

Hi,

in Max/MSP there is an object for simple scaling.

If you create in MAX these object with this arguments:

[scale 0 127 0 500] incomming messages from 0 to 127 are automatically
scaled from 0 to 500...

honestly i'm of the firm conviction that you should learn how scaling
works: it really is only a matter of adding, multiplying, dividing,
subtracting - stuff you should heave learned in primary school.

as frank pointed out, this should do for you:

|
[/ 127]
|
[* 500]
|

if you find it too tedious to do the maths over and over again, you
might want to create an abstraction.


being able to solve trivial problems like this will surely empower you
to solve more complex problems :-)

gamsdr
IOhannes





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


#N canvas 549 82 637 625 12;
#X obj 122 263 expr ($f3 - $f4) / ($f1 - $f2);
#X obj 122 366 expr - ( $f1 * $f2 ) + $f3;
#X floatatom 134 398 0 0 0 0 - - -;
#X text 215 338 x0;
#X text 130 339 a;
#X text 130 420 b;
#X obj 54 441 expr $f3 * $f1 + $f2;
#X floatatom 68 475 0 0 0 0 - - -;
#X obj 54 526 outlet;
#X obj 54 -40 inlet;
#X floatatom 131 292 0 0 0 0 - - -;
#X floatatom 122 138 5 0 0 0 - - -;
#X floatatom 191 138 5 0 0 0 - - -;
#X floatatom 260 138 5 0 0 0 - - -;
#X floatatom 329 138 5 0 0 0 - - -;
#X text 485 21 x0 = a*x0 + b \; y1 = a*x1 + b;
#X text 448 125 y0 - y1 = a*(x0 - x1);
#X text 428 294 y = a * x + b;
#X obj 122 113 \$1;
#X obj 191 113 \$2;
#X obj 260 113 \$3;
#X obj 329 113 \$4;
#X text 153 113 x0;
#X text 223 113 x1;
#X text 293 113 y0;
#X text 363 113 y1;
#X text 305 338 y0;
#X obj 122 -40 loadbang;
#X obj 122 45 t b b b b;
#X obj 202 -40 inlet;
#X obj 322 43 unpack f f f f;
#X obj 54 43 f;
#X floatatom 70 7 0 0 0 0 - - -;
#X text 414 325 - b = a * x - y;
#X obj 122 -20 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 122 320 t f f;
#X text 192 417 a;
#X text 59 421 X;
#X text 62 504 Y;
#X obj 122 232 t f f;
#X obj 260 232 t f f;
#X text 345 260  a = (y0 - y1) / (x0 - x1);
#X text 331 366 -- b = -(a * x) + y;
#X text 222 444 -- y = a * x + b;
#X text 551 542 Mario Mey;
#X obj 191 164 t f f;
#X obj 260 164 t f f;
#X obj 329 164 t f f;
#N canvas 634 98 614 362 if-not-error 0;
#X obj 75 13 inlet;
#X obj 132 13 inlet;
#X obj 175 13 inlet;
#X obj 225 13 inlet;
#X obj 75 310 outlet;
#X obj 75 56 t f f;
#X obj 253 203 print;
#X obj 192 258 print;
#X obj 175 90 ==;
#X obj 114 90 ==;
#X obj 207 147 route 0;
#X obj 146 188 route 0;
#X obj 75 286 spigot;
#X obj 146 310 outlet;
#X obj 114 189 +;
#X obj 175 119 t f f;
#X obj 114 120 t f f;
#X obj 114 216 == 0;
#X obj 114 242 t f f;
#X msg 253 177 Incorrect y0 - y1 values or bad arguments.;
#X msg 192 232 Incorrect x0 - x1 values or bad arguments.;
#X obj 114 267 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X connect 0 0 5 0;
#X connect 1 0 9 1;
#X connect 2 0 8 0;
#X connect 3 0 8 1;
#X connect 5 0 12 0;
#X connect 5 1 9 0;
#X connect 8 0 15 0;
#X connect 9 0 16 0;
#X connect 10 1 19 0;
#X connect 11 1 20 0;
#X connect 12 0 4 0;
#X connect 14 0 17 0;
#X connect 15 0 14 1;
#X connect 15 1 10 0;
#X connect 16 0 14 0;
#X connect 16 1 11 0;
#X connect 17 0 18 0;
#X connect 18 0 21 0;
#X connect 18 1 13 0;
#X connect 19 0 6 0;
#X connect 20 0 7 0;
#X connect 21 0 12 1;
#X restore 122 201 pd if-not-error;
#X text 442 189 Check if x0 = x1;
#X text 456 209 ... or y0 = y1;
#X obj 93 229 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 202 23 t b b b b b a;
#X obj 54 248 spigot;
#X text 441 -37 Look at the help file.;
#X text 59 -15 test-in;
#X text 99 475 test-out;
#X connect 0 0 10 0;
#X connect 0 0 35 0;
#X connect 1 0 2 0;
#X connect 1 0 6 1;
#X connect 6 0 7 0;
#X connect 6 0 8 0;
#X connect 9 0 31 0;
#X connect 11 0 48 0;
#X connect 12 0 45 0

Re: [PD] Scaling values in pd

2013-09-03 Thread Mario Mey

El 03/09/13 10:11, Lorenzo Sutton escribió:

On 03/09/2013 14:06, Mario Mey wrote:

IOhannes, you are right only in these cases:

0 127 0 500
0 300 0 1
...

But, if I need:

50 10 0 500|

(assuming you want to map have 50 mapped to the 'minimum'):
|
[- 10]
|
[t b f]
|   /
[-  ]
|
[* 12.5]
|


3000 -3000 0.5 0.6

[* -1]
|
[+ 3000]
|
[/ 6]
|
[+ 0.5]


Yes, you can make this math every scale you need... or use an abstract 
that does the same automatically. In my patch, I use 284 lin-eq-conv 
objects. I didn't want to think how to make that math... and change 
everytime (normally, I create a lin-eq-conv and change its values a lot 
of times).


Best.





...

I will need a linear equation conversion. As I wrote in last mail, 
I was needing something like this, first in ActionScript... then in 
Python... but I never could did it. Now, I needed again in Pd... so, 
I made lin-eq-conv.pd with extrapolation and lin-eq-conv-clip.pd for 
clipped values. I made it as neat as I could, to see how it works. 
Using x0-x1 and y0-y1, it uses expr to get a and b at load. Then, 
it only computes aX + b = Y.


I attach the lin-eq-conv.pd, lin-eq-conv-clip.pd and 
lin-eq-conv-help.pd.


Also, I have some issues using [autoscale]. I start giving values and 
it outputs only 1. Then, I start to down the input and, then, it 
shows the real output. Maybe it's about this version (0.43.4 
Pd-Extended 64bits).


PD: translated to Python:

|def lin_eq_conv(x, x0, x1, y0, y1):
   a = (y0 - y1) / (x0 - x1)
   b = (a * x0) + y0
   return a * x + b|




El 03/09/13 03:32, IOhannes zmölnig escribió:

On 09/02/2013 06:17 PM, hghoyer wrote:

Hi,

in Max/MSP there is an object for simple scaling.

If you create in MAX these object with this arguments:

[scale 0 127 0 500] incomming messages from 0 to 127 are automatically
scaled from 0 to 500...

honestly i'm of the firm conviction that you should learn how scaling
works: it really is only a matter of adding, multiplying, dividing,
subtracting - stuff you should heave learned in primary school.

as frank pointed out, this should do for you:

|
[/ 127]
|
[* 500]
|

if you find it too tedious to do the maths over and over again, you
might want to create an abstraction.


being able to solve trivial problems like this will surely empower you
to solve more complex problems :-)

gamsdr
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



___
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] Scaling values in pd

2013-09-02 Thread Mario Mey

Hey, I made this abstract some time ago, I use it very much.

http://puredata.hurleur.com/viewtopic.php?id=9218



El 02/09/13 18:24, José Luis Santorcuato Tapia escribió:


Hi [autoscale 0 10]
Also you can check the help file.
Best
José

El 02/09/2013 21:01, Dan Wilcox danomat...@gmail.com 
mailto:danomat...@gmail.com escribió:


Also maxlib/scale in pd-extended.

On Sep 2, 2013, at 1:22 PM, pd-list-requ...@iem.at
mailto:pd-list-requ...@iem.at wrote:


*From:*Frank Barknecht f...@footils.org mailto:f...@footils.org
*Subject:**Re: [PD] Scaling values in pd*
*Date:*September 2, 2013 12:43:24 PM EDT
*To:*pd-list@iem.at mailto:pd-list@iem.at


On Mon, Sep 02, 2013 at 06:17:37PM +0200, hghoyer wrote:

in Max/MSP there is an object for simple scaling.

If you create in MAX these object with this arguments:

[scale 0 127 0 500] incomming messages from 0 to 127 are
automatically
scaled from 0 to 500...

Is in PD a similar easyly way to scale values?


You can use an abstraction like m_scale.pd from the ri-library
(attached) for this.

Or just divide by 127 and multiply with 500. :)



Dan Wilcox
@danomatika
danomatika.com http://danomatika.com
robotcowboy.com http://robotcowboy.com






___
Pd-list@iem.at mailto: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] Worse performance with -nogui.

2013-08-15 Thread Mario Mey

Thanks for the response, Claude.

I don't understand what SR is. Why 0 and 44100?

Following Maelstorm suggestion, I'm using 48000. He says the soundcard 
clocks better when you set the sample rate to something that easily 
divides by milliseconds, and it seems to be true. I get less xruns when 
using 48000 than 44100





El 15/08/13 14:11, Claude Heiland-Allen escribió:

On 15/08/13 05:22, Mario Mey wrote:

I'm using Pd-Extended 0.43.4

Nevermind what I said in my earlier reply, this version doesn't have
that particular bug (but 0.41 and 0.42 extended do, and so does pd-l2ork
git master as of today):

Pd version 0.41-4extended
compiled 17:56:28 Aug 15 2013
SR: 0
SR: 44100

Pd version 0.42-5extended
compiled 13:25:06 Aug 15 2013
SR: 0
SR: 44100

Pd-0.43.4 (extended) compiled 12:23:46 Aug 15 2013
SR: 44100
SR: 44100

Pd-l2ork version 20130724
compiled 18:10:00 Aug 15 2013
SR: 0
SR: 44100


Claude



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


[PD] Worse performance with -nogui.

2013-08-14 Thread Mario Mey

Two issues:

First at all, when trying my patch (MEH-SYSTEM) with -nogui option, I 
was having a Segment fault... untill I discovered that the Robot FX, 
from RJDJ was turning DSP on and DSP was already on (was turned on 
with a [loadbang]-[delay 2000]). This crashed Pd. Maybe a bug...?


Attempting to save some CPU (-nogui option), I started using the patch 
and recorded all the sample banks... then, a lot of noisy clicks started 
to appear. If I mute all the banks, the clicks are there, at low volume 
but very audible.


Then, I realized that that noise is there only with -nogui option. Using 
GUI, it sounds great. Is this a known issue? Because I expected to have 
the opposite result...


I'm using Pd-Extended 0.43.4, Ubuntu 12.04, Jackd (Jack2?) with 
256frames, 2periods, 48000, PulseAudio uninstalled, with a USB soundcard 
(Encore ENMAB-8CM). It does the same noise with the integrated soundcard.


Here is the WIP (it is 0.7 version... but almost 1.0): 
http://puredata.hurleur.com/viewtopic.php?pid=37430


If I can give you any other information, just ask for it.

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


Re: [PD] [Bulk] Benefits of using an external soundcard?

2013-08-12 Thread Mario Mey
Well, the only things I want for my system is, obviously, killer 
fireballs and death lasers.


A soundcard like that, here, it costs ARS $1.500 - $2.000. Here, the 
minimum wage is ARS $3.300 (I'm an artist and my income is different)... 
but, for you to understand how much electronic devices cost to us.


The Samsung Galaxy Tab 2 10' costed ARS $3.000 to me, last year.

I will buy a $200 soundcard. So, I have the benefits that I wrote in 
previous mail... and, for the moment, it will be OK.


Thanks!




El 11/08/13 19:39, batinste escribió:

benefits of using an external soundcard :

- standard plugs : TRS 6.35 or XLR ios.
- hence symmetric signal ios (possibly) : far more robust to 
electrical interferences
- when i say standard plugs, i also mean professional heavy duty 
reliable plugs and jacks

- preamps
- headphones monitoring
- phantom power
- hi-z input (plugging guitars !)
- built-in midi ios
- on a budget : not looking weird to the sound guy anymore, impress 
the chicks with all your blinky stuff.
- now add more $$$ : more ios, built-in effects, matrix mixer with 
(almost) zero latency, S/PDIF, ADAT, inserts, standalone mode, 
fireballs and lasers, instant world domination (MADI), more blinkiness.


On 08/08/2013 22:30, Mario Mey wrote:

I'm using my integrated soundcard:

00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 
Azalia (Intel HDA) (rev 40).


I know that Pd is processing on CPU and I don't need more than 2 
inputs and 2 outputs channels. So... I think that there's no need 
to buy an external one.


Is there any benefit of using one?

I know that this USB soundcard is not a very good one... but maybe 
it's good for my economy. What's your opinion?


http://www.encore-usa.com/ar/support/ENMAB-8CM

___
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] Benefits of using an external soundcard?

2013-08-10 Thread Mario Mey

Brian: I comment between lines:

El 09/08/13 09:42, Brian Fay escribió:
Is there a specific type of microphone you will be using? I've seen 
some videos of Beardyman recently using some type of hands-free 
lavalier microphone.
I will use my wireless VHF SHURE microphone (I know it is old). The 
original is a headset, but, for beatbox, I use a SM-58 connected to the 
same trasnmisor. It sounds different, so, the SM-58 jack has a resistor 
to turn the gain down and an EQ in PureData, to make it sound like the 
other.


I don't know if I will use the headset (as Beardyman) or the SM-58. It 
is about comfort.


This and other condenser microphones require Phantom Power, which is 
provided by many audio interfaces and mixers but generally not built 
in to an internal soundcard.

It doesn't need phantom power.


See how far you can get with what you have; there's no point in buying 
something that you don't need. But you might find that you do need one 
eventually.
I will buy the cheap soundcard (ARS $200). I understand what you say, 
but it has some benefits:


- I care the notebook audio-out jack. USB is more resistent for pluging 
and unpluging. I (this) summer, I work in a park and I do what this 
video shows, EVERYNIGHT: http://www.youtube.com/watch?v=oNUZULR7k18

- I have more inputs and outputs (for future features).
- Maybe, I avoid noise in the line (for the moment, I don't have it... 
but I think it depends on the power line of the location).

- Sometimes, I do record some samples... it will be usefull for that.


Keep in mind that you'll need very low latency (less than 20 
miliseconds) for your application. I'm not sure if this is affected by 
the sound card or not. All of the audio processing happens on the CPU, 
but maybe the buffering stages for the sound card add enough delay to 
add latency... could somebody  with more familiarity chime in here?
For now, I have 5.8ms of latency. It's very good for me. If you are 
saying that an external soundcard would add latency... more than the 
internal, so, it is not good!


Thanks.




On Fri, Aug 9, 2013 at 7:28 AM, Mario Mey mario...@gmail.com 
mailto:mario...@gmail.com wrote:


El 08/08/13 17:50, Charles Z Henry escribió:

Hi Mario

The number one reason for having an external sound card is noise
isolation.  The card's proximity to the power supply and
motherboard are bad for EM noise.  Also, a computer power supply
and a good audio power supply for recording have much the same
relationship--there's more noise in switching electronics.

Next, there's the size constraints.  You'd have a hard time
adding all the connectors for a large number of channels on a
card which plugs in to your PCI(e) slots.

It's ok, I have a notebook: 1 plug out, 1 plug in.



Third:  there's not as great a need for bandwidth for audio as
there is with video. Video cards need all that PCI(e) bandwidth.
Audio doesn't.  It's a relatively small amount of data.  Of
course--I think USB and firewire really don't have enough
bandwidth for good scalability, but that's another discussion.

But... what are you doing with it?  You have different
requirements for recording and for live sound.  Live sound:  just
do it up.  No one will likely notice.

Live sound is my purpose. Mic-in looping-station and multieffects
system (following the steps of Beardyman and his Beardytron_5000).
But, sorry about not understanding your expresion (english is not
my native language) What do you mean with just do it up, no
one will likely notice? Should I buy it or no one will notice the
difference? I think you mean I should...



If you're planning on recording something on just 2 channels on
the built-in sound card, keep in mind that your dynamic range
will be pretty bad, even if you get a good pre-amp in the middle
to take the most advantage of your range.  You'd much rather have
an external sound card with some adjustable analog pre-amps in
the box.

About the soundcard I post, the Encore 7.1 ENMAB-8CM
(http://www.encore-usa.com/ar/support/ENMAB-8CM)... it's really a
china generic useless card... or it's good for starting? It has no
analog pot.


Chuck



Thanks so much for your time.






On Thu, Aug 8, 2013 at 3:30 PM, Mario Mey mario...@gmail.com
mailto:mario...@gmail.com wrote:

I'm using my integrated soundcard:

00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI
SBx00 Azalia (Intel HDA) (rev 40).

I know that Pd is processing on CPU and I don't need more
than 2 inputs and 2 outputs channels. So... I think that
there's no need to buy an external one.

Is there any benefit of using one?

I know that this USB soundcard is not a very good one... but
maybe it's good for my economy. What's your opinion?

http://www.encore-usa.com/ar/support/ENMAB-8CM

Re: [PD] Benefits of using an external soundcard?

2013-08-10 Thread Mario Mey

Charles, as I answer to Brian, I paste the same about the soundcard

/I will buy the cheap soundcard (ARS $200). I understand what you say, 
but it has some benefits://

//
//- I care the notebook audio-out jack. USB is more resistent for 
pluging and unpluging. I (this) summer, I work in a park and I do what 
this video shows, EVERYNIGHT: http://www.youtube.com/watch?v=oNUZULR7k18//

//- I have more inputs and outputs (for future features).//
//- Maybe, I avoid noise in the line (for the moment, I don't have it... 
but I think it depends on the power line of the location).//

//- Sometimes, I do record some samples... it will be usefull for that.//
/
And, you can check BEARDYTRON_5000 here: 
http://www.youtube.com/watch?v=_OlHSNpYg0A and other videos there.


Thanks.



El 09/08/13 11:34, Charles Z Henry escribió:




On Fri, Aug 9, 2013 at 6:28 AM, Mario Mey mario...@gmail.com 
mailto:mario...@gmail.com wrote:


El 08/08/13 17:50, Charles Z Henry escribió:

Hi Mario

The number one reason for having an external sound card is noise
isolation. The card's proximity to the power supply and
motherboard are bad for EM noise. Also, a computer power supply
and a good audio power supply for recording have much the same
relationship--there's more noise in switching electronics.

Next, there's the size constraints.  You'd have a hard time
adding all the connectors for a large number of channels on a
card which plugs in to your PCI(e) slots.

It's ok, I have a notebook: 1 plug out, 1 plug in.



Third:  there's not as great a need for bandwidth for audio as
there is with video. Video cards need all that PCI(e) bandwidth.
Audio doesn't.  It's a relatively small amount of data.  Of
course--I think USB and firewire really don't have enough
bandwidth for good scalability, but that's another discussion.

But... what are you doing with it?  You have different
requirements for recording and for live sound.  Live sound:  just
do it up.  No one will likely notice.

Live sound is my purpose. Mic-in looping-station and multieffects
system (following the steps of Beardyman and his Beardytron_5000).
But, sorry about not understanding your expresion (english is not
my native language) What do you mean with just do it up, no
one will likely notice? Should I buy it or no one will notice the
difference? I think you mean I should...


Just use the onboard sound.  Live performance or installations can be 
much more tolerant of noise.  You may have to tune your patches for 
the hardware, but don't give it too much thought and just do it up 
(a recommendation).


I'm not familiar with Beardyman/tron_5000.  That sounds cool.



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


Re: [PD] Benefits of using an external soundcard?

2013-08-09 Thread Mario Mey

El 08/08/13 17:50, Charles Z Henry escribió:

Hi Mario

The number one reason for having an external sound card is noise 
isolation.  The card's proximity to the power supply and motherboard 
are bad for EM noise.  Also, a computer power supply and a good audio 
power supply for recording have much the same relationship--there's 
more noise in switching electronics.


Next, there's the size constraints.  You'd have a hard time adding all 
the connectors for a large number of channels on a card which plugs in 
to your PCI(e) slots.

It's ok, I have a notebook: 1 plug out, 1 plug in.


Third:  there's not as great a need for bandwidth for audio as there 
is with video.  Video cards need all that PCI(e) bandwidth.  Audio 
doesn't.  It's a relatively small amount of data.  Of course--I think 
USB and firewire really don't have enough bandwidth for good 
scalability, but that's another discussion.


But... what are you doing with it?  You have different requirements 
for recording and for live sound.  Live sound: just do it up.  No one 
will likely notice.
Live sound is my purpose. Mic-in looping-station and multieffects system 
(following the steps of Beardyman and his Beardytron_5000). But, sorry 
about not understanding your expresion (english is not my native 
language) What do you mean with just do it up, no one will likely 
notice? Should I buy it or no one will notice the difference? I think 
you mean I should...


If you're planning on recording something on just 2 channels on the 
built-in sound card, keep in mind that your dynamic range will be 
pretty bad, even if you get a good pre-amp in the middle to take the 
most advantage of your range.  You'd much rather have an external 
sound card with some adjustable analog pre-amps in the box.
About the soundcard I post, the Encore 7.1 ENMAB-8CM 
(http://www.encore-usa.com/ar/support/ENMAB-8CM)... it's really a china 
generic useless card... or it's good for starting? It has no analog pot.


Chuck



Thanks so much for your time.





On Thu, Aug 8, 2013 at 3:30 PM, Mario Mey mario...@gmail.com 
mailto:mario...@gmail.com wrote:


I'm using my integrated soundcard:

00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00
Azalia (Intel HDA) (rev 40).

I know that Pd is processing on CPU and I don't need more than 2
inputs and 2 outputs channels. So... I think that there's no
need to buy an external one.

Is there any benefit of using one?

I know that this USB soundcard is not a very good one... but maybe
it's good for my economy. What's your opinion?

http://www.encore-usa.com/ar/support/ENMAB-8CM

___
Pd-list@iem.at mailto: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] How to reduce CPU use on unused subpatches-abstracts?

2013-08-08 Thread Mario Mey
The FX that are on are not always the same. The system lets you select 2 
FX (one FX for each Console. It can be complex, having more than one. 
Eg: Delay/HPF). And, when the system starts, LPF are in both Consoles.


And no, I'm not using Freverb~. For reverb, I use st-pureverb, from DIY2 
collection, by Hardoff.


Thanks.



El 08/08/13 05:41, James Dunn escribió:

Quoth Mario Mey, on 07/08/2013 20:32:
/./ Ready-to-use, 2 FXs on: *26%* (there are 2 FXs always on, 
although they are muted)
Are the effects that are always on [freeverb]? This could consume CPU, 
see these threads:


http://www.mail-archive.com/pd-list@iem.at/msg27143.html
http://www.mail-archive.com/pd-list@iem.at/msg56905.html


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


[PD] Benefits of using an external soundcard?

2013-08-08 Thread Mario Mey

I'm using my integrated soundcard:

00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia 
(Intel HDA) (rev 40).


I know that Pd is processing on CPU and I don't need more than 2 inputs 
and 2 outputs channels. So... I think that there's no need to buy an 
external one.


Is there any benefit of using one?

I know that this USB soundcard is not a very good one... but maybe it's 
good for my economy. What's your opinion?


http://www.encore-usa.com/ar/support/ENMAB-8CM

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


Re: [PD] How to reduce CPU use on unused subpatches-abstracts?

2013-08-07 Thread Mario Mey
Thanks all for responding. After doing some tests, with suggestion from 
mail-list and from (Maelstorm), I want to show you the current structure 
of the complete patch (the same I wrote in forum):


/Main patch (meh_system.pd)//
//• OSC messaging (for the tablet), input and output (EQ), BPM, 
metronome, Beats-to-rec, mode selector, etc.//

//• FXs Console x2 (meh_console.pd)//
//- - FXs  group selector, X-Y pad, Hold button, some signal and 
message redirection, etc. (subpatches)//

//- - FXs groups x8 subpatches.//
//- - - FXs abstracts x100 (fx-*.pd) ***//
//• Sample Bank X8 (meh_bank.pd)//
//- - Control subpatch [pd toggle-color-seteos]//
//- - Sample - Resample subpatch [pd rec-sample-resample] ***//
//- - Looping subpatch [pd rec-looping] ***//
//- - Overdub subpatch [pd overdub] ***//
//- - Playing subpatch [pd play]//
//
/The ones that have ***, have [switch~] inside. Using throw~/catch~ and 
s~/r~, the audio signals (right/left, sample/resample) get inside and 
outside all that subpatches-abstracts.


After adding switch~ inside them, *I got these RESULTS*:

/•/ Ready-to-use, 2 FXs on: *26%* (there are 2 FXs always on, although 
they are muted)

/• /7 Banks playing, 1 Overdubbing, 2 FXs on: *32%*
/• /DSP off: *6%*

As you can see, from 47%, I achieve 20% less than before. I think it is 
very good! But, with DSP off, I have 6% and there's no message 
processing. Maelstorm told me that it is too much for doing nothing... 
and, we think that it is because of having all that abstracts there. If 
I delete them, I have 1-2%.


The FX Console abstract (main patch has 2 of them) has all the FXs 
inside (100 items). Each FX has 4 to 8 abstracts inside (most of them 
are DIY2 effects, by Hardoff, but it also has a Panel abstract and some 
others). So... 2 * 100 * 6 = 1200 abstracs, more or less. Even if they 
are swithched off... THEY ARE THERE. Maybe this increase the CPU to 6%?


I repeat the WIP thread, where MEH-SYSTEM can be downloaded and tested: 
http://puredata.hurleur.com/viewtopic.php?pid=37430
(it uses externals from PdExt and the zip includes ipoke2~.pd_linux for 
64bits (my version of ipoke~, by Katja), but it's only for overdubbing)


Thanks again.



El 07/08/13 04:57, Roman Haefeli escribió:

On Wed, 2013-08-07 at 08:40 +0200, IOhannes m zmölnig wrote:

On 08/07/13 03:15, Miller Puckette wrote:

Hmmm...  I was umnder the impression that, except for the overhead of block~
and switch~ objects, there would be no difference in DSP execution time
between a patch having lots of subpatches and one with the same amount of
computation all thrown in one window.  I haven't made any measurements but
theoreticall at least there shouldn't be any difference.

i once did make measurements, and they showed that your assumption is
correct.

or at least, it showed that it *was* correct at that time. this was on a
P2-400MHz in 1998 or so, where a 16 channel spatialization patch would
eat about 95% of the CPU - regardless of whether you used a single huge
patch or organized the code into subpatches/abstractions.

eventually i went for using abstractions, and let the PC run at 95% for
the 2 weeks show.

I once made some informal tests to measure the overhead of [switch~]. It
turned out it is quite big and if you're running hundreds or thousands
instances of [switch~] you probably gain nothing by turning DSP off in
subpatches. I don't know what the sweet spot is it seems using [switch~]
is only worth for subpatches with a minimum amount of (DSP) complexity.

Roman


___
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] How to reduce CPU use on unused subpatches-abstracts?

2013-08-07 Thread Mario Mey
Oh... *compile*... I'm afraid of that word. Once (during some days), I 
tried to compile Pd... but with no good results.


I will try to download the source, look for a easy-to-compile 
tutorial... but, if it takes me so much time, I think I'll go on with 
the current version of PdExt (0.43.4). Maybe I will try it later... or 
later... or even more later.


To profile Pd, is there an option in my version, or I have to change 
code, like #define PROFILE 1?


Cheers.


El 07/08/13 16:53, Miller Puckette escribió:

Here's an idea ... perhaps your patch is generating hundreds of thousands
of symbols to instantiate all the abstractions, and this sould be making
gensym() run slowly.  To test this possibility easily you could change

#define HASHSIZE 1024

to

#define HASHSIZE 65536

or so, recompile and see if that makes it run faster.

(Of course, I don't know why gensym() would be getting called periodically
when Pd is idling; perhaps you could find that out by profiling Pd?)

cheers
Miller

On Wed, Aug 07, 2013 at 04:32:30PM -0300, Mario Mey wrote:

Thanks all for responding. After doing some tests, with suggestion
from mail-list and from (Maelstorm), I want to show you the current
structure of the complete patch (the same I wrote in forum):

/Main patch (meh_system.pd)//
//• OSC messaging (for the tablet), input and output (EQ), BPM,
metronome, Beats-to-rec, mode selector, etc.//
//• FXs Console x2 (meh_console.pd)//
//- - FXs  group selector, X-Y pad, Hold button, some signal and
message redirection, etc. (subpatches)//
//- - FXs groups x8 subpatches.//
//- - - FXs abstracts x100 (fx-*.pd) ***//
//• Sample Bank X8 (meh_bank.pd)//
//- - Control subpatch [pd toggle-color-seteos]//
//- - Sample - Resample subpatch [pd rec-sample-resample] ***//
//- - Looping subpatch [pd rec-looping] ***//
//- - Overdub subpatch [pd overdub] ***//
//- - Playing subpatch [pd play]//
//
/The ones that have ***, have [switch~] inside. Using throw~/catch~
and s~/r~, the audio signals (right/left, sample/resample) get
inside and outside all that subpatches-abstracts.

After adding switch~ inside them, *I got these RESULTS*:

/•/ Ready-to-use, 2 FXs on: *26%* (there are 2 FXs always on,
although they are muted)
/• /7 Banks playing, 1 Overdubbing, 2 FXs on: *32%*
/• /DSP off: *6%*

As you can see, from 47%, I achieve 20% less than before. I think it
is very good! But, with DSP off, I have 6% and there's no
message processing. Maelstorm told me that it is too much for doing
nothing... and, we think that it is because of having all that
abstracts there. If I delete them, I have 1-2%.

The FX Console abstract (main patch has 2 of them) has all the FXs
inside (100 items). Each FX has 4 to 8 abstracts inside (most of
them are DIY2 effects, by Hardoff, but it also has a Panel abstract
and some others). So... 2 * 100 * 6 = 1200 abstracs, more or less.
Even if they are swithched off... THEY ARE THERE. Maybe this
increase the CPU to 6%?

I repeat the WIP thread, where MEH-SYSTEM can be downloaded and
tested: http://puredata.hurleur.com/viewtopic.php?pid=37430
(it uses externals from PdExt and the zip includes ipoke2~.pd_linux
for 64bits (my version of ipoke~, by Katja), but it's only for
overdubbing)

Thanks again.



El 07/08/13 04:57, Roman Haefeli escribió:

On Wed, 2013-08-07 at 08:40 +0200, IOhannes m zmölnig wrote:

On 08/07/13 03:15, Miller Puckette wrote:

Hmmm...  I was umnder the impression that, except for the overhead of block~
and switch~ objects, there would be no difference in DSP execution time
between a patch having lots of subpatches and one with the same amount of
computation all thrown in one window.  I haven't made any measurements but
theoreticall at least there shouldn't be any difference.

i once did make measurements, and they showed that your assumption is
correct.

or at least, it showed that it *was* correct at that time. this was on a
P2-400MHz in 1998 or so, where a 16 channel spatialization patch would
eat about 95% of the CPU - regardless of whether you used a single huge
patch or organized the code into subpatches/abstractions.

eventually i went for using abstractions, and let the PC run at 95% for
the 2 weeks show.

I once made some informal tests to measure the overhead of [switch~]. It
turned out it is quite big and if you're running hundreds or thousands
instances of [switch~] you probably gain nothing by turning DSP off in
subpatches. I don't know what the sweet spot is it seems using [switch~]
is only worth for subpatches with a minimum amount of (DSP) complexity.

Roman


___
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

[PD] How to reduce CPU use on unused subpatches-abstracts?

2013-08-05 Thread Mario Mey

Hi, there... I really need some help.

I'm working on a looper-multi-effects (big) patch. It has more than, 
more or less, 100 stereo FXs. They are all inside the patch as 
abstracts. But, to avoid them to consume CPU, each one has a [switch~ 0] 
if it is not working. So, there're only two FX at a time, where the DSP 
is on. Something like this:


Main patch:

adc~
| \
| [s $0-pre-r]
[s $0-pre-l]

[catch~ $0-post-l]
| [catch~ $0-post-r]
|/
[dac~]

(the same for

Each FX as file-abstracts (using [fx1 $0] to call them) inside the main 
patch:


[r $1-pre-l]   [r $1-pre-r]
|  /
[The-FX-itself.]
|  \
[throw~ $1-post-l] [throw~ $1-post-r]


[0( [1(
|   /
[switch~]


This technics DOES work very well.  Buuut... when having 100 FX at the 
same time (even not working), the CPU increase 15-20%. I repeat, 
there're only two FX working at the time. The rest are turned-off.


For now, the CPU use is:

Ready-to-use, 2 FXs on, DSP on: 47%
Recorded and playing 8 stereo-banks, 2 FXs being used, DSP on: 60 - 62% 
(I have quite a few XRUNS)

Ready-to-use, 2 FXs on, DSP off: 7%

As you can see, the non-signal processing is very low.

What I think is that each FX is working when receiving and/or throwing 
signal (200 [receive~] and [throw~] objects)... even they are sending 
and/or processing nothing.


Is there any other way to connect all the FXs to the main patch and to 
have a lower CPU consumption?


Maybe [inlet~] and [outlet~] consume less CPU? (I should connect all the 
FX at hand... or find a aumotated way to do it)


Thanks a lot.




Mario Mey

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


Re: [PD] How to reduce CPU use on unused subpatches-abstracts?

2013-08-05 Thread Mario Mey
Thanks, Roman, but I'm already using [switch~] inside each FX, to stop 
processing the signal. I learned it some time ago, from here:


http://puredata.hurleur.com/viewtopic.php?pid=35939#p35939

But I think that [receive~] and [throw~] are still using CPU.

I didn't try to use inlet~ and outlet~, because I have to make 400 
conections at hand... that's why I asking first. If it will work, I'll 
do it (or find a way to automatically do it)






El 05/08/13 09:29, Roman Haefeli escribió:

Hi Mario

Check [switch~] and its help patch.

Roman


On Mon, 2013-08-05 at 09:03 -0300, Mario Mey wrote:

Hi, there... I really need some help.

I'm working on a looper-multi-effects (big) patch. It has more than,
more or less, 100 stereo FXs. They are all inside the patch as
abstracts. But, to avoid them to consume CPU, each one has a [switch~ 0]
if it is not working. So, there're only two FX at a time, where the DSP
is on. Something like this:

Main patch:

adc~
| \
| [s $0-pre-r]
[s $0-pre-l]

[catch~ $0-post-l]
| [catch~ $0-post-r]
|/
[dac~]

(the same for

Each FX as file-abstracts (using [fx1 $0] to call them) inside the main
patch:

[r $1-pre-l]   [r $1-pre-r]
|  /
[The-FX-itself.]
|  \
[throw~ $1-post-l] [throw~ $1-post-r]


[0( [1(
|   /
[switch~]


This technics DOES work very well.  Buuut... when having 100 FX at the
same time (even not working), the CPU increase 15-20%. I repeat,
there're only two FX working at the time. The rest are turned-off.

For now, the CPU use is:

Ready-to-use, 2 FXs on, DSP on: 47%
Recorded and playing 8 stereo-banks, 2 FXs being used, DSP on: 60 - 62%
(I have quite a few XRUNS)
Ready-to-use, 2 FXs on, DSP off: 7%

As you can see, the non-signal processing is very low.

What I think is that each FX is working when receiving and/or throwing
signal (200 [receive~] and [throw~] objects)... even they are sending
and/or processing nothing.

Is there any other way to connect all the FXs to the main patch and to
have a lower CPU consumption?

Maybe [inlet~] and [outlet~] consume less CPU? (I should connect all the
FX at hand... or find a aumotated way to do it)

Thanks a lot.




Mario Mey

___
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] How to reduce CPU use on unused subpatches-abstracts?

2013-08-05 Thread Mario Mey
Hi, J. Thanks for the response. Following some suggestion (from you, 
Maelstorm, Servando Barreiro), I made some tests. I took the dare to 
post your mail in the thread... maybe it's better to post there, if 
anyone has the same problem or just wants to learn.


Here is the thread: http://puredata.hurleur.com/viewtopic.php?pid=37895

I answer your mail right there. Could you take a look?

Anyway, as I writed there, I WILL CHECK IT AGAIN, AND I WILL DO SOME 
OTHER TESTS.






El 05/08/13 10:36, J Oliver escribió:

Hi Mario,

There is a thread somewhere about connections vs. s/r  throw/catch, don't have 
time right now to search for it, but I'm sure it is there. If I remember correctly 
the overhead is not that big and you don't want to be connecting all that stuff by 
hand.

In any case, there are other things to look for.

If you are using graphics objects, or objects like env~ you might want to bring 
down the refresh rate. Are there any [metro 1] or similar objects lying around 
which you might have forgotten about?

Do you have a lot of GOP? I am not sure this is entirely relevant, but it might 
be worth researching...

Also, control operations do take some cpu. do you have a big control layer?

J


Thanks, Roman, but I'm already using [switch~] inside each FX, to stop 
processing the signal. I learned it some time ago, from here:

http://puredata.hurleur.com/viewtopic.php?pid=35939#p35939

But I think that [receive~] and [throw~] are still using CPU.

I didn't try to use inlet~ and outlet~, because I have to make 400 conections 
at hand... that's why I asking first. If it will work, I'll do it (or find a 
way to automatically do it)





El 05/08/13 09:29, Roman Haefeli escribió:

Hi Mario

Check [switch~] and its help patch.

Roman


On Mon, 2013-08-05 at 09:03 -0300, Mario Mey wrote:

Hi, there... I really need some help.

I'm working on a looper-multi-effects (big) patch. It has more than,
more or less, 100 stereo FXs. They are all inside the patch as
abstracts. But, to avoid them to consume CPU, each one has a [switch~ 0]
if it is not working. So, there're only two FX at a time, where the DSP
is on. Something like this:

Main patch:

adc~
| \
| [s $0-pre-r]
[s $0-pre-l]

[catch~ $0-post-l]
| [catch~ $0-post-r]
|/
[dac~]

(the same for

Each FX as file-abstracts (using [fx1 $0] to call them) inside the main
patch:

[r $1-pre-l]   [r $1-pre-r]
|  /
[The-FX-itself.]
|  \
[throw~ $1-post-l] [throw~ $1-post-r]


[0( [1(
|   /
[switch~]


This technics DOES work very well.  Buuut... when having 100 FX at the
same time (even not working), the CPU increase 15-20%. I repeat,
there're only two FX working at the time. The rest are turned-off.

For now, the CPU use is:

Ready-to-use, 2 FXs on, DSP on: 47%
Recorded and playing 8 stereo-banks, 2 FXs being used, DSP on: 60 - 62%
(I have quite a few XRUNS)
Ready-to-use, 2 FXs on, DSP off: 7%

As you can see, the non-signal processing is very low.

What I think is that each FX is working when receiving and/or throwing
signal (200 [receive~] and [throw~] objects)... even they are sending
and/or processing nothing.

Is there any other way to connect all the FXs to the main patch and to
have a lower CPU consumption?

Maybe [inlet~] and [outlet~] consume less CPU? (I should connect all the
FX at hand... or find a aumotated way to do it)

Thanks a lot.




Mario Mey

___
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



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


[PD] Using opensource graphic drivers, Pd-extended turn all the computer VERY SLOW.

2012-06-22 Thread Mario Mey
Hi, everybody. I work with 3D engine (Blender) on Ubuntu 12.04. One year 
ago, I bought a HP (Pavilion dv6 3160us) with two graphic cards and I 
just make the discrete card (ATI 5650) work TODAY! (yes, one year 
later). It is working on open source drivers. Everything seems to be OK 
(well, now the computer is 80º celcius, now)... but, in the moment I run 
Pd or Pd-Extended (that controls all the audio: sounds, music, effects, 
etc), the computer gets VERY SLOW. Everything, from the 3D Engine to 
moving windows or running any other application or writting this mail.


I looked at the cpu monitor and it's ok. Pd is using 8% of CPU.
If I turn DSP off, everything gets normal.
It doesn't matter if it uses ALSA or Jack: it's the same.
It doesn't matter if I use the discrette or the integrated graphic card: 
it's the same.


Using Pd from Ubuntu Software Center and Pd-Extended from 
http://www.mail-archive.com/pd-list@iem.at/msg51542.html


Any idea?

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


Re: [PD] Compiling...

2011-07-07 Thread Mario Mey
With liblua5.1-0-dev installed, it could compile. Now, I have the 
.deb... trying to install with Software Center, I couldn't. Using dpkg 
-i Pddeb, I have this:


mario@Mario-PK3D:~/pd-extended/packages/linux_make$ sudo dpkg -i 
Pd-0.43.1-extended-20110706.deb

[sudo] password for mario:
(Leyendo la base de datos ... 253108 ficheros o directorios instalados 
actualmente.)
Preparando para reemplazar pd-extended 0.42.5-2 (usando 
Pd-0.43.1-extended-20110706.deb) ...

Desempaquetando el reemplazo de pd-extended ...
dpkg: error al procesar Pd-0.43.1-extended-20110706.deb (--install):
 intentando sobreescribir `/usr/bin/pd', que está también en el paquete 
puredata 0.42.6-2

dpkg-deb: error: el subproceso copiado se mató con la señal *(Tubería rota)*
Se encontraron errores al procesar:
 Pd-0.43.1-extended-20110706.deb
mario@Mario-PK3D:~/pd-extended/packages/linux_make$

I don't know why it says Broken pipe. Then I write dpkg -i 
--force-all Pd...deb and it installed...


/mario@Mario-PK3D:~/pd-extended/packages/linux_make$ sudo dpkg -i 
--force-all Pd-0.43.1-extended-20110706.deb
(Leyendo la base de datos ... 253108 ficheros o directorios instalados 
actualmente.)
Preparando para reemplazar pd-extended 0.42.5-2 (usando 
Pd-0.43.1-extended-20110706.deb) ...

Desempaquetando el reemplazo de pd-extended ...
dpkg: aviso: sobreseyendo el problema porque está activa la opción --force:

 intentando sobreescribir `/usr/bin/pd', que está también en el paquete 
puredata 0.42.6-2

dpkg: aviso: sobreseyendo el problema porque está activa la opción --force:

 intentando sobreescribir `/usr/include/m_pd.h', que está también en el 
paquete puredata 0.42.6-2

Configurando pd-extended (0.43.1~cvs20110706-1) ...
Procesando disparadores para hicolor-icon-theme ...
Procesando disparadores para bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Procesando disparadores para desktop-file-utils ...
Procesando disparadores para python-gmenu ...
Rebuilding /usr/share/applications/desktop.es_AR.utf8.cache...
Procesando disparadores para shared-mime-info ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Unknown media type in type 'interface/x-winamp-skin'
Procesando disparadores para man-db ...
Procesando disparadores para ureadahead ...
Procesando disparadores para python-support ...
mario@Mario-PK3D:~/pd-extended/packages/linux_make$ sudo dpkg -i 
--force-all Pd-0.43.1-extended-20110706.deb

Seleccionando el paquete pd-extended previamente no seleccionado.
(Leyendo la base de datos ... 246529 ficheros o directorios instalados 
actualmente.)

Desempaquetando pd-extended (de Pd-0.43.1-extended-20110706.deb) ...
Configurando pd-extended (0.43.1~cvs20110706-1) ...
Procesando disparadores para hicolor-icon-theme ...
Procesando disparadores para bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Procesando disparadores para desktop-file-utils ...
Procesando disparadores para python-gmenu ...
Rebuilding /usr/share/applications/desktop.es_AR.utf8.cache...
Procesando disparadores para shared-mime-info ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Unknown media type in type 'interface/x-winamp-skin'
Procesando disparadores para man-db ...
Procesando disparadores para ureadahead ...
Procesando disparadores para python-support ...
/

I don't find the pd-extended or pdextended to run it from terminal, 
neither the icon appear in the Ubuntu Menu. If I run 
/usr/lib/pd-extended/bin/pd... Pd-Extended runs... but with very very 
ugly and small font. There're a lot of boxes - commands that don't work:


From TIME: delay, line, timer, cputime, realtime, pipe
From MATH: random
From MIDI: all
From MISC: all, less declare
From AUDIO MATH: the most
From AUDIO GLUE: dac~, adc~, bang~
From AUDIO DELAY: All

Also, the bang (Ctrl-Shift-B) and toogle (Ctrl-Shift-B) don't work. 
Instead of that, it appears:


bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1
tgl 15 0 empty empty empty 17 7 0 10 -203904 -1 -1 1 1



I think it is not completly installed...?




El 06/07/11 17:57, Martin Peach escribió:

On 2011-07-06 16:42, Mario Mey wrote:

*pdlua.c:40:17: fatal error: lua.h: No existe el fichero o el 
directorio*

*compilation terminated.


You need to install the lua-dev package.

Martin


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


Re: [PD] Compiling...

2011-07-06 Thread Mario Mey

Ok remeve gem and gem2pdp. Now, I have these last lines:

/[...]
chmod a-x helplink.pd_linux
make[3]: se sale del directorio «/home/mario/pd-extended/externals/pddp»
make -C /home/mario/pd-extended/externals/loaders/pdlua/src 
PD_PATH=/home/mario/pd-extended/pd CFLAGS=-DPD 
-I/home/mario/pd-extended/pd/src -Wall -W -ggdb 
-I/home/mario/pd-extended/externals/Gem 
-I/home/mario/pd-extended/externals/pdp/include -DUNIX -Dunix -DDL_OPEN 
-fPIC
make[3]: se ingresa al directorio 
«/home/mario/pd-extended/externals/loaders/pdlua/src»

compiling pdlua version 0.6
cflags are -DPD -I/home/mario/pd-extended/pd/src -Wall -W -ggdb 
-I/home/mario/pd-extended/externals/Gem 
-I/home/mario/pd-extended/externals/pdp/include -DUNIX -Dunix -DDL_OPEN 
-fPIC

optcflags are -O2
luacflags are -DVERSION='0.6' -I/usr/include/lua5.1
ldflags are  -Wl,--export-dynamic  -shared -fPIC
libs are -llua5.1   -lc
cc -DPD -I/home/mario/pd-extended/pd/src -Wall -W -ggdb 
-I/home/mario/pd-extended/externals/Gem 
-I/home/mario/pd-extended/externals/pdp/include -DUNIX -Dunix -DDL_OPEN 
-fPIC -O2 -DVERSION='0.6' -I/usr/include/lua5.1  -o pdlua.o -c pdlua.c

*pdlua.c:40:17: fatal error: lua.h: No existe el fichero o el directorio*
*compilation terminated.
*make[3]: *** [pdlua.o] Error 1
make[3]: se sale del directorio 
«/home/mario/pd-extended/externals/loaders/pdlua/src»

make[2]: *** [loaders-pdlua] Error 2
make[2]: se sale del directorio «/home/mario/pd-extended/externals»
make[1]: *** [externals_install] Error 2
make[1]: se sale del directorio «/home/mario/pd-extended/packages»
make: *** [install] Error 2
mario@Mario-PK3D:~/pd-extended/packages/linux_make$ /


El 06/07/11 13:22, Hans-Christoph Steiner escribió:

That error is from compiling Gem:

make[5]: se sale del directorio
«/home/mario/pd-extended/externals/Gem/src»

So it seems that Gem is still being built.  You'll also want to remove
gem2pdp

.hc

On Wed, 06 Jul 2011 04:21 -0300, Mario Meymario...@gmail.com  wrote:

I remove the gem from that file... and the same error...





El 05/07/11 23:36, Hans-Christoph Steiner escribió:

Gem is currently broken on GNU/Linux and IOhannes is on vacation.  To
make a build, remove 'gem' from LIB_TARGETS in
pd-extended/externals/Makefile and the rest should build.

.hc

On Jul 4, 2011, at 11:47 PM, Mario Mey wrote:


Trying to compile PureData, SVN, on Ubuntu 11.04 AMD64, following the
instruction from the page http://puredata.info/docs/developer, I did:

1.- rsync from the auto-build farm (from
http://puredata.info/docs/developer/GettingPdSource)
 rsync -av --delete rsync://128.238.56.50/distros/pd-extended/
pd-extended/

2.- Preparing Ubuntu: http://puredata.info/docs/developer/UbuntuMaverick

3.- Building PD-Extended:
http://puredata.info/docs/developer/BuildingPdExtended

But there's no .tar.bz2 or .deb on
pure-data/packages/linux-make/build... These are the last lines while
compilling. What should I do? I don't understand...

/[...]
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++
-DHAVE_CONFIG_H -I. -I../../src  -I../../src  -DPD
-I/home/mario/pd-extended/pd/src  -DHAVE_S_STUFF_H -O2
-freg-struct-return -O3 -falign-loops -falign-functions -falign-jumps
-funroll-loops -ffast-math -mmmx -MT libGem_la-SynchedWorkerThread.lo
-MD -MP -MF .deps/libGem_la-SynchedWorkerThread.Tpo -c -o
libGem_la-SynchedWorkerThread.lo `test -f 'SynchedWorkerThread.cpp'
|| echo './'`SynchedWorkerThread.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src
-DPD -I/home/mario/pd-extended/pd/src -DHAVE_S_STUFF_H -O2
-freg-struct-return -O3 -falign-loops -falign-functions -falign-jumps
-funroll-loops -ffast-math -mmmx -MT libGem_la-SynchedWorkerThread.lo
-MD -MP -MF .deps/libGem_la-SynchedWorkerThread.Tpo -c
SynchedWorkerThread.cpp  -fPIC -DPIC -o
.libs/libGem_la-SynchedWorkerThread.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src
-DPD -I/home/mario/pd-extended/pd/src -DHAVE_S_STUFF_H -O2
-freg-struct-return -O3 -falign-loops -falign-functions -falign-jumps
-funroll-loops -ffast-math -mmmx -MT libGem_la-SynchedWorkerThread.lo
-MD -MP -MF .deps/libGem_la-SynchedWorkerThread.Tpo -c
SynchedWorkerThread.cpp -o libGem_la-SynchedWorkerThread.o/dev/null
21
mv -f .deps/libGem_la-SynchedWorkerThread.Tpo
.deps/libGem_la-SynchedWorkerThread.Plo
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++
-DHAVE_CONFIG_H -I. -I../../src  -I../../src  -DPD
-I/home/mario/pd-extended/pd/src  -DHAVE_S_STUFF_H -O2
-freg-struct-return -O3 -falign-loops -falign-functions -falign-jumps
-funroll-loops -ffast-math -mmmx -MT libGem_la-WorkerThread.lo -MD
-MP -MF .deps/libGem_la-WorkerThread.Tpo -c -o
libGem_la-WorkerThread.lo `test -f 'WorkerThread.cpp' || echo
'./'`WorkerThread.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src
-DPD -I/home/mario/pd-extended/pd/src -DHAVE_S_STUFF_H -O2
-freg-struct-return -O3 -falign-loops -falign-functions -falign-jumps
-funroll-loops -ffast-math -mmmx -MT libGem_la-WorkerThread.lo -MD
-MP -MF

Re: [PD] Compiling...

2011-07-06 Thread Mario Mey
The bang (Ctrl-Shift-B) and toogle (Ctrl-Shift-B) don't work. Instead of 
that, appear:


bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1
tgl 15 0 empty empty empty 17 7 0 10 -203904 -1 -1 1 1

...?





El 06/07/11 18:48, Mario Mey escribió:
With liblua5.1-0-dev installed, it could compile. Now, I have the 
.deb... trying to install with Software Center, I couldn't. Using 
dpkg -i Pddeb, neither:


mario@Mario-PK3D:~/pd-extended/packages/linux_make$ sudo dpkg -i 
Pd-0.43.1-extended-20110706.deb

[sudo] password for mario:
(Leyendo la base de datos ... 253108 ficheros o directorios instalados 
actualmente.)
Preparando para reemplazar pd-extended 0.42.5-2 (usando 
Pd-0.43.1-extended-20110706.deb) ...

Desempaquetando el reemplazo de pd-extended ...
dpkg: error al procesar Pd-0.43.1-extended-20110706.deb (--install):
 intentando sobreescribir `/usr/bin/pd', que está también en el 
paquete puredata 0.42.6-2

dpkg-deb: error: el subproceso copiado se mató con la señal (Tubería rota)
Se encontraron errores al procesar:
 Pd-0.43.1-extended-20110706.deb
mario@Mario-PK3D:~/pd-extended/packages/linux_make$

Then I write dpkg -i --force-all Pd...deb and it installed...

/mario@Mario-PK3D:~/pd-extended/packages/linux_make$ sudo dpkg -i 
--force-all Pd-0.43.1-extended-20110706.deb
(Leyendo la base de datos ... 253108 ficheros o directorios instalados 
actualmente.)
Preparando para reemplazar pd-extended 0.42.5-2 (usando 
Pd-0.43.1-extended-20110706.deb) ...

Desempaquetando el reemplazo de pd-extended ...
dpkg: aviso: sobreseyendo el problema porque está activa la opción 
--force:


 intentando sobreescribir `/usr/bin/pd', que está también en el 
paquete puredata 0.42.6-2
dpkg: aviso: sobreseyendo el problema porque está activa la opción 
--force:


 intentando sobreescribir `/usr/include/m_pd.h', que está también en 
el paquete puredata 0.42.6-2

Configurando pd-extended (0.43.1~cvs20110706-1) ...
Procesando disparadores para hicolor-icon-theme ...
Procesando disparadores para bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Procesando disparadores para desktop-file-utils ...
Procesando disparadores para python-gmenu ...
Rebuilding /usr/share/applications/desktop.es_AR.utf8.cache...
Procesando disparadores para shared-mime-info ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Unknown media type in type 'interface/x-winamp-skin'
Procesando disparadores para man-db ...
Procesando disparadores para ureadahead ...
Procesando disparadores para python-support ...
mario@Mario-PK3D:~/pd-extended/packages/linux_make$ sudo dpkg -i 
--force-all Pd-0.43.1-extended-20110706.deb

Seleccionando el paquete pd-extended previamente no seleccionado.
(Leyendo la base de datos ... 246529 ficheros o directorios instalados 
actualmente.)

Desempaquetando pd-extended (de Pd-0.43.1-extended-20110706.deb) ...
Configurando pd-extended (0.43.1~cvs20110706-1) ...
Procesando disparadores para hicolor-icon-theme ...
Procesando disparadores para bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Procesando disparadores para desktop-file-utils ...
Procesando disparadores para python-gmenu ...
Rebuilding /usr/share/applications/desktop.es_AR.utf8.cache...
Procesando disparadores para shared-mime-info ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Unknown media type in type 'interface/x-winamp-skin'
Procesando disparadores para man-db ...
Procesando disparadores para ureadahead ...
Procesando disparadores para python-support ...
/

I don't find the pd-extended or pdextended to run it from terminal, 
neither the icon appear in the Ubuntu Menu. If I run 
/usr/lib/pd-extended/bin/pd... Pd-Extended runs... but with very very 
ugly font. There're a lot of boxes - commands that don't work:


From TIME: delay, line, timer, cputime, realtime, pipe (don't work)
From MATH: random
From MIDI: all
From MISC: all, less declare
From AUDIO MATH: the most
From AUDIO GLUE: dac~, adc~, bang~
From AUDIO DELAY: All


I think it is not completly installed...







El 06/07/11 17:57, Martin Peach escribió:

On 2011-07-06 16:42, Mario Mey wrote:

*pdlua.c:40:17: fatal error: lua.h: No existe el fichero o el 
directorio*

*compilation terminated.


You need to install the lua-dev package.

Martin




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


Re: [PD] Compiling...

2011-07-06 Thread Mario Mey
With liblua5.1-0-dev installed, it could compile. Now, I have the 
.deb... trying to install with Software Center, I couldn't. Using dpkg 
-i Pddeb, neither:


mario@Mario-PK3D:~/pd-extended/packages/linux_make$ sudo dpkg -i 
Pd-0.43.1-extended-20110706.deb

[sudo] password for mario:
(Leyendo la base de datos ... 253108 ficheros o directorios instalados 
actualmente.)
Preparando para reemplazar pd-extended 0.42.5-2 (usando 
Pd-0.43.1-extended-20110706.deb) ...

Desempaquetando el reemplazo de pd-extended ...
dpkg: error al procesar Pd-0.43.1-extended-20110706.deb (--install):
 intentando sobreescribir `/usr/bin/pd', que está también en el paquete 
puredata 0.42.6-2

dpkg-deb: error: el subproceso copiado se mató con la señal (Tubería rota)
Se encontraron errores al procesar:
 Pd-0.43.1-extended-20110706.deb
mario@Mario-PK3D:~/pd-extended/packages/linux_make$

Then I write dpkg -i --force-all Pd...deb and it installed...

/mario@Mario-PK3D:~/pd-extended/packages/linux_make$ sudo dpkg -i 
--force-all Pd-0.43.1-extended-20110706.deb
(Leyendo la base de datos ... 253108 ficheros o directorios instalados 
actualmente.)
Preparando para reemplazar pd-extended 0.42.5-2 (usando 
Pd-0.43.1-extended-20110706.deb) ...

Desempaquetando el reemplazo de pd-extended ...
dpkg: aviso: sobreseyendo el problema porque está activa la opción --force:

 intentando sobreescribir `/usr/bin/pd', que está también en el paquete 
puredata 0.42.6-2

dpkg: aviso: sobreseyendo el problema porque está activa la opción --force:

 intentando sobreescribir `/usr/include/m_pd.h', que está también en el 
paquete puredata 0.42.6-2

Configurando pd-extended (0.43.1~cvs20110706-1) ...
Procesando disparadores para hicolor-icon-theme ...
Procesando disparadores para bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Procesando disparadores para desktop-file-utils ...
Procesando disparadores para python-gmenu ...
Rebuilding /usr/share/applications/desktop.es_AR.utf8.cache...
Procesando disparadores para shared-mime-info ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Unknown media type in type 'interface/x-winamp-skin'
Procesando disparadores para man-db ...
Procesando disparadores para ureadahead ...
Procesando disparadores para python-support ...
mario@Mario-PK3D:~/pd-extended/packages/linux_make$ sudo dpkg -i 
--force-all Pd-0.43.1-extended-20110706.deb

Seleccionando el paquete pd-extended previamente no seleccionado.
(Leyendo la base de datos ... 246529 ficheros o directorios instalados 
actualmente.)

Desempaquetando pd-extended (de Pd-0.43.1-extended-20110706.deb) ...
Configurando pd-extended (0.43.1~cvs20110706-1) ...
Procesando disparadores para hicolor-icon-theme ...
Procesando disparadores para bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Procesando disparadores para desktop-file-utils ...
Procesando disparadores para python-gmenu ...
Rebuilding /usr/share/applications/desktop.es_AR.utf8.cache...
Procesando disparadores para shared-mime-info ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Unknown media type in type 'interface/x-winamp-skin'
Procesando disparadores para man-db ...
Procesando disparadores para ureadahead ...
Procesando disparadores para python-support ...
/

I don't find the pd-extended or pdextended to run it from terminal, 
neither the icon appear in the Ubuntu Menu. If I run 
/usr/lib/pd-extended/bin/pd... Pd-Extended runs... but with very very 
ugly font. There're a lot of boxes - commands that don't work:


From TIME: delay, line, timer, cputime, realtime, pipe (don't work)
From MATH: random
From MIDI: all
From MISC: all, less declare
From AUDIO MATH: the most
From AUDIO GLUE: dac~, adc~, bang~
From AUDIO DELAY: All


I think it is not completly installed...







El 06/07/11 17:57, Martin Peach escribió:

On 2011-07-06 16:42, Mario Mey wrote:

*pdlua.c:40:17: fatal error: lua.h: No existe el fichero o el 
directorio*

*compilation terminated.


You need to install the lua-dev package.

Martin


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


[PD] Compiling...

2011-07-04 Thread Mario Mey
Trying to compile PureData, SVN, on Ubuntu 11.04 AMD64, following the 
instruction from the page http://puredata.info/docs/developer, I did:


1.- rsync from the auto-build farm (from 
http://puredata.info/docs/developer/GettingPdSource)
rsync -av --delete rsync://128.238.56.50/distros/pd-extended/ 
pd-extended/


2.- Preparing Ubuntu: http://puredata.info/docs/developer/UbuntuMaverick

3.- Building PD-Extended: 
http://puredata.info/docs/developer/BuildingPdExtended


But there's no .tar.bz2 or .deb on  
pure-data/packages/linux-make/build... These are the last lines while 
compilling. What should I do? I don't understand...


/[...]
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H 
-I. -I../../src  -I../../src  -DPD -I/home/mario/pd-extended/pd/src  
-DHAVE_S_STUFF_H -O2 -freg-struct-return -O3 -falign-loops 
-falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -MT 
libGem_la-SynchedWorkerThread.lo -MD -MP -MF 
.deps/libGem_la-SynchedWorkerThread.Tpo -c -o 
libGem_la-SynchedWorkerThread.lo `test -f 'SynchedWorkerThread.cpp' || 
echo './'`SynchedWorkerThread.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DPD 
-I/home/mario/pd-extended/pd/src -DHAVE_S_STUFF_H -O2 
-freg-struct-return -O3 -falign-loops -falign-functions -falign-jumps 
-funroll-loops -ffast-math -mmmx -MT libGem_la-SynchedWorkerThread.lo 
-MD -MP -MF .deps/libGem_la-SynchedWorkerThread.Tpo -c 
SynchedWorkerThread.cpp  -fPIC -DPIC -o 
.libs/libGem_la-SynchedWorkerThread.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DPD 
-I/home/mario/pd-extended/pd/src -DHAVE_S_STUFF_H -O2 
-freg-struct-return -O3 -falign-loops -falign-functions -falign-jumps 
-funroll-loops -ffast-math -mmmx -MT libGem_la-SynchedWorkerThread.lo 
-MD -MP -MF .deps/libGem_la-SynchedWorkerThread.Tpo -c 
SynchedWorkerThread.cpp -o libGem_la-SynchedWorkerThread.o /dev/null 21
mv -f .deps/libGem_la-SynchedWorkerThread.Tpo 
.deps/libGem_la-SynchedWorkerThread.Plo
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H 
-I. -I../../src  -I../../src  -DPD -I/home/mario/pd-extended/pd/src  
-DHAVE_S_STUFF_H -O2 -freg-struct-return -O3 -falign-loops 
-falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -MT 
libGem_la-WorkerThread.lo -MD -MP -MF .deps/libGem_la-WorkerThread.Tpo 
-c -o libGem_la-WorkerThread.lo `test -f 'WorkerThread.cpp' || echo 
'./'`WorkerThread.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DPD 
-I/home/mario/pd-extended/pd/src -DHAVE_S_STUFF_H -O2 
-freg-struct-return -O3 -falign-loops -falign-functions -falign-jumps 
-funroll-loops -ffast-math -mmmx -MT libGem_la-WorkerThread.lo -MD -MP 
-MF .deps/libGem_la-WorkerThread.Tpo -c WorkerThread.cpp  -fPIC -DPIC -o 
.libs/libGem_la-WorkerThread.o
WorkerThread.cpp: In member function 'bool 
gem::thread::WorkerThread::PIMPL::start()':
WorkerThread.cpp:135:22: error: aggregate 
'gem::thread::WorkerThread::PIMPL::start()::timeval sleep' has 
incomplete type and cannot be defined

WorkerThread.cpp:139:28: error: 'select' was not declared in this scope
make[6]: *** [libGem_la-WorkerThread.lo] Error 1
make[6]: se sale del directorio 
«/home/mario/pd-extended/externals/Gem/src/Gem»

make[5]: *** [all-recursive] Error 1
make[5]: se sale del directorio «/home/mario/pd-extended/externals/Gem/src»
make[4]: *** [all] Error 2
make[4]: se sale del directorio «/home/mario/pd-extended/externals/Gem/src»
make[3]: *** [all-recursive] Error 1
make[3]: se sale del directorio «/home/mario/pd-extended/externals/Gem»
make[2]: *** [/home/mario/pd-extended/externals/Gem/Gem.pd_linux] Error 2
make[2]: se sale del directorio «/home/mario/pd-extended/externals»
make[1]: *** [externals_install] Error 2
make[1]: se sale del directorio «/home/mario/pd-extended/packages»
make: *** [install] Error 2
ls: no se puede acceder a 
/home/mario/pd-extended/packages/linux_make/./Pd*.deb: No existe el 
fichero o el directorio

upload specs linux_make . deb
Uploading
Unexpected local arg: debian
If arg is a remote file/dir, prefix it with a colon (:).
rsync error: syntax or usage error (code 1) at main.c(1236) [Receiver=3.0.7]
mario@Mario-PK3D:~$

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


[PD] Extended version for Natty AMD64?

2011-07-03 Thread Mario Mey
Hello, everybody. Is there any build for Natty AMD64 of the Extended 
version? For the moment, I don't want to compile it...


Thanks!

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


Re: [PD] Extended version for Natty AMD64?

2011-07-03 Thread Mario Mey

Thanks for the reply.

Yes, at the moment, I'm using 0.42.5 Lucid 64bits. I just tried to 
install the 0.43.5 Lucid 64 DEB with no luck.


I think I should compile... The only soft I compile in my life is 
Blender from SVN. I don't think compiling PD would be difficult... but I 
don't find a step-by-step tutorial to do it. Do you know any?


From 
http://pure-data.git.sourceforge.net/git/gitweb.cgi?p=pure-data/pd-extended.git;a=summary, 
I can get the branch... but it's only 2MB. Where are the externals... or 
all the other data?







El 03/07/11 12:59, John Harrison escribió:


I used 64 bit from lucid on my natty machine. I think I had to use gem 
from the repos but otherwise it works fine.


Sent from my cell...

On Jul 3, 2011 10:57 AM, Mario Mey mario...@gmail.com 
mailto:mario...@gmail.com wrote:

 Hello, everybody. Is there any build for Natty AMD64 of the Extended
 version? For the moment, I don't want to compile it...

 Thanks!

 ___
 Pd-list@iem.at mailto: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