Jump to content

Photo

IntyMusic - music viewer


16 replies to this topic

#1 mmarrero OFFLINE  

mmarrero

    Star Raider

  • 59 posts

Posted Wed Aug 3, 2016 2:49 PM

Hello Everyone,
 
I've updated IntyMusic, plenty of changes this times for version 10/20/2016. Source included.
 
IntyMusic is an IntyBasic MUSIC/PLAY visualizer. It shows notes during playback, volume level. Many options can be customized from constant/variables in the IntyMusic.bas file, for example, scrolling direction, speed, and most colors. It now has an optional menu/playlist, and kiosk mode support (option for menu autoselect, and another option to stop song after specified time period).

IntyMusicPlaying.gif   IntyMusicMenu.gif

 

 

It also has a music debug mode, shows line counter and note chars, which can be set to almost match source .bas file. (It will not show drums, note cuts).
IntyMusicDebug.png
 
To customize, edit IntyMusic.bas. If there are multiple songs, also edit IntyMusicMenu. Music source files don't need a label anymore. I also made the menu source code to run independently from IntyMusic.
Attached File  IntyMusic-2016-10-20.zip   805.85KB   91 downloads
 
I also included a demo ROM with a few songs. It is included in the source code in a separate folder. To select a song use disc and trigger, or, enter the song number then Enter. To go back to the 1st item press Clear. During playback, press Clear to stop.
Attached File  IntyMusic.rom   74.07KB   93 downloads
 
Enjoy!
 
 - Marco

Attached Thumbnails

  • IntyMusicDebug.png
  • IntyMusicDebug2.gif
  • IntyMusicMenu.gif
  • IntyMusicPlaying.gif
  • IntyMusicTitle.gif

Attached Files


Edited by mmarrero, Thu Oct 20, 2016 9:17 PM.


#2 nanochess ONLINE  

nanochess

    Processorus Polyglotus

  • 5,392 posts
  • Coding something good
  • Location:Mexico City

Posted Wed Aug 3, 2016 10:36 PM

I like it! :) :thumbsup:



#3 mmarrero OFFLINE  

mmarrero

    Star Raider

  • Topic Starter
  • 59 posts

Posted Thu Oct 20, 2016 9:45 PM

Hello everyone, I've been updating IntyMusic for a while, many changes this time!

- Updated graphics, notes are larger, IBM-ish character font for notes
- Scroll speed is now adjustable, and now scrolls in the correct direction (can be set to either)

- No more missed notes! (50Hz. I finally understood how IntyBasic music player works)

- Volume meter. Now it looks more like a mod player than a midi player.
- Kiosk mode: menu autoselect and autoplay. (You can take control. Bug: 1st selected song will timeout, rest won't.)
- Volume meter, global play volume, graphical improvements, scroll speed, and short fadeout when song is stopped

- Menu code was designed to not depend on IntyMusic, it can work in other projects. Only used GROM, one 16-bit var.

- Music Debug: Displays line, char, #, Octave. No drums or note cuts. (set flag to match MUSIC row # in text editor.)

IntyMusicDebug.png

The demo .rom has 12 songs, all converted from MIDI using OpenMPT, many converted to MIDI from .vgz (Sega Master) or .nsf (Nes).
Most songs I tried converting had bad results. I included some of the nicer ones, in source code, DemoROM\Songs\NG folder. (Not included in demo .rom)

 

The full source code "IntyMusic-2016-10-20.zip", screenshots, video, and a demo .rom were updated in the 1st post. Enjoy!



#4 First Spear OFFLINE  

First Spear

    Stargunner

  • 1,251 posts
  • Location:Somewhere in Uptown

Posted Fri Oct 21, 2016 12:15 AM

Wow, that is really good. I would like to take the songs I have posted and re-work them to use your playing engine. The stuff would look great as a demo in a convention. Thanks for sharing!



#5 DZ-Jay OFFLINE  

DZ-Jay

    Quadrunner

  • 10,740 posts
  • Triple-Stripe Mo' Bro
  • Location:NC, USA

Posted Fri Oct 21, 2016 5:52 PM

Wow, that is really good. I would like to take the songs I have posted and re-work them to use your playing engine. The stuff would look great as a demo in a convention. Thanks for sharing!

 

I think it uses the IntyBASIC music engine, so your songs should work fine.  It's a visualizer client built on top of IntyBASIC, so it reads the song data while it plays.



#6 First Spear OFFLINE  

First Spear

    Stargunner

  • 1,251 posts
  • Location:Somewhere in Uptown

Posted Fri Oct 21, 2016 9:48 PM

Oh yeah, it does, I just need to get the time to make the changes/merges. :)

 

 

I think it uses the IntyBASIC music engine, so your songs should work fine.  It's a visualizer client built on top of IntyBASIC, so it reads the song data while it plays.



#7 mmarrero OFFLINE  

mmarrero

    Star Raider

  • Topic Starter
  • 59 posts

Posted Sat Oct 22, 2016 6:41 AM

You're both correct, it reads some IntyBasic's music player variables at every frame (On frame gosub). If NTSC, also skips same ones to run at 50Hz, every 6th.

It does need reworking source files a bit, .bas must not have code. For "music debug", no blank rows. And, label: before data/music is no longer needed.



#8 First Spear OFFLINE  

First Spear

    Stargunner

  • 1,251 posts
  • Location:Somewhere in Uptown

Posted Mon Sep 11, 2017 7:06 PM

