Hi all, thanks for the suggestions,
I found out one way so far, with soundfiler and -raw 128 2 2 b.

Now, did I remember correctly that in /proc/... you can also read something
that changes continuously, depending on the state of the machine?
afaict, vmlinuz is just a static file.

About /dev/dsp, I tried that modprobe snd-pcm-oss thing, but still no
/dev/dsp.
Not that I would really need it now if I can do all this in pd anyway...
It's just that I noticed it wasn't there when trying to do the original
'cat' trick as a quick test.

gr,
Tim

2011/9/12 Hans-Christoph Steiner <[email protected]>

>
> Ah, right, I forgot the format of the array files, its a list of floats,
> i.e. space separated values.  You can use mrpeach/binfile to read any
> file byte-by-byte.  Then use those bytes as floats.
>
> .hc
>
> On Mon, 2011-09-12 at 19:59 +0200, tim vets wrote:
> > Hi Hans, thanks,
> > i tried:
> > [; mytable read /boot/vmlinuz-2.6.35-30-generic(
> > but i just get:
> > 'read 0 elements into table of size 1000'
> > any idea?
> > Tim
> > 2011/9/12 Hans-Christoph Steiner <[email protected]>
> >
> >         Open it as a .wav or .snd.  Or just load it directly into an
> >         array using the [read( message.
> >
> >         .hc
> >
> >
> >
> >         On Sep 12, 2011, at 1:09 PM, tim vets wrote:
> >
> >
> >
> >                 Hi all,
> >                 I would like to get the sound of my kernel into pd.
> >                 cat /boot/vmlinuz-2.6.35-30-generic > /dev/dsp
> >                 should be a command I can get the sound of my kernel
> >                 into the speakers with.
> >                 However, while I remember having done similar before,
> >                 right now,
> >                 on this machine there doesn't even seem to be
> >                 a /dev/dsp present...
> >                 also, how would I get this into pd?
> >                 thanks,
> >                 Tim
> >
> >                 _______________________________________________
> >                 [email protected] mailing list
> >                 UNSUBSCRIBE and account-management ->
> >                 http://lists.puredata.info/listinfo/pd-list
> >
> >
> >
> >
> >
> >
> ----------------------------------------------------------------------------
> >
> >         'You people have such restrictive dress for women,’ she said,
> >         hobbling away in three inch heels and panty hose to finish out
> >         another pink-collar temp pool day.  - “Hijab Scene #2", by
> >         Mohja Kahf
> >
> >
> >
>
>
>
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to