Jump to content


Photo

Simple Looper Tutorial


  • Please log in to reply
16 replies to this topic

#1 Symatic

Symatic
  • Elite Member
  • 5,314 posts

Posted 16 September 2011 - 07:27 PM

How To Make A Looper With Macromedia Flash - by DJ Symatic

This tutorial assumes you have a basic knowledge of Macromedia Flash. It does not cover creating and editing images, but I tend to do that in Photoshop and import everything into Flash once I'm done.


1: start a new document.

2: import a background image.

3: import your sounds to library as .WAV or .AIFF. (file > import > import to library)

4: right-click on individual sound in the library window. select "linkage"

Select "export for actionscript" and "export in first frame". Give the sound an ID (eg: if your sound is called "mysound3" then give it an ID as "mysound3ID")

5: create a button. (draw a shape or import an image, then right-click on it, select "convert to symbol", select "button" and give it a name.

TIP: you can make invisible buttons, which are useful if you just have a background image and you don't want to add other images all over it. (eg, your image is a picture of lots of people, and you want to click on each of their faces to start each audio loop.) To make a button invisible you click on the button once, and in its properties panel (at the bottom of the screen) you select the drop down menu called "colour", select "alpha" and set it to zero.


6: right-click your button, and select "actions". a window will open and you can paste the following bit of code into it.




on (press) {

looperSound.stop()
looperSound = new Sound(this);
looperSound.attachSound("xxxxxxxx");
looperSound.start(0, 9999);

}




7: replace the bit of code that says "xxxxxxxx" with the ID tag of the audio loop you want to play with this button. (eg: mysoundID)

8: make a stop button. all you need to do is make another button just like the others, except the code you put in looks like this:




on (press) {

looperSound.stop()

}




9: Go to file>publish settings. click on the "flash" tab, and click on "set" right next to "audio stream". Set bitrate to maximum and quality to "best". You can convert stereo to mono to save you space when you upload the file.
Click on "set" next to "audio event" and put the same settings in.

10: Click on publish and you're done!
  • Steve, Dubba Dutchdj and Psychedelic Schizophrenic like this

#2 Vekked

Vekked

    BANNED!

  • Elite Member
  • 4,529 posts

Posted 16 September 2011 - 10:12 PM

good lookin out! I'll see if I can throw one together this week or summin :)

Jimmy: (28 February 2013 - 06:26 AM) you really need to up your game now vekked. Jimmy: (28 February 2013 - 06:26 AM) set fire to tony prince or something this year.


#3 Frost

Frost

    Quitter

  • Elite Member
  • 2,513 posts

Posted 07 June 2012 - 02:42 PM

Think i'm gonna have a go at making a looper, nothing too advanced though. What's the best program to use for this? Just Macromedia Flash MX or something?

Thanks for the thread!

#4 Symatic

Symatic
  • Elite Member
  • 5,314 posts

Posted 07 June 2012 - 03:53 PM

yeah i use flash. theres another tutorial on youtube that nozl posted. its a bit more in depth and i think they use a different program.

i use the one posted in this thread to make all the DV loopers like this one:

http://www.digitalve...showtopic=31881

#5 Frost

Frost

    Quitter

  • Elite Member
  • 2,513 posts

Posted 08 June 2012 - 09:41 PM

8: make a stop button. all you need to do is make another button just like the others, except the code you put in looks like this:


on (press) {

looperSound.stop()

}


do you know how to make a stop button stop the playing loop but also play a 'one-off' sound at the same time? Thanks

#6 Symatic

Symatic
  • Elite Member
  • 5,314 posts

Posted 11 June 2012 - 03:49 PM

not sure i'm afraid.

i just googled stuff and gradually figured it out. i know sweet FA about actionscript coding!


I'm guessing here, but you may be able to write this :

on (press) {

looperSound.stop()
looperSound = new Sound(this);
looperSound.attachSound("xxxxxxxx");
looperSound.start();

}



and replace 'xxxxxxxx' with the ID of your stop sound. i just removed the numbers after the 'loopersound.start(0,9999)' so it wont loop, it should just play a sound once.

as i said i dont know though, i'd check on google.

good luck!

#7 Frost

Frost

    Quitter

  • Elite Member
  • 2,513 posts

Posted 11 June 2012 - 03:52 PM

thanks Sy, i checked on google but i kept arriving a page with a load waffle on it and gave up. i'll try what you've got there and see if that does it.

#8 Symatic

Symatic
  • Elite Member
  • 5,314 posts

Posted 11 June 2012 - 03:57 PM

yeah its a bit of a nightmare to be honest. it took me ages just to get those two bits of code!

#9 Frost

Frost

    Quitter

  • Elite Member
  • 2,513 posts

Posted 14 June 2012 - 08:48 PM

not sure i'm afraid.

i just googled stuff and gradually figured it out. i know sweet FA about actionscript coding!


I'm guessing here, but you may be able to write this :

on (press) {

looperSound.stop()
looperSound = new Sound(this);
looperSound.attachSound("xxxxxxxx");
looperSound.start();

}



and replace 'xxxxxxxx' with the ID of your stop sound. i just removed the numbers after the 'loopersound.start(0,9999)' so it wont loop, it should just play a sound once.

as i said i dont know though, i'd check on google.

good luck!


that did it Sy, simple when you think about it. it's just playing a .wav but not looping it over and over. thanks

#10 Frost

Frost

    Quitter

  • Elite Member
  • 2,513 posts

Posted 15 June 2012 - 07:59 AM

how can i convert the looper from .swf to .exe now? just rename the file extension?

#11 Symatic

Symatic
  • Elite Member
  • 5,314 posts

Posted 15 June 2012 - 01:52 PM

i just use this :

http://swf-to-exe.com/

just make sure your swf isnt huge. i think 20-30 mb should be ok

#12 Frost

Frost

    Quitter

  • Elite Member
  • 2,513 posts

Posted 15 June 2012 - 06:20 PM

yeah that worked, nearly doubled the file size from 6MB to 10MB for whatever reason. Also made the hyperlink work properly (not sure why though.)

The hyperlink was pretty easy to make, just enter the following script in the action properties for a button or image or whatever:


on (release) {
getURL("http://www.digitalvertigo.co.uk");
}

#13 Freshcuts

Freshcuts
  • Member
  • 64 posts

Posted 23 June 2016 - 12:26 PM

Now that Macromedia flash is no longer available on the mac. Is there any mac tool for making loopers?  Thanks!



#14 Symatic

Symatic
  • Elite Member
  • 5,314 posts

Posted 23 June 2016 - 12:45 PM

Thats why i use 10 years out of date everything :)

#15 Flexinoodle

Flexinoodle
  • Elite Member
  • 673 posts

Posted 23 June 2016 - 08:38 PM

Now that Macromedia flash is no longer available on the mac. Is there any mac tool for making loopers?  Thanks!

You could make it in HTML5 and use Hype3

No experience with Hype3, but i was looking at it about 5 minutes ago for other reasons hahaha


  • Mutis Mayfield likes this

Yoy, badboy, come again, style again, throw down once again.


#16 Mutis Mayfield

Mutis Mayfield
  • Elite Member
  • 400 posts

Posted 10 July 2016 - 03:38 PM

Tumult Hype is the flash killer! xD

#17 Flexinoodle

Flexinoodle
  • Elite Member
  • 673 posts

Posted 10 July 2016 - 03:55 PM

 I just always struggle with HTML and CSS and Flash, but that damn thing looks and works exactly like a video editor, I really need to buy it i think.


Yoy, badboy, come again, style again, throw down once again.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users