Sponsored Content
Special Forums UNIX and Linux Applications Seismic Unix convert .dat to .su Post 302502620 by Corona688 on Tuesday 8th of March 2011 12:53:52 PM
Old 03-08-2011
Can you show a sample of the data from one format and the other?
 

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to convert Dat to Bin

Hi all, I want to convert Dat file into binary file. So we have any command in HP Unix. (3 Replies)
Discussion started by: ravi.sadani19
3 Replies

2. UNIX and Linux Applications

Seismic Unix

Hello, is there anybody who has experiences with the program "seismic unix" and the included data-format .su. I want to convert su in segy format. Is there anybody who knows, if this is possible? Thanks a lot Christine (1 Reply)
Discussion started by: Christine_83
1 Replies

3. Ubuntu

Query related to conversion of segy file and .su files using Seismic Unix

hi M using ubuntu 11.04....and has installed Seismic Unix on it.... I want to process some unprocessed segy data using Seismic Unix.... i have converted .segy file to .su using segyread tape=file1.seg verbose=1 endian=0 | segyclean > smallfile.su and got 3 files -smallfile.su... (0 Replies)
Discussion started by: Ankita Singla
0 Replies

4. Shell Programming and Scripting

Tar to decompress and to convert file to .dat format

tar -tvf abc.tar.gz gives me the file name abc.Is it possible to rename the file to abc.dat while decompressing using tar ? Thanks. (2 Replies)
Discussion started by: vedanta
2 Replies

5. UNIX for Beginners Questions & Answers

Convert EBCDIC(.DAT) FILE into ASCII FILE

Hi Team, I am having 100 EBCDIC files (i.e. DAT extension) and need to convert them into ASCII File by unix shell script. I tried with DD Command but its not providing output as expected. Sample Text: ------------------ גהאבדוחס@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Expected Output:... (2 Replies)
Discussion started by: JSM
2 Replies

6. Shell Programming and Scripting

How to use 'ls' command to list files like *.dat, not *.*.dat?

How to use 'ls' command to list files like *.dat, not *.*.dat (5 Replies)
Discussion started by: pmcginni777
5 Replies

7. Homework & Coursework Questions

Converting .dat to UNIX

I uploaded a .dat file from sftp to my server and after using dos2unix to convert the file and check my work it says that the file was not transferred correctly and that the content is garbled. Please help (3 Replies)
Discussion started by: Ovid158
3 Replies
SAMPLE(3alleg4) 						  Allegro manual						   SAMPLE(3alleg4)

NAME
SAMPLE - Stores sound data. Allegro game programming library. SYNOPSIS
#include <allegro.h> typedef struct SAMPLE DESCRIPTION
int bits; - 8 or 16 int stereo; - sample type flag int freq; - sample frequency int priority; - 0-255 unsigned long len; - length (in samples) unsigned long loop_start; - loop start position unsigned long loop_end; - loop finish position void *data; - raw sample data A sample structure, which holds sound data, used by the digital sample routines. You can consider all of these fields as read only except priority, loop_start and loop_end, which you can change them for example after loading a sample from disk. The priority is a value from 0 to 255 (by default set to 128) and controls how hardware voices on the sound card are allocated if you attempt to play more than the driver can handle. This may be used to ensure that the less important sounds are cut off while the important ones are preserved. The variables loop_start and loop_end specify the loop position in sample units, and are set by default to the start and end of the sample. If you are creating your own samples on the fly, you might also want to modify the raw data of the sample pointed by the data field. The sample data are always in unsigned format. This means that if you are loading a PCM encoded sound file with signed 16-bit samples, you would have to XOR every two bytes (i.e. every sample value) with 0x8000 to change the signedness. SEE ALSO
load_sample(3alleg4), exsample(3alleg4) Allegro version 4.4.2 SAMPLE(3alleg4)
All times are GMT -4. The time now is 04:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy