Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: MGOS on January 14, 2012, 06:12:02 am

Title: MusGraph
Post by: MGOS on January 14, 2012, 06:12:02 am
This is my first implementation of an idea a friend of mine had after I showed him my axe TIstudio (http://ourl.ca/14703).

It graphs any function with any window settings (like the OS), but it plays a note to each corresponding Y-value it draws.

How to use it:


Issues known:
Functions with nonreal Y-value in the given range (e. g. sqrt(X)) will throw an error.
Also, only the standard Y= functions will work, no parametric or polar.

Attached files:

TI-Basic executable: MUSGRAPH.8xp (main program, execute this)
Asm sound routine: MUSGPLAY.8xp (needs to be on the calculator, but do not execute!)
Axe source code: AMUSG.8xp (not needed, only for people who want to know how it works, compilable with AXE 1.0 or higher)
Title: Re: MusGraph
Post by: Blue Raven on January 14, 2012, 07:25:20 am
Well... nice concept but it may not produce very exiting melodies. I'll try it anyway. Does it work with parametric functions ?
Title: Re: MusGraph
Post by: MGOS on January 14, 2012, 08:00:28 am
Does it work with parametric functions ?
Not yet.

It is just a fun project, nothing serious so don't expect anything outstanding.
Title: Re: MusGraph
Post by: Blue Raven on January 14, 2012, 10:16:38 am
Does it work with parametric functions ?
Not yet.

It is just a fun project, nothing serious so don't expect anything outstanding.
I tested it and it's quite fun. You can get some nice results with decreasing cosinus or sinus. ^^
Title: Re: MusGraph
Post by: MGOS on January 14, 2012, 10:32:34 am
X*sin(X+cos(X)) and 10*abs(sin(X+.5*cos(X)))-abs(X) are quite interesting too (Window: Zstandard)
Title: Re: MusGraph
Post by: Deep Toaster on January 14, 2012, 10:46:05 am
Yay, now we can have a quadratic solver that plays music while finding your roots! :D

Nice job. Now let's go and find the most interesting graph to play.
Title: Re: MusGraph
Post by: Hayleia on January 18, 2012, 12:21:15 pm
Lol, I am going to try this on Wabbit, sounds fun :P