Csound Csound-dev Csound-tekno Search About

[Cs-dev] [ csound-Bugs-3051393 ] stereo ftable (gen01)

Date2010-08-25 16:03
From"SourceForge.net"
Subject[Cs-dev] [ csound-Bugs-3051393 ] stereo ftable (gen01)
Bugs item #3051393, was opened at 2010-08-23 11:01
Message generated for change (Comment added) made by jpff
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=564599&aid=3051393&group_id=81968

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Opcodes
Group: csound5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: John ffitch (jpff)
Summary: stereo ftable (gen01)

Initial Comment:
ftgen reads a stereo sound file, but reports it as mono to other Csound opcodes.
ftchnls(ifno) returns 1, and a stereo loscil refuses to play the table ("stereo loscil cannot read from mono ftable")

Tested with csound compiled from current cvs.
The bug also shows with CVS checkout from may 1st 2010.
The bug is not present in CVS checkout from oct 30th 2009.

----------------------------------------------------------------------

>Comment By: John ffitch (jpff)
Date: 2010-08-25 16:03

Message:
Possibly check in version 1.150

2479 	       ftp->lenmask  = 0L;                     /*   mark hdr partly
filled   */ 	       ftp->lenmask  = 0L;                     /*   mark hdr
partly filled   */
2480 	       ftp->nchanls  = p->nchanls; 	                                
                     if(!p->channel) ftp->nchanls  = p->nchanls;
2481 	  	                                                                 
                                   else ftp->nchanls  = 1;
2482 	       ftp->flenfrms = ff->flen / p->nchanls;  /* ?????????? */ 	   
         ftp->flenfrms = ff->flen / p->nchanls;  /* ?????????? */

----------------------------------------------------------------------

Comment By: John ffitch (jpff)
Date: 2010-08-25 15:02

Message:
I can reproduce, and it is also wrong if using a score event rather than
ftgen.

Hummm

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=564599&aid=3051393&group_id=81968

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net