Re: [PD] RPi audio tips tweaks

2013-01-25 Thread padawa...@obiwannabe.co.uk


If you need to that through X forwarded over ssh its gonna be ugly

but there are some steps you can take to ease the load. One
I discovered was changing the cipher to blowfish with
the -c flag

Maybe it doesnt even have to be ssh, how about forwarding
X over a really insecure old telnet connection if its just for
local work?

a.


On 25 January 2013 at 16:45 Julian Brooks jbee...@gmail.com wrote:

 Hi all,
 
  Back to messing with my RPi after the slew of positive news recently.
 
  Unfortunately I'm not really hearing/seeing such good results myself.
  Certainly not getting anything like Miller and Pierre's 10ms full duplex from
 within Pd.  In fact it's still really glitchy/unstable verging on the
 unusable.
 
  I'm presuming that people are getting such decent results by running Pd
 headless (no gui).  Because of the patches I'm wanting to run I do need to
 have the gui so am wondering if anyone has some tips to squeeze a little more
 out the pi?
 
  Have updated Raspbian to most recent, done the usb tweak to 1.1, removed
 pulseaudio.
 
  I'm running the pi via ssh through my laptop.  I'm also running vncserver on
 the pi and xvncviewer on my debian lappy.
 
  Also have an imic, so don't need anything other than usb-audio.
 
  So things like: is it worth disabling some of the audio and midi modules,
 that kind of stuff, well you know, anything really?
 
  Many thanks in advance,
 
  Julian
  ___
  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] Pd launched via rc.local can't search path

2013-01-24 Thread padawa...@obiwannabe.co.uk
On 24 January 2013 at 18:35 Pierre Massat pimas...@gmail.com wrote:

 Hi,
 
  I'm trying to get Pd to run at startup. I've put the command in
 /etc/rc.local.
  Everything works fine, except that Pd seems to be unable to search the paths
 I specified (either in .pdsettings or directly in the command line). I'm
 trying to use a patch with the reverb described in the audio examples (G.08 I
 think), and there's an abstraction in it which lives in 3.audio.examples.
  Every time I boot Pd starts all right, but I get errors because it can't
 create the abstraction.
 
  It's a bit weird because the very same command works like a charm once i've
 logged in.
 
 
Make sure all paths are absolute, and not relative to a tilde (user home) and
point
to world readable directories.
Starting via rc.local will mean the application is launched as root, and since
there
is no login shell and cwd associated at the time it is launched the paths you
specify when logged in probably make no sense.___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd launched via rc.local can't search path

2013-01-24 Thread padawa...@obiwannabe.co.uk

rc.local is the last thing in the init.d stage, so no.

What kind of logging do you have. Had a look in syslog?
Or put the pd launch in backticks and try to catch its stdout for ssome clues
andy

On 24 January 2013 at 19:52 Pierre Massat pimas...@gmail.com wrote:

 Hi, all of my paths are absolute. There are in /usr/bin/puredata.
  Do you think it could be that /usr/ isn't mounted yet when Pd is launched by
 rc.local?
 
 ___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Audio output on Raspberry Pi - Recommendations?

2013-01-18 Thread padawa...@obiwannabe.co.uk
Yes, I got it goiing for a recent workshop in Nantes

ALSA tweaked a bit with the .asoundrc file
Hardware: Turtle Beach dongle (Old Amigo 1 I think)
Latency: 150ms (total suckage)



On 18 January 2013 at 10:49 Julian Brooks jbee...@gmail.com wrote:

 Apologies for dragging this up again...
 
  Can anyone confirm that they have got duplex audio working - in any form with
 any combination of hdmi, usb or the regular audio out of the rpi, and with
 which OS, version, tweaks?
 
  Still not convinced it's properly doable from our (iMic USB based)
 experiments.
 
  Regards,
 
  Julian
 
  On 5 January 2013 17:54, Dirk Myers di...@wildvine.com
 mailto:di...@wildvine.com  wrote:
 Thanks, all.  I'll check out the iMic  UCA222.  Cheers! -- Dirk
  
  
 On Jan 4, 2013, at 12:47 PM, Julian Brooks wrote:
  
  
+1 on the imic.
   
   
   
  On 4 January 2013 18:18, Cyrille Henry c...@chnry.net
   mailto:c...@chnry.net  wrote:
in fact, both edirol UA1X and beringer uca222 works.
 they look so similar that I mix there name.
 sorry
 Cyrille


 Le 04/01/2013 18:55, Pedro Lopes a écrit :
   edirol? Isn't uca222 a behringer card?
On Fri, Jan 4, 2013 at 6:48 PM, Cyrille Henry 
 c...@chnry.net mailto:c...@chnry.net mailto: c...@chnry.net
 mailto:c...@chnry.net  wrote:
 
edirol uca222 works great.
cheers
c
 
 
Le 04/01/2013 17:49, Miller Puckette a écrit :
 
The best ide I got was from the Griffin iMic
 (thanks to Joe Deken over at
New Blankets for running out and buying a bunch of
 cheap USB 'adapters' -
the Griffin is $40 list / $27 street).
 
