[PD] audacity and PD problems with Jack

2008-04-13 Thread altern
hi

I am using Audacity to record output of PD via Jack on Ubuntu Studio. I 
am also having supercollider sending audio to PD. Audacity is causing 
some discontinuities in the audio and the recording has gaps every 5-10 
secs. I tried recording with supercollider and i did not get this problem.

Could anyone suggest some basic sound recorder that works with jack? I 
just need to record the jack output, no need for multitrack or editing, 
just be able to select the sound format, frequency and amplitude maybe.

There are some I saw searching with synaptics but I thought maybe 
someone here has some suggestion.

thanks

enrike

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


[PD] clear sounding patches

2008-04-13 Thread punchik punchik
hello,  i  been working on supercollider and csound some years ago, and i can 
really notice pd sounds quality is not as good as them.  
   
  i was thinking to  rewrite my old pd patches...
  because i dont like the sound quality.
  i read before at this list that pd quality depends of a lot of factorsi 
think it object has a diferent algorithm that defines its quality...
   
  i compared and sine oscillater on supercollider and pd  and pds one sounds 
poor.
   
  i was thinking maybe i can change the object that sound not as good in pd, 
for example using csoundapi~ for creating a sinosc ... and so on so i dont 
need to rewrite the all patch in supercollider.
   
  i would like to know which objects has the very sound quality in pd, maybe 
some somebody has any experiency with something similar to share?
  i never tried csoundapi but  
  can i change all the pds objects like bp, or hp , sin, saw, etc  with 
csoundapi~ and its respective code in csound, maybe there are good sounding 
libraries of object that does the same as pds native objects?
   
  any idea?
   
  thanks.
   
  and sorry for the question im stooned
   
   
   
   
   

 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com ___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] audacity and PD problems with Jack

2008-04-13 Thread Claude Heiland-Allen
altern wrote:
> Could anyone suggest some basic sound recorder that works with jack?

ecasound




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


Re: [PD] pduino and FSRs

2008-04-13 Thread nick burge


Hello Martin, you are absolutely spot on here. In fact I want the numbers to
go up as I apply pressure so I've swapped the fsr and 10k as you suggest and
all works perfectly. No need for the expensive voltage divider then and more
difficult to calibrate several of them equally when a 10k resistor does the
job.
Thank you to everybody on pd list who have helped me sort this out. 
Nick.



FSR have a very _high_ resistance with no force. The resistance goes down
when you apply pressure. The circuit needs to look like this:

5V
|
10k
|
+--analog in
|
FSR
|
Ground

This will give a number that goes down as force is applied. If you want the
number to increase, switch the 10k and FSR.

Looking at the (considerably more expensive than a 10k resistor) phidget
voltage divider I see that the resistance is a multi-turn 1Meg
potentiometer. If it is set to zero ohms then pressing a sensor will short
out the power supply.
Also by convention the red wire is 5V, the black wire is ground and the
white is the analog signal.

Martin


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


Re: [PD] lua scripting for pd objects

2008-04-13 Thread Frank Barknecht
Hallo,
chris clepper hat gesagt: // chris clepper wrote:

> C++ - Jamie did a lot of this for his personal use.
> 
> I have not used luagl, but I suspect it will not be comparable to C in
> speed.

luagl is not as fast as C, but it's already much faster than using
lots of separators or double gemheads. 

Regarding Gem-externals: Does anyone have a simple template project
how to write and compile a custom Gem external? This could be very
useful, but I'm a bit confused how to do this in a simple way.

Ciao
-- 
 Frank Barknecht _ __footils.org__

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


Re: [PD] lua scripting for pd objects

2008-04-13 Thread cyrille henry

hello,

Frank Barknecht a écrit :

Hallo,
chris clepper hat gesagt: // chris clepper wrote:


C++ - Jamie did a lot of this for his personal use.

I have not used luagl, but I suspect it will not be comparable to C in
speed.


luagl is not as fast as C, but it's already much faster than using
lots of separators or double gemheads. 


Regarding Gem-externals: Does anyone have a simple template project
how to write and compile a custom Gem external? This could be very
useful, but I'm a bit confused how to do this in a simple way.




use a gem object (like cube).
search and replace "cube" by the name of your object in both the ccp and h file.
use this makefile (adjust the name of the file / src directory).
it should compile.

cyrille



Ciao
PD_DIR = /home/nusmuk/pd/pd/src
GEM_DIR = /home/nusmuk/pd/Gem/src

LIBS =  -lm

# build flags

INCLUDE =  -I$(PD_DIR) -I.  -I$(GEM_DIR) -I$(PD_DIR)
CPPFLAGS  = -DPD -O2 -funroll-loops -fomit-frame-pointer  -ffast-math \
-Wall -W -Wno-unused -Wno-parentheses -Wno-switch -g

