MGOS
LV5 Advanced (Next: 300)
   
Offline
Gender: 
Last Login: Yesterday at 23:52:54
Date Registered: 29 July, 2011, 16:54:53
Location: Germany
Posts: 295
Topic starter
Total Post Ratings: +73
|
 |
« on: 14 January, 2012, 13:12:02 » |
+3
|
This is my first implementation of an idea a friend of mine had after I showed him my axe TIstudio. 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:- Put "MUSGRAPH.8xp" (TI-Basic) and "MUSGPLAY.8xp" (ASM) on your calculator and plug 2.5 mm headphones or amplifier in.
- Press [ Y= ] and enter any function want to hear/graph
- Press [WINDOW] and enter the maximums and minimums
- Press [ PRGM ] , chose "MUSGRAPH" and press [ENTER] two times
- A text which says "Generate... " and a progress bar will appear, then it draws and plays the graph
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)
|
|
|
« Last Edit: 14 January, 2012, 15:02:34 by MGOS »
|
Logged
|
|
|
|
Blue Raven
LV3 Member (Next: 100)
 
Offline
Gender: 
Last Login: 23 July, 2012, 19:52:08
Date Registered: 28 December, 2011, 00:11:56
Location: France
Posts: 73
Total Post Ratings: +3
|
 |
« Reply #1 on: 14 January, 2012, 14:25:20 » |
0
|
Well... nice concept but it may not produce very exiting melodies. I'll try it anyway. Does it work with parametric functions ?
|
|
|
|
|
Logged
|
|
|
|
MGOS
LV5 Advanced (Next: 300)
   
Offline
Gender: 
Last Login: Yesterday at 23:52:54
Date Registered: 29 July, 2011, 16:54:53
Location: Germany
Posts: 295
Topic starter
Total Post Ratings: +73
|
 |
« Reply #2 on: 14 January, 2012, 15:00:28 » |
0
|
Does it work with parametric functions ?
Not yet. It is just a fun project, nothing serious so don't expect anything outstanding.
|
|
|
|
|
Logged
|
|
|
|
Blue Raven
LV3 Member (Next: 100)
 
Offline
Gender: 
Last Login: 23 July, 2012, 19:52:08
Date Registered: 28 December, 2011, 00:11:56
Location: France
Posts: 73
Total Post Ratings: +3
|
 |
« Reply #3 on: 14 January, 2012, 17:16:38 » |
0
|
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. ^^
|
|
|
|
|
Logged
|
|
|
|
MGOS
LV5 Advanced (Next: 300)
   
Offline
Gender: 
Last Login: Yesterday at 23:52:54
Date Registered: 29 July, 2011, 16:54:53
Location: Germany
Posts: 295
Topic starter
Total Post Ratings: +73
|
 |
« Reply #4 on: 14 January, 2012, 17:32:34 » |
0
|
X*sin(X+cos(X)) and 10*abs(sin(X+.5*cos(X)))-abs(X) are quite interesting too (Window: Zstandard)
|
|
|
|
« Last Edit: 14 January, 2012, 17:40:40 by MGOS »
|
Logged
|
|
|
|
Deep Thought
So much to do, so much time, so little motivation
Administrator
LV13 Extreme Addict (Next: 9001)
Online
Gender: 
Last Login: Today at 03:56:01
Date Registered: 19 May, 2009, 08:00:00
Location: The Universe
Posts: 7813
Total Post Ratings: +706
|
 |
« Reply #5 on: 14 January, 2012, 17:46:05 » |
0
|
Yay, now we can have a quadratic solver that plays music while finding your roots!  Nice job. Now let's go and find the most interesting graph to play.
|
|
|
|
|
Logged
|
|
|
|
|
Hayleia
|
 |
« Reply #6 on: 18 January, 2012, 19:21:15 » |
0
|
Lol, I am going to try this on Wabbit, sounds fun 
|
|
|
|
|
Logged
|
|
|
|
|