I can't believe it's almost been a year since this came out. Man I have got to get some free time for what's important. :)

 

 

You're both correct, it reads some IntyBasic's music player variables at every frame (On frame gosub). If NTSC, also skips same ones to run at 50Hz, every 6th.

It does need reworking source files a bit, .bas must not have code. For "music debug", no blank rows. And, label: before data/music is no longer needed.



#9 JosueCom OFFLINE  

JosueCom

    Combat Commando

  • 6 posts
  • Location:Massachusetts

Posted Sun May 20, 2018 7:04 PM

How do you make music in the first place? Is there a tool?



#10 mmarrero OFFLINE  

mmarrero

    Star Raider

  • Topic Starter
  • 59 posts

Posted Mon May 21, 2018 8:50 PM

I use a Mod tracker (MilkyTracker) to "compose" songs, I use an Intellivision instrument/sample. Then in OpenMPT (another tracker, that can read MIDIs too) I copy track text (right click on pattern numbers, "Copy pattern"). 
 
That text is easy to translate to IntyBASIC MUSIC data. I initially used Notepad++ macro recorder and search/replace, but I later ended up programming my own utility. (I'll probably include it in the next Lydie release.)


#11 carlsson OFFLINE  

carlsson

    Metagalactic Mule

  • 6,868 posts
  • Location:Västerås, Sweden

Posted Mon May 21, 2018 11:42 PM

Similar story here, using a tracker intended for another environment, limiting myself to what can be reproduced on the Intellivision and then applying a few steps of conversion and a liberal amount of hand work to make the music data fit the MUSIC format. The key is to somewhere in the process being able to get text output with named tones (C, D, E etc).

 

For instance if you have a somewhat simple SID song, the tool SID2MIDI has an option to output text instead of a MIDI file. That text file will need a bit of editing (which is a piece of cake for me using Emacs) but in the end fairly quickly yields results useable with the IntyBASIC MUSIC command.



#12 First Spear OFFLINE  

First Spear

    Stargunner

  • 1,251 posts
  • Location:Somewhere in Uptown

Posted Thu May 24, 2018 4:43 PM

That settles it - Emacs rules! vi be damned!

 

 

Similar story here, using a tracker intended for another environment, limiting myself to what can be reproduced on the Intellivision and then applying a few steps of conversion and a liberal amount of hand work to make the music data fit the MUSIC format. The key is to somewhere in the process being able to get text output with named tones (C, D, E etc).

 

For instance if you have a somewhat simple SID song, the tool SID2MIDI has an option to output text instead of a MIDI file. That text file will need a bit of editing (which is a piece of cake for me using Emacs) but in the end fairly quickly yields results useable with the IntyBASIC MUSIC command.



#13 carlsson OFFLINE  

carlsson

    Metagalactic Mule

  • 6,868 posts
  • Location:Västerås, Sweden

Posted Fri May 25, 2018 12:18 AM

I have no reasons to initiate or uphold text editor wars, I just like to point out what works for me and why I like it. People who like different are no less, though it's up to them how they solve the same tasks.

 

As an example, the rectangle cut and paste function is something that may exist in other editors as well, though I only know it from Emacs. It is very useful when I edit output from SID2MIDI, being able to remove entire columns of text.


Edited by carlsson, Fri May 25, 2018 12:19 AM.


#14 DZ-Jay OFFLINE  

DZ-Jay

    Quadrunner

  • 10,740 posts
  • Triple-Stripe Mo' Bro
  • Location:NC, USA

Posted Fri May 25, 2018 3:02 AM

I have no reasons to initiate or uphold text editor wars, I just like to point out what works for me and why I like it. People who like different are no less, though it's up to them how they solve the same tasks.

 

As an example, the rectangle cut and paste function is something that may exist in other editors as well, though I only know it from Emacs. It is very useful when I edit output from SID2MIDI, being able to remove entire columns of text.

 

No, no.  Vi is better.  :grin:

 

  -dZ.



#15 Darkhog OFFLINE  

Darkhog

    Chopper Commander

  • 156 posts

Posted Tue May 29, 2018 9:19 AM

Both of you are wrong. mcedit is the best.

 

Anyway, great tool. I hope someone would make a fully Inty tracker one day, akin to Famitracker that could output data in the MUSIC format. The one way to do it so the tracker wouldn't need to have its own playback routines would be to generate a simplistic IntyBASIC code that just plays music on bootup while including the song data (which would also test the export routine), then compile it with IntyBASIC and launch resulting rom with jzintv. Anyway, I hope someone will make one in future.



#16 DZ-Jay OFFLINE  

DZ-Jay

    Quadrunner

  • 10,740 posts
  • Triple-Stripe Mo' Bro
  • Location:NC, USA

Posted Tue May 29, 2018 10:21 AM

Both of you are wrong. mcedit is the best.


Actually, I use TextMate on Mac OS X, and EdtiPlus on Windows.

#17 carlsson OFFLINE  

carlsson

    Metagalactic Mule

  • 6,868 posts
  • Location:Västerås, Sweden

Posted Tue May 29, 2018 10:58 AM

I was digging around for AY based trackers a while ago and found something that looked promising and current as regarding to it still was maintained. How much work it would involve to extend that program to output a few more data formats is the big question, plus that a lot of tracker based effects like vibratos, glissandos, arpeggios, tempo changes etc aren't really supported by IntyBASIC MUSIC format and would need to be ignored when exporting.






0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users