[PD] weird fopen behavior

Jeffrey Hildebrand jshildebrand at ucdavis.edu
Tue Feb 10 11:58:27 CET 2004


in my external for some reason pd can't open a file, here's the code can
anybody see anything that might be going on? basically pd keeps printing
Error: can't open hrir.bin. there's nothing wrong with the hrir file and
it's definitely not read-only. i'm totally confused now,

scott

	//loads HRTFs into Pd's internal data structure, but it could be stored
anywhere really	   
      if(x->firstfloat == 0)
	  {
		t_int az, el, i;
	
		FILE *fid;


		fid = fopen("hrir.bin", "rb");               
		if(fid==NULL)
		{
			printf("Error: can't open hrir.bin.\n");
			return 1;
		}




More information about the Pd-list mailing list