The thing looks like an apple product but (as I
 discovered today looking at
it) isn't.  Good job of
 apple-style-imitation-without- __infringing-trademark.
 
 
The other USB 'adapters' also worked but beware -
 some take more power than
the Pi can supply and some are physically so bulky
 you can't get anything
in the other USB slot - in either case you have to
 get a powered USB hub and
live with a layer of additional uncertainty.
 
cheers
Miller
 
 
On Fri, Jan 04, 2013 at 08:18:00AM -0800, Dirk
 Myers wrote:
 
Folks:
 
I've been digging through the list  searching,
 haven't found a clear answer: what are folks using for audio output
 from the Raspberry Pi to a mixing board? I'm leaning toward trying a
 few USB audio interfaces. Curious about what others have used that is
 working well.
 
Thanks,
 
Dirk
__
 ___
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 
 http://lists.puredata.info/listinfo/pd-list
 http://lists.puredata.info/listinfo/pd-list 
 
 
__ ___
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 
 http://lists.puredata.info/listinfo/pd-list
 http://lists.puredata.info/listinfo/pd-list 
 
 
__ ___
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 
 http://lists.puredata.info/listinfo/pd-list
 http://lists.puredata.info/listinfo/pd-list 
 
 
 
 
 
--
Pedro Lopes (HCI Researcher / PhD)
contact: pedro.lo...@hpi.uni-postdam.de
 mailto:pedro.lo...@hpi.uni-postdam.de mailto:
 pedro.lo...@hpi.uni-postdam.de mailto:pedro.lo...@hpi.uni-postdam.de
 
website: http://web.ist.utl.pt/pedro.lopes
 http://web.ist.utl.pt/pedro.lopes 
 http://web.ist.utl.pt/pedro.lopes/
 http://web.ist.utl.pt/pedro.lopes/  /
 

Re: [PD] Piezo, trigger, Arduino

2011-06-23 Thread padawa...@obiwannabe.co.uk
Ever tried the kind of high voltage piezo you get in  
cigarette lighters?  MaybeY you can drop that across some high  
value resistors to get an input suitable for an opamp stage.  
You would need to remove the spring loaded housing.  
They would be highly robust and able to
take a beating from a drummer more directly. 
 
a.  

On 23 June 2011 at 10:43 richard duckworth richduckwo...@yahoo.com wrote:

 Piezo elements (the round, gold-coloured bell-buzzer type) make excellent
 triggers. Drumpads like the Roland SPD-n type use these as the triggers.
 Modifications need to be done to create a reliable trigger. The mechanical
 integrity of these devices can be a problem: the leads can literally 'fall
 off'. I 'pot' mine in a layer of epoxy so that the leads are literally glued
 to the surface.
 The element can be glued to a rubber pad (this is essentially what Roland
 does) and mounted on a wooden block to create a trigger pad. Roland uses a
 small coil in series with the piezo: this is there to provide transient
 suppression as the instantaneous signal peaks can be quite high (albeit
 fleeting). This coil is a good idea as it protects the circuitry on the first
 buffer the piezo sees.  

 Other Piezo tips (mainly for audio):
 1) If soldering new leads use a very low wattage iron, low temperature solder
 and complete the solder joint *quickly*
 2) buy in bulk as a few will get destroyed as you perfect your method
 3) if using for audio (i.e., as an audio pickup), then the piezo must be
 screened. A 'balanced signal' architecture works well here: piezo elements are
 wired 'signal hot' and 'signal cold', and the hum/RFI suppression is handled
 by a separate screen.
 4) The MEAS film-type of piezo work much better for audio than the bell-buzzer
 type:
 http://www.meas-spec.com/product/t_product.aspx?id=2478
 5) Impedance, impedance, impedance! Impedance is the rock upon which many
 piezo hackers perish. These elements need to be presented with an input
 impedance of many megaOhms. The average line input / mic input is totally
 inappropriate for these units. I use a simple FET buffer with an input
 impedance of 10 megaOhms on my piezos. Certain electronic DI boxes will also
 work well due to their high impedance characteristics, e.g., BSS. If piezos
 see a low-to-medium impedance, drastic LF rolloffs occur. This is why the
 cheap guitar contact mics sound so tinny when plugged directly into an amp.

    


 Rich Duckworth

 Lecturer in Music Technology

 Department of Music

 House 5

 Trinity College

 Dublin 2

 Ireland



 Tel 353 1 896 1500



 It's the most devastating moment in a young mans life, when he quite
 reasonably says to himself, I shall never play The Dane!

 --- On Thu, 23/6/11, pd-list-requ...@iem.at pd-list-requ...@iem.at wrote:

 From: pd-list-requ...@iem.at pd-list-requ...@iem.at
 Subject: Pd-list Digest, Vol 75, Issue 88
 To: pd-list@iem.at
 Date: Thursday, 23 June, 2011, 6:42

 Send Pd-list mailing list submissions to
     pd-list@iem.at

 To subscribe or unsubscribe via the World Wide Web, visit
     http://lists.puredata.info/listinfo/pd-list
 or, via email, send a message with subject or body 'help' to
     pd-list-requ...@iem.at

 You can reach the person managing the list at
     pd-list-ow...@iem.at

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Pd-list digest...


 Today's Topics:

    1. Re: control lot of audios files with arduino + puredata
       (FernandoG)
    2. Re: Pd performance at TED (Tyler Leavitt)
    3. Re: Pd performance at TED (Jonathan Wilkes)


 --

 Message: 1
 Date: Wed, 22 Jun 2011 21:13:45 -0400
 From: FernandoG dataf...@gmail.com
 Subject: Re: [PD] control lot of audios files with arduino + puredata
 To: Hans-Christoph Steiner h...@at.or.at
 Cc: pd-list@iem.at, Martin Peach martin.pe...@sympatico.ca
 Message-ID: banlktink3dolaxthfsyafuxvmvxfu+e...@mail.gmail.com
 Content-Type: text/plain; charset=iso-8859-1

 Hi guys

 I was researching about arduino mega and pd firmata and i found a post where
 they say that its not posible to use all digital output and analog inputs of
 arduino mega. http://arduino.cc/forum/index.php?topic=62256.0

 I gona buy arduino mega this week, but i need all inputs-output working for
 my proyect. Do you know something about this incompatibility??

 thanks

 2011/6/3 FernandoG dataf...@gmail.com

  Thanks guys, first i will try the easy way, arduino mega.
 
  best!
 
 
  2011/6/3 Hans-Christoph Steiner h...@at.or.at
 
 
  I think people have done some shift register+firmata things, but nothing
  got integrated into StandardFirmata/  Here's an example:
 
  http://www.makingthingsmove.org/blog/
 
  .hc
 
 
  On Jun 2, 2011, at 1:02 AM, Martin Peach wrote:
 
   It's certainly possible to make a Pd patch that controls shift registers
  through firmata. It's also possible to program the Arduino to do that and
  send the switch 

