Csound Csound-dev Csound-tekno Search About

Problems with -t and --tempo command line flags

Date2017-07-13 21:30
FromDavid Bellows
SubjectProblems with -t and --tempo command line flags
Here is what I've observed with Csound 6.09.1 compiled from source on
Linux when dealing with the tempo command line flags
(http://www.csounds.com/manual/html/CommandFlags.html#FlagsMinusLowerT):

-t x ;;doesn't work at all
--tempo=x ;; does work
--tempo=x.y ;; (fractional tempo) does not work

Using fractional tempi within my Csound file in the score section does work.
t 0 x.y ;; fractional tempo within Csound file works.

Fortunately I don't need this capability for my project but it is
something I have noticed. And I see the warning in the text linked
above but I think these haven't been working as expected for a little
while now.

Dave Bellows

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-07-14 22:10
Fromjpff
SubjectRe: Problems with -t and --tempo command line flags
I have found and fixed the --tempo=xy case but cannot see anything wrong 
wit the -t case
Could you send me a test case?



On Thu, 13 Jul 2017, David Bellows wrote:

> Here is what I've observed with Csound 6.09.1 compiled from source on
> Linux when dealing with the tempo command line flags
> (http://www.csounds.com/manual/html/CommandFlags.html#FlagsMinusLowerT):
>
> -t x ;;doesn't work at all
> --tempo=x ;; does work
> --tempo=x.y ;; (fractional tempo) does not work
>
> Using fractional tempi within my Csound file in the score section does work.
> t 0 x.y ;; fractional tempo within Csound file works.
>
> Fortunately I don't need this capability for my project but it is
> something I have noticed. And I see the warning in the text linked
> above but I think these haven't been working as expected for a little
> while now.
>
> Dave Bellows
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-07-15 01:13
FromDavid Bellows
SubjectRe: Problems with -t and --tempo command line flags
AttachmentsPiano_Simple_Melody.csd  
> I have found and fixed the --tempo=xy case but cannot see anything wrong wit the -t case
>Could you send me a test case?

Ok, I've attached my Csound file. It loads a MIDI soundfont file but
it uses the first instrument so any soundfont should work. The file is
generated by my software thus the strange looking formatting.

I've tried various kinds of syntax for the -t option so maybe I don't
know how I should format the command?

On Fri, Jul 14, 2017 at 2:10 PM, jpff  wrote:
> I have found and fixed the --tempo=xy case but cannot see anything wrong wit
> the -t case
> Could you send me a test case?
>
>
>
>
> On Thu, 13 Jul 2017, David Bellows wrote:
>
>> Here is what I've observed with Csound 6.09.1 compiled from source on
>> Linux when dealing with the tempo command line flags
>> (http://www.csounds.com/manual/html/CommandFlags.html#FlagsMinusLowerT):
>>
>> -t x ;;doesn't work at all
>> --tempo=x ;; does work
>> --tempo=x.y ;; (fractional tempo) does not work
>>
>> Using fractional tempi within my Csound file in the score section does
>> work.
>> t 0 x.y ;; fractional tempo within Csound file works.
>>
>> Fortunately I don't need this capability for my project but it is
>> something I have noticed. And I see the warning in the text linked
>> above but I think these haven't been working as expected for a little
>> while now.
>>
>> Dave Bellows
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>        https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>>
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-07-15 21:52
Fromjpff
SubjectRe: Problems with -t and --tempo command line flags
Thanks -- fixed in git.

My error -- missed out an l character in sscanf

==John ff

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-07-16 00:09
FromDavid Bellows
SubjectRe: Problems with -t and --tempo command line flags
Awesome. Everything seems to be working now as expected. Thanks!

Dave

On Sat, Jul 15, 2017 at 1:52 PM, jpff  wrote:
> Thanks -- fixed in git.
>
> My error -- missed out an l character in sscanf
>
> ==John ff
>
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here