PropMidi Player V2.1:POSTED:
Oldbitcollector (Jeff)
Posts: 8,091
I'm working on "PropMIDI" a midi player based on Andy Schenk's PMSynth.
(Thanks for this Andy, I having a great time with it!)
Attached is: PROPMIDI V2.1 (PC Streaming & SD File Version)
Changes:
* Added the ability to kill a song mid-play with spacebar
* Notes too high or low for the scale will borrow from the keyboard above or below.
* Minor bug fix with the input routine.
* Fixed minor issue with channels
Todo:
* Find way to fix PAL display (Thanks Baggers!)
* Fix minor issue with borrowed note display
* Add more midi control features
Enjoy!
In SD File mode:
This player will display all .mid files and allow you to play them from SD.
If the SD card is not detected, the player drops automatically into PCSTREAM mode.
{supports type 0 midi files only.}
In PCSTREAM mode:
It is based on Andy's "MIDI Expander" so you'll need to install the Roland Driver from
tomscarff.110mb.com/USB_MIDI/USB_MIDI.htm
{Configuration for PCSTREAM mode:}
After you have it successfully installed, set MIDI out to the "Roland Serial MIDI out A" with the following:
START-->Control Panel-->Sounds and Audio Devices-->Audio Tab
Pull down the "Midi Playback Device" and choose the Roland device.
The design is based on the old SID PLAYER from the early C64 days.
The first five channels are displayed on the keyboards, other channels change the note effects on the sides.
There's a couple small features I'll add later, and a minor bug was fixed from last version.
Development screenshots are attached...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
Post Edited (Oldbitcollector) : 4/28/2009 4:25:44 AM GMT
(Thanks for this Andy, I having a great time with it!)
Attached is: PROPMIDI V2.1 (PC Streaming & SD File Version)
Changes:
* Added the ability to kill a song mid-play with spacebar
* Notes too high or low for the scale will borrow from the keyboard above or below.
* Minor bug fix with the input routine.
* Fixed minor issue with channels
Todo:
* Find way to fix PAL display (Thanks Baggers!)
* Fix minor issue with borrowed note display
* Add more midi control features
Enjoy!
In SD File mode:
This player will display all .mid files and allow you to play them from SD.
If the SD card is not detected, the player drops automatically into PCSTREAM mode.
{supports type 0 midi files only.}
In PCSTREAM mode:
It is based on Andy's "MIDI Expander" so you'll need to install the Roland Driver from
tomscarff.110mb.com/USB_MIDI/USB_MIDI.htm
{Configuration for PCSTREAM mode:}
After you have it successfully installed, set MIDI out to the "Roland Serial MIDI out A" with the following:
START-->Control Panel-->Sounds and Audio Devices-->Audio Tab
Pull down the "Midi Playback Device" and choose the Roland device.
The design is based on the old SID PLAYER from the early C64 days.
The first five channels are displayed on the keyboards, other channels change the note effects on the sides.
There's a couple small features I'll add later, and a minor bug was fixed from last version.
Development screenshots are attached...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
Post Edited (Oldbitcollector) : 4/28/2009 4:25:44 AM GMT
Comments
Hey I have been playing with it too and have done this:
www.youtube.com/watch?v=OyBgHSvVgUY
I figured you were not following my PASM tutorial thread, so you missed the URL.
James L
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
James L
Partner/Designer
Lil Brother SMT Assembly Services
Thanks for posting that! I hadn't been following your PASM tutorial as you expected.
(I figure it's all I can do to create decent .spin right now. [noparse]:)[/noparse]
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
Here's the thread.
http://forums.parallax.com/showthread.php?p=797590
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
Well as I understand it Andy was just playing, and may not be through with it.
http://forums.parallax.com/showthread.php?p=797590
That should get you the object you need.
James L
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
James L
Partner/Designer
Lil Brother SMT Assembly Services
Hey, your always one step ahead, I guess me learning PASM makes me edged in now.
James L
Plus those are all 0603 resistors and LED's on the board with the uSD card slot and the TSSOP20. I know an assembler who made it RoHS.
I was going to hand assemble it, then I looked at the "Pick & Place" and figured I would use some of that $45,000.00 for myself (20 minute hand assembly = about 2 minutes on machine)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
James L
Partner/Designer
Lil Brother SMT Assembly Services
Post Edited (James Long) : 4/26/2009 8:16:03 PM GMT
This version will play your MIDI files from the PC into the Propeler's programming connection. It feels very old school and should take C64 guys back a few years. [noparse]:)[/noparse]
Edit: A thought. I'm starting to wonder if .spin is adding to my poor
programming skills. This program has more IF statements in it than a legal contract,
and yet I'm shocked that it accurately keeps up with five keyboard displays.
(I really had my doubts spin would be fast enough.)
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
Post Edited (Oldbitcollector) : 4/26/2009 11:13:31 PM GMT
OBC,
Pretty cool.
I'm not surprised spin and keep up. I'm only using asm to keep up with the output chips which require 3 bytes to change status. If I use 8 chips, that is 24 bytes of information. If Midi is played at 4800 bytes per second (not all notes per se), there is a lot of switching going on. I tried spin, but it wasn't keeping up. I am definitely keeping up now with asm.
The output chips are running at maximum 400K.
James L
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
James L
Partner/Designer
Lil Brother SMT Assembly Services
This one works for both "PCStreaming mode" and "SD Files mode"
{Must use midi-type 0 in SD Files mode}
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
Ok, now. That is enough, I don't have any more cool videos to counter that.
James L
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
James L
Partner/Designer
Lil Brother SMT Assembly Services
It does make for a very relaxing Sunday.. I'm ready for the week now... [noparse]:)[/noparse]
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
Looks great! Nice screen shots. I'll try it tonight if not before. The first computer I ever repaired was a Commodore PET. Am I really that old? to suit my taste I may have to add text a warning to the code:
*** Warning ... Now playing Country Music ***
@James Nice video
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Aka: CosmicBob
Hey I also need to add a shout out to Alex Schafer (trodoss) for the
creation of FontGenerator (distributed with the AiGeneric package)
The last time I created fonts for AiGeneric I did them by hand.
This was a PERFECT, easy way to generate the keyboards, etc for this
project. Loaded the default graphic into MSPAINT and did the edits
under full magnification.
A tip for others. (You'll need to move any character which is created
over top of $00 (blank space) $20 (space) and $08 (backspace).
This is a trivial issue, but things do look a little funny until you do.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
Bob,
The video was a bust really. My Hi8mm Camera sucks, and I need a better camera, but I think the idea of what I was doing got across.
James L
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
James L
Partner/Designer
Lil Brother SMT Assembly Services
seriously left out when I'm using the AiGeneric Driver.
Would a PAL user mind stepping forward (PM me) to assist
in getting this driver working in PAL as well as it does in NTSC?
Thanks!
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
Added a new release of the program tonight. Minor bug fixes and other changes.
(See top thread)
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.