[PD] Pd on a headless Raspberry Pi

Pierre Massat pimassat at gmail.com
Wed Aug 29 10:36:53 CEST 2012


Thanks for your reply Michael. This thread about audio output looks very
interesting.
I'm not trying to quit smoking at all.

Cheers,

Pierre.

2012/8/29 Michael Zacherl <sdiy-mz01 at blauwurf.info>

>
> On 29.8.2012, at 09:15 , Pierre Massat wrote:
>
> > Nope, I used a randomly generated sequence of notes made with phasors,
> ranging from 0 to 127 on the midi scale.
> > Anyway, the quality of the analog output is not what concerns me here,
> since it sounds ok with aplay. The problem is that the same type of sound
> generated directly in Pd makes an awful lot of noise when i launch Pd at
> start-up, though it sounds ok on the hdmi output.
> > Maybe it's something about the samplerate, no idea really.
>
> I planned to test that thoroughly, since I also noticed some differences
> in using aplay and pd.
> I think I mentioned that here in a different thread.
> However, I don't find the time in moment, so that'll have to wait.
> But I need a proper audio dongle anyway since I need inputs - so my focus
> is more to get my head around this audio stuff in Linux.
>
> > It's a pity that no real serious documentation exists on how the audio
> works (like the fact that the analog output is switched off when the hdmi
> in plugged in : is it in the hardware ? can it be configured to not work
> this way ?).
>
> sudo amixer cset numid=3 1            should do that  hdmi is a 2 instead
> of the 1 .
>
> That's permanent, if I'm not mistaken.
> From:
> http://raspberrypi.stackexchange.com/questions/44/why-is-my-audio-sound-output-not-working
> I had the same issue a couple of weeks ago.
>
> Admittedly I've virtually no experience with Linux-audio, I'm spoiled by
> Macs.  :-\
> So I don't know where alsa puts this information about the outputs.
>
> > Nicorette is a brand that sells patches to stop smoking in France. I
> thought it was funny :)
>
> yeah, it's an old brand. Just wondered if you try to stay away from
> cigarettes.  ;-)
>
>
> > 2012/8/29 Michael Zacherl <sdiy-mz01 at blauwurf.info>
> >
> > On 28.8.2012, at 22:53 , Pierre Massat wrote:
> >
> > > Hi again,
> > >
> > > just a quick update : I tried running aplay at start-up (the same way
> I was running Pd), with the same type of audio data (a simple 44,1KHz wav
> file recorded from the Pd patch i'm testing the Pi with). It sounds much
> better than Pd on the analog output.
> > > So it should be an issue with Pd itself. Perhaps it start to quickly.
> I dont know...
> >
> >
> >
> > just a short note:  did you use a sine-sweep file for your test with
> aplay? Or something similar smooth and simple?
> > I reckon the built-in PWM-output can handle complex sounds better than
> simple ones.
> > I'm having some sort of deja-vu -  didn't we discuss that some weeks
> ago?  ;-)
> >
> > BTW,  nicorette?? :-)
> >
> > >
> > > Cheers,
> > >
> > > Pierre.
> > >
> > > 2012/8/28 m.e.grimm <megrimm at gmail.com>
> > > hey pierre,
> > >
> > > what r u using for line-in? i have one of these:
> > > http://www.amazon.com/gp/product/B0069L9PZA/ref=oh_details_o04_s01_i01
> > >
> > > but have not had the chance to try it.
> > > im curious what might be the best usb in/out for cheap.
> > >
> > > i also got this:
> > > http://www.amazon.com/gp/product/B005CLMJLU/ref=oh_details_o02_s00_i00
> > > so i can ssh in on my local network (headless). although i have not
> > > tried it w/out the powered usb hub.
> > >
> > > just my own status update.
> > >
> > > m
> > >
> > > On Tue, Aug 28, 2012 at 3:10 PM, Pierre Massat <pimassat at gmail.com>
> wrote:
> > > > Hi all,
> > > >
> > > > I succesfully ran Pd on a headless Raspberry Pi (which is no big
> feat per
> > > > se. I've written a tutorial here :
> > > >
> http://guitarextended.wordpress.com/2012/08/28/running-pd-on-a-headless-raspberry-pi/
> ),
> > > > but i'm getting a really heavily distorted sound from the analog
> output.
> > > > No idea why...
> > > > Any experience to share?
> > > >
> > > > Cheers,
> > > >
> > > > Pierre.
> >
> >
> > --
> > feed your perception: http://blauwurf.at
> > http://soundcloud.com/noiseconformist
> >
> >
> >
> >
> > _______________________________________________
> > Pd-list at iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
> >
>
>
>
> --
> feed your perception: http://blauwurf.at
> http://soundcloud.com/noiseconformist
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20120829/f48ea3fe/attachment.htm>


More information about the Pd-list mailing list