This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-04-15 14:17:44

scratcher7_13
Scratcher
Registered: 2011-02-09
Posts: 1000+

TAF files

I made a new audio file type called a TAF file. I made an audio player for it in Panther. It doesn't work as well as other audio file types, and it is monophonic. TAF stands for Text Audio File. Does anyone know how to make it so that the audio player can play more than one note at a time?


♫ 90% of teens can't do math. If you are one of the 40% of teens who can, copy and paste this into your signature. ♫♪
http://dl.dropbox.com/u/6273449/BlockLibraryTitle.pnghttp://i.imgur.com/mr9Hf.gif

Offline

 

#2 2011-04-15 17:32:15

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: TAF files

You're talking about polyphonics  smile  Where more than one note is played at once. An option would be to have a file that has several start points, specify how many start points there are at the top of the file and maybe the line that each start points starts on. Use clone to make that many sprites and get each one to then start playing notes from their starting line. Use the timer block or the date/time block to keep them in sync. That's probably your best bet  smile  This sounds like a very exciting project! I hope you send it to the Panther site when it's done and I will upload it to the Panther site  wink


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#3 2011-04-15 20:54:13

scratcher7_13
Scratcher
Registered: 2011-02-09
Posts: 1000+

Re: TAF files

It probably will take a while to get just right. Thanks for the advice!  smile


♫ 90% of teens can't do math. If you are one of the 40% of teens who can, copy and paste this into your signature. ♫♪
http://dl.dropbox.com/u/6273449/BlockLibraryTitle.pnghttp://i.imgur.com/mr9Hf.gif

Offline

 

#4 2011-04-15 21:04:09

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: TAF files

scratcher7_13 wrote:

I made a new audio file type called a TAF file. I made an audio player for it in Panther. It doesn't work as well as other audio file types, and it is monophonic. TAF stands for Text Audio File. Does anyone know how to make it so that the audio player can play more than one note at a time?

Mono = One
Phonic = Sound
Poly = More than one

So your file is either monophonic or polyphonic. Which one?


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#5 2011-04-15 21:11:35

scratcher7_13
Scratcher
Registered: 2011-02-09
Posts: 1000+

Re: TAF files

bbbeb wrote:

scratcher7_13 wrote:

I made a new audio file type called a TAF file. I made an audio player for it in Panther. It doesn't work as well as other audio file types, and it is monophonic. TAF stands for Text Audio File. Does anyone know how to make it so that the audio player can play more than one note at a time?

Mono = One
Phonic = Sound
Poly = More than one

So your file is either monophonic or polyphonic. Which one?

Last edited by scratcher7_13 (2011-04-15 21:12:50)


♫ 90% of teens can't do math. If you are one of the 40% of teens who can, copy and paste this into your signature. ♫♪
http://dl.dropbox.com/u/6273449/BlockLibraryTitle.pnghttp://i.imgur.com/mr9Hf.gif

Offline

 

#6 2011-04-15 23:20:52

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: TAF files

scratcher7_13 wrote:

bbbeb wrote:

scratcher7_13 wrote:

I made a new audio file type called a TAF file. I made an audio player for it in Panther. It doesn't work as well as other audio file types, and it is monophonic. TAF stands for Text Audio File. Does anyone know how to make it so that the audio player can play more than one note at a time?

Mono = One
Phonic = Sound
Poly = More than one

So your file is either monophonic or polyphonic. Which one?


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#7 2011-04-16 00:47:09

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: TAF files

wait, do you mean monophonic or monaural?


Posts: 20000 - Show all posts

Offline

 

#8 2011-04-16 11:40:14

scratcher7_13
Scratcher
Registered: 2011-02-09
Posts: 1000+

Re: TAF files

veggieman001 wrote:

wait, do you mean monophonic or monaural?

I don't know. It can use 127 different sounds, but can't play chords.


♫ 90% of teens can't do math. If you are one of the 40% of teens who can, copy and paste this into your signature. ♫♪
http://dl.dropbox.com/u/6273449/BlockLibraryTitle.pnghttp://i.imgur.com/mr9Hf.gif

Offline

 

#9 2011-04-16 14:05:58

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: TAF files

bbbeb, His sound file is currently monophonic, he is asking how to get it to become polyphonic.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#10 2011-04-16 16:00:40

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: TAF files

scratcher7_13 wrote:

veggieman001 wrote:

wait, do you mean monophonic or monaural?

I don't know. It can use 127 different sounds, but can't play chords.

what i mean by that is whether the audio has 1 or 2 (or more) audio channels.


Posts: 20000 - Show all posts

Offline

 

#11 2011-04-16 16:01:44

scratcher7_13
Scratcher
Registered: 2011-02-09
Posts: 1000+

Re: TAF files

veggieman001 wrote:

scratcher7_13 wrote:

veggieman001 wrote:

wait, do you mean monophonic or monaural?

I don't know. It can use 127 different sounds, but can't play chords.

what i mean by that is whether the audio has 1 or 2 (or more) audio channels.

I don't know, but I think it has one.


♫ 90% of teens can't do math. If you are one of the 40% of teens who can, copy and paste this into your signature. ♫♪
http://dl.dropbox.com/u/6273449/BlockLibraryTitle.pnghttp://i.imgur.com/mr9Hf.gif

Offline

 

#12 2011-04-16 16:49:59

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: TAF files

sparks wrote:

bbbeb, His sound file is currently monophonic, he is asking how to get it to become polyphonic.

Oh.

You need to have it read and play both at the same time, but I don't believe squeak can do that.

You could also use a special character to separate the different waves of sound.
I am no sound designer, so i wouldn't know.


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#13 2011-04-16 18:58:03

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: TAF files

Use the method I suggest. Something along these lines: (number before the | is line number).

01|2 -->number of start points
02|03 --> location of Start point 1
03|10 --> location of start point 2
04|ST --> start point
05|60 -->note number
06|0.2 --> note duration
07|59
08|0.2
09|58
10|ST --> start point 2
11|61
12|0.2
13|62
14|0.2

So get Panther to look for all the start points, then play them all through  smile


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

Board footer