diff --git a/Applications/Processing/SLIPSerialToUDP/SLIPSerialToUDP.pde b/Applications/Processing/SLIPSerialToUDP/SLIPSerialToUDP.pde index 97f8215..1d5046b 100644 --- a/Applications/Processing/SLIPSerialToUDP/SLIPSerialToUDP.pde +++ b/Applications/Processing/SLIPSerialToUDP/SLIPSerialToUDP.pde @@ -192,7 +192,7 @@ public void STOP() { SERIAL ************************************************************************************/ -//the Serial communcation to the Arduino +//the Serial communication to the Arduino Serial serial; String[] serialRateStrings = { @@ -314,7 +314,7 @@ void UDPSendBuffer(byte[] data) { udp.send( data, ipAddress, outPort ); } -//called when UDP recieves some data +//called when UDP receives some data void receive( byte[] data) { drawIncomingUDP(); //send it over to serial diff --git a/Applications/Processing/SLIPSerialToUDPp3 b/Applications/Processing/SLIPSerialToUDPp3 index 3a57045..e5c3ad6 100644 --- a/Applications/Processing/SLIPSerialToUDPp3 +++ b/Applications/Processing/SLIPSerialToUDPp3 @@ -192,7 +192,7 @@ public void STOP() { SERIAL ************************************************************************************/ -//the Serial communcation to the Arduino +//the Serial communication to the Arduino Serial serial; String[] serialRateStrings = { //less baudrates, only hi speeds @@ -315,7 +315,7 @@ void UDPSendBuffer(byte[] data) { udp.send( data, ipAddress, outPort ); } -//called when UDP recieves some data +//called when UDP receives some data void receive( byte[] data) { drawIncomingUDP(); //send it over to serial diff --git a/Applications/Processing/UDPReceiveBundle/UDPReceiveBundle.pde b/Applications/Processing/UDPReceiveBundle/UDPReceiveBundle.pde index 77590b6..466ddbf 100644 --- a/Applications/Processing/UDPReceiveBundle/UDPReceiveBundle.pde +++ b/Applications/Processing/UDPReceiveBundle/UDPReceiveBundle.pde @@ -4,7 +4,7 @@ Receives and visualizes OSCBundles sent over UDP Use with /examples/UDPSendBundle or with /examples/SerialSendBundle in conjunction -with /Applicaitons/Processing/SLIPSerialToUDP +with /Applications/Processing/SLIPSerialToUDP */ import oscP5.*; diff --git a/Applications/Processing/UDPReceiveMessage/UDPReceiveMessage.pde b/Applications/Processing/UDPReceiveMessage/UDPReceiveMessage.pde index 75c3dd1..9856bcd 100644 --- a/Applications/Processing/UDPReceiveMessage/UDPReceiveMessage.pde +++ b/Applications/Processing/UDPReceiveMessage/UDPReceiveMessage.pde @@ -4,7 +4,7 @@ Receives and visualizes OSCBundles sent over UDP Use with /examples/UDPSendMessage or with /examples/SerialSendMessage in conjunction -with /Applicaitons/Processing/SLIPSerialToUDP +with /Applications/Processing/SLIPSerialToUDP */ import oscP5.*; diff --git a/OSCBundle.cpp b/OSCBundle.cpp index 1fb1416..3957c11 100644 --- a/OSCBundle.cpp +++ b/OSCBundle.cpp @@ -218,7 +218,7 @@ OSCBundle& OSCBundle::send(Print &p){ //turn the message size into a pointer uint32_t s32 = BigEndian((uint32_t) msgSize); uint8_t * sptr = (uint8_t *) &s32; - //write the messsage size + //write the message size p.write(sptr, 4); msg->send(p); } diff --git a/OSCMessage.cpp b/OSCMessage.cpp index 96d10de..7ec23b7 100755 --- a/OSCMessage.cpp +++ b/OSCMessage.cpp @@ -83,7 +83,7 @@ OSCMessage::~OSCMessage(){ OSCMessage& OSCMessage::empty(){ error = OSC_OK; - //free each of hte data in the array + //free each of the data in the array for (int i = 0; i < dataCount; i++){ OSCData * datum = getOSCData(i); //explicitly destruct the data @@ -449,7 +449,7 @@ int OSCMessage::bytes(){ //padding amount int addrPad = padSize(addrLen); messageSize += addrPad; - //add the comma seperator + //add the comma separator messageSize += 1; //add the types messageSize += dataCount; @@ -506,7 +506,7 @@ OSCMessage& OSCMessage::send(Print &p){ while(addrPad--){ p.write(nullChar); } - //add the comma seperator + //add the comma separator p.write((uint8_t) ','); //add the types #ifdef PAULSSUGGESTION @@ -589,7 +589,7 @@ OSCMessage& OSCMessage::fill(uint8_t * incomingBytes, int length){ void OSCMessage::decodeAddress(){ setAddress((char *) incomingBuffer); - //change the error from invalide message + //change the error from invalid message error = OSC_OK; clearIncomingBuffer(); } diff --git a/OSCMessage.h b/OSCMessage.h index 2205eed..24f7c6d 100755 --- a/OSCMessage.h +++ b/OSCMessage.h @@ -111,7 +111,7 @@ class OSCMessage //new constructor needs an address OSCMessage (const char * _address); //no address - //placeholder since it's invalide OSC + //placeholder since it's invalid OSC OSCMessage(); //can optionally accept all of the data after the address diff --git a/SLIPEncodedSerial.cpp b/SLIPEncodedSerial.cpp index 2f689ce..f6a43c6 100755 --- a/SLIPEncodedSerial.cpp +++ b/SLIPEncodedSerial.cpp @@ -3,7 +3,7 @@ /* CONSTRUCTOR */ -//instantiate with the tranmission layer +//instantiate with the transmission layer //use HardwareSerial SLIPEncodedSerial::SLIPEncodedSerial(HardwareSerial &s){ serial = &s; diff --git a/SLIPEncodedUSBSerial.cpp b/SLIPEncodedUSBSerial.cpp index 2318809..2e17080 100755 --- a/SLIPEncodedUSBSerial.cpp +++ b/SLIPEncodedUSBSerial.cpp @@ -4,7 +4,7 @@ /* CONSTRUCTOR */ -//instantiate with the tranmission layer +//instantiate with the transmission layer #if (defined(CORE_TEENSY) && defined(USB_SERIAL)) || (!defined(CORE_TEENSY) && defined(__AVR_ATmega32U4__)) || defined(__SAM3X8E__) || (defined(_USB) && defined(_USE_USB_FOR_SERIAL_)) || defined(BOARD_maple_mini) || defined(_SAMD21_) || defined(__ARM__) || (defined(__PIC32MX__) || defined(__PIC32MZ__)) diff --git a/examples/OSCEsplora/OSCEsplora.ino b/examples/OSCEsplora/OSCEsplora.ino index 14fc82d..be6270d 100644 --- a/examples/OSCEsplora/OSCEsplora.ino +++ b/examples/OSCEsplora/OSCEsplora.ino @@ -198,7 +198,7 @@ void loop(){ // The COOKED OSC address space and parameter mappings // encode data for ease of use and legibility at the host. Unit intervals replace integers - // The names are chosen to clarify usage rather than adherance to the silkscreen + // The names are chosen to clarify usage rather than adherence to the silkscreen // also values are acquired as close together as reasonably possible to increase // their usability in sensor fusion contexts, i.e. in this case with the accelerometer diff --git a/examples/SerialOscuinoAdaFruitPlayGroundExpresswithBundles/SerialOscuinoAdaFruitPlayGroundExpresswithBundles.ino b/examples/SerialOscuinoAdaFruitPlayGroundExpresswithBundles/SerialOscuinoAdaFruitPlayGroundExpresswithBundles.ino index 9629fad..bfd81fc 100644 --- a/examples/SerialOscuinoAdaFruitPlayGroundExpresswithBundles/SerialOscuinoAdaFruitPlayGroundExpresswithBundles.ino +++ b/examples/SerialOscuinoAdaFruitPlayGroundExpresswithBundles/SerialOscuinoAdaFruitPlayGroundExpresswithBundles.ino @@ -162,7 +162,7 @@ void routeAnalog(OSCMessage &msg, int addrOffset ){ * format: * /tone/pin * - * (digital value) (float value) = freqency in Hz + * (digital value) (float value) = frequency in Hz * (no value) disable tone * **/ diff --git a/examples/SerialOscuinoForFubarino/SerialOscuinoForFubarino.ino b/examples/SerialOscuinoForFubarino/SerialOscuinoForFubarino.ino index 022a712..87d03cd 100644 --- a/examples/SerialOscuinoForFubarino/SerialOscuinoForFubarino.ino +++ b/examples/SerialOscuinoForFubarino/SerialOscuinoForFubarino.ino @@ -174,7 +174,7 @@ void routeAnalog(OSCMessage &msg, int addrOffset ){ * format: * /tone/pin * - * (digital value) (float value) = freqency in Hz + * (digital value) (float value) = frequency in Hz * (no value) disable tone * **/ diff --git a/examples/SerialOscuinoGemmaM0/SerialOscuinoGemmaM0.ino b/examples/SerialOscuinoGemmaM0/SerialOscuinoGemmaM0.ino index b066012..ba729b4 100644 --- a/examples/SerialOscuinoGemmaM0/SerialOscuinoGemmaM0.ino +++ b/examples/SerialOscuinoGemmaM0/SerialOscuinoGemmaM0.ino @@ -168,7 +168,7 @@ void routeAnalog(OSCMessage &msg, int addrOffset ){ * format: * /tone/pin * - * (digital value) (float value) = freqency in Hz + * (digital value) (float value) = frequency in Hz * (no value) disable tone * **/ diff --git a/examples/SerialOscuinowithBundles/SerialOscuinowithBundles.ino b/examples/SerialOscuinowithBundles/SerialOscuinowithBundles.ino index 8c1142e..d8fef62 100644 --- a/examples/SerialOscuinowithBundles/SerialOscuinowithBundles.ino +++ b/examples/SerialOscuinowithBundles/SerialOscuinowithBundles.ino @@ -162,7 +162,7 @@ void routeAnalog(OSCMessage &msg, int addrOffset ){ * format: * /tone/pin * - * (digital value) (float value) = freqency in Hz + * (digital value) (float value) = frequency in Hz * (no value) disable tone * **/ diff --git a/examples/SerialOscuinowithMessages/SerialOscuinowithMessages.ino b/examples/SerialOscuinowithMessages/SerialOscuinowithMessages.ino index 407de26..6901063 100644 --- a/examples/SerialOscuinowithMessages/SerialOscuinowithMessages.ino +++ b/examples/SerialOscuinowithMessages/SerialOscuinowithMessages.ino @@ -169,7 +169,7 @@ void routeAnalog(OSCMessage &msg, int addrOffset ){ * format: * /tone/pin * - * (digital value) (float value) = freqency in Hz + * (digital value) (float value) = frequency in Hz * (no value) disable tone * **/ diff --git a/examples/UDPOscuino/UDPOscuino.ino b/examples/UDPOscuino/UDPOscuino.ino index fe50799..9fdafea 100644 --- a/examples/UDPOscuino/UDPOscuino.ino +++ b/examples/UDPOscuino/UDPOscuino.ino @@ -199,7 +199,7 @@ void routeAnalog(OSCMessage &msg, int addrOffset ){ * format: * /tone/pin * - * (digital value) (float value) = freqency in Hz + * (digital value) (float value) = frequency in Hz * (no value) disable tone * **/ diff --git a/examples/UDPReceive/UDPReceive.ino b/examples/UDPReceive/UDPReceive.ino index 5bfdd69..060db8b 100644 --- a/examples/UDPReceive/UDPReceive.ino +++ b/examples/UDPReceive/UDPReceive.ino @@ -50,7 +50,7 @@ char * numToOSCAddress( int pin){ * format: * /tone/pin * - * (digital value) (float value) = freqency in Hz + * (digital value) (float value) = frequency in Hz * (no value) disable tone * **/ diff --git a/test/OSCMessage_test/OSCMessage_test.ino b/test/OSCMessage_test/OSCMessage_test.ino index 3684da1..3f5707a 100644 --- a/test/OSCMessage_test/OSCMessage_test.ino +++ b/test/OSCMessage_test/OSCMessage_test.ino @@ -4,14 +4,14 @@ #define HAS_DOUBLE sizeof(double) == 8 -test(message_addres){ +test(message_address){ OSCMessage msg("/hihi"); char addr[6]; msg.getAddress(addr); assertEqual(strcmp(addr, "/hihi"), 0); } -test(message_addres_offset){ +test(message_address_offset){ OSCMessage msg("/foo/bar"); char addr[5]; msg.getAddress(addr, 4);