Shop OBEX P1 Docs P2 Docs Learn Events
BS2/VMusic2 Can't Adjust Volume — Parallax Forums

BS2/VMusic2 Can't Adjust Volume

MikerocontrollerMikerocontroller Posts: 310
edited 2009-01-08 04:46 in General Discussion
··· I'm having problems adjusting the volume on my VMusic2 using the BS2 Stamp.· I· loaded the latest firmware from the·Vinculum website.· Otherwise, the VMusic2 seems to function okay.· I understand the module defaults to full volume. I can't attenuate it.· This is the command syntax I'm using:
····

·MP3········ PIN········ 15
·Baud······· CON······· 84

·PAUSE 4000···································· ' initialization pause
·SEROUT MP3,Baud,[noparse][[/noparse]"VSV 50",CR]········ ' set volume byte value to 50· 0=highest·· 254=lowest
·SEROUT MP3,Baud,[noparse][[/noparse]"VPF 01.mp3",CR]· ·'
plays MP3 file at full volume

·Any suggestions?
·P.S.·The rear facing jumper is set to the left-most position when viewed from the back.
·········Perhaps I did'nt update the firmware properly ?

···

·······

Comments

  • T ChapT Chap Posts: 4,223
    edited 2009-01-07 07:00
    Try sending the volume data as a separate line. This works on the Propeller, translate to Stamp and test.

    ser.str(2, string("VSV"))
    ser.tx(2, $20)         'space
    ser.tx(2, VoiceVol)  '$0 - $FF
    ser.tx(2, $0D)        'CR
    
    
    



    Be sure you are in the default ECS, Hex, these are the start up settings unless you change.

    Post Edited (TChapman) : 1/7/2009 7:08:53 AM GMT
  • MikerocontrollerMikerocontroller Posts: 310
    edited 2009-01-08 04:46
    · Thank-you, TChapman.· My problem turned out to be something in the firmware.· I reflashed the VMusic2 and now its working.· Thank-you for your time.
Sign In or Register to comment.