Re: [PD] high level beat detection

2007-04-24 Thread Jamie Bullock
On Mon, 2007-04-23 at 10:21 +0200, ronny vanden bempt wrote:
 Hey,
 We're busy with making a beat detector in Pd, 

Are you already aware of aubio, which does this pretty well, and
provides PD externals that wrap the functionality?
(http://aubio.piem.org/).

Just might save you some time.

best,

Jamie


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


Re: [PD] Test Audio: just trying to hear anything

2007-04-24 Thread Frank Barknecht
Hallo,
Javier García hat gesagt: // Javier García wrote:

 I installed it and typed speaker test. The only thing i heard was noise 
 in the same time this lines below appeared.

speaker-test is testing with pink noise by default. To make sure it's
speaker-test, that you are hearing, you could also test with a sine
wave by calling speaker-test as: 

$ speaker-test -t 2

speaker-test -h gives an overview of the possible options: 

$ speaker-test -h

speaker-test 0.0.8

Usage: speaker-test [OPTION]... 
-h,--help   help
-D,--device playback device
-r,--rate   stream rate in Hz
-c,--channels   count of channels in stream
-f,--frequency  sine wave frequency in Hz
-F,--format sample format
-b,--buffer ring buffer size in us
-p,--period period size in us
-t,--test   1=use pink noise, 2=use sine wave
-s,--speakersingle speaker test. Values 1=Left or 2=right

It seems your card is working. The error you get in Pd (Couldn't sync
A/D etc.) hints at a problem with Pd and your card. What card do you
have? Could you send the output of this command please: 

$ cat /proc/asound/cards

Ciao
-- 
 Frank Barknecht _ __footils.org_ __goto10.org__

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


[PD] [PD-announce] PACKET FORTH Workshop - GOTO10 at NIM/Amsterdam - 18-20 May 2007

2007-04-24 Thread propaganda

Sorry for  please 

---

PACKET FORTH Workshop
with Aymeric Mansoux, Tom Schouten and Marloes de Valk

This 3 day workshop is an introduction to generative visuals using the
open source programming language Packet Forth. The workshop is aimed at
artists and programmers interested in generative art, animation,
audiovisual performances, and installations. No previous knowledge of
programming is required, but a good general knowledge of computers is
necessary. The entire workshop will be taught using the pure:dyne
GNU/Linux distribution. If you're not familiar with GNU/Linux, this is a
great opportunity to get started!

During the workshop we'll take you through some of the main features of
Packet Forth. It's impossible to learn how to program in 3 days, so this
workshop is just to get you started and get you through the first steps.
We'll show you what is possible, and how to go about creating your own
applications, starting at the very basis. We'll cover both drawing and
animating, 2D and 3D, and how to link PF to other applications such as
Pure Data using Open Sound Control. 

It's a hands-on workshop which provides each participant with a 
workstation and 3 days packed with food for thought.

You'll go home with a pure:dyne livecd, containing all the software
used in the workshop (and much much more). Go Forth! is based on 100%
FLOSS (Free/Libre Open Source Software).

http://goto10.org
http://packets.goto10.org
http://puredyne.goto10.org

Date: 18-20 May 2007
Location: Nederlands Instituut voor Mediakunst, Amsterdam, NL
Application: before May 1st (include CV and motivation max 150 words)
booking: [EMAIL PROTECTED]
Costs for three days: 150,- (discount, students or NIM membershipcard 75,-)

more info: http://goto10.org/-/packetforthworkshop.html


:*


___
PD-announce mailing list
[EMAIL PROTECTED]
http://lists.puredata.info/listinfo/pd-announce

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


[PD] Pd shutdown hook

2007-04-24 Thread David Kirkpatrick
Hey guys,

I've got a piece of hardware that I am controlling from a custom built pd 
external. I can contol it fine, but when I quit pd, the device stays on. 
What I need is a way to trigger the device shutdown command when pd is 
exited. Does pd have a shutdown hook of some kind? I'm on windows XP.

Thanks,
David Kirkpatrick

_
Advertisement: Meet Sexy Singles today at Lavalife - Click here 
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Flavalife9%2Eninemsn%2Ecom%2Eau%2Fclickthru%2Fclickthru%2Eact%3Fid%3Dninemsn%26context%3Dan99%26locale%3Den%5FAU%26a%3D27783_t=762229680_r=lavalife_apr07_meetsexysingles_m=EXT


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


Re: [PD] Pd shutdown hook

2007-04-24 Thread IOhannes m zmoelnig
David Kirkpatrick wrote:
 Hey guys,
 
 I've got a piece of hardware that I am controlling from a custom built pd 
 external. I can contol it fine, but when I quit pd, the device stays on. 
 What I need is a way to trigger the device shutdown command when pd is 
 exited. Does pd have a shutdown hook of some kind? I'm on windows XP.
 

there is a hook for the destructor (usually called free-method in this
context) of an object. you pass it right after the constructor to
class_new().

however, it's a known bug that pd does not call the free()-methods when
it get's quitted (it does call them when you destroy an object manually
or close a patch).

