Hi all, thanks for the suggestions,<div>I found out one way so far, with soundfiler and -raw 128 2 2 b.</div><div><br></div><div>Now, did I remember correctly that in /proc/... you can also read something that changes continuously, depending on the state of the machine?</div>
<div>afaict, vmlinuz is just a static file.</div><div><br></div><div>About /dev/dsp, I tried that modprobe snd-pcm-oss thing, but still no /dev/dsp. </div><div>Not that I would really need it now if I can do all this in pd anyway...</div>
<div>It's just that I noticed it wasn't there when trying to do the original 'cat' trick as a quick test.</div><div><br></div><div>gr,<br>Tim<br><br><div class="gmail_quote">2011/9/12 Hans-Christoph Steiner <span dir="ltr"><<a href="mailto:hans@at.or.at">hans@at.or.at</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Ah, right, I forgot the format of the array files, its a list of floats,<br>
i.e. space separated values. You can use mrpeach/binfile to read any<br>
file byte-by-byte. Then use those bytes as floats.<br>
<font color="#888888"><br>
.hc<br>
</font><div><div></div><div class="h5"><br>
On Mon, 2011-09-12 at 19:59 +0200, tim vets wrote:<br>
> Hi Hans, thanks,<br>
> i tried:<br>
> [; mytable read /boot/vmlinuz-2.6.35-30-generic(<br>
> but i just get:<br>
> 'read 0 elements into table of size 1000'<br>
> any idea?<br>
> Tim<br>
> 2011/9/12 Hans-Christoph Steiner <<a href="mailto:hans@at.or.at">hans@at.or.at</a>><br>
><br>
> Open it as a .wav or .snd. Or just load it directly into an<br>
> array using the [read( message.<br>
><br>
> .hc<br>
><br>
><br>
><br>
> On Sep 12, 2011, at 1:09 PM, tim vets wrote:<br>
><br>
><br>
><br>
> Hi all,<br>
> I would like to get the sound of my kernel into pd.<br>
> cat /boot/vmlinuz-2.6.35-30-generic > /dev/dsp<br>
> should be a command I can get the sound of my kernel<br>
> into the speakers with.<br>
> However, while I remember having done similar before,<br>
> right now,<br>
> on this machine there doesn't even seem to be<br>
> a /dev/dsp present...<br>
> also, how would I get this into pd?<br>
> thanks,<br>
> Tim<br>
><br>
> _______________________________________________<br>
> <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -><br>
> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
><br>
><br>
><br>
><br>
><br>
> ----------------------------------------------------------------------------<br>
><br>
> 'You people have such restrictive dress for women,’ she said,<br>
> hobbling away in three inch heels and panty hose to finish out<br>
> another pink-collar temp pool day. - “Hijab Scene #2", by<br>
> Mohja Kahf<br>
><br>
><br>
><br>
<br>
<br>
</div></div></blockquote></div><br></div>