0xfe / vextab

A VexTab Parser for VexFlow
Other
595 stars 115 forks source link

Can't make player show up #86

Open jieverson opened 8 years ago

jieverson commented 8 years ago

Hello,

I can`t not find a way to render the player. I've tried importing MIDI.js and js instruments, but it does not seems to be working.

Here is how it's been rendered: capture

I would like to render a player, like the one in My VexFlow: capture2

Here is my code:

<link rel="stylesheet" href="vextab.css">

<div class="vex-tabdiv" width=600>
        options space=10 player=true tempo=140
        tabstave notation=true tablature=false clef=bass time=4/4
        notes :q (C/2.G/2) (C/2.A/2) (C/2.G/2) (C/2.A/2) |
        notes (C/2.G/2) (C/2.A/2) (C/2.G/2) (C/2.A/2) |
        notes (C/2.G/2) (C/2.A/2) (C/2.G/2) (C/2.A/2) |
        notes (C/2.G/2) (C/2.A/2) (C/2.G/2) (C/2.A/2) |
        text .font=Arial-16-
        text :w, C, C, C, C
</div>

<script src="http://gleitz.github.io/midi-js-soundfonts/FluidR3_GM/acoustic_grand_piano-mp3.js" crossorigin="anonymous"></script>
<script src="./MIDI.js"></script>
<script src="./vextab-div.js"></script>
dgrmunch commented 7 years ago

Ey buddy, could you solve this issue?

YeDaxia commented 6 years ago

@0xfe thx for your amazing work. Could you please make an example to show how to use the player? I really need this.

mdan312 commented 6 years ago

I have the same problem options player=true does not draw the player

lilworks commented 6 years ago

Same problem here