all:test.pd_linux 
rm -f *.o

.SUFFIXES: .pd_linux

clean:
rm -f *.o
rm -f *.pd_linux

.cpp.o:
g++ $(CPPFLAGS) $(INCLUDE) -o $*.o -c $*.cpp

.cpp.pd_linux:
g++ $(CPPFLAGS) $(INCLUDE) -o $*.o -c $*.cpp
gcc -export_dynamic -shared -o $*.pd_linux $*.o $(LIBS)
rm -f *.o








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


Re: [PD] audacity and PD problems with Jack

2008-04-13 Thread Andy Farnell


Timemachine is a really cool utility.

On Sun, 13 Apr 2008 10:46:14 +0200
altern <[EMAIL PROTECTED]> wrote:

> hi
> 
> I am using Audacity to record output of PD via Jack on Ubuntu Studio. I 
> am also having supercollider sending audio to PD. Audacity is causing 
> some discontinuities in the audio and the recording has gaps every 5-10 
> secs. I tried recording with supercollider and i did not get this problem.
> 
> Could anyone suggest some basic sound recorder that works with jack? I 
> just need to record the jack output, no need for multitrack or editing, 
> just be able to select the sound format, frequency and amplitude maybe.
> 
> There are some I saw searching with synaptics but I thought maybe 
> someone here has some suggestion.
> 
> thanks
> 
> enrike
> 
> ___
> PD-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list


-- 
Use the source

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


Re: [PD] audacity and PD problems with Jack

2008-04-13 Thread Matt Barber
If you do end up needing more gui sound editing capabilities, you
might also try rezound.

>  Date: Sun, 13 Apr 2008 10:46:14 +0200
>  From: altern <[EMAIL PROTECTED]>
>  Subject: [PD] audacity and PD problems with Jack
>  To: the PureData - mailinglist 
>  Message-ID: <[EMAIL PROTECTED]>
>  Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>  hi
>
>  I am using Audacity to record output of PD via Jack on Ubuntu Studio. I
>  am also having supercollider sending audio to PD. Audacity is causing
>  some discontinuities in the audio and the recording has gaps every 5-10
>  secs. I tried recording with supercollider and i did not get this problem.
>
>  Could anyone suggest some basic sound recorder that works with jack? I
>  just need to record the jack output, no need for multitrack or editing,
>  just be able to select the sound format, frequency and amplitude maybe.
>
>  There are some I saw searching with synaptics but I thought maybe
>  someone here has some suggestion.
>
>  thanks
>
>  enrike
>

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


Re: [PD] audacity and PD problems with Jack

2008-04-13 Thread Derek Holzer
Audacity is really lame with Jack. It's [retty lame in general, 
actually, but unless something changed recently, the fact that it has no 
native Jack support is pretty bad...

I second Andy's vote for Timemachine. Only problem with Timemachine is 
that you get a directory full of timecoded recordings that you might 
have to rename into something memorable later.

I use Rezound for editing as well, but it's not a good Jack client so 
the recording capability isn;t useful. But for destructive editing it's 
the best.

ciao,
d.

Andy Farnell wrote:
> 
> Timemachine is a really cool utility.
> 
> On Sun, 13 Apr 2008 10:46:14 +0200
> altern <[EMAIL PROTECTED]> wrote:

>> Could anyone suggest some basic sound recorder that works with jack? I 
>> just need to record the jack output, no need for multitrack or editing, 
>> just be able to select the sound format, frequency and amplitude maybe.
>>
>> There are some I saw searching with synaptics but I thought maybe 
>> someone here has some suggestion.
>>
>> thanks
>>
>> enrike
>>
>> ___
>> PD-list@iem.at mailing list
>> UNSUBSCRIBE and account-management -> 
>> http://lists.puredata.info/listinfo/pd-list
> 
> 

-- 
derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/macumbista
---Oblique Strategy # 50:
"Distort time"

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


Re: [PD] audacity and PD problems with Jack

2008-04-13 Thread Tim Blechmann
> Audacity is really lame with Jack. It's [retty lame in general,
> actually, but unless something changed recently, the fact that it has no
> native Jack support is pretty bad...

well, audacity uses portaudio to talk with jack, which is not generally 
bad ... 
i guess it is more a problem, how audacity talks to portaudio, than 
portaudio's jack backend ... i am using portaudio myself to connect nova 
to jack and it is running really stable ...

cheers, tim

-- 
[EMAIL PROTECTED]
http://tim.klingt.org

Linux is like a wigwam: no windows, no gates, apache inside, stable.


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


Re: [PD] lua scripting for pd objects

2008-04-13 Thread Frank Barknecht
Hallo,
cyrille henry hat gesagt: // cyrille henry wrote:

