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

#1 2012-05-11 11:04:46

dreamod
New Scratcher
Registered: 2012-01-22
Posts: 100+

Expanding Scratch Sound

I'm working on a patch to expand scratch's sound capabilities. So far I've made a pause, resume, set (sound effect) to %n (so far only reverb) , change (sound effect) by %n, reset sound effects, sound effect (sound effect) (reporter), stop sound %S, %S is playing (boolean), %S seconds (reports current seconds for sound).
Any feedback is appreciated.

Offline

 

#2 2012-05-11 11:19:30

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: Expanding Scratch Sound

stereo sounds?


http://i.imgur.com/zeIZW.png

Offline

 

#3 2012-05-11 11:24:49

dreamod
New Scratcher
Registered: 2012-01-22
Posts: 100+

Re: Expanding Scratch Sound

rookwood101 wrote:

stereo sounds?

I haven't quite gotten there yet but I hope to get that fixed as well. The only thing that worries me is that maybe the Scratch team had no other choice than to use mono-sound, but I doubt that.

Offline

 

#4 2012-05-11 11:36:35

SciTecCf
Scratcher
Registered: 2011-11-23
Posts: 1000+

Re: Expanding Scratch Sound

Wow! Nice! Can't wait! Good Luck! Pancakes!


http://bit.ly/LCZEJRhttp://bit.ly/LSONcOhttp://bit.ly/LF3vIc
http://trinary.site40.net/images/scratchrank.php?username=SciTecCf&display=small

Offline

 

#5 2012-05-11 11:40:27

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Expanding Scratch Sound

Probably %S seconds should be renamed to %S length  wink
It sounds cool and can't wait!

Offline

 

#6 2012-05-11 11:43:20

dreamod
New Scratcher
Registered: 2012-01-22
Posts: 100+

Re: Expanding Scratch Sound

LS97 wrote:

Probably %S seconds should be renamed to %S length  wink
It sounds cool and can't wait!

I should rename it, but not to length. I should rename it to %S current seconds, because it's obvious that it's use may be misconceived. It reports how long the sound has played, basically current seconds.

Offline

 

#7 2012-05-11 11:48:35

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Expanding Scratch Sound

dreamod wrote:

LS97 wrote:

Probably %S seconds should be renamed to %S length  wink
It sounds cool and can't wait!

I should rename it, but not to length. I should rename it to %S current seconds, because it's obvious that it's use may be misconceived. It reports how long the sound has played, basically current seconds.

Oh, you see, even I misunderstood the function  smile

Offline

 

#8 2012-05-11 11:55:33

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

Re: Expanding Scratch Sound

Nice! I definetly think Stereo sound and the option to turn off downsampling would be AWESOME additions!


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

Offline

 

#9 2012-05-11 12:16:13

dreamod
New Scratcher
Registered: 2012-01-22
Posts: 100+

Re: Expanding Scratch Sound

Good news. I got Scratch to play an aiff in stero. Now I'm just gonna have to work on modifying the importing script.

Offline

 

#10 2012-05-11 12:55:43

dreamod
New Scratcher
Registered: 2012-01-22
Posts: 100+

Re: Expanding Scratch Sound

The stereo mostly works, there is a small glitch with the volume but everything else works.

Offline

 

#11 2012-05-11 13:42:56

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: Expanding Scratch Sound

nice!


http://i.imgur.com/zeIZW.png

Offline

 

#12 2012-05-11 13:47:10

dreamod
New Scratcher
Registered: 2012-01-22
Posts: 100+

Re: Expanding Scratch Sound

rookwood101 wrote:

nice!

But there are two glitches. You can't change the volume (within scratch) and when you press the sound tab it appears to fast forward to the end in one second.

Offline

 

#13 2012-05-11 14:02:33

Solarbuddy
Scratcher
Registered: 2009-04-14
Posts: 500+

Re: Expanding Scratch Sound

Very cool! Can't wait to see it done.  smile


http://bit.ly/Vn3zid
                  View my latest project

Offline

 

#14 2012-05-11 14:51:46

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Re: Expanding Scratch Sound