see
http://sourceforge.net/tracker/index.php?func=detailaid=1502860group_id=55736atid=478072

and comment at your will.


fmas.dr
IOhannes

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


Re: [PD] Test Audio: just trying to hear anything

2007-04-24 Thread Javier García
Frank Barknecht wrote:

It seems your card is working. The error you get in Pd(Couldn't sync
A/D etc.) hints at a problem with Pd and your card. What card do you
have? Could you send the output of this command please:

$ cat /proc/asound/cards

0 [Intel  ]: HDA-Intel - HDA Intel
  HDA Intel at 0xefffc000 irq 66

And Andy Farnell wrote:

rerun alsaconf and make sure the sample rate is
set to 48k then try starting Pd with these options

pd -r 48000 -channels 2 -audiobuf 160 -audiodev 1

Sorry, what do you mean with alsaconf?


From: Andy Farnell [EMAIL PROTECTED]
To: Javier García [EMAIL PROTECTED]
CC: [EMAIL PROTECTED], pd-list@iem.at
Subject: Re: [PD] Test Audio: just trying to hear anything
Date: Tue, 24 Apr 2007 11:55:41 +0100


rerun alsaconf and make sure the sample rate is
set to 48k then try starting Pd with these options

pd -r 48000 -channels 2 -audiobuf 160 -audiodev 1

On Mon, 23 Apr 2007 23:27:18 +0200
Javier García [EMAIL PROTECTED] wrote:


  when i try to test the audio with Test audio and MIDI i have selected
  default MIDI. If I select ALSA, default MIDI and ALSA are selected 
and
  this message appears:
 
  tried but couldn't sync A/D/A
  tried but couldn't sync A/D/A
  tried but couldn't sync A/D/A
  .
  tried but couldn't sync A/D/A
  tried but couldn't sync A/D/A
  tried but couldn't sync A/D/A
  tried but couldn't sync A/D/A
  audio I/O stuck... closing audio
 
  I hope this helps little more...

--
Use the source

_
Acepta el reto MSN Premium: Correos más divertidos con fotos y textos 
increíbles en MSN Premium. Descárgalo y pruébalo 2 meses gratis. 
http://join.msn.com?XAPID=1697DI=1055HL=Footer_mailsenviados_correosmasdivertidos


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


Re: [PD] Test Audio: just trying to hear anything

2007-04-24 Thread mik
Javier García schreef:

 Some more clues:
 
 when i try to test the audio with Test audio and MIDI i have selected 
 default MIDI. If I select ALSA, default MIDI and ALSA are selected and 
 this message appears:
 
 tried but couldn't sync A/D/A
 tried but couldn't sync A/D/A
 tried but couldn't sync A/D/A
 .
 tried but couldn't sync A/D/A
 tried but couldn't sync A/D/A
 tried but couldn't sync A/D/A
 tried but couldn't sync A/D/A
 audio I/O stuck... closing audio
 

take oss instead of alsa in Media.

m

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


Re: [PD] pda --no-TK ?

2007-04-24 Thread alejo d

On 4/3/07, Chris McCormick [EMAIL PROTECTED] wrote:



You might also like to take a look at gp2xPd since it builds PDa without
the gui libraries. There's a description of how I did that in the file
src/gp2x.readme which is available in a patched version of PDa. So
download PDa 0.6 from Güenter's site, then apply the patch from here:
http://mccormick.cx/projects/gp2xPd/files/gp2x-PDa.patch and then
read the file src/gp2x.readme and have a look at the gp2x section in the
makefiles. You should be able to use something very similar for gumstix.

So great that you are porting to gumstix - let us know how it runs.




so following your directions chris, patching the Makefile along with
compiling using:

CC=/bin/arm-linux-uclibcgnueabi-gcc make

i ended up with the following pda port for the gumstix:

http://bekstation.bek.no/immigrante/pd_gumstix

it seems to run with the following flags:

pd -nogui -noadc -nomidi -verbose
sys_audioapi 2
Pd version 0.37.4
compiled 23:12:25 Apr 23 2007
opened 0 MIDI input device(s) and 0 MIDI output device(s).
input channels = 0, output channels = 2
opened /dev/dsp for writing only

error: OSS: SNDCTL_DSP_CHANNELS failed /dev/dsp
opened audio output on /dev/dsp; got 0 channels


but unfortunaltely oss or alsa seem to be broken by now, when i try via alsa
i get this:

aplay -l
 List of PLAYBACK Hardware Devices 
card 0: UCB1400 [UCB1400], device 0: PXA2xx-PCM []
 Subdevices: 1/1
 Subdevice #0: subdevice #0

so it looks like a sound device is up, but as far as i can tell the compiled
pda is not alsa enabled...

unfortunately the gusmtix has problems with sound right now, phps someone
has audio working fine and could give me some feedback testing the above
port (im asking in the gumstix list also). else i will continue testing
stuff and report a more detailed error log.

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