Closed stevecassidy closed 11 years ago
I would have to double check with Lasse but this is a header unlike anything libassp
produces. And I think that is where the parser gets it wrong. I have no idea if we even intend to parse every possible SSFF file? @quabolasse what do you think?
This is a standard SSFF header as produced by the Emu libraries, I think by converting from the original ESPS format. There's a lot of data that looks like this over here at least. However, it's the Start_Time field that is being missed which is one of the fundamental fields. Other fields seem to be read ok, eg. Record_Freq.
Does ASSP read this data ok outside of this code?
@stevecassidy: could you please send me an example file? I'm not sure generic variables were ever implemented in assp.
Oh, it's the demo daatabase. I have that of course. I'll look into it.
The startTime issue is fixed. How ever, generic variables may need some discussion. This will be a separate issue #17
I was just testing the wrassp library on the demo database from Emu and got an error due to read.AsspDataObj getting the wrong start time for the files.
the header for this file is:
SSFF -- (c) SHLRC Machine SPARC Start_Time 2.563650 Record_Freq 20000.000000 Comment CHAR Created by CONV Column samples SHORT 1 record_freq1 DOUBLE 20000.000000 scale FLOAT 1.000000 end_time DOUBLE 3.800000 max_value FLOAT 10547.000000
I get a similar result with the sfb and sf0 files and with other files in this database.
I tried to find the source of this but couldn't easily see where the header is being read.