| From | Sent On | Attachments |
|---|---|---|
| tim vets | Sep 12, 2011 10:08 am | |
| Hans-Christoph Steiner | Sep 12, 2011 10:19 am | |
| tim vets | Sep 12, 2011 10:59 am | |
| Mathieu Bouchard | Sep 12, 2011 11:05 am | |
| Miller Puckette | Sep 12, 2011 2:10 pm | |
| Hans-Christoph Steiner | Sep 12, 2011 2:11 pm | |
| tim vets | Sep 13, 2011 2:35 am | |
| Charles Goyard | Sep 13, 2011 3:58 am | |
| jwind | Sep 13, 2011 4:11 am | |
| Mathieu Bouchard | Sep 13, 2011 1:02 pm | |
| Bastiaan van den Berg | Sep 14, 2011 12:24 am | |
| Charles Goyard | Sep 14, 2011 12:49 am | .Other |
| tim vets | Sep 21, 2011 4:47 am |
| Subject: | Re: [PD] cat /boot/vmlinuz-2.6.35-30-generic > /dev/dsp ? | |
|---|---|---|
| From: | tim vets (timv...@gmail.com) | |
| Date: | Sep 13, 2011 2:35:55 am | |
| List: | at.iem.pd-list | |
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 <ha...@at.or.at>
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 <ha...@at.or.at>
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
_______________________________________________ Pd-l...@iem.at 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
_______________________________________________
Pd-l...@iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list






.Other