Broadcast Radio Forums

Cool Edit problem via Myriad


http://forums.broadcastradio.com/Topic1503.aspx

By Matt Wade - Wednesday, June 21, 2006 4:09:39 PM

I have come across this problem before. When we select a file in windows explorer and right click on it and select open with cool edit 1.1 it opens it as a .sam file which is an 8-bit format. The format just happens to be at the top of our open files dialog box when you go into cool edit and select open and the use the drop down menu.

Removing sam.flt from the cool edit directory rectifies it and opens it as a .wav. :lol:

Also for your info doing the same but selecting adobe audition opens the programme but doesn't open the .wav file at all it just sits there!

hope that helps

Matt Wade
p.s. did this at work (BBC WS) so didn't have myriad to try it on.
By philedmonds - Wednesday, June 21, 2006 4:09:39 PM

I've seen this happen with an old version of PowerLog client. When saving a selection of log to a wav file, sometimes the progress bar would stick at 100% for ages.

If you tried to open the file in cool edit (can't remember which version in this case) before the progress bar had disapeared in powerlog client - cool edit would try and open it as a 'raw' file. Which would seem to indicate is was something to do with the headers in the wave file not being complete.

The problem was fixed in a later version of Power Log client. (Which may or may not help the PSquared team identify the problem.)
By Mike Winson - Wednesday, June 21, 2006 4:09:39 PM

Interesting observations, Matt - There are no DAF files anywhere on that PC, except in the separate drive that we keep all our old DCS inventory on for importing as needed, so your solution of deleting a rogue file in your Cool Edit folder can't be applied in our case.

I've just tried a similar scenario with one of our suspect files. Opening the file in Windows Explorer brings it into Cool Edit, but again tries to open it as a DAF file. Files that load OK into Cool Edit from Myriad also load OK via Windows Explorer. Also, as expected, Right-clicking and opening with Media Player plays it OK as a WAV (Media Player has no concept of DAF files) So the audio isn't corrupt in any way, as Media Player or Myriad would throw it out if it was.

So it seems that the need to interpret it as a DAF file is recorded into the suspect file itself, rather than it being on the later transfer to Cool Edit, so what could Myriad 2.6.26 be putting in the header that makes Cool want to treat it as a DAF?

Mike
By Mike Winson - Wednesday, June 21, 2006 4:09:39 PM

Following my reply to Matt's posting, I've just seen Phil's posting. Sounds very similar. Are you there, P Squared gurus - could this be related?

Mike
By Matt Wade - Wednesday, June 21, 2006 4:09:39 PM

try having a look at which file version is at the top of your open dialog box and get rid of that .flt file.

just move it somewhere else rather than delete it.

M
By Peter Jarrett - Wednesday, June 21, 2006 4:09:39 PM

[quote:85228dffe9=\"Mike Winson\"]Following my reply to Matt's posting, I've just seen Phil's posting. Sounds very similar. Are you there, P Squared gurus - could this be related?
[/quote]

This one was caused by the file not being closed completely by the client by the time Cool Edit came to open it. This shouldn't apply in this case because Myriad doesn't do anything with the file when you click edit so doesn't have it open. (When you have finished with Cool, myriad then reads the file to get the timing info etc).

PS - Nice to be called a Guru :-)
By Mike Winson - Wednesday, June 21, 2006 4:09:40 PM

[quote:1300573aee=\"mattwade01\"]try having a look at which file version is at the top of your open dialog box and get rid of that .flt file.

just move it somewhere else rather than delete it.

M[/quote]

Thanks - just tried that - the one at the top of the list was A/Mu Law Wave, so I deleted the appropriate .flt file. No change to the offending cart - it still thinks it's a DAF file. I then temporarily renamed the APT-DAF flt file, and the offending file opened fine as a WAV via Myriad. I can't remove that flt completely, as we wouldn't be able to use the apt-x plug-in that we use to access our old DCS files if we need any.

Before anyone jumps in and says \"aha, must be the APTX Cool Edit plug-in then \", we've never have that installed on the two machines at the other station, and they were doing similar, but with other file extensions (.zip and .txt).

Also, it's early days yet, but since we rolled back to 2.6.23 last Wednesday at the other site, we've not had a recurrence of that problem.

Could someone from P Squared give us an idea (in block terms) of the process that Myriad goes through when passing a file to Cool Edit, and how it's then passed back to Myriad in its edited form, and how Cool Edit decides what format the file should be? It may help us in setting up a procedure to reliably reproduce the problem, which so far has evaded us.

Thanks

Mike
By Peter Jarrett - Wednesday, June 21, 2006 4:09:40 PM

That at least is an easy one :-)

We call a function in windows called CreateProcess which does something similar (though not exactly) to right clicking on an item and choosing the \"action\" option - in this case Open.

This effectively boils down to Windows then executing this command line for us:

\"c:\\Program Files\\Cool2000\\cool2000.exe\" \"m:\\myriad\\audio\\myr12345.wav\"

Obviously the paths may be different :-)

Myriad then sits there polling the Process list looking to see when Cool Edit (or whichever other editor you may be using) is no longer there (i.e. has exited)

At this point myriad then opens the wav file in read only mode to read in the duration of the audio then closes the file. If the length has changed, Myriad then double checks that the extro/intro etc. are all still valid (i.e. not after the length of the audio) and then reopens the file for read/write access, stamps in an updated cartchunk and the closes it.

Finally, you get to edit the detail on the Cart Details to your hearts content Smile
By Mike Winson - Monday, November 8, 2004 4:29:32 PM

Hi All,

I've been passed on to the forum by Support, as they've not been able to reproduce the problem we have on three PCs across two stations, all running Myriad 2.6.26 and Cool Edit 2000 v.1.1 (under Win2000 SP4), so over to you guys...

On occasional carts recorded on Myriad, if you go to edit the cart through the Edit dialog box, Cool Edit thinks it's something other than a WAV file (in our case, we ve had it thinking it's a .TXT file, a ZIP file, or an aptx DAF file) consequently trying in vain to import it. The progress bar will often read an absurd time like 96 hours, and clicking Cancel just comes up with a solid block green waveform.

HOWEVER, we can go to that same cart directly from Cool Edit's File/Open menu, and it will open fine. The same file will open fine via Myriad on other machines. Support haven't been able to reproduce it with the file I sent, we're using the identical build of Cool Edit to that installed at Myriad Towers, and it doesn't show up on all machines here, just the ones with 2.6.26 on.

A reinstall of Cool Edit solves the problem, but then it will reappear on another day. We've been fine for two years, but the problem's only started after the recent upgrade from 2.6.23 to 2.6.26.

We're rolling back to 2.6.23 at our remote station, but will keep 2.6.26 on here, so we can try any suggestions.

Any ideas anyone?

Thanks

Mike Winson
Chief Engineer, Swansea Sound / 96.4FM The Wave / Valleys Radio