> >luagl is not as fast as C, but it's already much faster than using
> >lots of separators or double gemheads. 
> >
> >Regarding Gem-externals: Does anyone have a simple template project
> >how to write and compile a custom Gem external? This could be very
> >useful, but I'm a bit confused how to do this in a simple way.
> >
> 
> 
> use a gem object (like cube).
> search and replace "cube" by the name of your object in both the ccp and h 
> file.
> use this makefile (adjust the name of the file / src directory).
> it should compile.

Thanks a lot Cyrille. I made a little "benchmark" of a [linebuffer]
object in luagl vs. a quickly hacked C++ version (warning, very ugly
code!! Includes bugs I didn't care to fix for now.)

In this case, Lua does compare quite well with the C++ version on my
machine.

Ciao
-- 
 Frank Barknecht _ __footils.org__


lua-c-gemtest.tgz
Description: GNU Unix tar archive
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] GEM and PDP-PiDiP

2008-04-13 Thread Jack

Hello,

I have a problem when i use GEM and PDP at the same time with pd- 
extended 0.39.3 on MacOSX.4.11 (powerbook G4).
When i draw a square in the GEM window and start a video in X11  
window with [pdp_yqt], the square in GEM window disappears. (See the  
patch attached).


An other thing : with pd-extended 0.40.3 20080406 and  [pdp_yqt], i  
get an error with the same video (.mov jpeg codec) :

pdp_yqt: opening /Users/rybn12/Desktop/PD9.5/normalJPEG.mov
pdp_yqt: unsupported video codec

Any idea ?
++

Jack



GEMandPIDIP.pd
Description: Binary data
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] display lists - was: Re: lua scripting for pd objects

2008-04-13 Thread Thomas Grill
Hi,
i really have next to no GEM knowledge, but i was always asking  
myself whether GEM compiles the GL commands to display lists.
If yes, is that structured by using separate gemheads, if no, why  
isn't it used?
If display lists are used i would think it shouldn't make a lot of  
difference which language is used for the GL commands (apart from  
changing parameters maybe).
gr~~~


Am 13.04.2008 um 16:38 schrieb Frank Barknecht:

> Hallo,
> cyrille henry hat gesagt: // cyrille henry wrote:
>
>>> luagl is not as fast as C, but it's already much faster than using
>>> lots of separators or double gemheads.
>>>
>>> Regarding Gem-externals: Does anyone have a simple template project
>>> how to write and compile a custom Gem external? This could be very
>>> useful, but I'm a bit confused how to do this in a simple way.
>>>
>>
>>
>> use a gem object (like cube).
>> search and replace "cube" by the name of your object in both the  
>> ccp and h
>> file.
>> use this makefile (adjust the name of the file / src directory).
>> it should compile.
>
> Thanks a lot Cyrille. I made a little "benchmark" of a [linebuffer]
> object in luagl vs. a quickly hacked C++ version (warning, very ugly
> code!! Includes bugs I didn't care to fix for now.)
>
> In this case, Lua does compare quite well with the C++ version on my
> machine.
>
> Ciao
> -- 
>  Frank Barknecht _  
> __footils.org__ gemtest.tgz>___
> 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] GEM and PDP-PiDiP

2008-04-13 Thread IOhannes m zmölnig
Jack wrote:
> Hello,
> 
> I have a problem when i use GEM and PDP at the same time with
> pd-extended 0.39.3 on MacOSX.4.11 (powerbook G4).
> When i draw a square in the GEM window and start a video in X11 window
> with [pdp_yqt], the square in GEM window disappears. (See the patch
> attached).

i have no idea, but try disabling threaded packet handling in pdp (in
case it is turned on)

mfgadr
IOhannes

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


Re: [PD] display lists - was: Re: lua scripting for pd objects

2008-04-13 Thread chris clepper
A display list is useful for static geometry which is why it makes sense for
the model object.  It does not make much sense for the Geos that allow the
changing of the vertex data (sphere, cylinder, etc) since the compiling of
the list has to be done for each change which adds overhead.

I think someone did make an example of building a display list per gemhead
and then calling the list for rendering in another.

On Sun, Apr 13, 2008 at 11:40 AM, Thomas Grill <[EMAIL PROTECTED]> wrote:

