comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Writing Binary data?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Writing Binary data? [message #27852 is a reply to message #27827] Mon, 05 November 2001 19:57 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Spade (arbi_ng_ter@ihug.com.au) writes:

> Hi I want to binary data to file, specifically to PCM wave format (.wav).
> I'm not sure how to do it correctly. If i have ascii or some numbers, how
> do I write the binary? I've been trying to write the ascii equivelant of my
> data to a text file, but If I try and convert the data to a formatted
> string, the 0's stop the conversion process, so it doesn't work. I can write
> the hex to a text file, and convert to binary in another app, but that is
> silly! What am I missing?

WriteU.

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Previous Topic: how to save the xobjview image into a file IN COLOR ?
Next Topic: Re: FSFC/IDL5.5 installation

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Nov 29 05:25:08 PST 2025

Total time taken to generate the page: 1.28121 seconds