Wow, this sounds like an amazing projects  smile


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

#15 2012-05-11 15:58:32

dreamod
New Scratcher
Registered: 2012-01-22
Posts: 100+

Re: Expanding Scratch Sound

I'm glad that you're supportive, I really hope this works out eventually. This will probably breach compatibility with scratch projects. Instead of using SampledSound I use MixedSound for stereo, I still have to adapt everything to work this MixedSound. Scratch tends to lag when the sounds page is open and a stereo track has been imported. I've tested a few songs such as Terry Jacks Seasons In The Sun and Chris DeBurgh Lady In Red. At one point I forgot that I was using scratch to listen to them. So, it's perfect quality. I'm just going to work a little on making the blocks work properly with it, then I'm gonna work on Audio Units (sound effects), including reverb echo pitch and pan.

Offline

 

#16 2012-05-11 16:20:27

ImagineIt
Scratcher
Registered: 2011-02-28
Posts: 1000+

Re: Expanding Scratch Sound

I'm looking forward to it!

Offline

 

#17 2012-05-11 17:36:09

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

Re: Expanding Scratch Sound

dreamod wrote:

Good news. I got Scratch to play an aiff in stero. Now I'm just gonna have to work on modifying the importing script.

Does it play other formats?
And are you working on any formats besides the ones regular Scratch recognises?


Posts: 20000 - Show all posts

Offline

 

#18 2012-05-11 17:52:21

funelephant
Scratcher
Registered: 2010-07-02
Posts: 1000+

Re: Expanding Scratch Sound

Nice idea! I'd really like to see this someday  smile


nicki begs to differ
http://24.media.tumblr.com/ab0e6e8fd347c5e39c2821bcab9d16e6/tumblr_mgu35sui1L1rfb7aqo2_500.gif

Offline

 

#19 2012-05-12 03:14:30

dreamod
New Scratcher
Registered: 2012-01-22
Posts: 100+

Re: Expanding Scratch Sound

veggieman001 wrote:

dreamod wrote:

Good news. I got Scratch to play an aiff in stero. Now I'm just gonna have to work on modifying the importing script.

Does it play other formats?
And are you working on any formats besides the ones regular Scratch recognises?

of course, that was just a test.

Offline

 

#20 2012-05-12 10:50:06

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

Re: Expanding Scratch Sound

dreamod wrote:

veggieman001 wrote:

dreamod wrote:

Good news. I got Scratch to play an aiff in stero. Now I'm just gonna have to work on modifying the importing script.

Does it play other formats?
And are you working on any formats besides the ones regular Scratch recognises?

of course, that was just a test.

Cool. You should add support for OGGs, WMAs, Apple's formats, and FLAC.


Posts: 20000 - Show all posts

Offline

 

#21 2012-05-12 11:19:31

dreamod
New Scratcher
Registered: 2012-01-22
Posts: 100+

Re: Expanding Scratch Sound

veggieman001 wrote:

dreamod wrote:

veggieman001 wrote:


Does it play other formats?
And are you working on any formats besides the ones regular Scratch recognises?

of course, that was just a test.

Cool. You should add support for OGGs, WMAs, Apple's formats, and FLAC.

I'll do that if they're built in.

Offline

 

#22 2012-05-12 12:33:08

funelephant
Scratcher
Registered: 2010-07-02
Posts: 1000+

Re: Expanding Scratch Sound

veggieman001 wrote:

dreamod wrote:

veggieman001 wrote:


Does it play other formats?
And are you working on any formats besides the ones regular Scratch recognises?

of course, that was just a test.

Cool. You should add support for OGGs, WMAs, Apple's formats, and FLAC.


nicki begs to differ
http://24.media.tumblr.com/ab0e6e8fd347c5e39c2821bcab9d16e6/tumblr_mgu35sui1L1rfb7aqo2_500.gif

Offline

 

#23 2013-04-28 03:09:40

dreamod
New Scratcher
Registered: 2012-01-22
Posts: 100+

Re: Expanding Scratch Sound

I have to take a break from this. Sorry.

Offline

 

Board footer