Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
23 May, 2013, 04:11:16 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1]   Go Down
  Print  
Author Topic: MusGraph -  (Read 364 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
MGOS
LV5 Advanced (Next: 300)
*****
Offline Offline

Gender: Male
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

View Profile
« 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)

* AMUSG.8xp (0.41 KB - downloaded 16 times.)
* MUSGPLAY.8xp (0.26 KB - downloaded 16 times.)
* MUSGRAPH.8xp (0.31 KB - downloaded 17 times.)
« Last Edit: 14 January, 2012, 15:02:34 by MGOS » Logged

Click those to see more information Smiley
Current   
Projects: 
Blue Raven
LV3 Member (Next: 100)
***
Offline Offline

Gender: Male
Last Login: 23 July, 2012, 19:52:08
Date Registered: 28 December, 2011, 00:11:56
Location: France
Posts: 73


Total Post Ratings: +3

View Profile
« 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

Apprenez l'Axe ! | DropBox

MGOS
LV5 Advanced (Next: 300)
*****
Offline Offline

Gender: Male
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

View Profile
« 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

Click those to see more information Smiley
Current   
Projects: 
Blue Raven
LV3 Member (Next: 100)
***
Offline Offline

Gender: Male
Last Login: 23 July, 2012, 19:52:08
Date Registered: 28 December, 2011, 00:11:56
Location: France
Posts: 73


Total Post Ratings: +3

View Profile
« 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

Apprenez l'Axe ! | DropBox

MGOS
LV5 Advanced (Next: 300)
*****
Offline Offline

Gender: Male
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

View Profile
« 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

Click those to see more information Smiley
Current   
Projects: 
Deep Thought
So much to do, so much time, so little motivation
Administrator
LV13 Extreme Addict (Next: 9001)
*
Online Online

Gender: Male
Last Login: Today at 03:56:01
Date Registered: 19 May, 2009, 08:00:00
Location: The Universe
Posts: 7813


Total Post Ratings: +706

View Profile WWW
« 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! Cheesy

Nice job. Now let's go and find the most interesting graph to play.
Logged




Hayleia
Programming Absol
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Last Login: Yesterday at 20:50:49
Date Registered: 01 June, 2011, 20:12:47
Location: ud-ud ?
Posts: 2053


Total Post Ratings: +256

View Profile
« Reply #6 on: 18 January, 2012, 19:21:15 »
0

Lol, I am going to try this on Wabbit, sounds fun Tongue
Logged





Spoiler for what I am according to...:
me: useless
Pokemon Test: an Absol
turiqwalrus: an eggplant
p2: A HUMAN BEING !
Blackpilar and p2: iplantonlyplantwantplanttoplantknowplantifplantyouplantareplantaplantboyplantorplantaplantgirlplant
click here to know where you got your last +1s
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.163 seconds with 30 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.