Thread View: comp.sys.ti.explorer
1 messages
1 total messages
Started by Jamie Zawinski
Tue, 04 Jun 1991 01:51
sound format
Author: Jamie Zawinski
Date: Tue, 04 Jun 1991 01:51
Date: Tue, 04 Jun 1991 01:51
19 lines
1488 bytes
1488 bytes
Greetings one and all, In my continuing quest to convert my Explorer beeps to something my Sparc can use, I've come across some software that will convert a file of 8-bit 8kHz samples into Sun's "ulaw" format. Sounds made-to-order, right? Well, no. It wants the samples to be in the range -127 to 128, with 0 (the middle) being silence. The Explorer seems thinks of these samples as unsigned 8-bit numbers, with 0 (the bottom) being silence (if I remember correctly, sampling silence on an Explorer gets a low-volume 60hz hum of samples between 0 and 50 or so.) So I tried the obvious conversions: 127-n, n-127, ~n, 127-~n, and so on, and with the order of bits in n reversed, with little luck. The samples (of speech, at least) are just barely legible with 127-n (which sounds a lot like n & 16, meaning, I guess, that about half the samples are incorrect.) So I'm pretty confused. Does anyone know what format the TI D/A chip wants? Does anyone have any suggestions? (LGO, are you out there...?) -- Jamie
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads