Either of these work well for piano. Other instruments, especially winds, will need some tweaking.
!NoteWorthyComposerClip(2.0,Single)
|Dynamic|Style:p|Pos:11|Visibility:Never
|Note|Dur:8th|Pos:1|Opts:Stem=Down,Beam=First
|Note|Dur:8th|Pos:1|Opts:Stem=Down,Beam
|Note|Dur:8th|Pos:1|Opts:Stem=Down,Beam
|Note|Dur:8th|Pos:1|Opts:Stem=Down,Beam=End
|Text|Text:"fp"|Font:StaffItalic|Pos:-9|Justify:Right|Placement:AtNextNote
|Dynamic|Style:f|Pos:11|Visibility:Never
|Note|Dur:8th|Pos:1|Opts:Stem=Down,Beam=First
|Dynamic|Style:p|Pos:11|Visibility:Never
|Note|Dur:8th|Pos:1|Opts:Stem=Down,Beam
|Note|Dur:8th|Pos:1|Opts:Stem=Down,Beam
|Note|Dur:8th|Pos:1|Opts:Stem=Down,Beam=End
|Bar
|Note|Dur:8th|Pos:1|Opts:Stem=Down,Beam=First
|Note|Dur:8th|Pos:1|Opts:Stem=Down,Beam
|Note|Dur:8th|Pos:1|Opts:Stem=Down,Beam
|Note|Dur:8th|Pos:1|Opts:Stem=Down,Beam=End
|Dynamic|Style:f|Pos:-9|Justify:Right|Placement:AtNextNote
|Note|Dur:Whole,Grace|Pos:1z^|Visibility:Never
|Dynamic|Style:p|Pos:-9|Justify:Center|Placement:AtNextNote
|Note|Dur:8th|Pos:1|Opts:Stem=Down,Beam=First
|Note|Dur:8th|Pos:1|Opts:Stem=Down,Beam
|Note|Dur:8th|Pos:1|Opts:Stem=Down,Beam
|Note|Dur:8th|Pos:1|Opts:Stem=Down,Beam=End
!NoteWorthyComposerClip-End