Melodeon.net Forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the new melodeon.net forum

Pages: [1] 2   Go Down

Author Topic: Opening notes of ABC script not being played...  (Read 4292 times)

0 Members and 1 Guest are viewing this topic.

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé
Opening notes of ABC script not being played...
« on: May 26, 2019, 09:39:28 AM »

Was there a thread about this some time ago? I can't find it...

I think someone was saying that for some reason, the opening note of an ABC script was
not sounding on playback.  I can't remember if the problem was resolved - I think not.

Quite by chance I just stumbled across the problem myself...
Code: [Select]
X:1
T:I'll Gang Nae Mair Tae Yon Toun
M:C|
L:1/8
Q:1/4=140
K:Gmaj
[|B | "G" Gggd B2 Gd | "G" B/c/d Gd BAAB | "G" Gggd B2 Gd | B/c/d Gd BAAB |
"G" Gggd B2 Gd | "G" B/c/d Gd BAAB | "C" BdcB cdef | "Em" gdec BGG |]
In the above, that opening 'B' does not sound, but if I put a space before the 'B', all is well:
Code: [Select]
X:1
T:I'll Gang Nae Mair Tae Yon Toun
M:C|
L:1/8
Q:1/4=140
K:Gmaj
[| B | "G" Gggd B2 Gd | "G" B/c/d Gd BAAB | "G" Gggd B2 Gd | B/c/d Gd BAAB |
"G" Gggd B2 Gd | "G" B/c/d Gd BAAB | "C" BdcB cdef | "Em" gdec BGG |]
I'm asking because I know that some folks do put spaces in their ABC scripts, and some don't
(I'm a spaces man myself  :D ).

I'm using EasyABC, and don't know if this happens with other ABC software. Is this a known 'bug'?

My apologies if this has already been dealt with, but I can't find it...

Roger
Logged
My ABC tune collections can be found here (GoogleDrive) & here (Dropbox).

For more about Manchester Morris, The Beech Band Folk Club or anything else,  please use the private messaging facility.

Steve_freereeder

  • Content Manager
  • Hero Member
  • ***
  • Offline Offline
  • Posts: 7511
  • MAD is inevitable. Keep Calm and Carry On
    • Lizzie Dripping
Re: Opening notes of ABC script not being played...
« Reply #1 on: May 26, 2019, 11:47:53 AM »

This is brilliant!
Roger - you are correct, the problem was never resolved. Until now, that is. Many thanks for finding a solution.  (:)  (:)  (:) :|glug  :|glug  :|glug
Logged
Steve
Sheffield, UK.
www.lizziedripping.org.uk

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé
Re: Opening notes of ABC script not being played...
« Reply #2 on: May 26, 2019, 03:15:02 PM »

This is brilliant!
More good luck than good management!  :D
Logged
My ABC tune collections can be found here (GoogleDrive) & here (Dropbox).

For more about Manchester Morris, The Beech Band Folk Club or anything else,  please use the private messaging facility.

Lester

  • MADman
  • Mods and volunteers
  • Hero Member
  • ***
  • Offline Offline
  • Posts: 9327
  • Hohners'R'me
    • Lester's Melodeon Emporium and Tune-a-Rama
Re: Opening notes of ABC script not being played...
« Reply #3 on: May 26, 2019, 03:18:45 PM »

Except it does not work  :'(  in this instance


X:205
T:Gangar fra Smalenene
M:2/4
L:1/16
Q:75
K:G
P:A
|: D2 G2 G2 AB|c2 Bc A2 Bc|BABG E3 F|G2 FE E2 D2|
D2 G2 G2 AB|c2 Bc A2 Bc|BABG E3 F|G2 AG G4:|
P:B
|:D2 d2 d2 ed|c2 Bc A2 Bc|BABG E3 F|G2 FE E2 D2|
D2 d2 d2 ed|c2 Bc A2 Bc|BABG E3 F|G2 AG G4:|

With or with out the space before the D2 the tune starts with G2 G2 AB etc
What does work is


X:205
T:Gangar fra Smalenene
M:2/4
L:1/16
Q:75
K:G
P:A
z4|: D2 G2 G2 AB|c2 Bc A2 Bc|BABG E3 F|G2 FE E2 D2|
D2 G2 G2 AB|c2 Bc A2 Bc|BABG E3 F|G2 AG G4:|
P:B
D2 d2 d2 ed|c2 Bc A2 Bc|BABG E3 F|G2 FE E2 D2|
D2 d2 d2 ed|c2 Bc A2 Bc|BABG E3 F|G2 AG G4:|

ChrisP

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 279
  • West Yorkshire, UK
    • Chris Partington
Re: Opening notes of ABC script not being played...
« Reply #4 on: May 26, 2019, 04:06:23 PM »

I had this problem for quite a while (at least two years). It seems to be a function (or bug?) of the default midi player DirectX. What worked in ABCexplorer (though you had to make the setting each time you opened a session) was setting a one second delay in the delay dialogue to come before each tune. After a while  the problem suddenly went away. I concluded that the version of DirectX was conflicting with updates of WIN10, and one or the other had eventually given up the struggle.

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé
Re: Opening notes of ABC script not being played...
« Reply #5 on: May 26, 2019, 04:12:56 PM »

Except it does not work  :'(  in this instance
Oh! Rats! Both your examples work for me. I'm using EasyABC 1.3.7.7 on a HP Windoze 10 machine.

If I fanny about with your example(s), (making it one-play-through only, and dispensing with the B part):

This one doesn't work (as per my OP):
Code: [Select]
X:205
T:Gangar fra Smalenene
M:2/4
L:1/16
Q:75
K:G
P:A
[|D2 G2 G2 AB|c2 Bc A2 Bc|BABG E3 F|G2 FE E2 D2|
D2 G2 G2 AB|c2 Bc A2 Bc|BABG E3 F|G2 AG G4|]

This one does work (as per my OP):
Code: [Select]
X:205
T:Gangar fra Smalenene
M:2/4
L:1/16
Q:75
K:G
[| D2 G2 G2 AB|c2 Bc A2 Bc|BABG E3 F|G2 FE E2 D2|
D2 G2 G2 AB|c2 Bc A2 Bc|BABG E3 F|G2 AG G4|]

This one (which inserts a rest, like your solution) works (but I wonder if it's because we're only getting
the last 3 'z's of that 'z4'?):
Code: [Select]
X:205
T:Gangar fra Smalenene
M:2/4
L:1/16
Q:75
K:G
[|z4|D2 G2 G2 AB|c2 Bc A2 Bc|BABG E3 F|G2 FE E2 D2|
D2 G2 G2 AB|c2 Bc A2 Bc|BABG E3 F|G2 AG G4|]

This is a pain! Clearly (hollow laughter), it's something to do with whether a tune opens with
'[|' or '[:'. If I replace '[|' with '||', they all work - so it seems to be something to do with bar/measure
separators, specifically '['. I'm a bit hazy about the fine detail in that area I'm afraid.

Your 'z'-based solution is one I stumbled across some time ago when trying to get drones to work
(the drones only kicked-in after two bars, so I had to insert two bars rest at the start of the tune).

More investigation needed - I will look at it again later. I'm a bit bothered by the fact that stuff which
didn't work for you worked for me...

[CP's post noted - sounds good to me, but - I'm also wondering whether the underlying problem is that EasyABC (or
whatever) is processing the ABC code differently before passing it to abc2midi, depending on whether it starts with
'[|' or '|:' or '||'. Why is life never easy?]
« Last Edit: May 26, 2019, 04:41:42 PM by Roger Hare »
Logged
My ABC tune collections can be found here (GoogleDrive) & here (Dropbox).

For more about Manchester Morris, The Beech Band Folk Club or anything else,  please use the private messaging facility.

Lester

  • MADman
  • Mods and volunteers
  • Hero Member
  • ***
  • Offline Offline
  • Posts: 9327
  • Hohners'R'me
    • Lester's Melodeon Emporium and Tune-a-Rama
Re: Opening notes of ABC script not being played...
« Reply #6 on: May 26, 2019, 04:24:45 PM »

To be honest the problem doesn't really matter to me as, when learning tunes, I export them as midi files (which have all the notes sounding) convert them to mp3s and listen on my phone.

Alan Pittwood

  • Regular debater
  • ***
  • Offline Offline
  • Posts: 211
Re: Opening notes of ABC script not being played...
« Reply #7 on: May 26, 2019, 04:36:30 PM »

Except it does not work  :'(  in this instance

Oh! Rats! Both your examples work for me. I'm using EasyABC 1.3.7.7 on a HP Windoze 10 machine.

And I have no problem with ABC Explorer 1.6.1 and a Windows 10 laptop
« Last Edit: May 26, 2019, 04:38:04 PM by Alan Pittwood »
Logged
The "sound of Hohner" D/G for Morris and C#/D for everything else.

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé
Re: Opening notes of ABC script not being played...
« Reply #8 on: May 26, 2019, 04:38:03 PM »

To be honest the problem doesn't really matter to me as, when learning tunes, I export them as midi files
(which have all the notes sounding) convert them to mp3s and listen on my phone.
You are absolutely right!!! It doesn't really matter (:). Unfortunately, I am one of nature's worriers :-[.

Thank you Alan - that saves me trying it with Explorer myself...
« Last Edit: May 26, 2019, 04:39:44 PM by Roger Hare »
Logged
My ABC tune collections can be found here (GoogleDrive) & here (Dropbox).

For more about Manchester Morris, The Beech Band Folk Club or anything else,  please use the private messaging facility.

Stiamh

  • Old grey C#/D pest
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3611
    • Packie Manus Byrne
Re: Opening notes of ABC script not being played...
« Reply #9 on: May 26, 2019, 06:26:46 PM »

Roger, using your first example on with EasyABC on Windows 7 , the first note does not play until I insert a space before the B.

However, the following also make the first note play:

deleting the [|

adding random characters after the [| e.g.
[|]
[|*
[|&

Do you need the [| at the beginning?

Corinto

  • Regular debater
  • ***
  • Offline Offline
  • Posts: 233
  • Spain/Brasil/Belgium
Re: Opening notes of ABC script not being played...
« Reply #10 on: May 26, 2019, 08:30:59 PM »

Except it does not work  :'(  in this instance

X:205
T:Gangar fra Smalenene
M:2/4
L:1/16
Q:75
K:G
P:A
|: D2 G2 G2 AB|c2 Bc A2 Bc|BABG E3 F|G2 FE E2 D2|
D2 G2 G2 AB|c2 Bc A2 Bc|BABG E3 F|G2 AG G4:|
P:B
|:D2 d2 d2 ed|c2 Bc A2 Bc|BABG E3 F|G2 FE E2 D2|
D2 d2 d2 ed|c2 Bc A2 Bc|BABG E3 F|G2 AG G4:|

With or with out the space before the D2 the tune starts with G2 G2 AB etc
What does work is

X:205
T:Gangar fra Smalenene
M:2/4
L:1/16
Q:75
K:G
P:A
z4|: D2 G2 G2 AB|c2 Bc A2 Bc|BABG E3 F|G2 FE E2 D2|
D2 G2 G2 AB|c2 Bc A2 Bc|BABG E3 F|G2 AG G4:|
P:B
D2 d2 d2 ed|c2 Bc A2 Bc|BABG E3 F|G2 FE E2 D2|
D2 d2 d2 ed|c2 Bc A2 Bc|BABG E3 F|G2 AG G4:|

A similar problem a few weeks ago and I used this option in EasyABC on MacBook

X:205
T:Gangar fra Smalenene
M:2/4
P:AB
L:1/16
Q:75
K:G
z2\
P:A
|: D2 G2 G2 AB|c2 Bc A2 Bc|BABG E3 F|G2 FE E2 D2|
D2 G2 G2 AB|c2 Bc A2 Bc|BABG E3 F|G2 AG G4:|
P:B
|:D2 d2 d2 ed|c2 Bc A2 Bc|BABG E3 F|G2 FE E2 D2|
D2 d2 d2 ed|c2 Bc A2 Bc|BABG E3 F|G2 AG G4:|

In my original case it was an AABB tune, so I had to put the z before the A part. Ymmv.
Logged
Carpe diem, C.

Tone Dumb Greg

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 4955
    • Dartmoor Border Morris
Re: Opening notes of ABC script not being played...
« Reply #11 on: May 26, 2019, 08:36:30 PM »

Just wondering, why do you need to code the redundant repeat marks?
Logged
Greg Smith
DG/GC Pokerwork, DG 2.4 Saltarelle, pre-war CF Hohner, Hohner 1040 Vienna style, old  BbEb Hohner that needs a lot of work.

ACCORDION, n. An instrument in harmony with the sentiments of an assassin. Ambrose Bierce

Lester

  • MADman
  • Mods and volunteers
  • Hero Member
  • ***
  • Offline Offline
  • Posts: 9327
  • Hohners'R'me
    • Lester's Melodeon Emporium and Tune-a-Rama
Re: Opening notes of ABC script not being played...
« Reply #12 on: May 26, 2019, 08:49:02 PM »

Just wondering, why do you need to code the redundant repeat marks?
What redundant repeat marks

Tone Dumb Greg

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 4955
    • Dartmoor Border Morris
Re: Opening notes of ABC script not being played...
« Reply #13 on: May 26, 2019, 08:57:30 PM »

Just wondering, why do you need to code the redundant repeat marks?
What redundant repeat marks
The ones at the the beginning of the first line of the first part. They seem unnecessary as they are implied by the repeat marks at the end of the first part. Or, have I got that wrong?
Logged
Greg Smith
DG/GC Pokerwork, DG 2.4 Saltarelle, pre-war CF Hohner, Hohner 1040 Vienna style, old  BbEb Hohner that needs a lot of work.

ACCORDION, n. An instrument in harmony with the sentiments of an assassin. Ambrose Bierce

Lester

  • MADman
  • Mods and volunteers
  • Hero Member
  • ***
  • Offline Offline
  • Posts: 9327
  • Hohners'R'me
    • Lester's Melodeon Emporium and Tune-a-Rama
Re: Opening notes of ABC script not being played...
« Reply #14 on: May 26, 2019, 09:00:29 PM »

Just wondering, why do you need to code the redundant repeat marks?
What redundant repeat marks
The ones at the the beginning of the first line of the first part. They seem unnecessary as they are implied by the repeat marks at the end of the first part. Or, have I got that wrong?
I prefer to put them all in as sometimes the software gets confused especially ir there are 1st and 2nd endings in either part.

Tone Dumb Greg

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 4955
    • Dartmoor Border Morris
Re: Opening notes of ABC script not being played...
« Reply #15 on: May 26, 2019, 09:02:38 PM »

Just wondering, why do you need to code the redundant repeat marks?
What redundant repeat marks
The ones at the the beginning of the first line of the first part. They seem unnecessary as they are implied by the repeat marks at the end of the first part. Or, have I got that wrong?
I prefer to put them all in as sometimes the software gets confused especially ir there are 1st and 2nd endings in either part.

It just seems that putting them in is what's confusing the software.
Logged
Greg Smith
DG/GC Pokerwork, DG 2.4 Saltarelle, pre-war CF Hohner, Hohner 1040 Vienna style, old  BbEb Hohner that needs a lot of work.

ACCORDION, n. An instrument in harmony with the sentiments of an assassin. Ambrose Bierce

ChrisP

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 279
  • West Yorkshire, UK
    • Chris Partington
Re: Opening notes of ABC script not being played...
« Reply #16 on: May 26, 2019, 09:58:44 PM »

There's nothing wrong with the ABC coding causing this. It's got something to do with the external software, probably the way DirectX is conflicting with the OS updates, as I said before. Basically you have to grin and bear it; temporary fix of giving a tune a one second delay gives you the first note back. E.v.e.n.t.u.a.l.l.y it will update itself better. Or if you're nerdy you could try updating DirectX yourself??
Repeat marks at the beginning of a single line tune are conventionally left out of printed music, and in ABC only strictly necessary if the tune has multi-voices, at which point ABC2midi loses its marbles if it can't find a beginning repeat. I've never known correctly structured 1st and 2nd repeat bars to cause a problem in single voice tunes. 

Stiamh

  • Old grey C#/D pest
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3611
    • Packie Manus Byrne
Re: Opening notes of ABC script not being played...
« Reply #17 on: May 26, 2019, 10:16:31 PM »

 
Just wondering, why do you need to code the redundant repeat marks?
What redundant repeat marks

The ones at the the beginning of the first line of the first part. They seem unnecessary as they are implied by the repeat marks at the end of the first part. Or, have I got that wrong?

Just to add to the confusion, in my EasyABC setup the only thing that I have found to confuse the software among the various examples given is [| followed by a note with no space.

Anything else seems to work, including having the first line start with [|: or |:     ???

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé
Re: Opening notes of ABC script not being played...
« Reply #18 on: May 27, 2019, 06:35:44 AM »

Thank you for all those helpful and insightful responses from Stiamh, Tone Dumb Greg, Lester, Chrisp,
Alan Pittwood, Corinto, Steve_freereeder, et. al.

Though I hadn't even thought of it before, I think ChrisP may have the answer. W10 is a pain, and half
my time is spent struggling to make the computer do what I want, not what W10 wants. This is nowt to
do with music or music software, it's a general problem.

More specifically, I like to put in '|:', [|', etc. because as a newcomer to music who is not yet a sight reader,
I find these clearly visible explicit clues very helpful. As I understand it, they may be 'redundant', but it's
not 'wrong', it's just not 'usual'.

The fact that a 'random' character after the opening bar/measure characters fixes things is consistent. I
think I once deleted a fiddle up- or down-bow, and the first note suddenly didn't play. I certainly noticed
the problem 'consciously' when typing up a collection of tunes both with, and without repeats.

Still, we seem to have a sort of 'fix', and as Chrisp says, maybe the problem will go away eventually...
« Last Edit: May 27, 2019, 06:45:55 AM by Roger Hare »
Logged
My ABC tune collections can be found here (GoogleDrive) & here (Dropbox).

For more about Manchester Morris, The Beech Band Folk Club or anything else,  please use the private messaging facility.

ChrisP

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 279
  • West Yorkshire, UK
    • Chris Partington
Re: Opening notes of ABC script not being played...
« Reply #19 on: May 27, 2019, 09:48:18 AM »

Here's a question. Is this only happening with WIN10? Any sufferers with other OS?
Pages: [1] 2   Go Up
 


Melodeon.net - (c) Theo Gibb; Clive Williams 2010. The access and use of this website and forum featuring these terms and conditions constitutes your acceptance of these terms and conditions.
SimplePortal 2.3.5 © 2008-2012, SimplePortal