Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


Scoutleader

2 posts

Wannabe Geek


#21919 11-May-2008 00:27
Send private message

HIYA
We need the frequencies for the notes from middle c throgh to c1 ie C D E F G A B C D inorder to complete a Science project. Anyone know them or wher to get them A google search has not helped thus far
Thanks

Create new topic
paradoxsm
3000 posts

Uber Geek

Trusted

  #129980 11-May-2008 01:42
Send private message

Is it a picaxe 08 or a picaxe 08-M version? (or something elese)

picaxe -M can support a proper "play"command whereas the original could only generate tones. (you can sweep them using step commands, generate PWM noises and a pseudo white noise by increasing the variable beyond "limits", use lookup tables and the like but this is getting a bit advanced) I made a funky little beat machine once using 3 sound generators off the axe as tone, PWM, noise and filtered it using analog stuff switched by a further ouput..

Middle "C" (C4) is about 262 Hz, C1 is about 32 Hz C2 is about 66Hz , C3 is about 130Hz

I cheated and just went log Octal, 32, 64, 128, 256, 512 etc, the notes were a little "flat" but nobody really cared if the notes from some squarking device were slightly off key.

manhinli
2483 posts

Uber Geek

Trusted

  #129994 11-May-2008 10:04
Send private message

There is also a thing called Tune Generator (or something like that), and also a command called tune.




Find me on Twitter!

I posted 1, 2 x 10^3 times!

 
 
 
 


Scoutleader

2 posts

Wannabe Geek


  #130003 11-May-2008 11:19
Send private message

Thanks guys,
it is a PICAXE 28.

I developed and built a  light following buggy which used the picaex 08, as a programming exercise for my students.

We had a play with the sound command. I had a list of frequencies and their associated notes.
The students were given the task of firstly getting the chip to play the national anthem and then to come up with  a tune of thier own.
Needless to say there were the expected Smoke on the water attempts SMILES..

However I have since misplaced my list.

The list was generated by running a for next loop to play a slowly increaing tone. We debugged the variable. The notes was played into a piano tuner. When a "pure" note was reached we noted down the frequency from the debug table.
Thius a list of quite accurate frequencies and thier associated notes was generated.

I used a students' piano tuner for this, else I woudl just repeat the exercise again myself.

I am now developing a project with my son, using the picaxe 28, for his science fair, and need the notes played to be as accurate as possible.

Create new topic





News »

Nanoleaf enhances lighting line with launch of Triangles and Mini Triangles
Posted 17-Oct-2020 20:18


Synology unveils DS1621+ 
Posted 17-Oct-2020 20:12


Ingram Micro introduces FootfallCam to New Zealand channel
Posted 17-Oct-2020 20:06


Dropbox adopts Virtual First working policy
Posted 17-Oct-2020 19:47


OPPO announces Reno4 Series 5G line-up in NZ
Posted 16-Oct-2020 08:52


Microsoft Highway to a Hundred expands to Asia Pacific
Posted 14-Oct-2020 09:34


Spark turns on 5G in Auckland
Posted 14-Oct-2020 09:29


AMD Launches AMD Ryzen 5000 Series Desktop Processors
Posted 9-Oct-2020 10:13


Teletrac Navman launches integrated multi-camera solution for transport and logistics industry
Posted 8-Oct-2020 10:57


Farmside hits 10,000 RBI customers
Posted 7-Oct-2020 15:32


NordVPN starts deploying colocated servers
Posted 7-Oct-2020 09:00


Google introduces Nest Wifi routers in New Zealand
Posted 7-Oct-2020 05:00


Orcon to bundle Google Nest Wifi router with new accounts
Posted 7-Oct-2020 05:00


Epay and Centrapay partner to create digital gift cards
Posted 2-Oct-2020 17:34


Inseego launches 5G MiFi M2000 mobile hotspot
Posted 2-Oct-2020 14:53









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.