Re: [PD] tabread~ demo in WebPd

2010-06-14 Thread padawa...@obiwannabe.co.uk
Those of you who were mulling over another stab
at GSOC, or some other sponsored code campaign,
surely the work Chris has started here is a perfect
candidate to pick up and run with?
 

On 14 June 2010 at 09:54 chrism ch...@mccormick.cx wrote:

 On Fri, 11 Jun 2010 08:51:15 -0400, Ichabod icha...@gmail.com wrote:
  On Sat, May 29, 2010 at 12:18 PM, chrism ch...@mccormick.cx wrote:
 
  Here's a new small demo of [tabread~] and some other dsp objects working
  in the browser:
  http://mccormick.cx/dev/webpd/demos/xmen-sample-looper/index.html
 
  Here's a video (seems to play ok in Firefox):
  http://mccormick.cx/webpd-tabread~.ogvhttp://mccormick.cx/webpd-tabread%7E.ogv
  
  
 
 
  I'm really excited about the future of this project.

 Don't get too excited as I am sort of running out of steam now. I am
 overwhelmed by contract work and other projects right now. Recently I
 got the [pack] [unpack] [*] and [+] objects working and it made me
 realise what a huge task this is to do on my own, especially when I
 began to consider integrating the schedule-aware objects like [vline~]
 [delay] etc. Oh well, just another project started and [possibly] never
 finished. :)

 It really makes me realise the enormous amount of effort and hours that
 Miller must have put into Pd over the years. I guess it goes without
 saying that anyone who uses Pd should be thankful for the amount of work
 he has released completely free of charge and with no obligations
 outside the BSD license, especially those benefiting commercially from
 what he's done.

 If anyone is interested in picking up and continuing my work on WebPd,
 you can have at the source code and the test patches/examples here:

 http://mccormick.cx/dev/webpd/
 http://mccormick.cx/dev/webpd/tests

 Go nuts.

 I will continue to maintain and merge any useful patches back into my
 codebase.

  Also, this is probably elementary, but is it possible to highlight an array
  like this in regular Pd?

 You could do something similar, but maybe not exactly the same, by
 overlaying a datastructure on top of an array. Check out the Pd
 documentation for more information.

 Cheers,

 Chris.

 ---
 http://mccormick.cx

 ___
 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] random, but always start with X

2010-06-13 Thread padawa...@obiwannabe.co.uk
 

Random events (as we understand them here) are completely
unrelated to one another.
 
So the answer is to pre-load your system with 1,
and have all the other values be random.
 
[random 5]
|
[t b f]
 X
[f 1]
 
 
will always start with 1, and then give you random numbers.
 
BUT:
 
It might also give you, 1, 1, 1, 1
 
I suspect what you really want is to replace the random
with an urn.
 
a.

 

On 13 June 2010 at 20:53 Ben Carney bfcar...@gmail.com wrote:

 Im trying to set up a simple system where, each time a metro is triggered
    on, 5 sound files are played, but they always start with sound file 1.
    It has been a while since i have used pd regularly and it seems I once
 knew
    the answer to this.
    can any one shed any light?
    best,


 --
 benfcarney
 www.benfcarney.com
 Chicago, IL___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list