Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: Squarepusher - A Tool To Convert Images To Audio For Oscilloscope X/Y Mode Displays

by jdporter (Canon)
on Feb 04, 2013 at 19:51 UTC ( #1017001=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $mode=$ARGV[0];
    $frames=$ARGV[1];
    $lossy=$ARGV[2];
    $skip=$ARGV[3];
    @bitmap=`cat $ARGV[4]`;
    
  2. or download this
    my $mode = shift;
    my $frames = shift;
    my $lossy = shift;
    my $skip = shift;
    my @bitmap = <>;
    
  3. or download this
    foreach $item (@bitmap)
    {
    ...
      $total.=$item;
    }
    @image=split(//,"$total");
    
  4. or download this
    chomp @bitmap;
    @image = split //, join '', @bitmap;
    
  5. or download this
                $col=$c;
                $row=$thisRow;
    
  6. or download this
    # If you don't want to use this optimization, just
    # comment out the whole if statement.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1017001]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (15)
As of 2015-07-07 20:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls