Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Keoni29

Pages: 1 ... 143 144 [145] 146 147 ... 168
2161
Axe / Re: AXE midi out adapter
« on: November 13, 2011, 07:48:04 am »
It doesn't work. I will check the signal with a digital osciloscope.

Edit: I think it's the hardware. I don't have a clue :( Every site tells me to do it differently :(

2162
Axe / Re: AXE midi out adapter
« on: November 12, 2011, 04:55:11 pm »
Does it need a special midi cord or something?
No, but you gotta build a small piece of hardware. You need a 1k, 220 and 800 ohm resistor, a 9v battery, a midi socket,a 2.5mm plug socket and a pnp transistor
Sounds awesome. I have an Arduino, I might try it. Or even help.
No arduinos involved, but thank you for the offer.

2163
Axe / Re: AXE midi out adapter
« on: November 12, 2011, 02:16:45 pm »
It will support all midi features I hope so it's gonna be awesomesauce if it works. Shootout to thepenguin77 for his UART axiom.

2164
Axe / Re: AXE midi out adapter
« on: November 12, 2011, 02:05:57 pm »
Interesting. Would it let you use for example a calc as a midi keyboard or just an actual midi keyboard to play music on your calc?
It sends midi notes to an external midi device.

2165
Other Calculators / Re: AxeSynth-MJ's Thriller
« on: November 12, 2011, 12:49:09 pm »
does that work flawless?
Almost since there is a tiny delay. You won't notice it :)

2166
Other Calculators / Re: AxeSynth-MJ's Thriller
« on: November 12, 2011, 12:47:16 pm »
Use this:
While Getkey(xx)
Freq
End

2167
The Axe Parser Project / Re: MIDI To Axe Music Converter
« on: November 12, 2011, 12:40:31 pm »
Soon we have real midi for axe :D (I hope)

2168
Other Calculators / Re: AxeSynth-MJ's Thriller
« on: November 12, 2011, 11:38:32 am »
sounds like earrape

D:

lol, well yeah. Can't do much about the sound quality without ASM
You can! Use a frequency table :)
I did lol. that's what AxeSynth does. You try it, there's no escaping the slight buzz on Continuous Mode.
That takes up a lot of space. But indeed, that works flawless.
Nope just 24 bytes for the lut including the lowest octave (16-bits) and a small piece of code to shift octaves:
Code: [Select]
the wavelenght is {GDB1LUT+NOTE}r/e^(OCTAVE)

2169
Other Calculators / Re: AxeSynth-MJ's Thriller
« on: November 12, 2011, 11:10:50 am »
That takes up a lot of space. But indeed, that works flawless.
Nope just 24 bytes for the lut including the lowest octave (16-bits) and a small piece of code to shift octaves:
Code: [Select]
the wavelenght is {GDB1LUT+NOTE}r/e^(OCTAVE)

2170
Other Calculators / Re: AxeSynth-MJ's Thriller
« on: November 12, 2011, 10:47:23 am »
sounds like earrape

D:

lol, well yeah. Can't do much about the sound quality without ASM
You can! Use a frequency table :)

2171
Axe / Re: AXE midi out adapter
« on: November 12, 2011, 09:51:31 am »
I should get an arduino :p Solves every problem.

2172
Axe / Re: AXE midi out adapter
« on: November 12, 2011, 05:10:50 am »
I'm not sure, but I think high is one.
Also 31250 is not really the bit rate, but changes/sec (unit is baud) ^^
So is it doable using axe?

2173
Axe / Re: AXE midi out adapter
« on: November 12, 2011, 05:03:47 am »
Take a look at this: http://patents.ame.nd.edu/microcontroller/main/node24.html
and this
http://en.wikipedia.org/wiki/Universal_asynchronous_receiver/transmitter

UART and RS-232 are your keywords :)
So a start bit is logic 1 and a stop bit is slightly longer than a normal bit and logic 0. What does logic 1 mean? No current flow? (I'm confuses about inverted signals :P)

2174
Axe / Re: AXE midi out adapter
« on: November 12, 2011, 04:47:06 am »
Looks pretty easy, just a serial protocol :)
I don't know how easy it is to do with a TI-83, but its quite simple.
You should look first at making it output serial data, sending the bytes together with the stop bits at the right bitrate.
Serial.begin(31250);
That is the bitrate in bits/second. 31kHz is very high. I might have to use a microcontroller to speed up the signal.
Where should I put the stop/start bits exactely?

2175
Axe / AXE midi out adapter
« on: November 12, 2011, 04:31:56 am »
Hey guys! I'm working on a midiadapter for the TI 83 series calculators. The hardware is neary done (need a midi socket) I found this code on the arduino website:
Code: [Select]
void setup() {
  //  Set MIDI baud rate:
  Serial.begin(31250);
}

void loop() {
  // play notes from F#-0 (0x1E) to F#-5 (0x5A):
  for (int note = 0x1E; note < 0x5A; note ++) {
    //Note on channel 1 (0x90), some note value (note), middle velocity (0x45):
    noteOn(0x90, note, 0x45);
    delay(100);
    //Note on channel 1 (0x90), some note value (note), silent velocity (0x00):
    noteOn(0x90, note, 0x00); 
    delay(100);
  }
}

//  plays a MIDI note.  Doesn't check to see that
//  cmd is greater than 127, or that data values are  less than 127:
void noteOn(int cmd, int pitch, int velocity) {
  Serial.write(cmd);
  Serial.write(pitch);
  Serial.write(velocity);
}
I wonder what the output of this code is (in binairy) so that I can write a midi routine in axe.

Pages: 1 ... 143 144 [145] 146 147 ... 168