> Hi,
> i really have next to no GEM knowledge, but i was always asking
> myself whether GEM compiles the GL commands to display lists.
> If yes, is that structured by using separate gemheads, if no, why
> isn't it used?
> If display lists are used i would think it shouldn't make a lot of
> difference which language is used for the GL commands (apart from
> changing parameters maybe).
> gr~~~
>
>
> Am 13.04.2008 um 16:38 schrieb Frank Barknecht:
>
> > Hallo,
> > cyrille henry hat gesagt: // cyrille henry wrote:
> >
> >>> luagl is not as fast as C, but it's already much faster than using
> >>> lots of separators or double gemheads.
> >>>
> >>> Regarding Gem-externals: Does anyone have a simple template project
> >>> how to write and compile a custom Gem external? This could be very
> >>> useful, but I'm a bit confused how to do this in a simple way.
> >>>
> >>
> >>
> >> use a gem object (like cube).
> >> search and replace "cube" by the name of your object in both the
> >> ccp and h
> >> file.
> >> use this makefile (adjust the name of the file / src directory).
> >> it should compile.
> >
> > Thanks a lot Cyrille. I made a little "benchmark" of a [linebuffer]
> > object in luagl vs. a quickly hacked C++ version (warning, very ugly
> > code!! Includes bugs I didn't care to fix for now.)
> >
> > In this case, Lua does compare quite well with the C++ version on my
> > machine.
> >
> > Ciao
> > --
> >  Frank Barknecht _
> > __footils.org__ > gemtest.tgz>___
> > 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] GEM and PDP-PiDiP

2008-04-13 Thread chris clepper
I had to make some changes to the GEM code for 10.5 in order to make the
window come to the foreground.  I would guess that PDP also has some way to
make its window the topmost window and there might be some sort of
conflict.  You can also make the gemwin disappear by opening the dialog in
pix_video and have to send a create message back to the gemwin after the
dialog is closed.

Maybe the app has to be sent to the foreground every time through the
drawing routines are called.  That is probably bad behavior though.

On Sun, Apr 13, 2008 at 11:20 AM, Jack <[EMAIL PROTECTED]> wrote:

> Hello,
>
> I have a problem when i use GEM and PDP at the same time with pd-extended
> 0.39.3 on MacOSX.4.11 (powerbook G4).
> When i draw a square in the GEM window and start a video in X11 window
> with [pdp_yqt], the square in GEM window disappears. (See the patch
> attached).
>
> An other thing : with pd-extended 0.40.3 20080406 and  [pdp_yqt], i get an
> error with the same video (.mov jpeg codec) :
> pdp_yqt: opening /Users/rybn12/Desktop/PD9.5/normalJPEG.mov
> pdp_yqt: unsupported video codec
>
> Any idea ?
> ++
>
> Jack
>
>
> ___
> 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] lua scripting for pd objects

2008-04-13 Thread marius schebella
hello frank,
not sure how to compare. the lua code fades the lines out, but the c++ 
object does not. I can create 10 lines in lbuff and still only get 
34% cpu use. with lua and aging 0 I can only have about 17000 lines.
marius.

Frank Barknecht wrote:
> Hallo,
> cyrille henry hat gesagt: // cyrille henry wrote:
> 
>>> luagl is not as fast as C, but it's already much faster than using
>>> lots of separators or double gemheads. 
>>>
>>> Regarding Gem-externals: Does anyone have a simple template project
>>> how to write and compile a custom Gem external? This could be very
>>> useful, but I'm a bit confused how to do this in a simple way.
>>>
>>
>> use a gem object (like cube).
>> search and replace "cube" by the name of your object in both the ccp and h 
>> file.
>> use this makefile (adjust the name of the file / src directory).
>> it should compile.
> 
> Thanks a lot Cyrille. I made a little "benchmark" of a [linebuffer]
> object in luagl vs. a quickly hacked C++ version (warning, very ugly
> code!! Includes bugs I didn't care to fix for now.)
> 
> In this case, Lua does compare quite well with the C++ version on my
> machine.
> 
> Ciao
> 
> 
> 
> 
> ___
> 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] display lists - was: Re: lua scripting for pd objects

2008-04-13 Thread IOhannes m zmölnig
chris clepper wrote:

> I think someone did make an example of building a display list per
> gemhead and then calling the list for rendering in another.


i guess you mean the one i mentioned earlier, which can be found in
examples/09.openGL/

mfgas
IOhannes

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


Re: [PD] GEM and PDP-PiDiP

2008-04-13 Thread Roman Haefeli
On Sun, 2008-04-13 at 18:20 +0200, Jack wrote:
> An other thing : with pd-extended 0.40.3 20080406 and  [pdp_yqt], i  
> get an error with the same video (.mov jpeg codec) :
> pdp_yqt: opening /Users/rybn12/Desktop/PD9.5/normalJPEG.mov
> pdp_yqt: unsupported video codec

same problem here on OS X (10.4.?) with pd-extended-0.39.3 and 0.40.3
(2008-02-22) intel-builds.

i tried several videos, that can be played back by quicktime, but not by
[pdp_qt] nor [pdp_yqt]. i tried mjpeg coded and other codecs. i also
tried anim-1.mov from the Gem examples. none of the could be played. all
of them could be played by [pix_film], though.

roman




___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


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