Re: [Mscore-developer] note not yet ready

2015-08-02 Thread Marc Sabatella
Sorry, I guess I just don't have enough context to understand what you are actually asking here then. It is true that line calculations happen at specific points in the code - most importantly, if I remember/understand correctly, during cmdUpdateNotes(), which is called during the layout process.

Re: [Mscore-developer] skip 1st ending

2015-08-02 Thread ericfontainejazz
>> BTW. I'm not sure what the purpose of "no repeats is" . When would you really want to play the 1st ending, followed immediately by the 2nd ending? "no repeats" represents the score in its unrolled form. I find it useful when I want to check my to score to make sure all my notes have been inpu

Re: [Mscore-developer] note not yet ready

2015-08-02 Thread Jim Newton
Hi Marc, i'm not sure it is a bug, but rather simply the way it works. It looks like addNote does not update _line, perhaps something else does. Rather _line gets initialized to its default value of 0, which happens to coincide with a particular line on the staff. I could build a test case, but

Re: [Mscore-developer] skip 1st ending

2015-08-02 Thread Jim Newton
Why would I want to skip 1st endings? Well, I usually would like to enter the score as it is written. I use this often for rehearsal with a real instrument. In some cases I want to play the entire piece, but sometimes I want to play the "short form", meaning always take the 2nd ending, never the

Re: [Mscore-developer] skip 1st ending

2015-08-02 Thread Marc Sabatella
I think the code in repeatlist.cpp deals with this. Note we already skip the first ending on a DS; I guess maybe you mean an option to skip first ending even when not on the DS? We already have an option to turn off repeats, but this plays both first and second ending. Might be just as well to h

Re: [Mscore-developer] same day with text loans guaranteed http://www.samedaytextloans.co.uk

2015-08-02 Thread S John
Payday Cash Loans @ http://www.paydayicashloans.co.uk Payday Text Loans @ http://www.paydayicashloans.co.uk/payday-text-loans.html Cash by Text Loans @ http://www.paydayicashloans.co.uk/cash-by-text-loans.html Mobile Sms Loans @ http://www.paydayicashloans.co.uk/mobile

[Mscore-developer] skip 1st ending

2015-08-02 Thread Jim Newton
Can someone point me to the code, or perhaps explain how iteration through the score works when producing midi playback events. Somewhere there has to be code which examines voltas and somehow orders the measures, repeating some measures etc. I'd like to investigate enhancing that code with th

Re: [Mscore-developer] help debugging notes

2015-08-02 Thread Jim Newton
I'm dyslexic. It's pretty difficult for me to see the difference between tcp and tpc. I'll learn in time. -- View this message in context: http://dev-list.musescore.org/help-debugging-notes-tp7579465p7579481.html Sent from the MuseScore Developer mailing list archive at Nabble.com. -

Re: [Mscore-developer] help debugging notes

2015-08-02 Thread Jim Newton
Gives the following errors/ -- View this message in context: http://dev-list.musescore.org/help-debugging-notes-tp7579465p7579480.html Sent from the MuseScore Developer mailing list archive at Nabble.com. -- ___

Re: [Mscore-developer] note not yet ready

2015-08-02 Thread Marc Sabatella
Hard to say without understand the actual problem you are perceiving there to be. Are you saying there is somew sort of bug that can be reproduced by following some certain series of steps? On Sun, Aug 2, 2015 at 8:45 AM Marc Sabatella wrote: > I don't understand. Are you saying your own funct

Re: [Mscore-developer] note not yet ready

2015-08-02 Thread Marc Sabatella
I don't understand. Are you saying your own function is trying to use "line" as the way of knowing which notes you yourself have not processed yet? That sounds unlikely to work. If you are syaing you think there is some sort of problem with now addNote(0 works, can you give steps to reproduce th

Re: [Mscore-developer] note not yet ready

2015-08-02 Thread Jim Newton
I've inserted the following call to updateLine() which seems to do the trick, but I'm not sure if it is correct. -- View this message in context: http://dev-list.musescore.org/note-not-yet-ready-tp7579475p7579477.html Sent from the MuseScore Developer mailing list archive at Nabble.com. --

Re: [Mscore-developer] help debugging notes

2015-08-02 Thread Marc Sabatella
Also, if you browse the source and look at other qDebug() calls, you'll see we print qStrings all the time, normally using qPrintable(). On Sun, Aug 2, 2015 at 8:22 AM Jim Newton wrote: > Thanks, i'll give it a try. > > > > -- > View this message in context: > http://dev-list.musescore.org/help-

[Mscore-developer] note not yet ready

2015-08-02 Thread Jim Newton
I'm working on a function which extends (adds notes to) some chords according to a particular algorithm. I'm using the function chord->score()->addNote() to insert the notes. Unfortunately, this function creates notes whose note->line() is 0. I guess this gets rectified later. This poses a proble

Re: [Mscore-developer] help debugging notes

2015-08-02 Thread Jim Newton
Thanks, i'll give it a try. -- View this message in context: http://dev-list.musescore.org/help-debugging-notes-tp7579465p7579474.html Sent from the MuseScore Developer mailing list archive at Nabble.com. -- __

Re: [Mscore-developer] help debugging notes

2015-08-02 Thread Andrei Tuicu
sorry, note->tcpUserName().toLatin1().data() 2015-08-02 15:50 GMT+03:00 Andrei Tuicu : > Hello Jim, > > Please try qDebug(note->tcpUserName().toLatin1.data()), or if you preffer > printf("%s\n", note->tcpUserName().toLatin1.data()). > > Cheers, > Andrei > > 2015-08-02 15:42 GMT+03:00 Jim Newton :

Re: [Mscore-developer] help debugging notes

2015-08-02 Thread Andrei Tuicu
Hello Jim, Please try qDebug(note->tcpUserName().toLatin1.data()), or if you preffer printf("%s\n", note->tcpUserName().toLatin1.data()). Cheers, Andrei 2015-08-02 15:42 GMT+03:00 Jim Newton : > Thanks. It looks like note->tpcUserName() returns a Qstring which cannot > be > printed with %s. >

Re: [Mscore-developer] help debugging notes

2015-08-02 Thread Jim Newton
Thanks. It looks like note->tpcUserName() returns a Qstring which cannot be printed with %s. How can I print the human readable name? -- View this message in context: http://dev-list.musescore.org/help-debugging-notes-tp7579465p7579471.html Sent from the MuseScore Developer mailing list archiv